/* ==========================================================================
   ThemeFlex E-Commerce - 2inshop Style Modern Theme (Emerald Green #04a96d)
   ========================================================================== */

:root {
    --primary: #04a96d;
    --primary-hover: #038656;
    --primary-dark: #025e3c;
    --primary-light: #e6f7f0;
    --primary-glow: rgba(4, 169, 109, 0.35);
    
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    --gold: #f59e0b;
    --gold-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;

    --bg-main: #f0f5ff;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    --font-main: 'Hind Siliguri', 'Outfit', sans-serif;
    --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 -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(4, 169, 109, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--slate-800);
    line-height: 1.5;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: var(--font-main);
}

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

/* Utility Classes */
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--gold) !important; }
.text-success { color: var(--primary) !important; }
.text-center { text-align: center; }
.hidden { display: none !important; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--primary-glow);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: #ffffff;
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

/* 1. Top Announcement Bar */
.top-announcement {
    background: var(--slate-900);
    color: #ffffff;
    padding: 7px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.announcement-badge {
    background: var(--primary);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
}

.marquee-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #cbd5e1;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.top-contact a {
    color: #38bdf8;
    font-weight: 600;
}

.top-contact button {
    color: #ffffff;
    font-size: 12px;
    opacity: 0.9;
}

.top-contact button:hover {
    color: var(--primary);
}

/* 2. Main Header */
.main-header {
    background: #ffffff;
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: #e2e8f0;
    color: #059669;
}

/* Mobile Side Drawer Navigation */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    max-width: 84vw;
    background: #ffffff;
    z-index: 1350;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    padding: 16px 18px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.close-drawer-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    color: #475569;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-drawer-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.mobile-drawer-body {
    padding: 18px;
    overflow-y: auto;
    flex: 1;
}

.drawer-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.mobile-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-drawer-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-drawer-menu a:hover, .mobile-drawer-menu a.active {
    background: #ecfdf5;
    color: #059669;
}

.mobile-drawer-menu i {
    font-size: 16px;
    width: 22px;
    text-align: center;
}

.drawer-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
}

.drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
    text-decoration: none;
    color: #0f172a;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
}

.drawer-contact-item i {
    font-size: 20px;
    color: #059669;
}

.drawer-contact-item.whatsapp i {
    color: #25d366;
}

.drawer-contact-item span {
    display: block;
    font-size: 11px;
    color: #64748b;
}

.drawer-contact-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1;
    letter-spacing: -0.5px;
}

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

.brand-sub {
    font-size: 11px;
    color: var(--slate-600);
    display: block;
    font-weight: 500;
}

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

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--slate-50);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    padding: 3px 3px 3px 16px;
    transition: all 0.2s ease;
}

.search-input-wrapper:focus-within {
    box-shadow: 0 0 0 4px var(--primary-light);
}

.search-icon {
    color: var(--slate-600);
    margin-right: 8px;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--slate-900);
}

.search-btn {
    background: var(--primary);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}

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

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-height: 320px;
    overflow-y: auto;
    z-index: 105;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--slate-100);
    cursor: pointer;
    transition: background 0.15s ease;
}

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

.search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-item-info h5 {
    font-size: 14px;
    color: var(--slate-900);
}

.search-item-info span {
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
}

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    background: var(--slate-50);
    border: 1px solid var(--border-color);
    color: var(--slate-800);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

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

.cart-toggle-btn {
    background: var(--primary-light);
    border-color: rgba(4, 169, 109, 0.3);
    color: var(--slate-900);
}

.icon-wrap {
    position: relative;
    font-size: 18px;
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--danger);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.cart-btn-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.btn-label {
    font-size: 12px;
    color: var(--slate-600);
}

