/* বেসিক রিসেট */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* নেভিগেশন বার স্টাইল */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* লোগো */
.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.logo a span {
    color: #ff4757;
}

/* সার্চ বার */
.search-box {
    display: flex;
    align-items: center;
    background-color: #f1f2f6;
    border-radius: 20px;
    padding: 5px 15px;
    width: 35%;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    padding: 8px;
    width: 100%;
    font-size: 14px;
}

.search-box button {
    border: none;
    background: transparent;
    color: #57606f;
    cursor: pointer;
}

/* মেনু লিঙ্ক */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #2f3542;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff4757;
}

/* আইকন ও কার্ট */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    color: #2f3542;
    font-size: 18px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ff4757;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

.menu-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: #2f3542;
}

/* ==========================================
   কাস্টম লগইন ডায়ালগ স্টাইল (Modal CSS)
   ========================================== */
.c-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.c-modal-overlay.active {
    display: flex;
}

.c-modal-box {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: cPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cPopIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.c-close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 26px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.c-close-btn:hover {
    color: #ff4757;
}

.c-modal-icon {
    font-size: 45px;
    color: #ff4757;
    margin-bottom: 10px;
}

.c-modal-header h2 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 6px;
    font-weight: 600;
}

.c-modal-header p {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 22px;
}

.c-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.c-google-btn:hover {
    background-color: #f8f9fa;
    border-color: #cccccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.c-google-btn img {
    width: 22px;
    height: 22px;
}

/* মোবাইল রেসপনসিভনেস */
@media (max-width: 768px) {
    .search-box {
        display: none; /* ছোট স্ক্রিনে সার্চ বার সাময়িকভাবে লুকানো */
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 30px;
        transition: 0.4s ease;
    }

    .nav-links.active {
        left: 0;
    }
}