/* SCIT-BOSS DIGITAL STORE - Main Stylesheet
 * Inspired by digisoftpremium.com
 */

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #EFF6FF;
    --accent: #7C3AED;
    --accent-light: #F3E8FF;
    --navy: #101828;
    --navy-light: #1E293B;
    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --text: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --success: #16A34A;
    --success-light: #DCFCE7;
    --warning: #D97706;
    --warning-light: #FEF3C7;
    --danger: #DC2626;
    --danger-light: #FEE2E2;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #101828, #1e1b4b);
    color: #f8fafc;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.announcement-bar a {
    color: #93c5fd;
    text-decoration: underline;
}

.announcement-links {
    display: flex;
    gap: 16px;
    list-style: none;
}

.announcement-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.announcement-links a:hover {
    color: #fff;
}

/* Header & Navigation */
.header-main {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo svg, .brand-logo img {
    height: 38px;
    width: auto;
}

.brand-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.brand-name span {
    color: var(--primary);
}

.search-bar-wrap {
    flex: 1;
    max-width: 500px;
}

.search-form {
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    height: 42px;
    padding: 0 44px 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 4px;
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: color 0.2s ease;
}

.search-btn:hover {
    color: #2563eb;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: background 0.2s ease;
}

.nav-action-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.cart-badge {
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    height: 18px;
    min-width: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    position: absolute;
    top: 2px;
    right: 2px;
}

.sub-nav {
    display: none;
}

.sub-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-nav a {
    color: #334155;
    font-weight: 500;
}

.mobile-search-box {
    display: none;
}

.home-product-tab-content {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #172554 100%);
    color: #fff;
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(147, 197, 253, 0.3);
    color: #93c5fd;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-secondary:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-success:hover {
    background: #15803d;
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #b91c1c;
    color: #fff;
}

.btn-block {
    display: flex;
    width: 100%;
}

.hero-badge-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xl);
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.h-feat-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.h-feat-item h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}

.h-feat-item p {
    font-size: 12px;
    color: #94a3b8;
}

/* Trust Bar */
.trust-bar {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

.trust-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Category Grid */
.section-py {
    padding: 60px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
    display: block;
    color: inherit;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
}

.category-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.category-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: #cbd5e1;
    transform: translateY(-4px);
}

.product-thumb-wrap {
    position: relative;
    padding-top: 65%;
    background: #f8fafc;
    overflow: hidden;
}

.product-thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-thumb-wrap img {
    transform: scale(1.05);
}

.product-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(16, 24, 40, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
}

.badge-delivery-a {
    background: #1e3a8a;
}

.badge-delivery-b {
    background: #065f46;
}

.badge-delivery-c {
    background: #581c87;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-meta {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.product-card:hover .product-title {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 12px;
}

.product-rating span {
    color: var(--text-muted);
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 14px;
}

.price-current {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
}

