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

:root {
  --blue-dark: #444444;
  --navbar-bg: linear-gradient(
    135deg,
    #c0c0c0,
    #dcdcdc,
    #e8e8e8,
    #f5f5f5,
    #dcdcdc,
    #c0c0c0
  );
  --blue-mid: #888888;
  --blue-light: #bbbbbb;
  --yellow: #f5c518;
  --yellow-hover: #e0b010;
  --white: #ffffff;
  --gray-bg: #f4f7fb;
  --gray-card: #eef2f7;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
/* :root {
  --blue-dark: #181818;
  --blue-mid: #232323;
  --blue-light: #232323;
  --yellow: #f5c518;
  --yellow-hover: #e0b010;
  --white: #ffffff;
  --gray-bg: #f4f7fb;
  --gray-card: #eef2f7;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
} */

@font-face {
  font-family: 'Lato';
  src: url('/static/lato.regular.ttf') format('truetype'); /* TTF format */
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ── Navbar ── */
.navbar-wrap {
  background: var(--navbar-bg);
}

.navbar-top {
  padding: 0px 0;
  border-bottom: 1px solid #fff;
}

.navbar-top__inner {
  display: flex;
  align-items: center;
  gap: 54px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.navbar-logo img {
  height: auto;
  width: 200px; /* increased width */
  max-height: 86px; /* added max-height to prevent navbar height from increasing */
  display: block;
}

.navbar-logo__icon {
  width: 36px;
  height: 36px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}

.navbar-logo__text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.navbar-search {
  flex: 1;
  max-width: 700px;
  position: relative;
}

.navbar-search input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
  
  background: var(--white);
}

.navbar-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  font-size: 16px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

.navbar-action {
  display: flex;
  align-items: center;
  gap: 10px;
  color: black;
  cursor: pointer;
  transition: opacity 0.2s;
}

.navbar-action:hover {
  opacity: 0.85;
}

.navbar-action__icon {
  font-size: 22px;
  position: relative;
}

.navbar-action__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e53e3e;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-action__text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.3;
}

.navbar-action__text strong {
  font-size: 13px;
  font-weight: 600;
}

.navbar-action__text span {
  opacity: 0.75;
  font-size: 11px;
}

/* ── Navbar Bottom Bar ── */
.navbar-bottom {
  padding: 0 0 4px;
}

.navbar-bottom__inner {
  display: flex;
  align-items: center;
  gap: 0;
  height: 37px;
}

.navbar-categories-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background:transparent;
  color: black;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.navbar-categories-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  flex: 1;
  padding: 0 8px;
  scrollbar-width: none;
 
}

.navbar-links::-webkit-scrollbar {
  display: none;
}

.navbar-links a {
  color: black;
  font-size: 13px;
  font-weight: 500;
  padding: 14px 14px;
  white-space: nowrap;
  border-radius: 6px;
  transition: background 0.2s;
}

.navbar-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.navbar-promos {
  display: flex;
  gap: 0px;
  padding: 0px 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.navbar-promo-btn {
  background: #012AC4;
  color:#fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  padding: 12px 16px ;
  border-radius: 0px;
}

.navbar-promo-btn:hover {
  background: var(--yellow-hover);
}

/* ── Main Content ── */
main {
  min-height: 60vh;
}

.page-content {
  padding-top: 20px;
}

/* ── Hero Section ── */
.hero {
  padding: 0px 0px;
}

.hero__banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
  background: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 48px 56px;
  max-width: 520px;
}

.hero__label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.hero__title {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-weight: 400;
}

.hero__cta {
  display: inline-block;
  background: black;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero__cta:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}


/* ── Footer ── */
.site-footer {
  background: #0a0a0a;
  color: #ccc;
  margin-top: 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 48px;
}

.site-footer__logo img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.site-footer__about {
  font-size: 14px;
  line-height: 1.7;
  color: #999;
  margin-bottom: 20px;
  max-width: 280px;
}

.site-footer__social {
  display: flex;
  gap: 12px;
}

.site-footer__social a {
  width: 36px;
  height: 36px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.site-footer__social a:hover {
  background: var(--blue-mid);
  color: #fff;
}

.site-footer__col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__col ul li a {
  color: #999;
  font-size: 14px;
  transition: color 0.2s;
}

.site-footer__col ul li a:hover {
  color: #fff;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #999;
  line-height: 1.5;
}

.site-footer__contact li i {
  color: var(--blue-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.site-footer__bottom {
  border-top: 1px solid #1f1f1f;
  padding: 20px 0;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__bottom p {
  font-size: 13px;
  color: #666;
}

.site-footer__bottom-links {
  display: flex;
  gap: 20px;
}

.site-footer__bottom-links a {
  font-size: 13px;
  color: #666;
  transition: color 0.2s;
}

.site-footer__bottom-links a:hover {
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .navbar-action__text {
    display: none;
  }

  .navbar-promos {
    display: none;
  }

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

@media (max-width: 768px) {
  .navbar-top__inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .navbar-search {
    order: 3;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .navbar-actions {
    gap: 16px;
  }

  .navbar-links {
    display: none;
  }

  .hero__banner {
    min-height: 300px;
  }

  .hero__content {
    padding: 32px 24px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .category-card {
    flex: 0 0 120px;
  }

  .category-card__img {
    width: 120px;
    height: 120px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .product-card__price {
    font-size: 16px;
  }

  .product-detail__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-detail__title {
    font-size: 22px;
  }

  .product-detail__price {
    font-size: 26px;
  }

  .product-detail__extras {
    grid-template-columns: 1fr;
    margin-top: 32px;
    padding-top: 28px;
  }

  .product-page__layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
  }

  .brand-card {
    flex: 0 0 130px;
    min-height: 80px;
    padding: 16px;
  }

  .brand-card__logo {
    height: 48px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }
}

@media (max-width: 480px) {
  .navbar-action:nth-child(1) {
    display: none;
  }

  .hero__title {
    font-size: 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
