@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   SmartHause — Ultra Premium Dark Glassmorphism Design
   ========================================================================== */
:root {
    --bg-primary: #080814;
    --bg-secondary: #0d1a2f; /* Deep Navy Tint */
    --bg-card: rgba(13, 27, 47, 0.45); /* Refined Navy Glass */
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 180, 255, 0.25);
    --accent: #00d4ff; /* Brand Cyan */
    --accent-2: #ffcc5a !important; /* Brand Gold */
    --accent-3: #0d2a4f !important; /* Brand Navy */
    --accent-cyan: #00d4ff !important; 
    --success: #00ff88 !important; 
    --warning: #ffcc5a !important; 
    --error: #ff4d6d;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #002d58 100%);
    --accent-glow: rgba(0, 212, 255, 0.2);
    --text-primary: #f8f8ff;
    --text-secondary: rgba(248, 248, 255, 0.65);
    --text-muted: rgba(248, 248, 255, 0.4);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.1);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 32px;
    --radius-xl: 60px;
    --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1); /* Ultra Smooth */
    --blur: blur(25px);
    --header-h: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 10px;
    border: 3px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }

.show-flex { display: flex !important; }
.hide { display: none !important; }

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #66e0ff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: rgba(8, 8, 20, 0.7);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(8, 8, 20, 0.85);
    height: 64px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-admin {
    color: var(--accent-2);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent-gradient);
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes floatImg {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* === HERO === */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    text-align: center;
    background: var(--bg-primary);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 600px at 30% 40%, rgba(0, 212, 255, 0.12) 0%, transparent 70%),
        radial-gradient(circle 500px at 70% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 70%),
        radial-gradient(circle 300px at 50% 80%, rgba(6, 255, 165, 0.06) 0%, transparent 60%);
    animation: heroShift 15s ease-in-out infinite alternate;
}

@keyframes heroShift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-20px, 10px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-highlight, .highlight {
    color: var(--accent-2) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 36px;
}

/* Search */
.search-form {
    max-width: 560px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 6px;
    transition: border-color var(--transition);
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--accent-gradient);
    color: #000;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.search-btn:hover {
    transform: scale(1.1);
}

