/* ========================================
   ASEAN Halal Hub - Alibaba Style Design
   SIRIM Certified Marketplace
   ======================================== */

:root {
    --primary-green: #1a472a;
    --primary-green-light: #2d5a3d;
    --primary-green-dark: #0d3319;
    --gold: #c9a227;
    --gold-light: #d4af37;
    --red: #e74c3c;
    --red-dark: #c0392b;
    --text-dark: #333;
    --text-muted: #666;
    --text-light: #999;
    --bg-light: #f5f5f5;
    --bg-white: #fff;
    --border-light: #e8e8e8;
    --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 12px 32px rgba(0,0,0,0.12);
}

/* ========== GLOBAL OVERRIDES ========== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
}

/* ========== TOP BAR ========== */
.ahh-top-bar {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    padding: 10px 0;
    font-size: 13px;
    color: #fff;
}

.ahh-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ahh-top-bar-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.ahh-top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ahh-top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ahh-top-bar a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ahh-top-bar a:hover {
    opacity: 0.85;
    text-decoration: none;
    color: #fff;
}

.ahh-sirim-badge {
    background: var(--gold);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========== MAIN HEADER ========== */
.ahh-main-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.ahh-header-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ahh-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.ahh-logo:hover {
    text-decoration: none;
}

.ahh-logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
}

.ahh-logo-text {
    display: flex;
    flex-direction: column;
}

.ahh-logo-text .brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1.1;
}

.ahh-logo-text .tagline {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Search Bar */
.ahh-search-container {
    flex: 1;
    max-width: 700px;
}

.ahh-search-box {
    display: flex;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.ahh-search-category {
    padding: 14px 18px;
    border: none;
    background: #f8f9fa;
    font-size: 14px;
    cursor: pointer;
    border-right: 1px solid #e0e0e0;
    min-width: 160px;
    color: var(--text-dark);
}

.ahh-search-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: 14px;
    outline: none;
}

.ahh-search-input::placeholder {
    color: #999;
}

.ahh-search-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.ahh-search-btn:hover {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
}

/* Header Actions */
.ahh-header-actions {
    display: flex;
    gap: 28px;
    align-items: center;
}

.ahh-header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    gap: 4px;
    position: relative;
    transition: color 0.2s;
}

.ahh-header-action:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.ahh-header-action i {
    font-size: 24px;
    color: var(--primary-green);
}

.ahh-header-action span {
    font-size: 12px;
    font-weight: 500;
}

.ahh-action-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* ========== CATEGORIES NAV ========== */
.ahh-categories-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
}

.ahh-categories-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ahh-all-categories-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: #fff;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.ahh-all-categories-btn:hover {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
}

.ahh-all-categories-btn i {
    font-size: 16px;
}

.ahh-category-links {
    display: flex;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
}

.ahh-category-link {
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.ahh-category-link:hover {
    color: var(--primary-green);
    background: #f0f8f3;
    text-decoration: none;
    border-bottom-color: var(--primary-green);
}

.ahh-category-link.hot::after {
    content: 'HOT';
    background: var(--red);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 600;
}

/* ========== HERO SECTION ========== */
.ahh-hero-section {
    display: grid;
    grid-template-columns: 280px 1fr 340px;
    gap: 24px;
    margin-top: 28px;
    margin-bottom: 50px;
    min-height: 480px;
}

/* Sidebar Categories */
.ahh-sidebar-categories {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.ahh-sidebar-title {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: #fff;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ahh-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ahh-sidebar-list li {
    border-bottom: 1px solid #f0f0f0;
}

.ahh-sidebar-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: all 0.2s;
}

.ahh-sidebar-list a:hover {
    background: #f0f8f3;
    color: var(--primary-green);
    padding-left: 26px;
    text-decoration: none;
}

.ahh-sidebar-list i {
    width: 22px;
    color: var(--primary-green);
    font-size: 16px;
}

.ahh-sidebar-list .arrow {
    margin-left: auto;
    color: #ccc;
    font-size: 12px;
}

/* Main Banner */
.ahh-main-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d3319 0%, var(--primary-green) 30%, var(--primary-green-light) 70%, #3d6b4d 100%);
    min-height: 480px;
    box-shadow: 0 8px 32px rgba(26, 71, 42, 0.3);
}