.btn-sub {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* 3. Navigation Bar */
.nav-bar {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: var(--gold);
}

.help-hotline {
    background: var(--slate-900);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-hotline span {
    color: var(--gold);
}

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

.banner-slider {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.slide-content {
    max-width: 520px;
    color: #ffffff;
}

.slide-badge {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.badge-gold {
    background: var(--gold);
    color: var(--slate-900);
}

.slide-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.slide-content p {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 24px;
}

.slide-btns {
    display: flex;
    gap: 12px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--slate-900);
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: var(--primary);
    color: #ffffff;
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 28px;
    border-radius: var(--radius-full);
    background: var(--primary);
}

/* 5. Trust Features Bar */
.trust-features {
    padding: 10px 0 30px;
}

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

.feature-card {
    background: #ffffff;
    padding: 18px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-900);
}

.feature-text p {
    font-size: 13px;
    color: var(--slate-600);
}

/* 6. Flash Sale Bar */
.flash-sale-section {
    margin-bottom: 30px;
}

.flash-sale-box {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

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

.flash-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-title h3 {
    font-size: 22px;
    font-weight: 700;
}

.flash-tag {
    background: var(--danger);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timer-label {
    font-size: 14px;
    color: #cbd5e1;
}

.timer-blocks {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.time-box {
    background: var(--primary);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 44px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.time-box span {
    font-size: 18px;
    font-weight: 700;
}

.time-box small {
    font-size: 10px;
    opacity: 0.9;
    margin-top: 2px;
}

.stock-progress-wrap {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
}

.stock-count {
    color: var(--gold);
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

/* 7. Main Product Section */
.products-section {
    padding: 20px 0 50px;
}

.section-top-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--slate-900);
}

.section-title p {
    font-size: 14px;
    color: var(--slate-600);
}

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--slate-700);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px var(--primary-glow);
}

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

/* Product Card */
/* Product Card Redesign */
.product-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(5, 150, 105, 0.18), 0 0 0 1.5px #059669;
    border-color: #059669;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.quick-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.product-card:hover .quick-view-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: #ffffff;
    color: #0f172a;
    padding: 9px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quick-view-btn:hover {
    background: #059669;
    color: #ffffff;
    transform: scale(1.05);
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 6px;
}

.rating-badge {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #d97706;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sales-count {
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 21px;
    font-weight: 800;
    color: #059669;
    font-family: var(--font-number, sans-serif);
}

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

.discount-pill {
    background: #fee2e2;
    color: #dc2626;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    margin-left: auto;
}

.product-card-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.btn-buy-now {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    font-size: 13px;
    padding: 10px 8px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.btn-add-cart {
    background: #ffffff;
    color: #059669;
    border: 1.5px solid #059669;
    font-size: 13px;
    padding: 10px 8px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-add-cart:hover {
    background: #ecfdf5;
    border-color: #047857;
    color: #047857;
    transform: translateY(-2px);
}
    transition: all 0.2s ease;
}

.btn-add-cart:hover {
    background: rgba(4, 169, 109, 0.25);
}

/* 8. Customer Reviews Section */
.reviews-section {
    padding: 40px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.overall-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--slate-50);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-top: 10px;
    border: 1px solid var(--border-color);
}

.rating-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--slate-900);
}

.stars {
    color: var(--gold);
    font-size: 16px;
}

.rating-sub {
    font-size: 13px;
    color: var(--slate-600);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.review-card {
    background: var(--slate-50);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.user-info h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-900);
}

.verified-badge {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-time {
    margin-left: auto;
    font-size: 12px;
    color: var(--slate-600);
}

.review-stars {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    color: var(--slate-700);
    line-height: 1.5;
}

/* 9. Footer Section */
.site-footer {
    background: var(--slate-900);
    color: #94a3b8;
    padding-top: 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-desc {
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.footer-col ul li a {
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

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

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #cbd5e1;
}

.contact-info i {
    color: var(--primary);
    margin-top: 3px;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 13px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pay-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

.pay-tag.bkash { background: #e2136e; }
.pay-tag.nagad { background: #f7921e; }
.pay-tag.cod { background: var(--primary); }

.dev-credit {
    margin-left: 4px;
}

.dev-credit a {
    color: #10b981;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dev-credit a:hover {
    color: #34d399;
    text-decoration: underline;
}

/* 10. Slide-out Cart Drawer */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1550;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    z-index: 1600;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

.cart-header h3 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-header h3 i {
    color: #10b981;
}

.close-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-cart-btn:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
}

.cart-empty {
    text-align: center;
    padding: 50px 20px;
    color: #64748b;
}

.cart-empty i {
    font-size: 52px;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    align-items: center;
}

.cart-item img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.35;
}

.cart-item-price {
    font-weight: 800;
    color: #059669;
    font-size: 14px;
    margin-bottom: 6px;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.remove-item-btn {
    color: #ef4444;
    font-size: 15px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s ease;
}

.remove-item-btn:hover {
    transform: scale(1.15);
}

.cart-footer {
    padding: 18px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.delivery-select {
    margin-bottom: 12px;
}

.delivery-select label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    display: block;
    margin-bottom: 6px;
}

.delivery-select select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
}

.delivery-select select:focus {
    border-color: #059669;
}

.cart-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.total-line {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
    margin-top: 6px;
}

.total-line span:last-child {
    color: #059669;
    font-size: 20px;
    font-weight: 800;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.45);
}

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

/* 11. Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-card.quickview-card {
    max-width: 840px;
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 0;
    overflow: hidden;
}

/* Close Button on QuickView Modal */
.close-modal-btn.inside-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #475569;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.close-modal-btn.inside-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: rotate(90deg) scale(1.08);
}

/* Quick View Layout Grid */
.quickview-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .quickview-grid {
        grid-template-columns: 1fr;
    }
}

/* Left Image Box */
.qv-image-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .qv-image-box {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 24px;
    }
}

.qv-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.qv-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.qv-image-wrapper:hover img {
    transform: scale(1.06);
}

.qv-badge-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    z-index: 2;
}