/* === SECTIONS === */
.section {
    padding: 40px 0;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.page-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* === CATEGORIES === */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.category-chip {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.category-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.category-chip.active {
    background: var(--accent-gradient);
    color: #000;
    border-color: transparent;
    font-weight: 700;
}

/* === PRODUCT GRID & SCROLL === */
.products-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .products-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .products-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .products-grid-v2 { grid-template-columns: 1fr; }
}

/* Scroll containers preserved as utilities, but grid is default now */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 25px;
    padding: 10px 5px 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.horizontal-scroll-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.horizontal-scroll-item:hover {
    transform: translateY(-5px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.product-image-wrap {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
}

.product-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-stock-warning {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--warning);
    color: #000;
    padding: 3px 10px;
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 700;
}

.product-out-of-stock {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    color: var(--error);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.product-stock-text {
    font-size: 0.78rem;
}

.stock-ok {
    color: var(--success);
}

.stock-low {
    color: var(--warning);
}

.stock-out {
    color: var(--error);
}

.product-cart-form {
    padding: 0 16px 16px;
}

.btn-add-cart {
    width: 100%;
    font-size: 0.85rem;
    padding: 10px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-3) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 128, 185, 0.4) !important;
}

.btn-success {
    background: var(--success) !important;
    color: #000 !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3) !important;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 157, 0.4) !important;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.btn-danger {
    background: var(--error);
    color: #fff;
}

.btn-danger:hover {
    background: #e6003d;
    color: #fff;
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-success {
    background: var(--success);
    color: #000;
}

/* === GRID SYSTEM === */
.product-detail-grid, .cart-grid, .checkout-grid {
    display: grid;
    gap: 40px;
    align-items: start;
}
.product-detail-grid { grid-template-columns: 1fr 1fr; }
.cart-grid, .checkout-grid { grid-template-columns: 1fr 380px; }

@media (max-width: 992px) {
    .product-detail-grid, .cart-grid, .checkout-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === PRODUCT DETAIL === */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-weight: 500;
}

.back-link:hover {
    color: var(--accent);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.product-detail-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-detail-category {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-detail-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.product-detail-desc {
    margin-bottom: 28px;
}

.product-detail-desc h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-detail-desc p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.product-detail-form {
    display: flex;
    gap: 16px;
    align-items: center;
}

.related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
}

.stock-info-box {
    margin-bottom: 20px;
}

.stock-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.88rem;
    font-weight: 600;
}

.stock-badge-ok {
    background: var(--success-bg);
    color: var(--success);
}

.stock-badge-low {
    background: var(--warning-bg);
    color: var(--warning);
}

.stock-badge-out {
    background: var(--error-bg);
    color: var(--error);
}

.stock-badge-sm {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Quantity Controls */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-glass);
}

.quantity-control-sm {
    height: 36px;
}

.qty-btn {
    width: 40px;
    height: 42px;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.qty-btn:hover {
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.quantity-control-sm .qty-btn {
    width: 32px;
    height: 36px;
    font-size: 1rem;
}

.qty-btn:hover {
    background: var(--accent-glow);
}

.qty-input,
.qty-display {
    width: 50px;
    height: 42px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === CART === */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: border-color var(--transition);
}

.cart-item:hover {
    border-color: var(--border-glow);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
}

.cart-item-subtotal {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: right;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.cart-summary-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    margin-top: 8px;
}

.summary-divider {
    height: 1px;
    background: var(--border-glass);
    margin: 8px 0;
}

.delivery-free {
    color: var(--success);
    font-weight: 600;
}

/* === CHECKOUT === */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.checkout-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.checkout-summary {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.checkout-item-name {
    color: var(--text-secondary);
}

.checkout-item-price {
    font-weight: 600;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-glass);
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Payment */
.payment-methods {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1.5px solid var(--border-glass);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.payment-option input:checked+.payment-card {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.payment-icon {
    font-size: 1.6rem;
}

.payment-details {
    flex: 1;
}

.payment-details strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.payment-details span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.payment-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    transition: all var(--transition);
}

.payment-option input:checked+.payment-card .payment-check {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

/* Card Visual */
.card-details {
    margin-bottom: 20px;
}

.card-visual {
    background: linear-gradient(135deg, #1a1a3e, #2d1b69, #1a3a5c);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.card-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.card-visual-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    position: relative;
}

.card-chip {
    width: 40px;
    height: 28px;
    background: linear-gradient(135deg, #e8c547, #c2952b);
    border-radius: 6px;
}

.card-type {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.card-visual-number {
    font-size: 1.3rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    position: relative;
}

.card-visual-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.card-logos {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.card-logo {
    padding: 6px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.checkout-submit-btn {
    margin-top: 24px;
}

/* Security badges */
.security-badges {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--success);
    font-weight: 500;
}

/* === ORDERS === */
.order-success-card {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
}

.order-success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: popIn 0.5s ease;
}

.order-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.order-success-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.order-id-display {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

/* Order Status */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.order-status-badge {
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
}

.status-new {
    background: var(--accent-glow);
    color: var(--accent);
}

.status-process {
    background: var(--warning-bg);
    color: var(--warning);
}

.status-done {
    background: var(--success-bg);
    color: var(--success);
}

.status-cancel {
    background: var(--error-bg);
    color: var(--error);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all var(--transition);
}

.page-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-link.active {
    background: var(--accent-gradient);
    color: #000;
    border-color: transparent;
}

.page-link.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* === FLASH === */
.flash-container {
    margin-top: 16px;
}

.flash {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeUp 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.flash-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(6, 255, 165, 0.2);
}

.flash-error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(255, 68, 102, 0.2);
}

.flash-warning {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(255, 184, 0, 0.2);
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* === FOOTER === */
.footer {
    margin-top: 60px;
    padding: 48px 0 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* === 404 === */
.error-page {
    text-align: center;
    padding: 100px 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.error-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 16px 0 32px;
}

/* === ADMIN === */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - var(--header-h));
}

.admin-sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-glass);
    padding: 24px 0;
}

.admin-sidebar-title {
    padding: 0 24px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.admin-nav-link:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.admin-nav-link.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--accent-glow);
}

.admin-content {
    padding: 32px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Admin Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

.cat-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255, 204, 90, 0.15);
}

.cat-card.active {
    border: 2px solid var(--accent-2);
    box-shadow: 0 0 30px rgba(255, 204, 90, 0.2);
    background: rgba(255, 204, 90, 0.05);
}

.cat-card i {
    font-size: 2.8rem;
    color: var(--accent-2);
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 0 12px rgba(255, 204, 90, 0.3));
}

.cat-card:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 204, 90, 0.5));
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color var(--transition);
}

.stat-card:hover {
    border-color: var(--border-glow);
}

.stat-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Table */
.admin-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border-glass);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--bg-secondary);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-glass);
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.9rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: var(--bg-glass);
}

.admin-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Admin Login */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 20px;
}

