/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --secondary: #333333;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --light: #f9fafb;
    --dark: #1f2937;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --border: #e5e7eb;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    color: var(--dark);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== NOTICE BANNER ===== */
.notice-banner {
    background: #000000;
    color: white;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    font-size: 14px;
}

.notice-content {
    white-space: nowrap;
    display: inline-block;
    animation: marquee var(--notice-speed, 30s) linear infinite;
    padding-left: 100%;
}

.notice-content i {
    margin: 0 15px;
    opacity: 0.8;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===== PC HEADER ===== */
.pc-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-top {
    padding: 12px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-area {
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
}

.site-logo img {
    height: 40px;
    width: auto;
    border-radius: var(--radius);
}

/* Search Bar */
.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    background: var(--light);
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 16px;
}

/* Support Icon */
.support-icon {
    background: #25D366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
    flex-shrink: 0;
}

.support-icon:hover {
    transform: scale(1.05);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-login {
    background: var(--light);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-login:hover {
    background: #e8e8e8;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* User Menu */
.user-menu {
    position: relative;
    flex-shrink: 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.dropdown-menu {
    position: absolute;
    top: 45px;
    right: 0;
    background: white;
    min-width: 220px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    z-index: 1001;
    border: 1px solid var(--border);
}

.dropdown-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown-item i {
    width: 18px;
    color: var(--gray);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    display: none;
    background: white;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mobile-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

/* ===== SLIDER SECTION ===== */
.slider-section {
    margin: 20px 0 30px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: var(--shadow);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 368px; /* 5% more than 350px */
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-slide .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
}

.slider-slide .slide-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slider-slide .slide-link {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.slider-slide .slide-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: var(--shadow);
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 20px 0 40px;
}

/* Section Titles - Smaller size */
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 8px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title i {
    color: var(--primary);
    font-size: 20px;
}

/* ===== STORES PAGE ===== */
.stores-page {
    background: white;
    border-radius: var(--radius-xl);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stores-page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.stores-page-title i {
    color: var(--primary);
}

.stores-grid-page {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.store-card-page {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.store-card-page:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.store-card-page:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.store-card-page:hover:before {
    transform: scaleX(1);
}

.store-card-page-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin: 0 auto 12px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid white;
    box-shadow: var(--shadow);
}

.store-card-page-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.store-card-page-id {
    font-size: 10px;
    color: var(--gray);
    margin-bottom: 8px;
    font-family: monospace;
}

.store-card-page-status {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto;
}

.store-card-page-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.store-card-page-status.inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== STORE VIEW HEADER ===== */
.store-view-header {
    background: white;
    border-radius: var(--radius-xl);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.store-header-content {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.store-logo {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.store-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    flex-shrink: 0;
}

.store-info {
    flex: 1;
    min-width: 0;
}

.store-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.store-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.store-badge {
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.store-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

.store-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.store-status.inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.store-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.meta-item {
    background: var(--light);
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--border);
}

.meta-item-content {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: monospace;
}

.copy-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: var(--radius);
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: var(--primary);
}

.store-description {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 15px;
    border-left: 4px solid var(--primary);
}

.store-description h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-description p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.5;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.product-image {
    width: 100%;
    height: 160px; /* Slightly smaller */
    position: relative;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.share-link-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.share-link-btn:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.share-link-btn i {
    color: #25D366;
}

.product-sold {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #10b981;
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.product-type-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.product-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    line-height: 1.4;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.price-bdt {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.price-usd {
    font-size: 11px;
    color: var(--gray);
}

.product-store-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
}

.store-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--gray);
    font-size: 11px;
    transition: color 0.3s;
    flex: 1;
    min-width: 0;
}

.store-link:hover {
    color: var(--primary);
}

.store-link img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}

.store-link-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.store-badge-small {
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.store-badge-small.verified {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.store-badge-small.premium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.store-badge-small.regular {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.product-id {
    font-size: 9px;
    color: var(--gray-light);
    margin-bottom: 8px;
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 4px;
}

.buy-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: auto;
}

.buy-btn:hover:not(:disabled) {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.buy-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0a0a0a;
    color: #fff;
    margin-top: 40px;
    position: relative;
    z-index: 100;
}

.footer-main {
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 20px;
}

/* Footer Left */
.footer-left {
    padding-right: 15px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo-img {
    max-height: 45px;
    width: auto;
    border-radius: var(--radius);
}

.footer-description {
    color: #aaa;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-contact-item i {
    width: 16px;
    color: #fff;
}

/* Footer Middle & Right */
.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
    position: relative;
    padding-bottom: 8px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fff;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 8px;
}

.footer-links-list a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.footer-links-list a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-links-list a i {
    font-size: 10px;
    color: #fff;
}

.policy-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-btn {
    background: rgba(255,255,255,0.05);
    color: #ccc;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    transition: all 0.3s;
    border: 1px solid #222;
}

.policy-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(3px);
}

.policy-btn i:first-child {
    width: 16px;
    color: #fff;
}

.policy-btn span {
    flex: 1;
}

.policy-btn .fa-chevron-right {
    color: #666;
    font-size: 10px;
}

/* Quick Links with same style as policy buttons */
.quick-link-btn {
    background: rgba(255,255,255,0.05);
    color: #ccc;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    transition: all 0.3s;
    border: 1px solid #222;
    cursor: pointer;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
}

.quick-link-btn:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(3px);
}

.quick-link-btn i:first-child {
    width: 16px;
    color: #fff;
}

.quick-link-btn span {
    flex: 1;
}

/* Copyright Bar */
.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    background: #050505;
    position: relative;
    z-index: 100;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.copyright-text {
    color: #aaa;
    font-size: 13px;
    flex: 0 0 40%;
}

.copyright-image {
    max-height: 50px;
    width: auto;
    max-width: 60%;
    object-fit: contain;
    border-radius: var(--radius);
}

.copyright-image.center {
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #222;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== FLOATING NAVIGATION ===== */
.floating-nav {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: auto;
    min-width: 300px;
    max-width: 90%;
    border: 1px solid var(--border);
    z-index: 1000;
    display: block;
    transition: opacity 0.3s, transform 0.3s;
}

.floating-nav.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(100%);
    pointer-events: none;
}

.floating-nav-buttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 5px;
}

.floating-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray);
    padding: 5px 10px;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 11px;
    flex: 1;
    white-space: nowrap;
}

.floating-nav-btn.active {
    color: var(--primary);
    background: var(--light);
    font-weight: 600;
}

.floating-nav-btn i {
    font-size: 16px;
    margin-bottom: 2px;
}

.floating-nav-btn span {
    font-size: 9px;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    backdrop-filter: blur(3px);
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light);
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gray);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #e8e8e8;
    color: var(--danger);
}

.modal-body {
    padding: 20px;
}

/* Form Elements */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 13px;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* Terms Agreement */
.terms-agreement {
    background: var(--light);
    padding: 12px;
    border-radius: var(--radius);
    margin: 15px 0;
    border: 1px solid var(--border);
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.terms-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
}

.terms-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}

.terms-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Product Info Box */
.product-info-box {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.product-info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-price-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price-main {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.product-price-secondary {
    font-size: 12px;
    color: var(--gray);
}

.product-type-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    margin-top: 8px;
}

.product-type-tag.physical {
    background: var(--primary);
    color: white;
}

.product-type-tag.digital {
    background: var(--gray);
    color: white;
}

/* Store Link Modal */
.store-link-modal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark);
    background: white;
    padding: 6px 12px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    font-size: 12px;
}

.store-link-modal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Product Description Box */
.product-description-box {
    background: white;
    border-radius: var(--radius);
    padding: 12px;
    margin: 15px 0;
    border: 1px solid var(--border);
}

.product-description-box h4 {
    font-size: 13px;
    color: var(--dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-description-content {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
    max-height: 100px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Product Share Link */
.product-share-link {
    margin: 15px 0;
    padding: 12px;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
}

.product-share-link label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 6px;
    font-weight: 500;
}

.share-link-container {
    display: flex;
    gap: 8px;
}

.share-link-container input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--dark);
    background: white;
}

.share-link-container button {
    background: #10b981;
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.share-link-container button:hover {
    background: #0ca678;
}

/* Social Share Buttons */
.social-share-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.social-share-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.social-share-btn.whatsapp { background: #25D366; }
.social-share-btn.facebook { background: #1877f2; }
.social-share-btn.telegram { background: #0088cc; }

.social-share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Payment Method */
.payment-method-group {
    margin: 15px 0;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    background: var(--light);
    border-color: var(--primary);
}

.payment-option input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.payment-option label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-option i {
    width: 18px;
    color: var(--primary);
}

/* Address Example */
.address-example {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #0369a1;
}

.address-example strong {
    color: #0284c7;
    display: block;
    margin-bottom: 4px;
}

/* COD Message */
.cod-message {
    background: #e8f5e8;
    padding: 12px;
    border-radius: var(--radius);
    margin: 15px 0;
    border-left: 4px solid #10b981;
    font-size: 13px;
}

.cod-message i {
    color: #10b981;
    margin-right: 6px;
}

/* Total Amount Box */
.total-amount-box {
    background: var(--light);
    padding: 12px;
    border-radius: var(--radius);
    margin: 15px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
}

/* Store Login Button */
.store-login-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.store-login-btn:hover {
    background: var(--secondary);
}

/* ===== LOAD MORE BUTTON ===== */
.load-more-container {
    text-align: center;
    margin: 30px 0;
}

.load-more-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover {
    background: var(--primary);
    color: white;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.page-item {
    list-style: none;
}

.page-link {
    display: block;
    padding: 8px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 13px;
}

.page-link:hover {
    background: var(--light);
}

.page-item.active .page-link {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== NO PRODUCTS MESSAGE ===== */
.no-products {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 40px;
    color: var(--border);
    margin-bottom: 15px;
}

.no-products h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.no-products p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 13px;
}

/* ===== BACK BUTTON ===== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 13px;
}

.back-btn:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateX(-3px);
}

/* ===== POPUP STYLES ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 5000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.popup-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 25px;
    max-width: 350px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
}

.popup-icon.success {
    background: #10b981;
    color: white;
}

.popup-icon.error {
    background: #ef4444;
    color: white;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.popup-message {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gray);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.popup-close:hover {
    background: #f3f4f6;
    color: var(--danger);
}

.popup-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.popup-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Welcome Popup */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    z-index: 5000;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.welcome-popup-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 380px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.welcome-popup-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.welcome-popup-body {
    padding: 20px;
    text-align: center;
}

.welcome-popup-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.welcome-popup-description {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.welcome-popup-close {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    width: 100%;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.welcome-popup-close:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Product Image Popup */
.product-image-popup {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: var(--radius);
    margin-bottom: 15px;
    background: var(--light);
    border: 1px solid var(--border);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media screen and (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stores-grid-page {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .section-title {
        font-size: 18px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .pc-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .main-content {
        padding: 15px 0 80px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .section-title:after {
        width: 30px;
    }
    
    /* Products Grid - 2 columns for mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        min-height: auto;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-content {
        padding: 8px;
    }
    
    .product-name {
        font-size: 12px;
        height: 32px;
        margin-bottom: 4px;
    }
    
    .price-bdt {
        font-size: 14px;
    }
    
    .price-usd {
        font-size: 9px;
    }
    
    .product-store-row {
        margin-bottom: 4px;
        padding-bottom: 4px;
    }
    
    .store-link {
        font-size: 9px;
    }
    
    .store-link img {
        width: 14px;
        height: 14px;
    }
    
    .store-badge-small {
        font-size: 7px;
        padding: 1px 4px;
    }
    
    .product-id {
        font-size: 7px;
        margin-bottom: 5px;
    }
    
    .buy-btn {
        padding: 6px;
        font-size: 11px;
    }
    
    .buy-btn i {
        display: none;
    }
    
    /* Badges */
    .share-link-btn {
        padding: 3px 6px;
        font-size: 8px;
    }
    
    .product-sold {
        font-size: 7px;
        padding: 2px 5px;
    }
    
    .product-type-badge {
        font-size: 7px;
        padding: 2px 5px;
    }
    
    /* Slider */
    .slider-container {
        height: 210px; /* 5% more than 200px */
    }
    
    .slider-slide .slide-title {
        font-size: 16px;
    }
    
    .slider-slide .slide-content {
        padding: 15px;
    }
    
    .slider-slide .slide-link {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .slider-arrow.prev { left: 8px; }
    .slider-arrow.next { right: 8px; }
    
    /* Store View */
    .store-view-header {
        padding: 15px;
    }
    
    .store-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .store-logo, .store-logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }
    
    .store-name-row {
        justify-content: center;
    }
    
    .store-title {
        font-size: 18px;
    }
    
    .store-meta {
        width: 100%;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .meta-item-content {
        white-space: normal;
        word-break: break-all;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Stores Grid */
    .stores-grid-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .store-card-page {
        min-height: 160px;
        padding: 12px;
    }
    
    .store-card-page-logo {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .store-card-page-name {
        font-size: 13px;
    }
    
    /* Footer */
    .footer-main {
        padding: 30px 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-left {
        padding-right: 0;
    }
    
    .footer-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-bottom-content {
        flex-direction: column-reverse; /* Image first, then text */
        text-align: center;
        gap: 15px;
    }
    
    .copyright-text {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .copyright-image {
        max-width: 100%;
        max-height: 40px;
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .quick-link-btn {
        padding: 8px 10px;
    }
    
    /* Floating Nav */
    .floating-nav {
        bottom: 10px;
        padding: 6px 10px;
        min-width: auto;
        width: calc(100% - 20px);
        max-width: 400px;
    }
    
    .floating-nav-btn {
        padding: 4px 5px;
        font-size: 9px;
    }
    
    .floating-nav-btn i {
        font-size: 14px;
    }
    
    .floating-nav-btn span {
        font-size: 7px;
    }
    
    /* Modals */
    .modal-content {
        width: 95%;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .form-control {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    /* Payment Options */
    .payment-option {
        padding: 10px;
    }
    
    .payment-option label {
        font-size: 12px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        display: flex;
        flex-direction: row;
        min-height: 120px;
    }
    
    .product-image {
        width: 90px;
        height: 120px;
        flex-shrink: 0;
    }
    
    .product-content {
        width: calc(100% - 90px);
        padding: 8px;
    }
    
    .product-name {
        font-size: 11px;
        height: 28px;
        margin-bottom: 3px;
    }
    
    .price-bdt {
        font-size: 13px;
    }
    
    .product-store-row {
        margin-bottom: 3px;
        padding-bottom: 3px;
    }
    
    .store-link {
        font-size: 8px;
    }
    
    .store-link img {
        width: 12px;
        height: 12px;
    }
    
    .store-badge-small {
        font-size: 6px;
        padding: 1px 3px;
    }
    
    .product-id {
        font-size: 6px;
        margin-bottom: 4px;
    }
    
    .buy-btn {
        padding: 5px;
        font-size: 10px;
    }
    
    .stores-grid-page {
        grid-template-columns: 1fr;
    }
    
    .slider-container {
        height: 157px; /* 5% more than 150px */
    }
    
    .slider-slide .slide-title {
        font-size: 14px;
    }
    
    .floating-nav {
        padding: 5px 8px;
    }
    
    .floating-nav-btn i {
        font-size: 13px;
    }
    
    .floating-nav-btn span {
        font-size: 6px;
    }
    
    .copyright-image {
        max-height: 35px;
    }
}