.bi-danger { color: var(--danger); }
.bi-warning { color: var(--warning); }
.bi-muted { color: var(--gray-400); }
.bi-white { color: #fff; }
.bi-dark { color: var(--dark); }

/* ════════════════════════════════════════════════════════
   ALIEXPRESS-INSPIRED HEADER & HERO
   ════════════════════════════════════════════════════════ */

/* ─── Top Utility Bar ─── */
.ae-top-bar {
    background: #ffffff;
    color: #9ca3af;
    font-size: 0.72rem;
    padding: 4px 0;
    border-bottom: 1px solid #f3f4f6;
}
.ae-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.ae-top-left,
.ae-top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ae-top-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-weight: 500;
}
.ae-top-link:hover {
    color: #dc2626;
}

/* ─── Main Header ─── */
.ae-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.ae-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
}

/* Logo */
.ae-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.ae-logo:hover {
    background: rgba(231,76,60,0.04);
}

.ae-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}
.ae-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: #e74c3c;
}
.ae-logo-text span {
    color: #1a1a2e;
}

/* ─── Search Bar (AliExpress style) ─── */
.ae-search {
    flex: 1;
    max-width: 580px;
}
.ae-search-wrap {
    display: flex;
    align-items: center;
    position: relative;
    border: 2px solid #e74c3c;
    border-radius: 50px;
    background: #fff;
    transition: box-shadow 0.2s;
}
.ae-search-wrap:focus-within {
    box-shadow: 0 0 0 3px rgba(231,76,60,0.15);
}
.ae-search-icon {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    color: #999;
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}
.ae-search-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 8px 10px 44px;
    font-size: 0.9rem;
    background: transparent;
    min-width: 0;
}
.ae-search-wrap input::placeholder {
    color: #bbb;
}
.ae-search-btn {
    padding: 8px 24px;
    background: #e74c3c;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    border-radius: 0 50px 50px 0;
}
.ae-search-btn:hover {
    background: #c0392b;
}

/* ─── Header Actions ─── */
.ae-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.ae-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 7px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    background: transparent;
}
.ae-action-btn:hover {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(231,76,60,0.12);
}
.ae-action-btn:active {
    transform: translateY(0) scale(0.96);
}
.ae-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    position: relative;
}
.ae-action-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
}
.ae-action-icon svg .icon-bg {
    fill: none;
    transition: fill 0.3s ease;
}
.ae-action-icon svg .icon-stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}
.ae-action-icon svg .icon-fill {
    fill: currentColor;
    transition: all 0.3s ease;
}
/* Cart icon specific — wheel accent */
.ae-action-icon svg .cart-wheel {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
/* Heart icon — filled state on wishlist page */
.ae-action-btn.active-wishlist svg .heart-fill {
    fill: #e91e63;
    stroke: #e91e63;
}

/* ── Hover Animations ── */
/* Wishlist hover: heart pulses with subtle glow */
.ae-action-btn[title="Wishlist"]:hover svg {
    animation: heartBeat 0.6s ease;
}
.ae-action-btn[title="Wishlist"]:hover svg .icon-stroke {
    stroke: #e91e63;
}
@keyframes heartBeat {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.2); }
    50%  { transform: scale(0.9); }
    75%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Cart hover: cart slightly shakes + wheels spin */
.ae-action-btn[title="Cart"]:hover svg {
    animation: cartWiggle 0.5s ease;
}
.ae-action-btn[title="Cart"]:hover svg .icon-stroke {
    stroke: #e74c3c;
}
.ae-action-btn[title="Cart"]:hover svg .cart-wheel {
    opacity: 1;
    animation: wheelSpin 0.6s ease;
}
@keyframes cartWiggle {
    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(-8deg); }
    40%  { transform: rotate(6deg); }
    60%  { transform: rotate(-4deg); }
    80%  { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}
@keyframes wheelSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Badge Refinements ── */
.ae-action-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}
.ae-action-btn:hover .ae-action-label {
    color: #e74c3c;
}
.ae-badge {
    position: absolute;
    top: 1px;
    right: 6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border: 1.5px solid #fff;
    z-index: 2;
}
.ae-badge-cart {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}
.ae-badge-wishlist {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: #fff;
}
/* Badge bounce animation */
.ae-badge.bounce {
    animation: badgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badgePop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.45); }
    70%  { transform: scale(0.85); }
    100% { transform: scale(1); }
}
.ae-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 6px 10px;
}

/* ─── Nav / Category Bar ─── */
.ae-nav-bar {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ae-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
}
.ae-nav-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #e74c3c;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
    border-radius: 0;
    flex-shrink: 0;
}
.ae-nav-trigger:hover {
    background: #c0392b;
}
.ae-nav-label {
    margin: 0;
}
.ae-nav-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}
.ae-nav-trigger.open .ae-nav-arrow {
    transform: rotate(180deg);
}
.ae-hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 16px;
}
.ae-hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    width: 100%;
}
.ae-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
}
.ae-nav-links::-webkit-scrollbar {
    display: none;
}
.ae-nav-links a {
    padding: 10px 16px;
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    border-bottom: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ae-nav-links a .nav-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}
.ae-nav-links a .nav-svg path,
.ae-nav-links a .nav-svg circle,
.ae-nav-links a .nav-svg line {
    stroke: #666;
    transition: stroke 0.2s;
}
.ae-nav-links a:hover .nav-svg path,
.ae-nav-links a:hover .nav-svg circle,
.ae-nav-links a:hover .nav-svg line {
    stroke: #e74c3c;
}
.ae-nav-links a.active .nav-svg path,
.ae-nav-links a.active .nav-svg circle,
.ae-nav-links a.active .nav-svg line {
    stroke: #e74c3c;
}
}
.ae-nav-links a:hover {
    color: #e74c3c;
    background: #fff5f5;
}
.ae-nav-links a.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
    font-weight: 600;
}

/* ═══ Premium Category Dropdown ═══ */
.ae-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(231,76,60,0.08);
    min-width: 680px;
    display: none;
    z-index: 999;
    padding: 20px 24px;
    animation: navDropdownIn 0.25s ease-out;
    transform-origin: top center;
}
/* Dropdown pointer arrow connecting trigger to dropdown */
.ae-nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 32px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 1px solid rgba(231,76,60,0.08);
    border-right: none;
    border-bottom: none;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0,0,0,0.02);
}
@keyframes navDropdownIn {
    from { opacity: 0; transform: translateY(-8px) scaleY(0.97); }
    to { opacity: 1; transform: translateY(0) scaleY(1); }
}
.ae-nav-dropdown.show {
    display: block;
}
.ae-nav-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.ae-nav-dropdown-header h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    letter-spacing: -0.2px;
}
.ae-nav-dropdown-header h3 span {
    background: #fef2f2;
    color: #e74c3c;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 6px;
}
.ae-nav-dropdown-header a {
    font-size: 0.78rem;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ae-nav-dropdown-header a:hover {
    gap: 8px;
}
.ae-nav-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ae-nav-premium-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background: #fafafa;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.ae-nav-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231,76,60,0.03), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}
.ae-nav-premium-card:hover {
    background: #fff;
    border-color: #fecaca;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231,76,60,0.10);
}
.ae-nav-premium-card:hover::before {
    opacity: 1;
}
.ae-nav-premium-card.active {
    border-color: #e74c3c;
    background: #fef2f2;
}
.ae-nav-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
    transition: transform 0.25s, box-shadow 0.25s;
}
.ae-nav-premium-card:hover .ae-nav-card-icon {
    transform: scale(1.1);
}
.ae-nav-card-info {
    flex: 1;
    min-width: 0;
}
.ae-nav-card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ae-nav-card-count {
    font-size: 0.68rem;
    color: #999;
    font-weight: 400;
}
.ae-nav-card-desc {
    font-size: 0.7rem;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ae-nav-card-arrow {
    font-size: 1rem;
    color: #ddd;
    transition: transform 0.25s, color 0.25s;
}
.ae-nav-premium-card:hover .ae-nav-card-arrow {
    transform: translateX(3px);
    color: #e74c3c;
}

/* Premium Nav Trigger */
.ae-nav-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s;
    border-radius: 0;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}
.ae-nav-trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.ae-nav-trigger:hover::after {
    transform: translateX(100%);
}
.ae-nav-trigger:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    box-shadow: 0 4px 16px rgba(231,76,60,0.3);
}
.ae-hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 16px;
    transition: transform 0.3s;
}
.ae-nav-trigger.open .ae-hamburger {
    transform: rotate(90deg);
}
.ae-hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    width: 100%;
    transition: all 0.3s;
}
.ae-nav-trigger.open .ae-hamburger span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
    width: 80%;
}
.ae-nav-trigger.open .ae-hamburger span:nth-child(2) {
    opacity: 0;
}
.ae-nav-trigger.open .ae-hamburger span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    width: 80%;
}

/* ─── Feature Strip ─── */
.ae-features {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}
.ae-features-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.ae-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
}
.ae-feature-icon {
    font-size: 1.5rem;
    color: #e74c3c;
    flex-shrink: 0;
}
.ae-feature-item div {
    display: flex;
    flex-direction: column;
}
.ae-feature-item strong {
    font-size: 0.82rem;
    color: #333;
}
.ae-feature-item span {
    font-size: 0.72rem;
    color: #888;
}

