* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #1976f3;
    --dark: #22252a;
    --light-bg: #f3f5f9;
    --card: #ffffff;
}

body {
    font-family: Arial, "Noto Sans Bengali", sans-serif;
    background: var(--light-bg);
    color: var(--dark);
    min-height: 100vh;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -290px;
    width: 290px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
    transition: left .25s ease;
}

.sidebar.open {
    left: 0;
}

.sidebar-head {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid #eee;
    color: var(--blue);
    font-size: 25px;
}

.close-btn {
    font-size: 34px;
    color: #333;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.sidebar nav a {
    text-decoration: none;
    color: #333;
    padding: 16px;
    border-radius: 10px;
    font-size: 17px;
}

.sidebar nav a:hover {
    background: #eef5ff;
    color: var(--blue);
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 999;
}

.overlay.show {
    display: block;
}

/* Header */
.header {
    height: 148px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 34px;
    gap: 28px;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

.menu-btn {
    width: 54px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-btn span {
    height: 7px;
    width: 52px;
    background: #111;
    border-radius: 10px;
}

.logo {
    color: var(--blue);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-actions button {
    color: var(--blue);
    font-size: 42px;
    line-height: 1;
}

/* Search */
.search-area {
    background: #fff;
    padding: 28px 28px 27px;
}

.search-area input {
    width: 100%;
    height: 104px;
    border: 0;
    outline: 0;
    background: #f1f1f1;
    border-radius: 55px;
    padding: 0 42px;
    font-size: 34px;
    color: #555;
}

.search-area input::placeholder {
    color: #777;
}

/* Content */
.content {
    padding: 36px 26px 55px;
}

.shop-card {
    background: var(--card);
    border-radius: 42px;
    padding: 40px 38px;
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
}

.shop-info {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 145px;
}

.shop-icon {
    font-size: 78px;
}

.shop-info h1 {
    font-size: 40px;
    margin-bottom: 18px;
}

.shop-info p {
    color: #666;
    font-size: 34px;
}

.enter-shop {
    width: 100%;
    height: 105px;
    margin-top: 28px;
    border-radius: 30px;
    background: var(--blue);
    color: white;
    font-size: 31px;
    font-weight: 700;
}

.offer {
    margin-top: 40px;
    background: #fff4d6;
    border-radius: 28px;
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 20px;
    font-size: 30px;
}

.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 42px;
}

.product-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,.06);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #aaa;
    font-size: 28px;
}

.product-card h2 {
    min-height: 100px;
    padding: 20px 14px 5px;
    font-size: 27px;
    text-align: center;
    line-height: 1.25;
}

.price {
    padding: 8px 14px 24px;
    color: #e11;
    font-size: 27px;
    font-weight: 700;
}

/* Footer */
.footer {
    background: #15181d;
    color: #ddd;
    padding: 42px 30px 25px;
    text-align: center;
}

.footer strong {
    color: #fff;
    font-size: 28px;
}

.footer p {
    margin-top: 10px;
    color: #aaa;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin: 28px 0;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Desktop */
@media (min-width: 768px) {
    .header,
    .search-area,
    .content,
    .footer {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Small phones */
@media (max-width: 480px) {
    .header {
        height: 105px;
        padding: 0 22px;
        gap: 18px;
    }

    .menu-btn {
        width: 43px;
    }

    .menu-btn span {
        width: 43px;
        height: 6px;
    }

    .logo {
        font-size: 27px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions button {
        font-size: 30px;
    }

    .search-area {
        padding: 20px 18px;
    }

    .search-area input {
        height: 82px;
        font-size: 25px;
        padding: 0 27px;
    }

    .content {
        padding: 22px 15px 40px;
    }

    .shop-card {
        border-radius: 30px;
        padding: 28px 18px;
    }

    .shop-info {
        gap: 16px;
    }

    .shop-icon {
        font-size: 48px;
    }

    .shop-info h1 {
        font-size: 26px;
    }

    .shop-info p {
        font-size: 23px;
    }

    .enter-shop {
        height: 82px;
        font-size: 25px;
        border-radius: 23px;
    }

    .offer {
        min-height: 82px;
        font-size: 22px;
        margin-top: 25px;
    }

    .products {
        gap: 12px;
        margin-top: 28px;
    }

    .product-card h2 {
        font-size: 20px;
        min-height: 82px;
    }

    .price {
        font-size: 21px;
    }
}
