


:root {
    --primary: #0A1628;
    --primary-light: #1A2744;
    --accent: #00D4AA;
    --accent-hover: #00B894;
    --accent-glow: rgba(0, 212, 170, 0.15);
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #ADB5BD;
    --gray-500: #868E96;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --text: #1A202C;
    --text-secondary: #4A5568;
    --danger: #E53E3E;
    --warning: #DD6B20;
    --success: #38A169;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }


h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }


.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}
.logo-accent { color: var(--accent); }
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}
.nav-link {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.nav-link.active { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    color: var(--white);
    transition: var(--transition);
    background: rgba(255,255,255,0.06);
}
.cart-btn:hover { background: rgba(255,255,255,0.12); }
.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
}
.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: var(--transition);
}


.agent-float-btn {
    position: fixed;
    top: 85px;
    right: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 10px 16px 10px 14px;
    border-radius: 20px 0 0 20px;
    box-shadow: -4px 4px 20px rgba(0,212,170,0.35);
    z-index: 999;
    writing-mode: vertical-rl;
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.agent-float-btn:hover {
    padding-right: 24px;
    box-shadow: -6px 6px 30px rgba(0,212,170,0.5);
    transform: translateX(-4px);
}


.main-content { min-height: calc(100vh - 72px - 350px); }


.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,212,170,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(0,100,200,0.06) 0%, transparent 60%);
}
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}
.hero-text { color: var(--white); }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,212,170,0.1);
    border: 1px solid rgba(0,212,170,0.25);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-product-img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}
.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,212,170,0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,212,170,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,212,170,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}
.btn-dark {
    background: var(--primary);
    color: var(--white);
    border: 1.5px solid var(--primary);
}
.btn-dark:hover { background: var(--primary-light); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-full { width: 100%; }


.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--primary); color: var(--white); }
.section-gray { background: var(--gray-50); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--text-secondary); }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}
.product-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    overflow: hidden;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-info { padding: 24px; }
.product-category {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.product-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}
.product-price .currency-both {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { flex: 1; }


.featured-product {
    background: linear-gradient(135deg, var(--primary) 0%, #0f2847 100%);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.featured-product::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.featured-product-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.featured-product-info { position: relative; z-index: 2; }
.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,212,170,0.15);
    border: 1px solid rgba(0,212,170,0.3);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.featured-product-info h2 { color: var(--white); margin-bottom: 20px; }
.featured-product-info p { color: rgba(255,255,255,0.65); margin-bottom: 30px; line-height: 1.8; }
.featured-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}
.featured-price-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 30px;
}
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}
.spec-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}
.spec-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.spec-value { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--white); }


.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.category-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--accent-glow), rgba(0,212,170,0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}
.category-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.category-card p { font-size: 0.85rem; color: var(--text-secondary); }


.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
}
.trust-icon {
    width: 56px;
    height: 56px;
    background: rgba(0,212,170,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
}
.trust-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.trust-item p { color: rgba(255,255,255,0.5); font-size: 0.82rem; }


.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: var(--danger); font-size: 0.82rem; margin-top: 6px; }
.form-hint { font-size: 0.8rem; color: var(--text-secondary); margin-top: 6px; }
select.form-control { cursor: pointer; }


.cart-page { padding: 60px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-table-wrap { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: var(--gray-50);
    padding: 16px 20px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
}
.cart-table td {
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.cart-product {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cart-product-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--gray-50);
}
.cart-product-name { font-weight: 600; color: var(--primary); }
.cart-product-sku { font-size: 0.78rem; color: var(--text-secondary); }
.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px;
    width: fit-content;
}
.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    color: var(--text);
    font-size: 1.1rem;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--gray-200); }
.qty-value { min-width: 32px; text-align: center; font-weight: 600; }
.cart-remove {
    color: var(--danger);
    background: rgba(229,62,62,0.06);
    padding: 8px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    transition: var(--transition);
}
.cart-remove:hover { background: rgba(229,62,62,0.15); }
.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 30px;
    position: sticky;
    top: 100px;
}
.cart-summary h3 { font-size: 1.15rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
}
.summary-row.total { font-size: 1.15rem; font-weight: 700; color: var(--primary); border-top: 2px solid var(--border); margin-top: 10px; padding-top: 16px; }
.summary-row .label { color: var(--text-secondary); }
.summary-row .value { font-weight: 600; }
.shipping-note {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 16px 0;
    line-height: 1.5;
}
.empty-cart {
    text-align: center;
    padding: 80px 40px;
}
.empty-cart-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--gray-400);
}
.empty-cart h3 { margin-bottom: 12px; }
.empty-cart p { margin-bottom: 30px; }


