/* ============================================
   STYLE.CSS - FreshMarket Header & Navigation
   Premium Supermarket Design
   ============================================ */

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    font-size: var(--font-size-xs);
    padding: 0;
    position: relative;
    z-index: var(--z-sticky);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
}

.top-bar-right,
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    font-size: 11px;
}

.top-bar-item i {
    color: var(--primary);
    font-size: 12px;
}

.top-bar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.15);
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
    font-size: 11px;
}

.top-bar-link:hover {
    color: var(--primary);
}

.top-bar-link i {
    font-size: 11px;
}

/* ============ MAIN HEADER ============ */
.main-header {
    background: var(--bg-white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

/* ============ LOGO ============ */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 4px 0;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255,255,255,0.15) 50%,
        transparent 60%
    );
    animation: shimmer 3s ease-in-out infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-slogan {
    font-size: var(--font-size-xs);
    color: var(--primary);
    font-weight: 500;
}

/* ============ SEARCH BOX ============ */
.search-box {
    flex: 1;
    max-width: 620px;
    position: relative;
}

.search-box-inner {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 0 6px;
    height: 48px;
    transition: all var(--transition-base);
    position: relative;
}

.search-box-inner:focus-within {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 160, 73, 0.1);
}

.search-icon {
    color: var(--text-muted);
    font-size: 16px;
    padding: 0 12px;
    transition: color var(--transition-fast);
}

.search-box-inner:focus-within .search-icon {
    color: var(--primary);
}

.search-input {
    flex: 1;
    height: 100%;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: transparent;
    padding: 0 8px;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.search-category {
    border-right: 1px solid var(--border);
    padding-right: 12px;
    margin-right: 0;
    padding-left: 6px;
}

.search-category select {
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    cursor: pointer;
    padding: 4px 0;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M5 6L0 0h10z' fill='%2362666d'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 16px;
    min-width: 90px;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.search-box-inner:focus-within + .search-suggestions,
.search-suggestions:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-suggestions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.search-suggestions-header span {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.search-suggestions-header i {
    color: var(--accent-orange);
    font-size: 14px;
}

.search-suggestions-list li {
    margin-bottom: 2px;
}

.search-suggestions-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 13px;
    transition: all var(--transition-fast);
}

.search-suggestions-list li a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.search-suggestions-list li a i {
    color: var(--primary);
    font-size: 11px;
}

/* ============ HEADER ACTIONS ============ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.header-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    margin: 0 4px;
}

/* Auth Button */
.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    position: relative;
}

.header-auth:hover {
    background: var(--bg-light);
}

.header-auth i {
    font-size: 20px;
    color: var(--text-secondary);
}

.auth-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    white-space: nowrap;
}

.auth-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.auth-text .auth-title::after {
    content: ' | ';
    color: var(--border);
    font-weight: 400;
    margin: 0 2px;
}

.auth-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 500;
}

/* Icon Button (Favorites) */
.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.header-icon-btn:hover {
    background: var(--bg-light);
}

.header-icon-btn i {
    font-size: 20px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.header-icon-btn:hover i {
    color: var(--secondary);
}

.badge-count {
    position: absolute;
    top: 2px;
    left: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--secondary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-white);
}

/* Cart Button */
.header-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    color: white;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.header-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.header-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 160, 73, 0.3);
    color: white;
}

.header-cart:hover::before {
    opacity: 1;
}

.cart-icon-wrap {
    position: relative;
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    min-width: 20px;
    height: 20px;
    background: var(--accent-orange);
    color: white;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--primary);
    animation: bounce 2s ease infinite;
}

.cart-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cart-label {
    font-size: var(--font-size-xs);
    opacity: 0.85;
    font-weight: 400;
}

.cart-price {
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.cart-price small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.8;
}

/* ============ MOBILE HAMBURGER ============ */
.mobile-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.mobile-hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============ MAIN NAVIGATION ============ */
.main-nav {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 77px;
    z-index: calc(var(--z-sticky) - 1);
    transition: top var(--transition-base);
}

.main-header.scrolled + .main-nav {
    top: 69px;
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 50px;
    gap: 0;
}

/* Category Button */
.nav-category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    height: 100%;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    border-left: 1px solid var(--border-light);
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.nav-category-btn:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-category-btn .fa-bars {
    font-size: 15px;
}

.nav-arrow {
    font-size: 10px;
    transition: transform var(--transition-base);
    margin-right: auto;
}

.nav-category-btn:hover .nav-arrow,
.nav-category-btn.active .nav-arrow {
    transform: rotate(180deg);
}

/* ============ MEGA MENU ============ */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 900px;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--primary);
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
    overflow: hidden;
}

.nav-category-btn:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menu Sidebar */
.mega-menu-sidebar {
    width: 240px;
    background: var(--bg-light);
    border-left: 1px solid var(--border-light);
    flex-shrink: 0;
    padding: 8px 0;
    max-height: 480px;
    overflow-y: auto;
    text-align: right;
}

.mega-menu-categories {
    padding: 0;
}

.mega-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    border-right: 3px solid transparent;
}