.ahh-main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.04)"/></svg>');
    background-size: 100px 100px;
    pointer-events: none;
}

.ahh-banner-slide {
    position: relative;
    padding: 60px 70px;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.ahh-banner-content {
    max-width: 58%;
    color: #fff;
    z-index: 2;
    position: relative;
}

.ahh-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ahh-banner-badge i {
    font-size: 16px;
}

.ahh-banner-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.ahh-banner-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 90%;
}

.ahh-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    color: var(--primary-green);
    padding: 18px 42px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.ahh-banner-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    text-decoration: none;
    color: var(--primary-green);
    background: #fff;
}

.ahh-banner-cta i {
    transition: transform 0.3s;
}

.ahh-banner-cta:hover i {
    transform: translateX(4px);
}

.ahh-banner-image {
    position: absolute;
    right: 50px;
    bottom: 0;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.ahh-banner-image img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: floatBanner 3s ease-in-out infinite;
}

@keyframes floatBanner {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Side Promos */
.ahh-side-promos {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ahh-promo-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ahh-promo-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transform: translateY(-6px);
}

.ahh-promo-card.sirim-verified {
    background: linear-gradient(145deg, #fffdf5 0%, #fef9e7 50%, #fcf3cf 100%);
    border: 2px solid #f4d03f;
}

.ahh-promo-card.sirim-verified::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
}

.ahh-promo-card.flash-sale {
    background: linear-gradient(145deg, #fff5f5 0%, #fdedec 50%, #fadbd8 100%);
    border: 2px solid var(--red);
}

.ahh-promo-card.flash-sale::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.15) 0%, transparent 70%);
}

.ahh-promo-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.ahh-promo-card.sirim-verified .ahh-promo-icon {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.ahh-promo-card.flash-sale .ahh-promo-icon {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ahh-promo-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.ahh-promo-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.ahh-promo-link {
    font-size: 14px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.ahh-promo-link:hover {
    color: var(--primary-green-dark);
    gap: 12px;
}

.ahh-promo-link i {
    transition: transform 0.3s;
}

.ahh-promo-link:hover i {
    transform: translateX(4px);
}

.ahh-countdown {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.ahh-countdown-item {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: center;
    min-width: 55px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.ahh-countdown-item .num {
    font-size: 22px;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.ahh-countdown-item .label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* ========== TRUST BADGES ========== */
.ahh-trust-section {
    margin-bottom: 60px;
}

.ahh-trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ahh-trust-badge {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.04);
}

.ahh-trust-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.ahh-trust-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    position: relative;
}

.ahh-trust-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s;
}

.ahh-trust-badge:hover .ahh-trust-icon::after {
    opacity: 1;
}

.ahh-trust-icon.green {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: var(--primary-green);
}
.ahh-trust-icon.green::after { background: linear-gradient(135deg, rgba(26, 71, 42, 0.1) 0%, rgba(26, 71, 42, 0.05) 100%); }

.ahh-trust-icon.gold {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: var(--gold);
}
.ahh-trust-icon.gold::after { background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%); }

.ahh-trust-icon.blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
}
.ahh-trust-icon.blue::after { background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(25, 118, 210, 0.05) 100%); }

.ahh-trust-icon.purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
}
.ahh-trust-icon.purple::after { background: linear-gradient(135deg, rgba(123, 31, 162, 0.1) 0%, rgba(123, 31, 162, 0.05) 100%); }

.ahh-trust-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.ahh-trust-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ========== SECTION HEADERS ========== */
.ahh-section {
    margin-bottom: 50px;
}

