/* ============================================
   সিয়েনা আসবাবপত্র — Modern E-commerce Design
   Inspired by Gadget Hut style — Orange theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Tiro+Bangla&display=swap');

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-darker: #c2410c;
    --primary-light: #fed7aa;
    --primary-lighter: #ffedd5;
    --primary-bg: #fff7ed;
    --sale-red: #dc2626;
    --sale-red-dark: #b91c1c;
    --dark: #1f2937;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success: #16a34a;
    --info: #0ea5e9;
    --purple: #9333ea;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Hind Siliguri', system-ui, -apple-system, sans-serif;
    background: #f5f5f5;
    color: #1f2937;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ============================
   TOP BAR
   ============================ */
.top-bar {
    background: linear-gradient(90deg, #c2410c, #dc2626);
    color: white;
    font-size: 13px;
    overflow: hidden;
    padding: 8px 0;
}
.marquee { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee span { padding: 0 30px; }
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ============================
   HEADER
   ============================ */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}
.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}
.logo-text p {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 2px;
}
.search-box {
    flex: 1;
    max-width: 600px;
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    background: white;
}
.search-box input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    background: transparent;
}
.search-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 24px;
    font-weight: 600;
    transition: background 0.2s;
}
.search-box button:hover { background: var(--primary-dark); }
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray-700);
    cursor: pointer;
    font-size: 12px;
    position: relative;
    transition: color 0.2s;
}
.header-action:hover { color: var(--primary-dark); }
.header-action i { font-size: 20px; margin-bottom: 2px; }
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--sale-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-track {
    background: var(--sale-red);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
}
.btn-track:hover { background: var(--sale-red-dark); }

/* Navbar */
.navbar {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-wrap: wrap;
}
.nav-list a {
    display: block;
    padding: 8px 14px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s;
}
.nav-list a:hover, .nav-list a.active { background: rgba(255,255,255,0.15); }

/* ============================
   HERO SECTION
   ============================ */
.hero {
    background: linear-gradient(135deg, #fed7aa 0%, #ffedd5 50%, #fef3c7 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero-content h1 span { color: var(--primary); }
.hero-content p {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 24px;
}
.hero-cta {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}
.hero-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

.hero-trust {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-700);
    font-weight: 500;
}
.hero-trust-item i { color: var(--primary); font-size: 18px; }

.hero-image {
    position: relative;
    text-align: center;
}
.hero-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--sale-red);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transform: rotate(-15deg);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    animation: pulse 2s infinite;
}
.discount-badge .small { font-size: 10px; }
.discount-badge .big { font-size: 22px; line-height: 1; }
@keyframes pulse {
    0%, 100% { transform: rotate(-15deg) scale(1); }
    50% { transform: rotate(-15deg) scale(1.05); }
}

/* ============================
   CATEGORY ICONS
   ============================ */
.category-icons {
    background: white;
    padding: 24px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.cat-item {
    text-align: center;
    padding: 16px 8px;
    border-radius: 12px;
    background: var(--primary-bg);
    transition: all 0.2s;
    cursor: pointer;
}
.cat-item:hover {
    background: var(--primary-lighter);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15);
}
.cat-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.cat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

/* ============================
   SECTION HEADER
   ============================ */
.section {
    padding: 32px 0;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}