.mega-cat-item:hover,
.mega-cat-item.active {
    background: var(--bg-white);
    color: var(--primary);
    border-right-color: var(--primary);
}

.mega-cat-item i:first-child {
    font-size: 16px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.mega-cat-item span {
    flex: 1;
    font-weight: 500;
}

.cat-arrow {
    font-size: 10px;
    opacity: 0;
    transform: translateX(5px);
    transition: all var(--transition-fast);
}

.mega-cat-item:hover .cat-arrow,
.mega-cat-item.active .cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Mega Menu Content */
.mega-menu-content {
    flex: 1;
    padding: 24px;
    min-height: 400px;
    position: relative;
    text-align: right;
}

.mega-content-panel {
    display: none;
    animation: fadeIn 0.2s ease;
}

.mega-content-panel.active {
    display: block;
}

.mega-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.mega-content-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.mega-content-header a {
    font-size: var(--font-size-sm);
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}

.mega-content-header a:hover {
    gap: 10px;
}

.mega-content-header a i {
    font-size: 11px;
}

.mega-content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mega-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.mega-col h4 a {
    color: inherit;
    transition: color var(--transition-fast);
}

.mega-col h4 a:hover {
    color: var(--primary);
}

.mega-col ul li {
    margin-bottom: 4px;
}

.mega-col ul li a {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 0;
    display: block;
    transition: all var(--transition-fast);
    position: relative;
    padding-right: 12px;
}

.mega-col ul li a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--border);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.mega-col ul li a:hover {
    color: var(--primary);
    padding-right: 16px;
}

.mega-col ul li a:hover::before {
    background: var(--primary);
}

/* Mega Banner */
.mega-col-banner {
    grid-column: span 1;
}

.mega-banner {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.mega-banner::before {
    content: '🍎';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    opacity: 0.15;
}

.mega-banner-content {
    position: relative;
    z-index: 1;
}

.mega-banner-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.mega-banner-content h4 {
    font-size: var(--font-size-md);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    border: none;
    padding: 0;
}

.mega-banner-content p {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.mega-banner-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.mega-banner-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

/* ============ NAV LINKS ============ */
.nav-links {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 1;
    gap: 0;
}

.nav-link-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 100%;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 16px;
    left: 16px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-link-item a:hover {
    color: var(--primary);
}

.nav-link-item a:hover::after {
    transform: scaleX(1);
}

.nav-fire {
    color: var(--secondary) !important;
    font-size: 13px;
    animation: wiggle 1s ease-in-out infinite;
}

.has-badge .nav-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--secondary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    line-height: 1.4;
}

/* Express Delivery */
.nav-express {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--accent-orange);
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-express i {
    font-size: 14px;
    animation: bounce 2s ease-in-out infinite;
}

/* ============ MOBILE BOTTOM NAV ============ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    z-index: var(--z-fixed);
    padding: 6px 0;
    padding-bottom: env(safe-area-inset-bottom, 6px);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}

.mobile-bottom-nav {
    display: none;
    grid-template-columns: repeat(5, 1fr);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.bottom-nav-item i {
    font-size: 19px;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item.active i {
    color: var(--primary);
}

.bottom-cart-icon {
    position: relative;
}

.bottom-cart-count {
    position: absolute;
    top: -6px;
    left: -6px;
    min-width: 16px;
    height: 16px;
    background: var(--secondary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bg-white);
}

.bottom-nav-cart {
    position: relative;
}

/* ============ MOBILE MENU ============ */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-white);
    z-index: var(--z-modal);
    transition: right var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    background: var(--primary-light);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--primary);
}

.mobile-logo i {
    font-size: 22px;
}

.mobile-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    background: var(--bg-white);
}

.mobile-close:hover {
    background: var(--secondary-light);
    color: var(--secondary);
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.mobile-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 16px 16px;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.mobile-search i {
    color: var(--text-muted);
    font-size: 15px;
}

.mobile-search input {
    flex: 1;
    font-size: 13px;
    color: var(--text-primary);
}

.mobile-search input::placeholder {
    color: var(--text-muted);
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-right: 24px;
}

.mobile-nav-list li a i {
    width: 22px;
    text-align: center;
    font-size: 16px;
    color: var(--primary);
}

.mobile-menu-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
}