.ahh-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.ahh-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ahh-section-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.ahh-section-title .badge {
    background: var(--red);
    color: #fff;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.ahh-section-tabs {
    display: flex;
    gap: 10px;
}

.ahh-section-tab {
    padding: 10px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.ahh-section-tab:hover, .ahh-section-tab.active {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: #f0f8f3;
}

.ahh-view-all {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ahh-view-all:hover {
    text-decoration: underline;
    color: var(--primary-green);
}

/* ========== PRODUCT CARDS ========== */
.ahh-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ahh-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

.ahh-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.ahh-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.ahh-product-badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.ahh-product-badge.sirim {
    background: var(--primary-green);
    color: #fff;
}

.ahh-product-badge.discount {
    background: var(--red);
    color: #fff;
}

.ahh-product-badge.new {
    background: #3498db;
    color: #fff;
}

.ahh-product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: all 0.2s;
    border: none;
    color: var(--text-muted);
}

.ahh-product-wishlist:hover {
    background: var(--red);
    color: #fff;
}

.ahh-product-image {
    position: relative;
    padding-top: 100%;
    background: #f8f9fa;
    overflow: hidden;
}

.ahh-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ahh-product-card:hover .ahh-product-image img {
    transform: scale(1.1);
}

.ahh-product-info {
    padding: 18px;
}

.ahh-product-vendor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.ahh-vendor-verified {
    width: 18px;
    height: 18px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
}

.ahh-vendor-name {
    font-size: 12px;
    color: var(--text-muted);
}

.ahh-product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.ahh-product-title a {
    color: inherit;
    text-decoration: none;
}

.ahh-product-title a:hover {
    color: var(--primary-green);
}

.ahh-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ahh-stars {
    color: #f1c40f;
    font-size: 13px;
}

.ahh-rating-count {
    font-size: 12px;
    color: var(--text-light);
}

.ahh-product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.ahh-price-current {
    font-size: 22px;
    font-weight: 700;
    color: var(--red);
}

.ahh-price-original {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.ahh-product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-light);
}

.ahh-product-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========== FLASH SALE SECTION ========== */
.ahh-flash-sale-section {
    background: linear-gradient(135deg, #0d3319 0%, var(--primary-green) 30%, var(--primary-green-light) 70%, #3d6b4d 100%);
    padding: 60px 0;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.ahh-flash-sale-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="30" r="3" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="80" r="2" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 150px 150px;
    pointer-events: none;
}

.ahh-flash-sale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.ahh-flash-sale-title {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ahh-flash-sale-title h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.ahh-flash-sale-title h2 i {
    color: #f1c40f;
    font-size: 36px;
    animation: flashBolt 1.5s ease-in-out infinite;
}

@keyframes flashBolt {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.ahh-flash-timer {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ahh-flash-timer > span {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
}

.ahh-timer-box {
    background: #fff;
    color: var(--primary-green);
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 22px;
    min-width: 58px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.ahh-flash-view-all {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: all 0.3s;
}

.ahh-flash-view-all:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
}

.ahh-flash-products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.ahh-flash-product {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ahh-flash-product:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.ahh-flash-product .ahh-product-info {
    padding: 16px;
    text-align: center;
}

.ahh-flash-product .ahh-product-title {
    font-size: 14px;
    min-height: auto;
    -webkit-line-clamp: 1;
    font-weight: 600;
}

.ahh-flash-progress {
    background: #ffebee;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.ahh-flash-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff5252, var(--red), var(--red-dark));
    border-radius: 4px;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.ahh-flash-sold {
    font-size: 12px;
    color: var(--red);
    margin-top: 8px;
    font-weight: 600;
}

/* ========== CATEGORIES SHOWCASE ========== */
.ahh-categories-showcase {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.ahh-category-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 18px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.ahh-category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    text-decoration: none;
    border-color: var(--primary-green);
}

.ahh-category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #f0f8f3 0%, #e8f5e9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(26, 71, 42, 0.1);
}

.ahh-category-card:hover .ahh-category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(26, 71, 42, 0.2);
}

.ahh-category-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: color 0.3s;
}

.ahh-category-card:hover h4 {
    color: var(--primary-green);
}

.ahh-category-card span {
    font-size: 12px;
    color: var(--text-light);
}

/* ========== VERIFIED MERCHANTS ========== */
.ahh-merchants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.ahh-merchant-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.04);
}

.ahh-merchant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.ahh-merchant-banner {
    height: 120px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 50%, #4a7c5c 100%);
    position: relative;
    overflow: hidden;
}

.ahh-merchant-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.ahh-merchant-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

.ahh-merchant-logo {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    border: 4px solid #fff;
    z-index: 2;
}

.ahh-merchant-verified-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

.ahh-merchant-info {
    padding: 60px 24px 28px;
    text-align: center;
}

.ahh-merchant-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ahh-merchant-location {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ahh-merchant-location i {
    color: var(--primary-green);
}

.ahh-merchant-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.ahh-merchant-stat {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    position: relative;
}

.ahh-merchant-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 1px;
    background: #e8e8e8;
}

.ahh-merchant-stat .num {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-green);
    display: block;
    line-height: 1.2;
}

.ahh-merchant-stat .label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    display: block;
}

/* ========== ASEAN COUNTRIES ========== */
.ahh-asean-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 50%, #f0f8f3 100%);
    padding: 70px 0;
    margin: 60px 0;
    position: relative;
}

.ahh-asean-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--gold), var(--primary-green));
}

.ahh-asean-header {
    text-align: center;
    margin-bottom: 50px;
}

.ahh-asean-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.ahh-asean-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.ahh-asean-flags {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ahh-asean-flag {
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ahh-asean-flag:hover {
    transform: translateY(-10px);
    text-decoration: none;
}

.ahh-flag-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    transition: all 0.4s;
    border: 3px solid transparent;
}

.ahh-asean-flag:hover .ahh-flag-icon {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-green);
    transform: scale(1.1);
}

.ahh-asean-flag span {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    transition: color 0.3s;
}

.ahh-asean-flag:hover span {
    color: var(--primary-green);
}

.ahh-asean-flag.coming-soon {
    opacity: 0.55;
}

.ahh-asean-flag.coming-soon:hover {
    opacity: 0.75;
}

.ahh-asean-flag.coming-soon .ahh-flag-icon {
    filter: grayscale(30%);
}

.ahh-asean-flag.coming-soon span::after {
    content: ' (Soon)';
    font-size: 10px;
    color: var(--text-light);
    font-weight: 400;
}

/* ========== FOOTER ========== */
.ahh-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 70px 0 0;
}

.ahh-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.ahh-footer-brand .ahh-logo {
    margin-bottom: 20px;
}

.ahh-footer-brand .ahh-logo-icon {
    background: #fff;
    color: var(--primary-green);
}

.ahh-footer-brand .ahh-logo-text .brand {
    color: #fff;
}

.ahh-footer-brand .ahh-logo-text .tagline {
    color: #999;
}

.ahh-footer-brand p {
    font-size: 14px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 24px;
}

.ahh-footer-social {
    display: flex;
    gap: 14px;
}

.ahh-footer-social a {
    width: 44px;
    height: 44px;
    background: #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.ahh-footer-social a:hover {
    background: var(--primary-green);
}

.ahh-footer-column h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.ahh-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ahh-footer-column li {
    margin-bottom: 14px;
}

.ahh-footer-column a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.ahh-footer-column a:hover {
    color: #fff;
}

.ahh-footer-newsletter {
    background: #252525;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    margin-top: 20px;
}

.ahh-footer-newsletter input {
    flex: 1;
    background: none;
    border: none;
    padding: 14px;
    color: #fff;
    font-size: 14px;
}

