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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
}


/* =========================
   TOP BAR
========================= */

.top-bar {
    height: 46px;
    background: #29aaa3;
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 14px;
}

.top-bar strong {
    margin-left: 4px;
}


/* =========================
   HEADER
========================= */

.header {
    height: 50px;

    border-bottom: 1px solid #e4e7eb;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px;

    background: #fff;
}

.menu-btn {
    background: none;
    border: none;

    font-size: 19px;
    cursor: pointer;

    color: #333;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 22px;

    font-size: 19px;
}

.header-icons i {
    cursor: pointer;
}


/* =========================
   PAGE LAYOUT
========================= */

.page-layout {
    display: flex;
    min-height: calc(100vh - 96px);
}


/* =========================
   SIDEBAR
========================= */

.sidebar {
    width: 270px;
    min-width: 270px;

    border-right: 1px solid #e2e6eb;

    background: #fff;
}

.side-menu {
    padding-top: 8px;
}

.side-menu a {
    display: block;

    padding: 10px 23px;

    text-decoration: none;
    color: #171717;

    font-size: 14px;

    transition: background 0.2s;
}

.side-menu a:hover {
    background: #f5f5f5;
}


/* Divider */

.sidebar-divider {
    height: 1px;
    background: #e5e8eb;

    margin: 10px 8px 5px;
}


/* Login */

.login-box {
    margin: 12px 15px;

    height: 38px;

    border: 1px solid #e1e6eb;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 10px;

    font-size: 14px;
    font-weight: 600;
}

.login-box i {
    color: #7c8790;
}


/* Sidebar Bottom */

.sidebar-bottom {
    border-top: 1px solid #e7eaed;

    margin-top: 8px;

    padding: 12px 23px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #64717c;
}

.sidebar-bottom>div:first-child {
    display: flex;
    gap: 23px;
}

.sidebar-bottom i {
    font-size: 14px;
}

.language {
    border: 1px solid #e5e9ed;
    border-radius: 18px;

    padding: 7px 10px;

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
}


/* =========================
   CONTENT
========================= */

.content {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding-bottom: 50px;
}


/* =========================
   HERO
========================= */

