﻿/* Silmon Mart - High-Conversion Modern E-Commerce Stylesheet */
:root {
    --primary: #f97316;          /* Vibrant high-converting orange */
    --primary-hover: #ea580c;
    --primary-light: #fff7ed;
    --secondary: #0f172a;        /* Deep slate navy */
    --accent: #10b981;           /* Trust green */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    --font-main: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px; /* Space for mobile bottom bar */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* Announcement Top Bar */
.top-bar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .highlight {
    color: #fb923c;
    font-weight: 700;
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

/* Brand Logo (Text-based as requested) */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.brand-logo .logo-main {
    color: var(--secondary);
}

.brand-logo .logo-accent {
    color: var(--primary);
    position: relative;
}

.brand-logo .logo-badge {
    background: #ffedd5;
    color: #ea580c;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 4px;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 540px;
    position: relative;
}

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

.search-input {
    width: 100%;
    padding: 12px 48px 12px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    background: #f8fafc;
}

.search-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: var(--primary-hover);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-pill {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    background: #f1f5f9;
    padding: 8px 14px;
    border-radius: var(--radius-full);
}

@media (min-width: 992px) {
    .contact-pill {
        display: inline-flex;
    }
}

.cart-btn-wrap {
    position: relative;
}

.header-cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    transition: transform 0.2s, background 0.2s;
}

.header-cart-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.cart-count-badge {
    background: #ffffff;
    color: var(--primary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

/* Hero Banner */
.hero-banner-section {
    padding: 20px 0;
}

.hero-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-banner::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 580px;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.5);
    color: #fb923c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-title span {
    color: #fb923c;
}

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

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
    transition: all 0.2s;
}

.btn-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Circular Categories Bar (Matches User's Reference Screenshot) */
.category-section {
    padding: 24px 0 10px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
}

.categories-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-carousel::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 110px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.category-item:hover {
    transform: translateY(-4px);
}

.category-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
    box-shadow: var(--shadow-md);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.category-item:hover .category-circle {
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
    transform: scale(1.05);
}

.category-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 3px solid #ffffff;
}

.category-circle-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-item:hover .category-circle-inner img {
    transform: scale(1.1);
}

.category-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    max-width: 100px;
}

/* Product Grid & Card */
.products-section {
    padding: 24px 0 40px;
}

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

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
}

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

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

.card-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.product-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #f1f5f9;
    overflow: hidden;
}

.product-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-thumb {
    transform: scale(1.06);
}

.product-details {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-meta {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

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

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

.sale-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.regular-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* High Conversion Action Buttons */
.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-order-now {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-order-now:hover {
    background: var(--primary-hover);
}

/* Trust Badges Bar */
.trust-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: 40px;
}

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

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

.trust-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 2px;
}

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

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 0 30px;
    font-size: 14px;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-size: 13px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Mobile Bottom Navigation (Crucial for Mobile E-Commerce in Bangladesh) */
.mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 6px 0;
}

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 4px;
    position: relative;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.mobile-cart-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 16px);
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single Product Page Styling */
.single-product-wrap {
    padding: 30px 0 50px;
}

.product-gallery-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.main-product-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

/* High-Converting Instant Order Form Box */
.instant-order-card {
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin-top: 24px;
}

.order-card-header {
    background: #fff7ed;
    border: 1px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    text-align: center;
    margin-bottom: 20px;
}

.order-card-header h3 {
    color: #c2410c;
    font-size: 16px;
    font-weight: 800;
}

.form-group {
    margin-bottom: 16px;
}

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

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.radio-group-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s;
}

.radio-card:hover {
    border-color: var(--primary);
    background: #fff7ed;
}

.radio-card.active {
    border-color: var(--primary);
    background: #fff7ed;
}

.order-summary-box {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.summary-row.total-row {
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
}

.btn-submit-order {
    width: 100%;
    background: #16a34a; /* High converting green */
    color: white;
    border: none;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
    transition: background 0.2s, transform 0.1s;
}

.btn-submit-order:hover {
    background: #15803d;
    transform: translateY(-2px);
}