.admin-login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.admin-login-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.admin-login-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.admin-login-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

/* Admin Product Form */
.admin-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 700px;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-primary);
    outline: none;
}

.form-select:focus {
    border-color: var(--accent);
}

.upload-area {
    border: 2px dashed var(--border-glass);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.upload-area:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.upload-area.active {
    border-color: var(--accent);
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.upload-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

#previewImg {
    max-width: 200px;
    margin: 12px auto;
    border-radius: var(--radius-sm);
    display: none;
}

#previewName {
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: var(--blur);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
        border-bottom: 1px solid var(--border-glass);
    }

    .nav.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        z-index: 50;
    }

    .admin-sidebar.show {
        display: block;
    }

    .admin-hamburger {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 0.82rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* AI Chatbot Styles Removed */

/* === OTP MODAL === */
.otp-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-modal {
    background: rgba(15, 15, 40, 0.95);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.otp-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.otp-modal h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.otp-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--bg-glass);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    outline: none;
    font-family: 'Inter', monospace;
    transition: all 0.2s;
}

.otp-digit:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.otp-timer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.otp-timer span {
    color: var(--accent);
    font-weight: 700;
}

.otp-verify-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-bottom: 12px;
}

.otp-verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.otp-resend {
    background: none;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s;
}

.otp-resend:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.otp-resend:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.otp-error {
    color: #ff4466;
    font-size: 0.85rem;
    margin-top: 12px;
    font-weight: 500;
}

.otp-demo {
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 8px;
    padding: 8px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* === CHECKOUT WIZARD & 3D CARD === */
.checkout-wizard-container { max-width: 1000px; margin: 0 auto; }
.wizard-progress { display: flex; justify-content: space-between; margin-bottom: 50px; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; }
.wizard-progress::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 2px; background: var(--border-glass); z-index: 1; }
.wizard-step-item { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.step-number { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--border-glass); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-muted); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.wizard-step-item.active .step-number { border-color: var(--accent); background: var(--accent); color: #000; box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
.wizard-step-item.completed .step-number { border-color: var(--success); background: var(--success); color: #000; }
.step-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.wizard-step-item.active .step-label { color: var(--accent); }
.card-3d-wrapper { width: 100%; max-width: 350px; height: 210px; perspective: 1000px; margin: 20px auto; }
.card-3d-inner { position: relative; width: 100%; height: 100%; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; }
.card-3d-inner.flipped { transform: rotateY(180deg); }
.card-3d-front, .card-3d-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #1e1e4a 0%, #0a0a20 100%); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.card-3d-back { transform: rotateY(180deg); padding: 0; }
.card-magnetic-strip { height: 40px; background: #000; width: 100%; margin-top: 25px; }
.card-signature-area { margin: 15px; height: 35px; background: rgba(255,255,255,0.2); border-radius: 4px; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; }
.cvv-preview { font-family: monospace; font-weight: 800; color: #fff; }
.card-number-preview { font-size: 1.3rem; letter-spacing: 3px; font-family: monospace; text-shadow: 0 2px 4px rgba(0,0,0,0.5); margin-top: 40px; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: stepFadeIn 0.4s ease; }
@keyframes stepFadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* === PREMIUM HOMEPAGE === */
.hero-v2 {
    position: relative;
    padding: 100px 0 140px;
    background: radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.15), transparent),
                radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.1), transparent);
    overflow: hidden;
    text-align: center;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&q=80&w=2070') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-v2 h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-v2 .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
}