.ahh-footer-newsletter input::placeholder {
    color: #666;
}

.ahh-footer-newsletter button {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
}

.ahh-footer-newsletter button:hover {
    background: var(--primary-green-light);
}

.ahh-footer-bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ahh-footer-bottom p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.ahh-footer-bottom a {
    color: #999;
    text-decoration: none;
}

.ahh-footer-bottom a:hover {
    color: #fff;
}

.ahh-footer-payments {
    display: flex;
    gap: 14px;
    align-items: center;
}

.ahh-footer-payments span {
    color: #666;
    font-size: 13px;
}

.ahh-footer-payments i {
    font-size: 30px;
    color: #666;
    transition: color 0.3s;
}

.ahh-footer-payments i:hover {
    color: #999;
}

/* ========== AGGREGATOR HERO SECTION ========== */
.ahh-hero-aggregator {
    background: linear-gradient(135deg, #0d3319 0%, var(--primary-green) 30%, var(--primary-green-light) 70%, #3d6b4d 100%);
    background-size: 200% 200%;
    animation: heroGradient 8s ease infinite;
    border-radius: 24px;
    padding: 80px 40px;
    margin-top: 28px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(26, 71, 42, 0.3);
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ahh-hero-aggregator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.04)"/><circle cx="60" cy="60" r="1.5" fill="rgba(255,255,255,0.04)"/></svg>');
    background-size: 100px 100px;
    animation: floatPattern 20s linear infinite;
    pointer-events: none;
}

@keyframes floatPattern {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100px) translateX(50px); }
}

/* Floating particles */
.ahh-hero-aggregator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 30%);
    animation: floatGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes floatGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.ahh-hero-content-center {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.ahh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #fff;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.ahh-hero-badge i {
    font-size: 18px;
    animation: badgeIconPulse 2s ease-in-out infinite;
}

@keyframes badgeIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.ahh-hero-content-center h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.ahh-hero-content-center p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search Bar */
.ahh-hero-search {
    margin-bottom: 28px;
}

.ahh-hero-search-form {
    display: flex;
    background: #fff;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    max-width: 650px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ahh-hero-search-form:focus-within {
    box-shadow: 0 12px 50px rgba(0,0,0,0.3), 0 0 0 3px rgba(201, 162, 39, 0.3);
    transform: scale(1.02);
}

.ahh-hero-search-input {
    flex: 1;
    padding: 22px 30px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.ahh-hero-search-input::placeholder {
    color: #999;
}

.ahh-hero-search-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: #fff;
    border: none;
    padding: 22px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-radius: 0 60px 60px 0;
    position: relative;
    overflow: hidden;
}

.ahh-hero-search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.ahh-hero-search-btn:hover {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
    transform: scale(1.02);
}

.ahh-hero-search-btn i {
    font-size: 18px;
    animation: robotPulse 2s ease-in-out infinite;
}

@keyframes robotPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

/* Hero Tags */
.ahh-hero-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.ahh-hero-tags-label {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

.ahh-hero-tag {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.ahh-hero-tag:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========== PLATFORMS SECTION ========== */
.ahh-platforms-section {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
}

.ahh-platforms-section h3 {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ahh-platforms-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.ahh-platform-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.ahh-platform-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
    text-decoration: none;
}

.ahh-platform-logo img {
    height: 50px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.ahh-platform-logo:hover img {
    filter: grayscale(0%);
}

.ahh-platform-logo span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.ahh-platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s;
}

.ahh-platform-icon.shopee {
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6633 100%);
    color: #fff;
}

.ahh-platform-icon.lazada {
    background: linear-gradient(135deg, #0f146d 0%, #1a237e 100%);
    color: #fff;
}

.ahh-platform-icon.zalora {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
}

.ahh-platform-logo:hover .ahh-platform-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========== HOW IT WORKS SECTION ========== */
.ahh-how-it-works {
    margin-bottom: 60px;
}

.ahh-how-it-works .ahh-section-header {
    text-align: center;
    display: block;
    margin-bottom: 50px;
}

.ahh-how-it-works .ahh-section-title {
    justify-content: center;
}

.ahh-how-it-works .ahh-section-title h2 {
    font-size: 32px;
}

.ahh-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.ahh-steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--gold), var(--primary-green));
    z-index: 0;
}