.mobile-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.mobile-auth-btn:hover {
    background: var(--primary-dark);
    color: white;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    min-height: 60vh;
    padding: 30px 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .mega-menu {
        width: 780px;
    }

    .mega-content-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-col-banner {
        display: none;
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    .main-header {
        top: 0;
    }

    .main-nav {
        top: 69px !important;
    }

    .nav-category-btn span,
    .nav-arrow {
        display: none;
    }

    .nav-category-btn {
        padding: 0 14px;
    }

    .nav-express {
        display: none;
    }

    .header-auth .auth-text {
        display: none;
    }

    .mega-menu {
        width: 600px;
    }

    .mega-menu-sidebar {
        width: 200px;
    }

    .mega-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }

    .header-inner {
        gap: 12px;
    }

    .search-box {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .mobile-bottom-nav {
        display: grid;
    }

    .main-content {
        padding-bottom: 80px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .logo-name {
        font-size: var(--font-size-lg);
    }

    .logo-slogan {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .logo-text {
        display: none;
    }
}


/* ============================================
   HERO BANNER / SLIDER
   ============================================ */

.hero-section {
    padding: 20px 0 0;
    background: var(--bg-light);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 16px;
    height: 420px;
}

/* ============ MAIN SLIDER ============ */
.hero-slider {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    height: 100%;
    background: #1a1a2e;
    box-shadow: var(--shadow-lg);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
    transform: scale(1.03);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

/* Slide Content */
.slide-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 50px;
    z-index: 3;
    color: white;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 700;
    width: fit-content;
    margin-bottom: 16px;
    animation: fadeInDown 0.6s ease 0.2s both;
    box-shadow: 0 4px 15px rgba(239, 64, 86, 0.4);
}

.slide-badge i {
    font-size: 13px;
}

.slide-badge-fresh {
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 160, 73, 0.4);
}

.slide-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 12px;
    animation: fadeInUp 0.6s ease 0.3s both;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: right;
}

.slide-title span {
    color: var(--accent-yellow);
    position: relative;
}

.slide-desc {
    font-size: var(--font-size-md);
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.4s both;
    text-align: right;
}

.slide-desc strong {
    color: var(--accent-yellow);
    font-weight: 800;
}

/* Slide Buttons */
.slide-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 700;
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.slide-btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 64, 86, 0.4);
}

.slide-btn-primary:hover {
    background: #d93548;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 64, 86, 0.5);
    color: white;
}

.slide-btn-green {
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 160, 73, 0.4);
}

.slide-btn-green:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 160, 73, 0.5);
    color: white;
}

.slide-btn-outline {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
}

.slide-btn-outline:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
    color: white;
    transform: translateY(-2px);
}

/* Countdown Timer */
.slide-timer {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.timer-label {
    font-size: var(--font-size-xs);
    opacity: 0.75;
    font-weight: 500;
}

.timer-boxes {
    display: flex;
    align-items: center;
    gap: 6px;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 6px 10px;
    min-width: 48px;
}

.timer-num {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--accent-yellow);
    line-height: 1;
}

.timer-unit {
    font-size: 9px;
    opacity: 0.7;
    margin-top: 2px;
}

.timer-sep {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--accent-yellow);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 10px;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    opacity: 0;
}

.hero-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    right: 16px;
}

.slider-next {
    left: 16px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.slider-dot.active {
    background: white;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(255,255,255,0.3);
}

.slider-dot:hover:not(.active) {
    background: rgba(255,255,255,0.6);
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.15);
    z-index: 5;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
    transition: width 0.1s linear;
}

/* ============ SIDE BANNERS ============ */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.side-banner {
    flex: 1;
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.side-banner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.side-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
}

.side-banner:hover .side-banner-bg {
    transform: scale(1.05);
}

.side-banner-1 .side-banner-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.side-banner-2 .side-banner-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.side-banner-content {
    position: relative;
    z-index: 2;
    padding: 24px 20px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.side-banner-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}

.side-banner-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.4;
}

.side-banner-content h4 span {
    color: var(--accent-yellow);
}

.side-banner-content p {
    font-size: var(--font-size-xs);
    opacity: 0.85;
    margin-bottom: 10px;
}

.side-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: white;
    padding: 5px 14px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    width: fit-content;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
}

.side-banner-link:hover {
    background: rgba(255,255,255,0.35);
    color: white;
    gap: 10px;
}

/* Decorative Circles */
.side-banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
}

.deco-circle-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    left: -30px;
}

.deco-circle-2 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    right: -10px;
}

/* ============ BANNER RESPONSIVE ============ */
@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1fr 260px;
        height: 380px;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-content {
        padding: 30px 40px;
        width: 60%;
    }
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-slider {
        height: 360px;
    }

    .hero-side {
        flex-direction: row;
        height: auto;
    }

    .side-banner {
        min-height: 160px;
    }

    .slide-content {
        width: 65%;
        padding: 30px 35px;
    }

    .slide-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 12px 0 0;
    }

    .hero-layout {
        gap: 12px;
    }

    .hero-slider {
        height: 280px;
        border-radius: var(--radius-xl);
    }

    .slide-content {
        width: 80%;
        padding: 24px;
    }

    .slide-overlay {
        background: linear-gradient(
            to left,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.15) 100%
        );
    }

    .slide-badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .slide-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .slide-desc {
        font-size: 12px;
        margin-bottom: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide-btn {
        padding: 9px 16px;
        font-size: 11px;
    }

    .slide-timer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .timer-box {
        padding: 4px 8px;
        min-width: 40px;
    }

    .timer-num {
        font-size: 13px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .side-banner {
        border-radius: var(--radius-xl);
        min-height: 140px;
    }

    .side-banner-content {
        padding: 16px;
    }

    .side-banner-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
        margin-bottom: 8px;
    }

    .side-banner-content h4 {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 240px;
    }

    .slide-content {
        width: 90%;
        padding: 20px;
    }

    .slide-title {
        font-size: 18px;
    }

    .slide-actions {
        gap: 8px;
    }

    .slide-btn-outline {
        display: none;
    }

    .slide-timer {
        display: none;
    }

    .hero-side {
        flex-direction: column;
    }

    .side-banner {
        min-height: 120px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .slider-prev {
        right: 10px;
    }

    .slider-next {
        left: 10px;
    }
}


/* ============================================
   AMAZING OFFERS SECTION
   ============================================ */

.amazing-section {
    padding: 28px 0 0;
    background: var(--bg-light);
}

.amazing-wrapper {
    display: flex;
    gap: 0;
    background: var(--secondary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(239, 64, 86, 0.18);
}

/* ============ LEFT INFO CARD ============ */
.amazing-info-card {
    width: 210px;
    flex-shrink: 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.amazing-info-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    top: -60px;
    right: -60px;
}

.amazing-info-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: -40px;
    left: -40px;
}

.amazing-info-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 28px 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.amazing-fire-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--accent-yellow);
    margin-bottom: 14px;
    animation: pulse 2s ease-in-out infinite;
    backdrop-filter: blur(4px);
}

.amazing-info-title {
    color: white;
    font-size: var(--font-size-xl);
    font-weight: 500;
    line-height: 1.5;
}

.amazing-info-title-bold {
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff 30%, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Amazing Timer */
.amazing-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.amazing-timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: 6px 8px;
    min-width: 44px;
}

.at-num {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: white;
    line-height: 1;
}

.at-label {
    font-size: 9px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

.at-sep {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}

.amazing-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: 8px 18px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    background: rgba(255,255,255,0.08);
}

.amazing-view-all:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    gap: 10px;
    border-color: rgba(255,255,255,0.55);
}

/* ============ PRODUCTS CAROUSEL ============ */
.amazing-carousel-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: var(--bg-white);
    min-width: 0;
}

.amazing-carousel {
    display: flex;
    gap: 0;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
    will-change: transform;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    opacity: 0;
}

.amazing-carousel-wrap:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0,160,73,0.3);
}

.carousel-prev {
    right: 8px;
}

.carousel-next {
    left: 8px;
}


/* ============================================
   PRODUCT CARD - REUSABLE COMPONENT
   ============================================ */

.product-card {
    min-width: 220px;
    max-width: 220px;
    flex-shrink: 0;
    border-left: 1px solid var(--border-light);
    background: var(--bg-white);
    transition: all var(--transition-base);
    position: relative;
}

.product-card:last-child {
    border-left: none;
}

.product-card:hover {
    z-index: 3;
}

.product-card-inner {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Product Badges */
.product-badge-wrap {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 4;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    padding: 2px 7px;
    line-height: 1.5;
}

.badge-discount {
    background: var(--secondary);
    color: white;
}

.badge-amazing {
    background: var(--accent-yellow);
    color: #333;
    font-size: 11px;
    padding: 3px 6px;
}

/* Wishlist */
.product-wishlist {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-muted);
    z-index: 4;
    transition: all var(--transition-fast);
    opacity: 0;
    transform: scale(0.8);
}

.product-card:hover .product-wishlist {
    opacity: 1;
    transform: scale(1);
}

.product-wishlist:hover {
    background: var(--secondary-light);
    color: var(--secondary);
}

.product-wishlist.active {
    opacity: 1;
    transform: scale(1);
    color: var(--secondary);
}

.product-wishlist.active i {
    font-weight: 900;
}

/* Product Image */
.product-image-link {
    display: block;
    margin-bottom: 12px;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Product Info */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    text-align: right;
}