.hero-v2 p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Category Cards */
.category-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.category-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.category-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: rgba(0, 102, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.category-card-v2.active {
    border-color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.cat-icon-v2 {
    font-size: 2.2rem;
    transition: transform 0.3s;
}

.cat-name-v2 {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* World Standard Compact Product Grid V2 */
.products-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.product-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.product-card-v2:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.p-img-v2-wrap {
    position: relative;
    height: 160px;
}

.p-img-v2 {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}

.product-card-v2:hover .p-img-v2 { transform: scale(1.08); }

.p-info-v2 { padding: 14px; flex:1; display:flex; flex-direction:column; gap:8px; }

.p-name-v2 { font-weight: 700; font-size: 0.85rem; line-height: 1.3; height: 2.6em; overflow: hidden; color: var(--text-primary); }

.p-price-v2 { font-size: 1.05rem; font-weight: 950; color: var(--accent); }

.p-footer-v2 { display: flex; gap: 8px; margin-top: auto; }

.btn-add-v2 {
    flex: 1; padding: 8px; border-radius: 8px; background: rgba(0, 102, 255, 0.1);
    color: var(--accent); border: 1px solid rgba(0, 102, 255, 0.2); font-weight: 800;
    transition: 0.3s; cursor: pointer; text-align: center; text-decoration: none;
    font-size: 0.82rem;
}

.btn-add-v2:hover { background: var(--accent); color: #000; box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3); }

/* Compact Wishlist Button */
.wishlist-btn-v2 {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-btn-v2:hover {
    border-color: #ff4466;
    color: #ff4466;
    background: rgba(255, 68, 102, 0.05);
    transform: scale(1.05);
}

.wishlist-btn-v2.active i {
    color: #ff4466;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .product-detail { gap: 30px; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-h));
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 15px;
    }
    .nav.show { left: 0; }
    .nav-link { width: 100%; text-align: center; padding: 15px; font-size: 1.1rem; }
    
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .container { padding: 0 16px; }
    
    .hero { padding: 60px 0 40px; }
    .hero-title { font-size: 2.2rem; }
    
    .product-detail { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .btn-lg { width: 100%; }
    .hero-title { font-size: 2rem; }
    .search-box { border-radius: 16px; }
}

/* === HOMEPAGE REDESIGN (Premium Tech) === */
.bonus-banner {
    background: linear-gradient(135deg, rgba(20, 25, 45, 0.9), rgba(10, 15, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 40px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.bonus-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bonus-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; color: #fff; }
.bonus-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bonus-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; }
.bonus-item i { color: #00ff88; font-size: 1.2rem; }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.feature-card {
    background: linear-gradient(rgba(20, 25, 45, 0.8), rgba(10, 15, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    text-decoration: none;
    color: #fff;
}

.feature-card:hover { transform: translateY(-8px); border-color: #00d4ff; box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15); }

.feature-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
    mask-image: linear-gradient(to right, transparent, black);
}

.feature-info { position: relative; z-index: 2; max-width: 70%; }
.feature-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; color: #fff; }
.feature-info p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; }

/* === ULTRA PREMIUM TELEGRAM HUB === */
.tg-hub-container {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.tg-hub-main {
    width: 52px;
    height: 52px;
    background: #0088cc;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5), inset 0 0 15px rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.tg-hub-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    border-radius: 50%;
}

.tg-hub-container.active .tg-hub-main {
    transform: rotate(135deg);
    background: #ff4d6d;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.5);
}

.tg-hub-menu {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom center;
}

.tg-hub-container.active .tg-hub-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.tg-hub-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    text-decoration: none;
    position: relative;
}

.tg-hub-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00a8ea;
    box-shadow: 0 4px 15px rgba(0, 168, 234, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tg-hub-icon-inner {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-hub-icon-inner i {
    color: #00a8ea;
    font-size: 0.85rem;
    margin-right: 1px;
}

.tg-hub-label {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    background: #111a28;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tg-hub-container.active .tg-hub-item:hover .tg-hub-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 168, 234, 0.6);
}

.tg-hub-container.active .tg-hub-item:hover .tg-hub-label,
.tg-hub-container.active .tg-hub-item .tg-hub-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animation Delays */
.tg-hub-container.active .tg-hub-item:nth-child(3) { transition-delay: 0.05s; }
.tg-hub-container.active .tg-hub-item:nth-child(2) { transition-delay: 0.1s; }
.tg-hub-container.active .tg-hub-item:nth-child(1) { transition-delay: 0.15s; }

@media (max-width: 768px) {
    .tg-hub-container { bottom: 20px; right: 20px; }
    .tg-hub-main { width: 54px; height: 54px; font-size: 1.8rem; }
    .tg-hub-icon { width: 42px; height: 42px; font-size: 1.1rem; }
    .tg-hub-label { font-size: 0.85rem; padding: 6px 12px; }
}

/* === PREMIUM LANGUAGE SWITCHER === */
.lang-switch {
    display: flex;
    gap: 6px;
    align-items: center;
    background: rgba(10, 15, 30, 0.4);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.lang-switch a.lang-uz.active {
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.lang-switch a.lang-ru.active {
    color: #ffcc5a;
    background: rgba(255, 204, 90, 0.15);
    border-color: rgba(255, 204, 90, 0.3);
    box-shadow: 0 4px 15px rgba(255, 204, 90, 0.2);
}

.lang-switch a:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@media (max-width: 768px) {
    .bonus-banner { flex-direction: column; text-align: center; padding: 25px; }
    .bonus-image { width: 100% !important; order: -1; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-info { max-width: 100%; }
}


/* Footer Benefits List */
.footer-benefits {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.benefit-item i {
    color: var(--success);
}
