* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body{
    font-family:Montserrat,
    system-ui,Arial;
    line-height:1.4;
    margin:0;
    color:#222;
    background:#fff;
    overflow-y: auto;
}

:root{
    --orange:#ff5722;
    --dark: #0a0a0a;
    --muted: #f4f4f4;
    --card-border: #e6e6e6;
}

/* TOP BAR */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.logo {
    display:flex;
    align-items:center;
    gap:12px;
    color: #ff5722;
    padding-right: 10px;
}

.logo img{
    height:40px;
    width:40px;
    object-fit:cover;
    border-radius:50%
}

.logo .name-moto {
    display: none;
}

.search-bar {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ff5722;
}

.top-bar .icons {
  display: none;
}

/* TABS */
.tabs {
  display: flex;
  position: sticky;
  top: 60px; /* height of top-bar */
  z-index: 900;
  overflow-x: auto;
  padding: 10px;
  gap: 10px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.tabs button {
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: #eee;
  white-space: nowrap;
}

.tabs .active {
  background: #ff5722;
  color: #fff;
}

/* MAIN CONTAINER */
.container {
  display: flex;
}

/* SIDE ICON BAR */
.side-icons {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

/* PRODUCT LIST */
.product-list {
  flex: 1;
  padding: 10px;
}

.product-card {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.product-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.info h4 {
  font-size: 14px;
}

.rating {
  font-size: 12px;
  color: #666;
}

.price {
  font-weight: bold;
  color: #000;
}

/*  BOTTOM NAV */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  background: #fff;
  border-top: 1px solid #ddd;
}   
/* the acitve button to have different background and an orange color bottom border */
.bottom-nav .active {
  color: #ff5722;
  border-bottom: 2px solid #ff5722;
}
.bottom-nav span .material-icons {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/* DESKTOP VIEW */
@media (min-width: 768px) {
    .top-bar {
        gap: 20px;
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 1px solid #ddd;
    }
    .logo h1{
        display: block;
    }
    .logo 
    .name-moto {
        display: block;
    }

    .top-bar .search-box{
        width: 100%;
        border: none;
        
    }
    .top-bar .icons {
        display: block;
        display: flex-end;
    }
    .icon-btn{
        background: #ff5722;
        color: white;
        padding: 8px;
        border: none;
        border-radius: 5px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .side-icons {
        position: sticky;
        display: flex;
        padding: 10px 20px;
        background-color: #fff;
        border-right: 1px solid #ddd;
    }

    .tabs {
        display: flex;
        position: sticky;
        top: 60px; /* height of top-bar */
        z-index: 900;
        justify-content: center;
        padding: 20px 0;
        background-color: #fff;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .bottom-nav {
        display: none;
    }

    .product-list {
        overflow-y: scroll;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .info h4 {
        font-size: 15px;
    }
    /* Footer spacing */
    .large-footer{
        display: block;
        background: #000;
        color: #fff;
        font-size: 14px;
    }
    .footer-top {
        background: #fff;
        color: #000;
        padding: 15px 20px;
        border-top: 1px solid #ddd;
    }
    .footer-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .footer-top .contact strong a {
        color: var(--orange);
        text-decoration: none;
    }
    .footer-top .socials a {
        margin-left: 10px;
        font-size: 18px;
        color: #000;
    }
    .footer-main {
        padding: 40px 20px;
    }
    .footer-columns {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .footer-col h4 {
        color: #fff;
        margin-bottom: 15px;
        border-bottom: 2px solid #ff5722;
        display: inline-block;
        padding-bottom: 5px;
    }
    .footer-col ul {
        list-style: none;
        padding: 0;
    }
    .footer-col ul li {
        margin-bottom: 10px;
    }
    .footer-col ul li a {
        color: #ccc;
        text-decoration: none;
    }
    .footer-col ul li a:hover {
        color: #ff5722;
    }
    .payments img {
        max-width: 50px;
        margin-right: 10px;
    }
    .footer-bottom {
        background: #111;
        padding: 10px 10px;
        font-size: 13px;
    }
    .footer-bottom-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
