/* NOIR Cart styles — dark, minimal, matches a black/white streetwear site.
   Adjust colors/fonts to match your existing site variables if you have them. */

.noir-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 998;
}
.noir-cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.noir-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 380px;
  background: #111;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}
.noir-cart-drawer.open {
  transform: translateX(0);
}

.noir-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #333;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.noir-cart-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.noir-cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.noir-cart-empty {
  color: #888;
  text-align: center;
  margin-top: 40px;
}

.noir-cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #222;
}
.noir-cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #222;
}
.noir-cart-item-info {
  flex: 1;
}
.noir-cart-item-name {
  font-size: 14px;
  text-transform: lowercase;
}
.noir-cart-item-price {
  font-size: 13px;
  color: #aaa;
  margin: 4px 0;
}
.noir-cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.noir-qty-input {
  width: 48px;
  background: #1c1c1c;
  border: 1px solid #333;
  color: #fff;
  padding: 4px;
  text-align: center;
}
.noir-remove-btn {
  background: none;
  border: none;
  color: #888;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
}
.noir-remove-btn:hover {
  color: #fff;
}

.noir-cart-footer {
  padding: 20px;
  border-top: 1px solid #333;
}
.noir-cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 12px;
}
.noir-checkout-btn {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #111;
  border: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-transform: uppercase;
}
.noir-checkout-btn:hover {
  background: #ddd;
}
.noir-cart-note {
  font-size: 11px;
  color: #666;
  text-align: center;
  margin-top: 8px;
}

#noir-cart-count{
    font-family: 'Jost';
    font-weight: 300;
}