/* --- FONT SETUP --- */
@font-face {
    font-family: 'MyBanglaFont';
    src: url('/fonts/main-font.ttf');
}

body {
    background-color: #f9f9f9;
    margin: 0;
    font-family: 'MyBanglaFont', 'Arial', sans-serif;
    /* Uses your font */
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    background-color: #0d1b42;
    /* Deep Blue */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-img {
    height: 40px;
}

.cart-icon {
    font-size: 24px;
    position: relative;
    cursor: pointer;
}

#cartCount {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* Layout */
.container {
    padding: 15px;
    max-width: 600px;
    /* Mobile width limit */
    margin: 0 auto;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #000;
}

.divider {
    height: 3px;
    width: 100px;
    background-color: #e64a19;
    /* Orange underline */
    margin-bottom: 15px;
}

/* Cards */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 items per row */
    gap: 15px;
}

.card {
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    padding-bottom: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.1s;
}

.card:active {
    transform: scale(0.98);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card h3 {
    font-size: 16px;
    margin: 10px 0 5px 0;
}

.strike-price {
    text-decoration: line-through;
    color: #777;
    font-size: 12px;
}

.price {
    color: red;
    font-weight: bold;
    font-size: 16px;
}

.free-del {
    color: red;
    font-size: 12px;
    font-weight: bold;
}

/* Hero Section (Top Banner) */
.hero-section img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

/* Sticky Footer */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #0d1b42;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.nav-item {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
}

.nav-item.active {
    color: #00ff41;
    /* Green for active tab */
}

/* --- CUSTOM TOAST NOTIFICATION (Replaces Alert) --- */
#toast-container {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 80px;
    /* Above bottom nav */
    transform: translateX(-50%);
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

#toast-container.show {
    visibility: visible;
    opacity: 1;
    bottom: 100px;
}

#toast-container.success {
    background-color: #00C851;
}

/* Green */
#toast-container.error {
    background-color: #ff4444;
}

/* Red */

/* --- CUSTOM CONFIRM MODAL (For Deleting) --- */
.confirm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.confirm-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.confirm-btn-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-yes {
    background: red;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-no {
    background: #ccc;
    color: black;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.linker{
    text-decoration: none;
}

.reminder{
    color: red;
}

.allimp{
    line-height: 1;
    padding: 0;
    margin: 0;
    margin-bottom: 5px
}

.hhhgg{
    margin-bottom: 150px;
}