.product-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.product-title a:hover {
    color: var(--primary);
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.rating-stars {
    display: flex;
    gap: 1px;
}

.rating-stars i {
    font-size: 10px;
    color: var(--accent-yellow);
}

.rating-stars i.fa-regular {
    color: #ddd;
}

.rating-score {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-count {
    font-size: 10px;
    color: var(--text-muted);
}

/* Price */
.product-price-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}

.product-price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-old-price {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
    line-height: 1;
    margin-bottom: 3px;
}

.product-price {
    font-size: var(--font-size-md);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.product-price small {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

.product-discount-tag {
    background: var(--secondary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-xl);
    line-height: 1.5;
    flex-shrink: 0;
}

/* Progress Bar */
.product-progress-bar {
    position: relative;
    height: 20px;
    background: var(--secondary-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), #ff7b8a);
    border-radius: var(--radius-xl);
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s ease-in-out infinite;
    background-size: 200% 100%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    z-index: 1;
}

/* Add to Cart Button */
.product-action {
    margin-top: auto;
}

.product-add-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 0;
    background: var(--bg-light);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.product-add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width var(--transition-base);
    z-index: 0;
}

.product-add-btn i,
.product-add-btn span {
    position: relative;
    z-index: 1;
}

.product-add-btn:hover {
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,160,73,0.25);
}

.product-add-btn:hover::before {
    width: 100%;
}

.product-add-btn:active {
    transform: translateY(0);
}

.product-add-btn i {
    font-size: 14px;
}


/* ============ AMAZING RESPONSIVE ============ */
@media (max-width: 1200px) {
    .product-card {
        min-width: 200px;
        max-width: 200px;
    }
}

@media (max-width: 992px) {
    .amazing-info-card {
        width: 180px;
    }

    .amazing-info-title {
        font-size: var(--font-size-lg);
    }

    .amazing-info-title-bold {
        font-size: 20px;
    }

    .product-card {
        min-width: 190px;
        max-width: 190px;
    }
}

@media (max-width: 768px) {
    .amazing-wrapper {
        flex-direction: column;
        border-radius: var(--radius-xl);
    }

    .amazing-info-card {
        width: 100%;
        padding: 0;
    }

    .amazing-info-inner {
        flex-direction: row;
        padding: 16px 20px;
        gap: 12px;
        text-align: right;
        justify-content: flex-start;
    }

    .amazing-fire-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .amazing-info-title {
        font-size: var(--font-size-base);
        line-height: 1.2;
    }

    .amazing-info-title-bold {
        font-size: var(--font-size-md);
        margin-bottom: 0;
    }

    .amazing-timer {
        margin-bottom: 0;
        margin-right: auto;
    }

    .amazing-view-all {
        padding: 6px 14px;
        font-size: 11px;
        flex-shrink: 0;
    }

    .product-card {
        min-width: 180px;
        max-width: 180px;
    }

    .carousel-arrow {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .amazing-info-inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
    }

    .amazing-timer {
        margin-right: 0;
    }

    .amazing-view-all {
        display: none;
    }

    .product-card {
        min-width: 165px;
        max-width: 165px;
    }

    .product-card-inner {
        padding: 12px;
    }

    .product-title {
        font-size: 11px;
        min-height: 36px;
    }

    .product-add-btn {
        padding: 7px 0;
        font-size: 11px;
    }
}


/* ============================================
   REUSABLE SECTION HEADER
   ============================================ */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.section-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary), #00c853);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,160,73,0.25);
}

.section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    text-align: right;
}

.section-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 400;
}

.section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: 8px 18px;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.section-view-all:hover {
    background: var(--primary);
    color: white;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0,160,73,0.25);
}


/* ============================================
   SHOP BY CATEGORY SECTION
   ============================================ */

.category-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* Category Card */
.category-card {
    display: block;
    border-radius: var(--radius-2xl);
    background: var(--card-color, var(--bg-light));
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    border: 2px solid transparent;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--card-accent, var(--primary)) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-accent, var(--primary));
    box-shadow: 0 12px 32px rgba(0,0,0,0.1),
                0 4px 12px color-mix(in srgb, var(--card-accent, var(--primary)) 20%, transparent);
}

.category-card:hover::before {
    opacity: 0.08;
}

