/* === HEADER ==== */

:root {
  --clr-text: hsl(0, 0%, 10%);
  --text-muted: hsl(0, 0%, 20%);
}

.mobile_header a {
  color: var(--clr-text);
  font-weight: 700;
}

/* === CAT.S GRID === */
.cats_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1000px;
  gap: 20px;
  margin: 0 auto;
  padding: 20px;
  overflow-x: scroll;
}
.cats_grid a {
  text-decoration: none;
  text-align: center;
  color: var(--clr-text);
}
.cats_grid .img_box {
  width: 100px;
  margin: 5px auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cats_grid img {
  border-radius: 50px;
  width: 100%;
  height: unset;
}
.cats_grid span {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

/* === ANNOUNCEMENT BAR === */
.announcement_bar {
  background: #111111;
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  padding: 8px 0;
}

.announcement_track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.announcement_bar ul {
  display: flex;
  gap: 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.announcement_bar li {
  white-space: nowrap;
  font-weight: 500;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.announcement_track:hover {
  animation-play-state: paused;
}

/* === HEADER === */
.mobile_header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 7;
  gap: 20px;
}
.icons_div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.icons_div svg {
  fill: #111111;
  width: 28px;
  height: 28px;
}
.menu_icon {
  display: grid;
  gap: 5px;
}
.menu_icon_dash {
  width: 15px;
  height: 2px;
  background: #111111;
  border-radius: 5px;
}
.dash_2 {
  width: 13px;
  height: 1.5px !important;
}
.mobile_header .small_screen {
  display: none;
}
.logo_div a {
  text-decoration: none;
  font-size: 24px;
  color: #111111;
}

/* === CASOUSAL === */
.carousal {
  width: 100%;
  aspect-ratio: 10/3;
  background: #f2f2f2;
  margin: 20px 0;
}

@media (width <= 550px) {
  .mobile_header .desktop {
    display: none;
  }
  .mobile_header .small_screen {
    display: flex;
  }
  .icons_div svg {
    width: 24px;
    height: 24px;
  }
  .cart-count {
    top: -7px;
    right: -7px;
  }
  .icons_div {
    gap: 10px;
  }
  .logo_div a {
    text-decoration: none;
    font-size: 18px;
    color: #111111;
  }
  .carousal {
    aspect-ratio: 3/2;
  }
}
