/* গ্লোবাল সেটিংস */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: #f1f2f6; color: #2d3436; overflow-x: hidden; padding-bottom: 70px; /* Bottom Nav-এর জন্য জায়গা */ }

/* নতুন Flipkart-স্টাইল হেডার */
header {
    background: #fff;
    padding: 12px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* টপ রো (লোগো + বড় বাটনগুলো) */
.header-top-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.header-top-row::-webkit-scrollbar { display: none; }

/* C-cart লোগো বক্স */
.logo-box {
    background: #ff4757;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    font-style: italic;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

/* বড় টপ বাটন */
.top-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    gap: 5px;
}
.top-action-btn i { font-size: 22px; color: #ff4757; }

/* নিচে সার্চ বার */
.search-bar {
    display: flex;
    background: #f0f2f5;
    border-radius: 8px;
    padding: 10px 15px;
    align-items: center;
    border: 1px solid #e0e0e0;
}
.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 14px;
    margin-left: 10px;
}
.search-bar .icon-btn {
    color: #555;
    font-size: 18px;
    margin-left: 15px;
    cursor: pointer;
}

/* ডাইনামিক ক্যাটাগরি */
.category-section {
    display: flex;
    gap: 15px;
    padding: 15px;
    overflow-x: auto;
    background: #fff;
    margin-bottom: 10px;
}
.category-section::-webkit-scrollbar { display: none; }
.category-item {
    min-width: 65px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 600;
}
.category-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px;
    background: #f8f9fa;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* স্লাইডার (Edge to Edge) */
.slider-container {
    width: 100%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    background: #fff;
}
.slider-container::-webkit-scrollbar { display: none; }
.slider-item { flex: 0 0 100%; scroll-snap-align: start; }
.slider-item img { width: 100%; height: 200px; object-fit: cover; }

/* প্রোডাক্ট গ্রিড */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
}
.product-card {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.product-card img { width: 100%; height: 130px; object-fit: contain; margin-bottom: 10px; }
.buy-btn {
    background: #ff4757; color: #fff; padding: 8px; border-radius: 4px;
    text-decoration: none; font-size: 13px; font-weight: 600; border: none; width: 100%;
}

/* Bottom Navigation Bar (অ্যাপের মতো) */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    border-top: 1px solid #eee;
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    gap: 4px;
}
.bottom-nav a.active { color: #ff4757; }
.bottom-nav i { font-size: 20px; }