.section-link {
    color: var(--sale-red);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-link:hover { color: var(--sale-red-dark); }

/* ============================
   FLASH SALE BAR
   ============================ */
.flash-bar {
    background: linear-gradient(90deg, #c2410c, #dc2626);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
.flash-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
}
.flash-title i { font-size: 28px; animation: pulse 1.5s infinite; }
.countdown {
    display: flex;
    gap: 8px;
    align-items: center;
}
.countdown-box {
    background: white;
    color: var(--sale-red);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    min-width: 48px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.countdown-sep { font-size: 18px; font-weight: 700; }

/* ============================
   PRODUCT CARD
   ============================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.product-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gray-100);
    overflow: hidden;
    position: relative;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--sale-red);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.product-badge.new { background: var(--success); }
.product-badge.hot { background: var(--purple); }
.product-info {
    padding: 12px;
}
.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 42px;
}
.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}
.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}
.price-old {
    font-size: 12px;
    color: var(--gray-400);
    text-decoration: line-through;
}
.product-meta {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 10px;
}
.product-actions {
    display: flex;
    gap: 6px;
}
.btn-buy {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.btn-buy:hover { background: var(--primary-dark); }
.btn-cart-icon {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}
.btn-cart-icon:hover { background: var(--primary); color: white; }

/* ============================
   PROMO BANNER
   ============================ */
.promo-banner {
    background: linear-gradient(135deg, #f97316, #ea580c, #c2410c);
    border-radius: 16px;
    padding: 40px;
    color: white;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 30px;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.promo-content { position: relative; z-index: 1; }
.promo-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}
.promo-content h2 span {
    background: white;
    color: var(--primary-dark);
    padding: 0 12px;
    border-radius: 8px;
}
.promo-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
}
.promo-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.promo-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.promo-feature i {
    background: rgba(255,255,255,0.2);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.promo-cta {
    background: white;
    color: var(--primary-dark);
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
}
.promo-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.promo-image {
    text-align: center;
    position: relative;
    z-index: 1;
}
.promo-image img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

/* ============================
   FEATURES STRIP
   ============================ */
.features-strip {
    background: white;
    padding: 30px 0;
    margin: 32px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 14px;
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}
.feature-icon.original { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon.delivery { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon.payment { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.feature-icon.support { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.feature h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.feature p { font-size: 12px; color: var(--gray-500); }

/* ============================
   FOOTER
   ============================ */
.footer {
    background: linear-gradient(135deg, #c2410c, #b91c1c);
    color: white;
    padding: 50px 0 0;
    margin-top: 50px;
}
.footer-trust {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-bottom: 30px;
}
.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 14px;
}
.footer-trust-item i {
    font-size: 24px;
    color: #ffedd5;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 30px;
}
.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}
.footer-col p, .footer-col li {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
    line-height: 1.7;
}
.footer-col ul { list-style: none; }
.footer-col ul a:hover { color: white; }
.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}
.footer-contact-item i { color: #ffedd5; margin-top: 3px; }
.newsletter-form {
    display: flex;
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
}
.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    font-size: 13px;
    outline: none;
}
.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
}
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s;
}
.social-link:hover { background: var(--primary); }
.app-buttons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.app-btn {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 11px;
    transition: background 0.2s;
}
.app-btn:hover { background: rgba(0,0,0,0.5); }
.app-btn i { font-size: 22px; }
.app-btn small { display: block; opacity: 0.8; }
.app-btn strong { display: block; font-size: 13px; }
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* ============================
   WHATSAPP FLOAT
   ============================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ============================
   AUTH PAGES
   ============================ */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}
.auth-bg-forest { background: linear-gradient(135deg, #c2410c, #dc2626); }
.auth-bg-purple { background: linear-gradient(135deg, #6a1b9a, #4a148c); }
.auth-bg-multicolor { background: linear-gradient(135deg, #e74c3c, #9b59b6, #f1c40f, #e67e22); }
.auth-card {
    background: white;
    border-radius: 16px;
    padding: 36px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 24px;
}
.auth-tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
}
.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-500);
    transition: all 0.2s;
    border: none;
    background: transparent;
}
.auth-tab.active {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: white;
}
.form-input:focus { border-color: var(--primary); }
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.btn-primary:hover { background: var(--primary-dark); }
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-top { flex-wrap: wrap; gap: 12px; }
    .search-box { order: 3; width: 100%; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .hero-content h1 { font-size: 28px; }
    .hero-trust { justify-content: center; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .promo-banner { grid-template-columns: 1fr; padding: 24px; text-align: center; }
    .promo-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-trust-grid { grid-template-columns: 1fr; }
    .nav-list { overflow-x: auto; flex-wrap: nowrap; }
    .flash-bar { flex-direction: column; gap: 12px; text-align: center; }
    .countdown { justify-content: center; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 24px; }
}