/* Right Content Box */
.qv-details-box {
    padding: 36px 36px 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .qv-details-box {
        padding: 24px 20px;
    }
}

.qv-category {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #059669;
    margin-bottom: 6px;
}

.qv-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}

.qv-rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.qv-stars {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 4px 10px;
    border-radius: 30px;
    color: #d97706;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.qv-sales {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.qv-stock {
    font-size: 12px;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qv-price-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.qv-current-price {
    font-size: 30px;
    font-weight: 800;
    color: #059669;
    font-family: var(--font-number, sans-serif);
    line-height: 1;
}

.qv-regular-price {
    font-size: 17px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.qv-discount-pill {
    background: #fee2e2;
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    margin-left: auto;
}

.qv-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* Feature Bullet Badges */
.qv-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.qv-feature-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.qv-feature-item i {
    font-size: 16px;
    color: #059669;
}

/* Action Buttons */
.qv-action-row {
    display: flex;
    gap: 12px;
}

.qv-buy-btn {
    flex: 1.2;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.qv-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.45);
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

.qv-cart-btn {
    flex: 1;
    background: #ffffff;
    color: #059669;
    border: 2px solid #059669;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.qv-cart-btn:hover {
    background: #ecfdf5;
    border-color: #047857;
    color: #047857;
    transform: translateY(-2px);
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-900);
}

.close-modal-btn {
    font-size: 20px;
    color: var(--slate-600);
}

.modal-body {
    padding: 20px;
}

.order-summary-box {
    background: var(--primary-light);
    border: 1px solid rgba(4, 169, 109, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    outline: none;
    font-size: 14px;
    font-family: var(--font-main);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.radio-card {
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.payment-option-card {
    background: var(--primary-light);
    border: 1px solid var(--primary);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-order-btn {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px var(--primary-glow);
    margin-top: 10px;
}

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

/* Success Modal */
.success-icon {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 12px;
}

.success-details {
    background: var(--slate-50);
    padding: 14px;
    border-radius: var(--radius-md);
    margin: 16px 0;
    text-align: left;
    font-size: 14px;
}

.success-note {
    font-size: 13px;
    color: var(--slate-600);
    margin-bottom: 20px;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: transform 0.2s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: var(--primary); }

.float-btn .tooltip {
    position: absolute;
    right: 60px;
    background: var(--slate-900);
    color: #ffffff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.float-btn:hover .tooltip {
    opacity: 1;
}

/* Responsive Media Queries */
/* Mobile App Bottom Navigation Bar & Mobile Responsiveness Overhaul */

/* Premium Floating Glassmorphic App Dock with Main Brand Emerald Background */
.mobile-bottom-nav {
    position: fixed;
    bottom: 12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 24px);
    max-width: 480px;
    z-index: 1150;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 35px;
    display: none;
    padding: 8px 14px;
    box-shadow: 0 14px 35px rgba(4, 120, 87, 0.45);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    padding: 6px 10px;
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}

.mobile-nav-item i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    transition: transform 0.25s ease, color 0.25s ease;
}

.mobile-nav-item:active {
    transform: scale(0.92);
}

.mobile-nav-item.active {
    color: #ffffff;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.22);
}

.mobile-nav-item.active i {
    color: #ffffff;
    transform: translateY(-2px) scale(1.1);
}

.mobile-nav-item.whatsapp-item {
    color: #ffffff;
}

.mobile-nav-item.whatsapp-item i {
    color: #25d366;
}

.mobile-nav-item.whatsapp-item.active,
.mobile-nav-item.whatsapp-item:hover {
    background: rgba(255, 255, 255, 0.22);
}

.mobile-nav-item.call-item {
    color: #ffffff;
}

.mobile-nav-item.call-item i {
    color: #38bdf8;
}

.mobile-nav-item.call-item.active,
.mobile-nav-item.call-item:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Floating Raised Cart Button in the Middle */
.mobile-nav-item.cart-item {
    padding: 0;
}

.mobile-cart-icon-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin-top: -16px;
    border: 3px solid #047857;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mobile-cart-icon-wrap i {
    font-size: 18px;
    color: #059669;
}

.mobile-nav-item.cart-item:hover .mobile-cart-icon-wrap,
.mobile-nav-item.cart-item:active .mobile-cart-icon-wrap {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mobile-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Mobile Responsive Overhaul */
@media (max-width: 992px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-widgets { grid-template-columns: 1fr 1fr; }
    .banner-slider { height: 300px; }
    .slide-content h2 { font-size: 26px; }
    .slide-overlay { padding: 0 30px; }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }

    .mobile-bottom-nav {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .floating-actions {
        bottom: 85px;
        right: 16px;
    }

    .top-announcement {
        padding: 6px 0;
    }

    .announcement-inner {
        flex-direction: row;
        justify-content: center;
        gap: 6px;
        font-size: 12px;
    }

    .marquee-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
    }

    /* Main Sticky Header Clean Single Line */
    .mobile-menu-btn {
        display: flex;
    }

    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid #e2e8f0;
        padding: 8px 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    }

    .header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .header-left {
        gap: 8px;
    }

    .brand-logo .brand-name {
        font-size: 19px;
    }

    .brand-logo .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .header-actions {
        gap: 6px;
    }

    /* Hide header search bar on mobile main header */
    .header-search {
        display: none !important;
    }

    /* Hide redundant track button in header on mobile */
    .header-actions .action-btn:not(.cart-toggle-btn) {
        display: none;
    }

    .cart-btn-info {
        display: none;
    }

    .action-btn.cart-toggle-btn {
        padding: 8px 12px;
        border-radius: 20px;
        background: #ecfdf5;
        border: 1px solid #a7f3d0;
    }

    .action-btn.cart-toggle-btn i {
        color: #059669;
        font-size: 16px;
    }

    /* Mobile Drawer Search Box Design */
    .drawer-search-wrap {
        margin-bottom: 20px;
        position: relative;
    }

    .drawer-search-wrap .search-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        background: #ffffff;
        border: 2px solid #059669;
        border-radius: 30px;
        padding: 4px 5px 4px 14px;
        box-shadow: 0 4px 15px rgba(5, 150, 105, 0.12);
        transition: all 0.25s ease;
    }

    .drawer-search-wrap .search-input-wrapper:focus-within {
        border-color: #10b981;
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.22);
    }

    .drawer-search-wrap .search-icon {
        position: static;
        transform: none;
        color: #059669;
        font-size: 14px;
        margin-right: 6px;
    }

    .drawer-search-wrap .search-input-wrapper input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 7px 0;
        font-size: 13px;
        font-weight: 500;
        color: #0f172a;
        outline: none;
    }

    .drawer-search-wrap .search-btn {
        position: static;
        transform: none;
        background: linear-gradient(135deg, #059669, #10b981);
        color: #ffffff;
        padding: 7px 16px;
        border-radius: 24px;
        font-size: 12px;
        font-weight: 700;
        border: none;
        box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
        cursor: pointer;
    }

    /* Hide redundant category nav bar on mobile (accessible via Hamburger Menu & Bottom Dock) */
    .nav-bar {
        display: none;
    }

    .help-hotline {
        display: none;
    }

    /* Hero Banner Slider Clean Art Display */
    .hero-section {
        padding: 10px 0;
    }

    .banner-slider {
        height: 190px;
        border-radius: 16px;
    }

    .slider-arrow {
        display: none !important;
    }

    .slide-overlay {
        padding: 12px;
        align-items: flex-end;
        justify-content: flex-end;
        background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,0.6) 100%);
    }

    .slide-content h2, .slide-content p, .slide-badge {
        display: none !important;
    }

    .slide-btns {
        display: flex;
        gap: 6px;
    }

    .slide-btns .btn {
        padding: 6px 14px;
        font-size: 11px;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    /* Flash Sale Section Mobile Spacing & Centering */
    .flash-sale-section {
        margin-bottom: 10px;
    }

    .flash-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .flash-title {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 6px;
        width: 100%;
    }

    .flash-title h3 {
        font-size: 16px;
        white-space: nowrap;
    }

    .flash-tag {
        font-size: 10px;
        padding: 2px 7px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .countdown-timer {
        justify-content: center;
        width: 100%;
    }

    .progress-info {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Section Top Bar & Category Tabs Mobile Spacing */
    .products-section {
        padding: 10px 0 30px;
    }

    .section-top-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        margin-bottom: 10px;
    }

    .section-title {
        text-align: center;
    }

    .section-title h2 {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .section-title p {
        font-size: 12px;
    }

    .category-tabs {
        justify-content: center;
        width: 100%;
        gap: 6px;
    }

    /* Products Grid 2-Column Layout */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 15px;
    }

    .product-card {
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        padding: 10px;
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    }

    .product-badge {
        font-size: 10px;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 15px;
        top: 8px;
        left: 8px;
    }

    .product-img-wrapper {
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        overflow: hidden;
    }

    .product-title {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        height: 35px;
        margin: 8px 0 6px;
        color: #0f172a;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

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

    .sales-count {
        font-size: 10px;
        color: #64748b;
    }

    .product-price-row {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 17px;
        font-weight: 800;
        color: #059669;
    }

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

    .product-card-btns {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .product-card-btns .btn-primary {
        width: 100%;
        padding: 9px 8px;
        font-size: 12px;
        border-radius: 10px;
        font-weight: 700;
        justify-content: center;
    }

    .product-card-btns .btn-outline {
        display: none;
    }

    /* Modal & Cart Drawer Mobile Optimizations */
    .cart-drawer {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .cart-drawer.active {
        right: 0;
    }

    .cart-footer {
        padding: 16px 16px 20px 16px;
        position: sticky;
        bottom: 0;
        background: #ffffff;
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08);
        z-index: 20;
    }

    .checkout-btn {
        padding: 16px;
        font-size: 16px;
        font-weight: 800;
        border-radius: 14px;
        box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    }

    .modal-card {
        width: 100%;
        border-radius: 20px;
        padding: 16px;
    }

    /* Quick View Mobile Layout & Sticky Action Buttons */
    .modal-card.quickview-card {
        padding: 0 !important;
        max-height: 85vh;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .modal-card.quickview-card .quickview-body {
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        max-height: 85vh;
    }

    .qv-image-box {
        padding: 16px;
        border-bottom: 1px solid #e2e8f0;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    }

    .qv-image-wrapper {
        max-width: 190px;
        height: 170px;
        aspect-ratio: auto;
        margin: 0 auto;
        border-radius: 16px;
    }

    .qv-image-wrapper img {
        object-fit: contain;
    }

    .qv-badge-tag {
        top: 10px;
        left: 10px;
        font-size: 11px;
        padding: 4px 10px;
    }

    .qv-details-box {
        padding: 16px 16px 0 16px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .qv-category {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .qv-title {
        font-size: 17px;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .qv-rating-bar {
        gap: 6px;
        margin-bottom: 10px;
    }

    .qv-price-card {
        padding: 10px 14px;
        margin-bottom: 12px;
        border-radius: 14px;
    }

    .qv-current-price {
        font-size: 24px;
    }

    .qv-regular-price {
        font-size: 13px;
    }

    .qv-desc {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 12px;
    }

    .qv-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-bottom: 16px;
    }

    .qv-feature-item {
        padding: 8px 4px;
        font-size: 11px;
        border-radius: 10px;
    }

    .qv-feature-item i {
        font-size: 14px;
    }

    .qv-action-row {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 12px 16px 16px 16px;
        margin-left: -16px;
        margin-right: -16px;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08);
        z-index: 25;
        display: flex;
        gap: 10px;
    }

    .qv-buy-btn {
        flex: 1.2;
        padding: 13px 12px;
        font-size: 14px;
        font-weight: 700;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
    }

    .qv-cart-btn {
        flex: 1;
        padding: 13px 10px;
        font-size: 13px;
        font-weight: 700;
        border-radius: 12px;
    }

    .form-group input, .form-group textarea {
        font-size: 16px;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .reviews-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: 1fr; }
}