.category-card-inner {
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Category Image */
.category-img-wrap {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    overflow: hidden;
}

.category-img-wrap img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card:hover .category-img-wrap {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.category-card:hover .category-img-wrap img {
    transform: scale(1.12) rotate(-3deg);
}

.category-card-glow {
    position: absolute;
    width: 50%;
    height: 50%;
    border-radius: var(--radius-full);
    background: var(--card-accent, var(--primary));
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.category-card:hover .category-card-glow {
    opacity: 0.2;
}

/* Category Title */
.category-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.category-card:hover .category-card-title {
    color: var(--card-accent, var(--primary));
}

/* Category Count */
.category-card-count {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Category Arrow */
.category-card-arrow {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    background: var(--card-accent, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    position: absolute;
    bottom: 14px;
    left: 14px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 3px 10px color-mix(in srgb, var(--card-accent, var(--primary)) 30%, transparent);
}

.category-card:hover .category-card-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* ============ CATEGORY RESPONSIVE ============ */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .category-img-wrap {
        width: 76px;
        height: 76px;
    }
}

@media (max-width: 768px) {
    .category-section {
        padding: 28px 0;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category-card-inner {
        padding: 18px 10px 16px;
    }

    .category-img-wrap {
        width: 64px;
        height: 64px;
        margin-bottom: 10px;
    }

    .category-card-title {
        font-size: 11px;
    }

    .category-card-count {
        font-size: 10px;
    }

    .category-card-arrow {
        display: none;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .section-title {
        font-size: var(--font-size-lg);
    }

    .section-subtitle {
        font-size: 11px;
    }

    .section-view-all {
        padding: 6px 14px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .category-card-inner {
        padding: 14px 8px 12px;
    }

    .category-img-wrap {
        width: 56px;
        height: 56px;
        margin-bottom: 8px;
    }

    .category-card-title {
        font-size: 10.5px;
    }

    .section-header-right {
        gap: 10px;
    }
}


/* ============================================
   PRODUCT ROWS BY CATEGORY
   ============================================ */

.product-row-section {
    padding: 20px 0;
    background: var(--bg-white);
}

.product-row-section.product-row-alt {
    background: var(--bg-light);
}

.product-row {
    display: flex;
    gap: 0;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--border-light);
}

.product-row.product-row-reverse {
    flex-direction: row-reverse;
}

/* ============ ROW SIDE BANNER ============ */
.row-side-banner {
    width: 220px;
    flex-shrink: 0;
    background: var(--banner-gradient, linear-gradient(135deg, #e3f2fd, #bbdefb));
    position: relative;
    overflow: hidden;
}

.row-side-banner::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.25);
    top: -50px;
    right: -50px;
}

.row-side-banner::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    bottom: -30px;
    left: -30px;
}

.row-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.row-banner-badge {
    display: inline-block;
    background: #1e88e5;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.row-banner-icon {
    font-size: 52px;
    margin-bottom: 12px;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    animation: bounce 3s ease-in-out infinite;
}

.row-banner-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 6px;
}

.row-banner-title strong {
    font-weight: 900;
    font-size: 22px;
    display: block;
}

.row-banner-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.5;
}

.row-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--btn-color, #1e88e5);
    color: white;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 700;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--btn-color, #1e88e5) 35%, transparent);
}

.row-banner-btn:hover {
    color: white;
    transform: translateY(-2px);
    gap: 10px;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--btn-color, #1e88e5) 45%, transparent);
}

/* ============ ROW PRODUCTS GRID ============ */
.row-products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-width: 0;
}

.product-card-grid {
    min-width: unset;
    max-width: unset;
    border-left: 1px solid var(--border-light);
    border-radius: 0;
}

.product-row-reverse .product-card-grid:last-child {
    border-left: none;
}

.product-row:not(.product-row-reverse) .product-card-grid:last-child {
    border-left: none;
}

.product-card-grid .product-card-inner {
    padding: 14px;
}

.product-card-grid .product-image {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
}


/* ============ PRODUCT ROW RESPONSIVE ============ */
@media (max-width: 1200px) {
    .row-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .row-products-grid .product-card-grid:nth-child(5) {
        display: none;
    }

    .row-side-banner {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .row-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .row-products-grid .product-card-grid:nth-child(4),
    .row-products-grid .product-card-grid:nth-child(5) {
        display: none;
    }

    .row-side-banner {
        width: 180px;
    }

    .row-banner-icon {
        font-size: 42px;
    }

    .row-banner-title {
        font-size: 16px;
    }

    .row-banner-title strong {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .product-row {
        flex-direction: column !important;
    }

    .row-side-banner {
        width: 100%;
    }

    .row-banner-inner {
        flex-direction: row;
        padding: 16px 20px;
        gap: 14px;
        text-align: right;
        justify-content: flex-start;
    }

    .row-banner-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        margin-bottom: 0;
    }

    .row-banner-icon {
        font-size: 38px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .row-banner-title {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .row-banner-title strong {
        font-size: 16px;
        display: inline;
    }

    .row-banner-desc {
        display: none;
    }

    .row-banner-btn {
        margin-right: auto;
        flex-shrink: 0;
        padding: 7px 16px;
        font-size: 11px;
    }

    .row-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .row-products-grid .product-card-grid:nth-child(4),
    .row-products-grid .product-card-grid:nth-child(5) {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-row-section {
        padding: 12px 0;
    }

    .row-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .row-products-grid .product-card-grid:nth-child(3),
    .row-products-grid .product-card-grid:nth-child(4),
    .row-products-grid .product-card-grid:nth-child(5) {
        display: none;
    }

    .row-banner-inner {
        padding: 12px 16px;
        gap: 10px;
    }

    .row-banner-icon {
        font-size: 30px;
    }

    .row-banner-btn {
        padding: 6px 12px;
        font-size: 10px;
    }

    .product-card-grid .product-card-inner {
        padding: 10px;
    }
}


/* ============================================
   PROMOTIONAL BANNERS SECTION
   ============================================ */

.promo-section {
    padding: 32px 0;
    background: var(--bg-light);
}

.promo-row {
    display: flex;
    gap: 16px;
}

.promo-row-top {
    margin-bottom: 16px;
}

/* ============ PROMO CARD BASE ============ */
.promo-card {
    display: block;
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.promo-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Patterns */
.promo-card-patterns {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.promo-pattern-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    top: -80px;
    left: -80px;
}

.promo-pattern-circle-2 {
    width: 180px;
    height: 180px;
    top: auto;
    left: auto;
    bottom: -60px;
    right: -60px;
    background: rgba(255,255,255,0.04);
}

.promo-pattern-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(rgba(255,255,255,0.15) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
}

/* Shimmer on hover */
.promo-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.12) 50%,
        transparent 100%
    );
    z-index: 5;
    transition: left 0.7s ease;
    pointer-events: none;
    transform: skewX(-15deg);
}

.promo-card:hover .promo-shimmer {
    left: 130%;
}

/* Content */
.promo-card-content {
    position: relative;
    z-index: 3;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-xl);
    color: white;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}

.promo-tag i {
    font-size: 12px;
}

.promo-title {
    color: white;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 8px;
    text-align:right ;
}

.promo-title strong {
    font-weight: 900;
    font-size: 28px;
    display: block;
}

.promo-desc {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 280px;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 700;
    border-radius: var(--radius-lg);
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: all var(--transition-fast);
    margin-top: auto;
}

.promo-card:hover .promo-cta {
    background: rgba(255,255,255,0.3);
    gap: 12px;
    border-color: rgba(255,255,255,0.45);
}

/* Card Image */
.promo-card-image {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 20px;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.promo-card-image img {
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}

.promo-img-lg img {
    max-height: 240px;
}

.promo-card:hover .promo-card-image {
    transform: scale(1.06) translateY(-4px);
}

/* ============ CARD SIZES ============ */

/* Large */
.promo-card-lg {
    flex: 1.6;
    min-height: 280px;
}

/* Medium */
.promo-card-md {
    flex: 1;
    min-height: 280px;
}

/* Small Cards */
.promo-card-sm {
    flex: 1;
    min-height: 200px;
}

.promo-card-sm .promo-card-content {
    padding: 22px;
}

.promo-tag-mini {
    display: inline-block;
    padding: 3px 12px;
    border-radius: var(--radius-xl);
    color: white;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-title-sm {
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 4px;
    text-align: right;
}

.promo-title-sm strong {
    font-weight: 900;
    font-size: 20px;
    display: block;
}

.promo-desc-sm {
    color: rgba(255,255,255,0.75);
    font-size: 11px;
    margin-bottom: 12px;
}

.promo-cta-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all var(--transition-fast);
    margin-top: auto;
}

.promo-card:hover .promo-cta-sm {
    background: rgba(255,255,255,0.28);
    gap: 10px;
}

/* Emoji decoration */
.promo-card-emoji {
    position: absolute;
    bottom: 12px;
    left: 16px;
    font-size: 64px;
    opacity: 0.25;
    z-index: 2;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: all 0.4s ease;
    pointer-events: none;
}

.promo-card:hover .promo-card-emoji {
    opacity: 0.4;
    transform: scale(1.12) rotate(-5deg);
}


/* ============ PROMO RESPONSIVE ============ */
@media (max-width: 1200px) {
    .promo-card-lg {
        flex: 1.3;
    }

    .promo-title {
        font-size: 20px;
    }

    .promo-title strong {
        font-size: 24px;
    }

    .promo-card-image img {
        max-height: 170px;
    }

    .promo-img-lg img {
        max-height: 200px;
    }
}

@media (max-width: 992px) {
    .promo-row-top {
        flex-direction: column;
    }

    .promo-card-lg,
    .promo-card-md {
        min-height: 220px;
    }

    .promo-card-image {
        left: 16px;
    }

    .promo-card-image img {
        max-height: 160px;
    }

    .promo-img-lg img {
        max-height: 180px;
    }
}

@media (max-width: 768px) {
    .promo-section {
        padding: 20px 0;
    }

    .promo-row {
        gap: 10px;
    }

    .promo-row-top {
        margin-bottom: 10px;
    }

    .promo-row-bottom {
        flex-wrap: wrap;
    }

    .promo-card-sm {
        flex: 1 1 calc(50% - 5px);
        min-height: 170px;
    }

    .promo-card-sm:last-child {
        flex: 1 1 100%;
    }

    .promo-card-lg,
    .promo-card-md {
        min-height: 190px;
    }

    .promo-card-content {
        padding: 20px;
    }

    .promo-title {
        font-size: 17px;
    }

    .promo-title strong {
        font-size: 21px;
    }

    .promo-desc {
        font-size: 11px;
        display: none;
    }

    .promo-cta {
        padding: 8px 16px;
        font-size: 11px;
    }

    .promo-card-image img {
        max-height: 130px;
    }

    .promo-img-lg img {
        max-height: 150px;
    }

    .promo-card-emoji {
        font-size: 50px;
    }
}

@media (max-width: 480px) {
    .promo-row {
        gap: 8px;
    }

    .promo-row-top {
        margin-bottom: 8px;
    }

    .promo-card-sm {
        min-height: 150px;
    }

    .promo-card-sm .promo-card-content {
        padding: 14px;
    }

    .promo-title-sm {
        font-size: 13px;
    }

    .promo-title-sm strong {
        font-size: 16px;
    }

    .promo-card-lg,
    .promo-card-md {
        min-height: 160px;
    }

    .promo-title {
        font-size: 14px;
        line-height: 1.4;
    }

    .promo-title strong {
        font-size: 17px;
    }

    .promo-tag {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 8px;
    }

    .promo-cta {
        padding: 6px 14px;
        font-size: 10px;
    }

    .promo-card-image {
        display: none;
    }

    .promo-card-emoji {
        font-size: 40px;
        opacity: 0.18;
    }
}


/* ============================================
   BLOG / HEALTH MAGAZINE - MINIMAL
   ============================================ */

.blog-magazine-section {
    padding: 36px 0 40px;
    background: white;
}

/* Header */
.blog-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.blog-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-header-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--primary);
    flex-shrink: 0;
}

.blog-header-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.blog-header-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.blog-header-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* Scroll Container */
.blog-scroll-wrap {
    margin: 0 -16px;
    padding: 0 16px;
    overflow: hidden;
}

.blog-scroll-track {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.blog-scroll-track::-webkit-scrollbar {
    display: none;
}

/* Card */
.blog-card {
    flex: 0 0 230px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Thumbnail */
.blog-card-thumb {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.06);
}

.blog-card-cat {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--cat, var(--primary));
    color: white;
    font-size: 10px;
    font-weight: 700;
}

/* Info */
.blog-card-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-info h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
    text-align: right;
}