.checkout-section { padding: 60px 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.checkout-form { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px; }
.checkout-form h2 { font-size: 1.3rem; margin-bottom: 24px; }
.order-sidebar { position: sticky; top: 100px; }
.order-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 30px;
}
.order-box h3 { font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}
.order-item-name { color: var(--text); font-weight: 500; }
.order-item-price { font-weight: 600; }
.shipping-quote-box {
    background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(0,212,170,0.02));
    border: 1px solid rgba(0,212,170,0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}
.shipping-quote-box h4 { color: var(--accent); font-size: 0.9rem; margin-bottom: 10px; }
.shipping-quote-box p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 16px; }


.steps-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 50px;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--gray-200);
    color: var(--gray-500);
    transition: var(--transition);
}
.step-item.active .step-num, .step-item.done .step-num {
    background: var(--accent);
    color: var(--primary);
}
.step-label { font-size: 0.85rem; font-weight: 500; color: var(--gray-400); }
.step-item.active .step-label { color: var(--primary); font-weight: 600; }
.step-line { width: 80px; height: 2px; background: var(--gray-200); margin: 0 8px; }
.step-item.done + .step-line, .step-item.done ~ .step-line { background: var(--accent); }


.order-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-shipping_fee_pending { background: #DBEAFE; color: #1E40AF; }
.badge-paid { background: #D1FAE5; color: #065F46; }
.badge-shipped { background: #E0E7FF; color: #3730A3; }
.badge-in_transit { background: #CFFAFE; color: #0E7490; }
.badge-delivered { background: #D1FAE5; color: #065F46; }
.badge-completed { background: #D1FAE5; color: #065F46; }
.badge-cancelled { background: #FEE2E2; color: #991B1B; }


.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid var(--accent); }
.toast.error { border-left: 4px solid var(--danger); }


.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.alert-info { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }
.alert-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-danger { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }


.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0f2847 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,212,170,0.06), transparent);
}
.page-header h1 { color: var(--white); position: relative; z-index: 2; }
.page-header p { color: rgba(255,255,255,0.6); margin-top: 12px; position: relative; z-index: 2; font-size: 1.05rem; }


.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }
.about-img { border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; line-height: 1.8; }
.value-list { margin-top: 24px; }
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}
.value-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.value-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.value-item p { font-size: 0.85rem; margin: 0; }


.agent-page { max-width: 720px; margin: 0 auto; padding: 60px 24px; }
.agent-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}
.agent-form h2 { text-align: center; margin-bottom: 8px; }
.agent-form > p { text-align: center; margin-bottom: 40px; color: var(--text-secondary); }


.policy-content { max-width: 800px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px; }
.contact-info h3 { margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 44px; height: 44px; background: var(--accent-glow); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.contact-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--text-secondary); }


.tracking-result { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px; margin-top: 40px; }
.tracking-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.tracking-order-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.tracking-timeline { position: relative; padding-left: 32px; }
.tracking-timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gray-200); border: 2px solid var(--white); z-index: 2; }
.timeline-item.active::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(0,212,170,0.2); }
.timeline-item.done::before { background: var(--accent); }
.timeline-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.82rem; color: var(--text-secondary); }
.timeline-date { font-size: 0.78rem; color: var(--gray-400); margin-top: 4px; }


.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.order-detail-box { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 30px; }
.order-detail-box h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }


/* ===== FOOTER 5-COLUMN LAYOUT ===== */
.site-footer {
    background: #0a1628;
    padding: 60px 0 30px;
}
.footer-grid {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100%;
    margin-bottom: 40px;
    gap: 0 !important;
}
.footer-col {
    flex: 1 1 0%;
    padding: 0 24px;
}
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child { padding-right: 0; }
.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0 0 14px;
    line-height: 1.6;
}
.footer-social {
    display: flex;
    gap: 8px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.07);
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
    text-decoration: none;
}
.social-link:hover {
    background: #3ecfcf;
    color: #0a1628;
}
.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.48);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover { color: #3ecfcf; }
.footer-links li:not(a) {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.48);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.32);
    margin: 0 0 6px;
}
.footer-legal {
    font-size: 0.73rem !important;
    color: rgba(255,255,255,0.25) !important;
}
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}
.pay-icon {
    background: rgba(255,255,255,0.07);
    padding: 4px 7px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}
.pay-icon.paypal { background: rgba(255,255,255,0.12); }
.pay-icon.visa { background: rgba(255,255,255,0.12); }
.pay-icon.mc { background: rgba(255,255,255,0.12); }
.pay-icon.apple { background: rgba(255,255,255,0.12); }
.pay-icon.google { background: rgba(255,255,255,0.12); }

/* Responsive: tablets - allow wrapping on smaller screens */
@media (max-width: 1024px) {
    .footer-grid { flex-wrap: wrap !important; }
    .footer-col { flex: 0 0 33.333% !important; padding-bottom: 28px !important; }
    .footer-col:nth-child(4),
    .footer-col:nth-child(5) { flex: 0 0 50% !important; }
}