/* ─── eBay-Style Hero Slider (Clean White Theme) ─── */
.bz-hero {
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
    min-height: 380px;
    border-bottom: 1px solid #eee;
}
.bz-hero-slider {
    position: relative;
    height: 380px;
    overflow: hidden;
}
.bz-hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}
.bz-hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.bz-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 16px;
    width: 100%;
}
.bz-hero-text {
    flex: 1;
    max-width: 480px;
}
.bz-hero-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(231,76,60,0.25);
    animation: badgePulse 2s ease-in-out infinite;
    position: relative;
}
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(231,76,60,0.25);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 4px 20px rgba(231,76,60,0.45);
    }
}
.bz-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bz-hero-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}
.bz-price-main {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}
.bz-price-usd {
    font-size: 0.85rem;
    color: #999;
}
.bz-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(231,76,60,0.3);
    letter-spacing: 0.3px;
    animation: bzCtaPulse 2s ease-in-out infinite;
}
.bz-hero-slide.active .bz-hero-cta {
    animation: bzCtaSlideIn 0.5s ease-out forwards, bzCtaPulse 2s ease-in-out 0.5s infinite;
}
@keyframes bzCtaSlideIn {
    0% { transform: translateY(8px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes bzCtaPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(231,76,60,0.3); }
    50% { transform: scale(1.04); box-shadow: 0 6px 22px rgba(231,76,60,0.4); }
}
.bz-hero-cta:hover {
    opacity: 0.92;
    transform: translateY(-2px) scale(1.06) !important;
    box-shadow: 0 6px 20px rgba(231,76,60,0.4);
    color: #fff;
}
.bz-hero-cta i {
    transition: transform 0.25s ease;
    display: inline-block;
}
.bz-hero-slide:hover .bz-hero-cta i {
    animation: bzArrowSlide 0.8s ease-in-out infinite;
}
@keyframes bzArrowSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Product Image - Premium presentation */
.bz-hero-image {
    flex: 0 0 340px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.bz-hero-image::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 260px;
    height: 260px;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    filter: blur(8px);
    z-index: 0;
}
.bz-hero-img {
    max-width: 85%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.08));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bz-hero-slide.active .bz-hero-img {
    animation: bzFloatIn 0.5s ease-out forwards, bzFloat 4s ease-in-out 0.5s infinite;
}
@keyframes bzFloatIn {
    0% { transform: translateY(20px) scale(0.92); opacity: 0.4; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes bzFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
.bz-hero-slide:hover .bz-hero-img {
    transform: scale(1.03);
    filter: drop-shadow(0 8px 28px rgba(0,0,0,0.12));
}
.bz-hero-placeholder {
    font-size: 5rem;
    line-height: 1;
}

/* Arrows - Clean white with shadow */
.bz-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: all 0.2s;
    opacity: 0;
}
.bz-hero:hover .bz-hero-arrow { opacity: 1; }
.bz-hero-arrow:hover {
    background: #e74c3c;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(231,76,60,0.3);
}
.bz-hero-prev { left: 20px; }
.bz-hero-next { right: 20px; }

/* Dots */
.bz-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.bz-hero-dot {
    width: 32px;
    height: 5px;
    border: none;
    border-radius: 3px;
    background: rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.25s;
    padding: 0;
}
.bz-hero-dot.active {
    background: #e74c3c;
    width: 44px;
}

.bz-hero-dot:hover { background: rgba(0,0,0,0.25); }

@media (max-width: 768px) {
    .bz-hero { min-height: auto; border-bottom: none; }
    .bz-hero-slider { height: auto; min-height: 320px; overflow: visible; position: relative; }
    .bz-hero-slide { position: relative; top: auto; left: auto; width: 100%; height: auto; opacity: 1; pointer-events: auto; display: none; }
    .bz-hero-slide.active { display: flex; }
    .bz-hero-inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 4px;
        padding: 14px 16px 16px;
    }
    .bz-hero-text { max-width: 100%; }
    .bz-hero-badge { font-size: 0.6rem; padding: 3px 8px; margin-bottom: 2px; }
    .bz-hero-title { font-size: 0.85rem; -webkit-line-clamp: 1; margin-bottom: 2px; }
    .bz-price-main { font-size: 1rem; }
    .bz-price-usd { display: none; }
    .bz-hero-price { justify-content: center; margin-bottom: 4px; }
    .bz-hero-cta { justify-content: center; padding: 6px 14px; font-size: 0.75rem; min-height: 30px; display: inline-flex; }
    .bz-hero-image { flex: 0 0 200px; height: 200px; }
    .bz-hero-img { max-width: 90%; max-height: 90%; }
    .bz-hero-arrow { display: none; }
    .bz-hero-dots { position: relative; bottom: auto; margin-top: 2px; padding-bottom: 8px; }
    .bz-hero-dot { width: 12px; height: 4px; min-width: 12px; min-height: 4px; }
}