.blog-card:hover .blog-card-info h3 {
    color: var(--primary);
}

.blog-card-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.blog-card-foot span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    color: var(--text-muted);
}

.blog-card-foot i {
    font-size: 11px;
}

/* Health Tip Bar */
.health-tip-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #f0faf3;
    border: 1px solid rgba(0,160,73,0.08);
}

.health-tip-bulb {
    color: #f9a825;
    font-size: 16px;
    flex-shrink: 0;
}

.health-tip-bar p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-top: 20px;
}

.health-tip-bar p strong {
    color: var(--primary);
    font-weight: 700;
}


/* ============ BLOG RESPONSIVE ============ */
@media (max-width: 768px) {
    .blog-magazine-section {
        padding: 28px 0 32px;
    }

    .blog-card {
        flex: 0 0 200px;
    }

    .blog-card-thumb {
        height: 120px;
    }

    .blog-card-info h3 {
        font-size: 12px;
    }

    .health-tip-bar {
        padding: 10px 14px;
    }

    .health-tip-bar p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .blog-magazine-section {
        padding: 22px 0 24px;
    }

    .blog-header-title {
        font-size: 15px;
    }

    .blog-card {
        flex: 0 0 175px;
    }

    .blog-card-thumb {
        height: 105px;
    }

    .blog-card-info {
        padding: 10px 12px 12px;
    }

    .blog-card-info h3 {
        font-size: 11.5px;
        margin-bottom: 6px;
    }
}


/* ============================================
   STORE ADVANTAGES
   ============================================ */

.advantages-section {
    padding: 28px 0;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.adv-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    border-radius: 14px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.adv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.adv-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--adv-color) 12%, transparent);
    color: var(--adv-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.adv-text h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
    text-align: right;
}

.adv-text p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .advantages-section {
        padding: 20px 0;
    }

    .advantages-grid {
        gap: 8px;
    }

    .adv-card {
        padding: 14px 12px;
        gap: 10px;
    }

    .adv-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .adv-text h4 {
        font-size: 11.5px;
    }

    .adv-text p {
        font-size: 10px;
    }
}


/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
}

/* Newsletter */
.footer-newsletter {
    background: linear-gradient(135deg, var(--primary), #00c853);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 14px;
}

.newsletter-icon {
    font-size: 28px;
    color: white;
    opacity: 0.9;
}

.newsletter-text h3 {
    font-size: 16px;
    font-weight: 800;
    color: white;
    margin-bottom: 2px;
    text-align: right;
}

.newsletter-text p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.newsletter-form {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.newsletter-input {
    width: 260px;
    padding: 12px 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-left: none;
    border-radius: 0 12px 12px 0;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-input:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.newsletter-btn {
    padding: 12px 28px;
    background: white;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    border: none;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}

/* Footer Main */
.footer-main {
    padding: 48px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Footer About */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 24px;
    color: var(--primary);
}

.footer-logo span {
    font-size: 20px;
    font-weight: 900;
    color: white;
}

.footer-about-text {
    font-size: 12.5px;
    line-height: 2;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
    text-align: justify;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Footer Columns */
.footer-col-title {
    font-size: 14px;
    font-weight: 800;
    color: white;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
    text-align: right;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    opacity: 0;
    width: 0;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: var(--primary);
    gap: 6px;
}

.footer-links a:hover::before {
    opacity: 1;
    width: 10px;
}

/* Footer Contact */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item > i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span {
    font-size: 12.5px;
    color: rgba(255,255,255,0.7);
    display: block;
    direction: ltr;
    text-align: right;
}

.footer-contact-item small {
    font-size: 10.5px;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
    display: block;
}

/* Footer Trust */
.footer-trust {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 17px;
}

.trust-badge span {
    font-size: 11.5px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 11.5px;
    color: rgba(255,255,255,0.35);
}

.footer-credit i {
    color: #ef4056;
    font-size: 11px;
    margin: 0 2px;
    animation: pulse 1.5s infinite;
}


/* ============ FOOTER RESPONSIVE ============ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-text {
        justify-content: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: 400px;
    }

    .newsletter-input {
        flex: 1;
        width: auto;
    }

    .trust-badges {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 36px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-about {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-col-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links {
        align-items: center;
    }

    .trust-badges {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .newsletter-inner {
        padding: 22px 0;
    }

    .newsletter-text h3 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-input {
        border-radius: 10px;
        border: 2px solid rgba(255,255,255,0.3);
        text-align: center;
    }

    .newsletter-btn {
        border-radius: 10px;
        padding: 12px;
    }

    .footer-main {
        padding: 28px 0 20px;
    }

    .footer-contact-item span {
        font-size: 11.5px;
    }

    .trust-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .trust-badge span {
        font-size: 10px;
    }

    .footer-bottom p {
        font-size: 10.5px;
    }
}