/* Responsive: mobile */
@media (max-width: 600px) {
    .footer-grid { flex-wrap: wrap !important; }
    .footer-col { flex: 0 0 100% !important; padding: 0 0 20px !important; }
}


.admin-layout { display: flex; min-height: 100vh; background: #0f172a; }
.admin-sidebar { width: 260px; background: #1e293b; border-right: 1px solid rgba(255,255,255,0.06); padding: 24px 0; flex-shrink: 0; position: fixed; height: 100vh; overflow-y: auto; }
.admin-logo { display: flex; align-items: center; gap: 12px; padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 16px; }
.admin-logo-text { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.admin-nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 24px; color: rgba(255,255,255,0.55); font-size: 0.88rem; font-weight: 500; transition: var(--transition); border-left: 3px solid transparent; }
.admin-nav-item:hover, .admin-nav-item.active { background: rgba(255,255,255,0.05); color: var(--white); border-left-color: var(--accent); }
.admin-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav-section { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.25); padding: 20px 24px 8px; }
.admin-main { flex: 1; margin-left: 260px; padding: 32px; background: #f1f5f9; min-height: 100vh; }
.admin-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-page-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #0f172a; }
.admin-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }
.admin-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #0f172a; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.admin-stat-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.admin-stat-label { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.admin-stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #0f172a; }
.admin-stat-change { font-size: 0.78rem; margin-top: 4px; }
.admin-stat-change.up { color: var(--success); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--gray-50); padding: 12px 16px; text-align: left; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--gray-200); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); font-size: 0.88rem; vertical-align: middle; }
.admin-table tr:hover { background: var(--gray-50); }
.admin-table .actions { display: flex; gap: 6px; }
.admin-btn { padding: 6px 14px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; }
.admin-btn-primary { background: var(--accent); color: var(--primary); }
.admin-btn-primary:hover { background: var(--accent-hover); }
.admin-btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--text); }
.admin-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.admin-btn-danger { background: rgba(229,62,62,0.1); color: var(--danger); }
.admin-btn-danger:hover { background: var(--danger); color: var(--white); }
.admin-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.admin-pagination button { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); background: var(--white); cursor: pointer; transition: var(--transition); }
.admin-pagination button.active, .admin-pagination button:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-full { grid-column: 1 / -1; }
.admin-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--gray-200); margin-bottom: 28px; }
.admin-tab { padding: 10px 20px; font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: var(--transition); }
.admin-tab:hover, .admin-tab.active { color: var(--accent); border-bottom-color: var(--accent); }


.product-detail { padding: 60px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.product-main-img { width: 100%; border-radius: var(--radius-lg); background: var(--gray-50); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); margin-bottom: 16px; }
.product-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.product-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.product-thumb.active, .product-thumb:hover { border-color: var(--accent); }
.product-detail-info h1 { font-size: 2rem; margin-bottom: 8px; }
.product-detail-sku { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 20px; }
.product-detail-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.product-detail-price-sub { font-size: 1rem; color: var(--text-secondary); margin-bottom: 24px; }
.product-detail-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 30px; }
.product-specs { background: var(--gray-50); border-radius: var(--radius-md); padding: 24px; margin-bottom: 30px; }
.product-specs h3 { font-size: 1rem; margin-bottom: 16px; }
.specs-table { width: 100%; }
.specs-table tr { border-bottom: 1px solid var(--gray-200); }
.specs-table tr:last-child { border: none; }
.specs-table td { padding: 10px 0; font-size: 0.88rem; }
.specs-table td:first-child { color: var(--text-secondary); width: 40%; }
.specs-table td:last-child { font-weight: 600; color: var(--primary); }
.product-add-cart { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.product-add-cart .qty-control { border-color: var(--gray-300); }


.shipping-calc { margin-top: 24px; }
.country-select { margin-bottom: 16px; }
.shipping-result { background: linear-gradient(135deg, rgba(0,212,170,0.06), rgba(0,212,170,0.02)); border: 1px solid rgba(0,212,170,0.2); border-radius: var(--radius-md); padding: 16px; margin-top: 12px; }
.shipping-result p { color: var(--text); font-weight: 600; }


@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .featured-product { grid-template-columns: 1fr; }
    .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
    .contact-grid, .about-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-form-grid { grid-template-columns: 1fr; }
    .order-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .main-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 20px; gap: 4px; z-index: 999; }
    .main-nav.open { display: flex; }
    .mobile-toggle { display: flex; }
    .hero { min-height: auto; padding: 60px 0; }
    .hero-stats { gap: 24px; }
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
    .trust-grid { grid-template-columns: 1fr; }
    .agent-float-btn { display: none; }
    .admin-stats { grid-template-columns: 1fr; }
    .admin-table { font-size: 0.8rem; }
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }


