/* ==========================================
   NepalMart Mobile Design Styles (style.css)
   ========================================== */

* { 
    box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
}

body { 
    background-color: #f4f5f7; 
    padding-bottom: 70px; 
    color: #111; 
}

/* 1. Header & Banner Styles */
.promo-banner {
    background: linear-gradient(90deg, #ff4500 0%, #ff8c00 100%);
    color: #fff;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: bold;
}

.promo-badge {
    background: #ffffff;
    color: #ff4500;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
}

.header-tabs {
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 12px 10px 8px 10px;
    font-weight: 700;
    font-size: 15px;
}

.tab-item { 
    color: #333; 
    text-decoration: none; 
    position: relative; 
    padding-bottom: 5px; 
}

.tab-item.active { 
    color: #000; 
    font-size: 16px; 
    font-weight: 800; 
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff6600;
    border-radius: 2px;
}

/* Search Section */
.search-section { 
    background: #ffffff; 
    padding: 10px 15px 12px 15px; 
}

.search-box-wrap {
    border: 2px solid #ff6600;
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 3px 4px 3px 12px;
    background: #fff;
}

.search-icon-left { 
    color: #888; 
    margin-right: 8px; 
    font-size: 16px; 
}

.search-input-field {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #333;
}

.search-icons-right { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-right: 8px; 
    color: #555; 
}

.search-submit-btn {
    background: linear-gradient(135deg, #ff7a00, #ff4500);
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-banner {
    background: #fff0e6;
    margin: 10px 15px;
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
}

/* 2. Order Form Styles */
.order-form-wrapper {
    background: #ffffff;
    margin: 10px 15px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #ff6600;
}

.order-form-wrapper h2 { 
    font-size: 15px; 
    color: #003366; 
    margin-bottom: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.close-form { 
    color: #ff0000; 
    cursor: pointer; 
    font-size: 18px; 
}

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

.form-group label { 
    display: block; 
    font-size: 12px; 
    font-weight: bold; 
    margin-bottom: 2px; 
}

.form-group input { 
    width: 100%; 
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    font-size: 13px; 
    box-sizing: border-box; 
}

.submit-btn { 
    width: 100%; 
    background: #28a745; 
    color: white; 
    border: none; 
    padding: 10px; 
    font-size: 14px; 
    font-weight: bold; 
    border-radius: 6px; 
    cursor: pointer; 
    margin-top: 5px; 
}

.wa-btn { 
    display: block; 
    text-align: center; 
    background-color: #25D366; 
    color: white; 
    padding: 8px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: bold; 
    margin: 8px 0; 
    font-size: 12px; 
}

/* 3. Product Cards & Alibaba Style Elements */
.section-title { 
    font-size: 16px; 
    font-weight: bold; 
    margin: 15px; 
    color: #1a1a1a; 
}

.product-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    padding: 0 15px; 
    margin-bottom: 20px; 
}

.product-card { 
    background: #ffffff; 
    border-radius: 12px; 
    padding: 8px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.04); 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
}

.product-card img { 
    width: 100%; 
    height: 150px; 
    object-fit: cover; 
    border-radius: 8px; 
}

.super-badge {
    background: linear-gradient(90deg, #ff3b00, #ff6600);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin: 4px 0;
}

.product-title { 
    font-size: 13px; 
    font-weight: 600; 
    color: #222;
    line-height: 1.3;
    height: 34px;
    overflow: hidden;
    margin-bottom: 4px;
}

.product-price { 
    font-size: 14px; 
    font-weight: 800; 
    color: #d9534f;
}

.price-unit { 
    font-size: 10px; 
    color: #666; 
    font-weight: normal; 
}

.supplier-info { 
    margin: 4px 0; 
    font-size: 11px; 
    color: #777; 
}

.verified-tag { 
    color: #0088cc; 
    font-weight: bold; 
}

.card-actions { 
    display: flex; 
    gap: 5px; 
    flex-direction: column; 
    margin-top: 8px;
}

.btn-card-order { 
    background: #ff6600; 
    color: white; 
    border: none; 
    padding: 6px; 
    border-radius: 6px; 
    font-size: 12px; 
    font-weight: bold; 
    cursor: pointer; 
    text-align: center; 
}

.btn-card-wa { 
    background: #25D366; 
    color: white; 
    text-decoration: none; 
    padding: 5px; 
    border-radius: 6px; 
    font-size: 11px; 
    text-align: center; 
    font-weight: bold; 
}

/* 4. Bottom Shipping Bar */
.shipping-bottom-bar {
    position: fixed;
    bottom: 50px;
    left: 0;
    width: 100%;
    background: #ffebe0;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}

.shipping-text { 
    font-size: 12px; 
    font-weight: 700; 
    color: #ff5500; 
}

.signin-btn {
    background: #ff4500;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
}