.ahh-step-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.ahh-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--primary-green);
}

.ahh-step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.ahh-step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f0f8f3 0%, #e8f5e9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: var(--primary-green);
    transition: all 0.4s;
}

.ahh-step-card:hover .ahh-step-icon {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: #fff;
    transform: scale(1.1);
}

.ahh-step-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.ahh-step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ========== PRODUCT LINK BUTTON ========== */
.ahh-product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.ahh-product-link:hover {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 71, 42, 0.3);
}

.ahh-product-link i {
    font-size: 12px;
    transition: transform 0.3s;
}

.ahh-product-link:hover i {
    transform: translateX(4px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1400px) {
    .ahh-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ahh-flash-products {
        grid-template-columns: repeat(4, 1fr);
    }

    .ahh-categories-showcase {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .ahh-hero-section {
        grid-template-columns: 1fr;
    }

    .ahh-sidebar-categories {
        display: none;
    }

    .ahh-side-promos {
        flex-direction: row;
    }

    .ahh-merchants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ahh-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .ahh-header-container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .ahh-search-container {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .ahh-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ahh-flash-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .ahh-trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .ahh-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Aggregator hero tablet */
    .ahh-hero-content-center h1 {
        font-size: 36px;
    }

    /* How it works tablet */
    .ahh-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ahh-steps-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .ahh-top-bar-left {
        display: none;
    }

    .ahh-category-links {
        display: none;
    }

    .ahh-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ahh-flash-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .ahh-categories-showcase {
        grid-template-columns: repeat(4, 1fr);
    }

    .ahh-banner-content {
        max-width: 100%;
    }

    .ahh-banner-image {
        display: none;
    }

    .ahh-side-promos {
        display: none;
    }

    .ahh-merchants-grid {
        grid-template-columns: 1fr;
    }

    .ahh-section-tabs {
        display: none;
    }

    .ahh-flash-sale-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .ahh-flash-sale-title {
        flex-direction: column;
    }

    /* Aggregator hero responsive */
    .ahh-hero-aggregator {
        padding: 50px 20px;
        min-height: auto;
    }

    .ahh-hero-content-center h1 {
        font-size: 28px;
    }

    .ahh-hero-content-center p {
        font-size: 15px;
    }

    .ahh-hero-search-form {
        flex-direction: column;
        border-radius: 16px;
    }

    .ahh-hero-search-input {
        padding: 18px 20px;
        border-radius: 16px 16px 0 0;
    }

    .ahh-hero-search-btn {
        border-radius: 0 0 16px 16px;
        justify-content: center;
        padding: 16px 30px;
    }

    .ahh-hero-tags {
        gap: 8px;
    }

    .ahh-hero-tag {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* Platforms responsive */
    .ahh-platforms-logos {
        gap: 30px;
    }

    .ahh-platform-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    /* How it works responsive */
    .ahh-steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ahh-steps-grid::before {
        display: none;
    }

    .ahh-step-card {
        padding: 30px 24px;
    }
}

@media (max-width: 576px) {
    .ahh-header-actions {
        gap: 16px;
    }

    .ahh-trust-badges {
        grid-template-columns: 1fr;
    }

    .ahh-categories-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .ahh-footer-grid {
        grid-template-columns: 1fr;
    }

    .ahh-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .ahh-banner-content h1 {
        font-size: 28px;
    }

    .ahh-section-title h2 {
        font-size: 20px;
    }
}

/* Hide old template elements when using new design */
.use-alibaba-style .header-area,
.use-alibaba-style footer.main {
    display: none !important;
}