@media (max-width: 768px) {
    .ae-top-bar .container {
        flex-direction: column;
        gap: 4px;
    }
    .ae-top-left, .ae-top-right {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ae-header-inner {
        gap: 8px;
        padding: 8px 0;
        flex-wrap: wrap;
    }
    .ae-logo {
        flex: 0 0 auto;
    }
    .ae-search {
        flex: 1 1 100%;
        order: 3;
        margin-top: 6px;
    }
    .ae-search-wrap input {
        padding: 10px 10px 10px 42px;
        font-size: 0.9rem;
        height: 40px;
    }
    .ae-search-icon {
        left: 14px;
        width: 18px;
        height: 18px;
    }
    .ae-search-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    .ae-action-label {
        display: none;
    }
    .ae-action-btn {
        padding: 6px 8px;
    }
    .ae-actions {
        gap: 2px;
    }
    .ae-mobile-toggle {
        display: block;
    }
    .ae-nav-trigger {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .ae-nav-label {
        display: none;
    }
    .ae-nav-links {
        display: none;
    }
    .ae-nav-links.mobile-show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: 60vh;
        overflow-y: auto;
    }
    .ae-actions {
        gap: 0;
    }
}

/* ─── Live Search Autocomplete ─── */
.ae-search-wrap {
    position: relative;
}
.ae-search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 99999;
    max-height: 420px;
    overflow-y: auto;
    display: none;
}
.ae-search-autocomplete.show {
    display: block;
}
.ae-sa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    border-bottom: 1px solid #f0f0f0;
}
.ae-sa-header a {
    color: var(--primary, #e74c3c);
    text-decoration: none;
    font-weight: 600;
}
.ae-sa-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}
.ae-sa-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}
.ae-sa-item:hover {
    background: #faf5f3;
}
.ae-sa-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
}
.ae-sa-img-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.ae-sa-info {
    flex: 1;
    min-width: 0;
}
.ae-sa-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ae-sa-price {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e74c3c;
    margin-top: 1px;
}
.ae-sa-badge {
    font-size: 0.62rem;
    padding: 1px 6px;
    border-radius: 3px;
    background: #f0e6e3;
    color: #8b6b5e;
    white-space: nowrap;
    flex-shrink: 0;
}
.ae-sa-badge.trending {
    background: #fff0e6;
    color: #e67e22;
}
.ae-sa-badge.cj {
    background: #e8f4fd;
    color: #1976d2;
}
.ae-sa-loading {
    padding: 14px;
    text-align: center;
    color: #999;
    font-size: 0.78rem;
}
.ae-sa-loading .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #e0e0e0;
    border-top-color: #e74c3c;
    border-radius: 50%;
    animation: saSpin 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}
@keyframes saSpin {
    to { transform: rotate(360deg); }
}
.ae-sa-empty {
    padding: 20px 14px;
    text-align: center;
    color: #bbb;
    font-size: 0.78rem;
}
.ae-sa-empty-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 4px;
}
.ae-sa-hint {
    font-size: 0.7rem;
    color: #ccc;
    margin-top: 2px;
}

/* Mobile autocomplete adjustments */
@media (max-width: 768px) {
    .ae-search-autocomplete {
        position: fixed;
        top: auto;
        left: 12px;
        right: 12px;
        max-height: 50vh;
        border-radius: 0 0 8px 8px;
    }
}

/* ─── Mobile Search Toggle ──────────────────────────────────── */
.ae-search-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    transition: transform 0.2s ease;
}
.ae-search-toggle:hover {
    transform: scale(1.1);
}
.ae-search-toggle:active {
    transform: scale(0.95);
}
.ae-search-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    transition: stroke 0.2s ease;
}
.ae-search-toggle svg circle,
.ae-search-toggle svg line {
    transition: stroke 0.2s ease;
}
.ae-search-toggle:hover svg circle,
.ae-search-toggle:hover svg line {
    stroke: #c0392b;
}
@media (max-width: 768px) {
    .ae-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #aeMobileSearchForm {
        display: none !important;
        flex: 1 1 100%;
        order: 3;
        margin-top: 0;
        padding: 8px 16px;
        animation: mobileSearchSlideDown 0.25s ease-out;
    }
    #aeMobileSearchForm.mobile-show {
        display: flex !important;
        justify-content: center;
    }
    #aeMobileSearchForm .ae-search-wrap {
        width: 100%;
        max-width: 460px;
        border-color: #e74c3c;
        box-shadow: 0 2px 12px rgba(231,76,60,0.12);
    }
    @keyframes mobileSearchSlideDown {
        from { opacity: 0; transform: translateY(-8px); max-height: 0; }
        to   { opacity: 1; transform: translateY(0); max-height: 80px; }
    }
}