.price-regular {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-discount-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--danger);
    background: var(--danger-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.product-actions-btn {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-add-cart {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add-cart:hover {
    background: var(--primary);
    color: #fff;
}

.btn-quick-buy {
    background: var(--navy);
    color: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.btn-quick-buy:hover {
    background: #000;
    color: #fff;
}

/* Why Choose Us & Instant Delivery Section */
.features-section {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.feat-box {
    padding: 24px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid var(--border);
}

.feat-box-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.feat-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.feat-box p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ Accordion */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px 16px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer-main {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 13px;
    transition: color 0.2s ease;
}

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

.footer-contact p {
    font-size: 13px;
    margin-bottom: 8px;
    color: #94a3b8;
}

.footer-contact strong {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 16px;
}

.dev-attribution {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.dev-attribution strong {
    color: #60a5fa;
}

.dev-attribution a {
    color: #cbd5e1;
    font-weight: 600;
}

.dev-attribution a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.badge-info {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-secondary {
    background: #f1f5f9;
    color: #475569;
}

/* Alerts / Flash Messages */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: var(--success-light);
    color: #14532d;
    border: 1px solid #bbf7d0;
}

.alert-error, .alert-danger {
    background: var(--danger-light);
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: var(--warning-light);
    color: #78350f;
    border: 1px solid #fde68a;
}

.alert-info {
    background: var(--primary-light);
    color: #1e3a8a;
    border: 1px solid #bfdbfe;
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: #fff;
    color: var(--text);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
    height: auto;
    padding: 12px 14px;
    min-height: 100px;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--navy);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Home Collection Tabs */
.home-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    background: #e2e8f0;
    padding: 6px;
    border-radius: var(--radius-full);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
}

.home-tab-pill {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
    user-select: none;
}

.home-tab-pill:hover {
    color: var(--navy);
}

.home-tab-pill.active {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* 3-Step Instant Delivery Process */
.process-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.process-step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.step-num-bubble {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 2px solid #bfdbfe;
}

.process-step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.process-step-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* bKash Official Security Banner */
.bkash-banner {
    background: linear-gradient(135deg, #101828 0%, #1e1b4b 50%, #4a044e 100%);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    color: #fff;
    margin: 40px 0;
    border: 1px solid rgba(226, 19, 110, 0.3);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
}

.bkash-banner h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.bkash-banner p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 680px;
}

.bkash-banner-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

/* Customer Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.review-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.reviewer-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.reviewer-info span {
    font-size: 11px;
    color: var(--success);
    font-weight: 600;
}

/* Newsletter Container */
.newsletter-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #7c3aed 100%);
    border-radius: var(--radius-lg);
    padding: 44px;
    color: #fff;
    text-align: center;
    margin: 50px 0 20px;
    box-shadow: var(--shadow-xl);
}

.newsletter-section h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-section p {
    font-size: 14px;
    color: #bfdbfe;
    max-width: 520px;
    margin: 0 auto 24px;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    height: 46px;
    border-radius: var(--radius-full);
    border: none;
    padding: 0 20px;
    font-size: 14px;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
    height: 46px;
    padding: 0 24px;
    border-radius: var(--radius-full);
    border: none;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-btn:hover {
    background: #000;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .bkash-banner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar { height: 60px; }
    .search-bar-wrap { display: none; }
    .mobile-toggle { display: block; }
    .mobile-search-box { display: block; padding: 0 4px 12px; }
    .sub-nav {
        display: none;
        background: #fff;
        border-bottom: 2px solid var(--primary);
        padding: 16px 0;
    }
    .sub-nav.active {
        display: block !important;
    }
    .sub-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        overflow-x: visible;
    }
    .sub-nav a {
        display: block;
        padding: 10px 14px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 14.5px;
        font-weight: 600;
    }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero-title { font-size: 28px; }
    .process-grid-3 { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-section { padding: 30px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .feat-grid-4 { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-actions-btn { grid-template-columns: 1fr; }
}

/* ==============================================================
 * DIGISOFT-INSPIRED CLEAN STOREFRONT & QUICK CHECKOUT STYLES
 * ============================================================== */

/* Header Search Input & Nav Actions */
.header-actions .nav-icon {
    font-size: 15px;
}
.header-actions .nav-label {
    font-size: 13.5px;
    font-weight: 600;
}

/* Promotional Banner (Digisoft Premium Style) */
.banner-hero-wrap {
    margin-bottom: 28px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    background: #fff;
    border: 1px solid #f1f5f9;
}

.banner-hero-link {
    display: block;
    width: 100%;
    line-height: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-hero-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.banner-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

/* Top Categories */
.digi-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

.top-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.top-cat-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}

.top-cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.top-cat-icon {
    font-size: 26px;
    line-height: 1;
}

.top-cat-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

/* Flash Sales Section */
.flash-sale-wrapper {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px 24px 24px;
    margin-bottom: 36px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.flash-sale-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
}

.flash-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.count-box {
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 28px;
    text-align: center;
}

.count-colon {
    font-weight: 800;
    color: #0f172a;
    font-size: 14px;
}

.flash-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.flash-card {
    background: #ffffff;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.flash-card:hover {
    transform: translateY(-3px);
}

.flash-img-box {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    margin-bottom: 8px;
    position: relative;
}

.flash-img-box img {
    max-height: 85px;
    max-width: 85px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
    transition: transform 0.25s ease;
}

.flash-card:hover .flash-img-box img {
    transform: scale(1.08);
}

.flash-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

.flash-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.flash-price {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

/* Product Cards & Grids (Best Selling & Popular Products) */
.digi-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.digi-view-all {
    font-size: 12px;
    font-weight: 600;
    color: #4338ca;
    text-decoration: none;
}

.digi-view-all:hover {
    text-decoration: underline;
}

.digi-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.digi-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.digi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.digi-img-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 145px;
    margin-bottom: 8px;
    text-decoration: none;
}

.digi-img-box img {
    max-height: 80px;
    max-width: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
    transition: transform 0.25s ease;
}

.digi-card:hover .digi-img-box img {
    transform: scale(1.08);
}

.digi-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.digi-title a {
    color: #0f172a;
    text-decoration: none;
}

.digi-price {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.digi-actions-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
    align-items: center;
}

.btn-digi-buynow {
    flex: 1;
    background: #260058;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    padding: 8px 10px;
    border-radius: 9999px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.btn-digi-buynow:hover {
    background: #3b0764;
    color: #ffffff;
}

.btn-digi-cart {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-digi-cart:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Clean Footer */
.footer-clean {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 50px 0 24px;
    margin-top: 60px;
}

.footer-clean-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-clean-brand {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.footer-clean-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 16px;
}

.footer-clean-badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #bfdbfe;
}

.footer-social-row {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.footer-social-btn:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.footer-clean-heading {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.footer-clean-links {
    list-style: none;
}

.footer-clean-links li {
    margin-bottom: 10px;
}

.footer-clean-links a {
    font-size: 13.5px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-clean-links a:hover {
    color: #2563eb;
}

.footer-clean-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-attribution-text a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
}

.footer-attribution-text a:hover {
    color: #2563eb;
}

/* Floating WhatsApp Chat Widget */
.floating-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.floating-chat-widget:hover {
    background: #6d28d9;
    transform: scale(1.08);
    color: #fff;
}

/* Responsive Adaptations for Clean Storefront */
@media (max-width: 1024px) {
    .top-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .flash-products-grid { grid-template-columns: repeat(3, 1fr); }
    .digi-products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-clean-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .flash-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .digi-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-clean-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-clean-bottom { flex-direction: column; text-align: center; }
    .search-bar-wrap { max-width: 100%; order: 3; width: 100%; margin-top: 10px; }
    .navbar { height: auto; padding: 12px 0; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .top-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .flash-products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .digi-products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