.hero-image {
    width: 675px;
    height: 307px;

    margin-top: 0;

    overflow: hidden;

    border-radius: 0 0 15px 15px;
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================
   LOGO
========================= */

.logo-wrapper {
    width: 122px;
    height: 122px;

    margin-top: -62px;

    position: relative;
    z-index: 2;

    border-radius: 50%;

    background: white;

    padding: 5px;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}


/* =========================
   INTRO
========================= */

.intro {
    text-align: center;

    width: 100%;

    margin-top: 8px;
}

.intro h1 {
    font-size: 29px;
    font-weight: 700;

    margin-bottom: 19px;
}

.intro h3 {
    font-size: 18px;

    margin-bottom: 7px;
}

.description {
    font-size: 13px;
    color: #343434;

    margin-bottom: 8px;
}

.contact {
    font-size: 13px;
    font-weight: 600;

    margin-top: 5px;
}

.contact a {
    color: #0785e5;
    text-decoration: none;
}

.contact span {
    margin-left: 3px;
}

.show-more {
    border: none;
    background: transparent;

    color: #777;

    font-size: 13px;

    margin-top: 7px;

    cursor: pointer;
}

.location {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    margin-top: 20px;

    padding: 7px 12px;

    background: #f4f6f8;

    color: #59636e;

    border-radius: 18px;

    font-size: 12px;
}

.location i {
    font-size: 12px;
}


/* =========================
   CATEGORIES
========================= */

.categories {
    margin-top: 25px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    gap: 14px;

    max-width: 760px;
}

.category {
    width: 70px;

    text-align: center;

    cursor: pointer;
}

.category img {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    object-fit: cover;

    display: block;

    margin: 0 auto 5px;
}

.category p {
    font-size: 12px;
    line-height: 14px;

    color: #202020;
}

/* =========================
   STORE PROFILE
========================= */

.profile-column {
    width: 675px;
    max-width: 100%;
    padding-bottom: 48px;
}

.sidebar-link {
    display: block;
    padding: 10px 23px;
    color: #171717;
    font-size: 14px;
    text-decoration: none;
}

.sidebar-footer {
    position: fixed;
    bottom: 0;
    width: 270px;
    border-top: 1px solid #e7eaed;
    background: #fff;
}

.sidebar-footer .login-box {
    color: #171717;
    text-decoration: none;
}

.sidebar-footer .sidebar-bottom {
    border-top: 0;
    margin-top: 0;
}

.sidebar-footer .language {
    background: #fff;
    color: #64717c;
}

.heart {
    color: #f04444;
}

.hero-image {
    width: 675px;
    height: 307px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ef5a36;
    background: #08a9b7;
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.logo-wrapper span {
    display: block;
    transform: rotate(-12deg);
}

.intro h1 {
    margin-bottom: 14px;
    font-size: 24px;
}

.intro h3 {
    margin-bottom: 5px;
    font-size: 14px;
}

.description,
.contact,
.show-more,
.location {
    font-size: 11px;
}

.contact {
    margin-top: 4px;
}

.location {
    margin-top: 12px;
    padding: 6px 10px;
}

.categories {
    width: 100%;
    max-width: 675px;
    gap: 8px;
    margin-top: 18px;
}

.category {
    width: 67px;
    color: #333;
    font-size: 10px;
    line-height: 12px;
    text-decoration: none;
}

.category-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 5px;
    overflow: hidden;
    border-radius: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.category-cover.primary { background: linear-gradient(145deg, #11b9bd, #1688c5); }
.category-cover.lower { background: linear-gradient(145deg, #f1db4b, #e88d22); }
.category-cover.igcse { background: linear-gradient(145deg, #f7d84a, #ed5b2f); }
.category-cover.physics { background: linear-gradient(145deg, #ef6a38, #c72d2d); }
.category-cover.ial { background: linear-gradient(145deg, #f0db5a, #ed8d1d); }
.category-cover.psychology { background: linear-gradient(145deg, #d95b82, #8c3b83); }
.category-cover.cambridge { background: linear-gradient(145deg, #f3b23c, #dc6128); }
.category-cover.cambridge-al { background: linear-gradient(145deg, #4c9ac4, #2573a6); }
.category-cover.lab { background: linear-gradient(145deg, #22b7d0, #008aa8); }

.best-sellers {
    margin-top: 38px;
    padding: 15px 12px 16px;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 5px rgba(25, 40, 55, .08);
}

.section-heading h2 {
    color: #17212b;
    font-size: 16px;
    line-height: 20px;
}

.section-heading p {
    margin-top: 2px;
    color: #7c858c;
    font-size: 10px;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.book {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    color: #171717;
    font-size: 11px;
    line-height: 13px;
    text-decoration: none;
}

.book > b {
    font-weight: 600;
}

.book > span:last-child {
    color: #555;
    font-size: 11px;
}

.book-cover {
    display: flex;
    min-height: 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}

.book-cover b,
.book-cover strong,
.book-cover small {
    display: block;
}

.book-cover b { font-size: 9px; }
.book-cover strong { font-size: 16px; }
.book-cover small { font-size: 7px; }
.book-cover.teal { background: linear-gradient(150deg, #12b9ae, #008a9d); }
.book-cover.yellow { background: linear-gradient(150deg, #f6d634, #12a9bf); }
.book-cover.pink { background: linear-gradient(150deg, #8f7de1, #ef74bb); }
.book-cover.blue { background: linear-gradient(150deg, #1c5ca8, #35bad0); }


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .sidebar {
        width: 230px;
        min-width: 230px;
    }

    .hero-image {
        width: 90%;
        height: auto;
        aspect-ratio: 675 / 307;
    }

    .profile-column {
        width: min(675px, 100%);
    }

    .sidebar-footer {
        width: 230px;
    }

    .categories {
        flex-wrap: wrap;
        padding: 0 15px;
    }
}


@media (max-width: 650px) {

    .sidebar {
        display: none;
    }

    .content {
        width: 100%;
    }

    .hero-image {
        width: 100%;
        border-radius: 0;
    }

    .profile-column {
        width: 100%;
    }

    .logo-wrapper {
        width: 105px;
        height: 105px;

        margin-top: -52px;
    }

    .intro h1 {
        font-size: 24px;
    }

    .intro h3 {
        font-size: 16px;
    }

    .categories {
        gap: 18px 10px;
    }

    .category {
        width: 70px;
    }

    .best-sellers {
        margin: 30px 12px 0;
    }

    .book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 16px;
    }
}