@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

header {
  border-bottom: 1px solid #232936;
  background: rgba(14, 16, 20, 0.9);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 132px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
}

.main-nav a {
  position: relative;
  color: #aab3c5;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: #f2f4f8;
}

.main-nav a.active {
  color: #f2f4f8;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: #2b6fe3;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f2f4f8;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.account-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aab3c5;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px;
  transition: color 0.15s ease;
}

.account-btn:hover {
  color: #f2f4f8;
}

.account-btn svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  margin-left: 4px;
  background: none;
  border: none;
  color: #f2f4f8;
  cursor: pointer;
  text-decoration: none;
  padding: 6px;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.cart-btn:hover {
  color: #2b6fe3;
}

.cart-btn svg {
  width: 23px;
  height: 23px;
}

.cart-count {
  position: absolute;
  top: -1px;
  right: -3px;
  background: #2b6fe3;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 24px;
  width: 320px;
  background: #151920;
  border: 1px solid #232936;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  z-index: 30;
  color: #f2f4f8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}

.cart-head {
  padding: 14px 16px;
  border-bottom: 1px solid #232936;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cart-items {
  max-height: 320px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
}

.cart-item + .cart-item {
  border-top: 1px solid #232936;
}

.cart-item .chip {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.cart-item .chip img {
  width: 22px;
  height: 22px;
}

.cart-item .info {
  flex: 1;
  min-width: 0;
}

.cart-item .info b {
  display: block;
  font-size: 13.5px;
}

.cart-item .info span {
  font-size: 12px;
  color: #8b94a7;
}

.cart-item .remove {
  background: none;
  border: none;
  color: #8b94a7;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.cart-item .remove:hover {
  color: #e05b5b;
}

.cart-empty {
  padding: 28px 16px;
  text-align: center;
  color: #8b94a7;
  font-size: 13.5px;
}

.cart-foot {
  border-top: 1px solid #232936;
  padding: 14px 16px 16px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cart-checkout {
  display: block;
  text-align: center;
  background: #2b6fe3;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 11px;
  border-radius: 9px;
  transition: background 0.15s ease;
}

.cart-checkout:hover {
  background: #2361c9;
}

.limited-tag {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #35e88f;
  border: 1px solid rgba(53, 232, 143, 0.45);
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 7px;
  vertical-align: 1px;
}

.shimmer {
  background-size: 300% 300% !important;
  animation: shimmer 6s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 860px) {
  .header-inner {
    gap: 12px;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 6px 0 0;
    background: #151920;
    border: 1px solid #232936;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 25;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 13px 16px;
    font-size: 14px;
  }
  .main-nav a + a {
    border-top: 1px solid #232936;
  }
  .main-nav a.active::after {
    display: none;
  }
  .main-nav a.active {
    color: #2b6fe3;
  }
  .brand img {
    width: 112px;
  }
  .account-btn span {
    display: none;
  }
}
