:root {
    --bg: #050505;
    --bg-card: #111;
    --border: #333;
    --text: #f5f5f5;
    --muted: #999;
    --accent: #0a84ff;
}

/* -------------------------------
   TAG CHIPS
------------------------------- */
.tag-chip-row { margin-bottom: 6px; }
.tag-chip {
    display:inline-flex;
    padding:4px 10px;
    font-size:12px;
    border-radius:6px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.18);
    color:#fff;
    margin:3px 4px;
    text-decoration:none;
    transition:.2s;
}
.tag-chip:hover {
    background:rgba(255,255,255,0.18);
    border-color:rgba(255,255,255,0.30);
}

.filter-banner {
    margin-top:15px;
    text-align:center;
}
.content {
    padding: 2.5rem 5vw 3.2rem;
    max-width: 1400px;
    margin: 0 auto;
}
/* -------------------------------
   DISCOUNT BADGE
------------------------------- */
.discount-badge {
    display:inline-block;
    padding:4px 8px;
    font-size:11px;
    border-radius:4px;
    background:#1f8fff;
    color:white;
    font-weight:600;
    margin-left:10px;
}

.old-price {
    text-decoration: line-through;
    color:#888;
}

.sale-price {
    color:#4cc2ff;
    font-weight:600;
    font-size:18px;
	line-height: 18px;
}
.price {
	margin: auto 0 0;
	display: flex;
	gap: .5rem;
}
/* -------------------------------
   STORE GRID & CARDS
------------------------------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.store-card {
  background: rgba(15, 15, 15, 0.96);
  border-radius: 1.25rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.store-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display:flex;align-items:center;justify-content:space-between;
}
.store-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.store-footer {
  display: flex;
  margin-top: 0.4rem;
	gap: 1rem;
}
.store-price {
  font-weight: 600;
}
.store-thumb {
    width: 100%;
    margin: 0 auto 12px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
	aspect-ratio: 16/9;
}
.store-card h2 {font-size: 1.2rem;}

.store-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------------------------------
   BUTTONS
------------------------------- */
.btn-add-cart,
.btn-buy-now,
.btn.primary {
    display:inline-flex;
    padding:.6rem 1.2rem;
    border-radius:999px;
    background: var(--accent);
    color:var(--text);
    text-decoration:none;
    border:none;
    font-size:.9rem;
    font-weight:600;
    cursor:pointer;
	width: 50%;
}

.btn-add-cart { background:#3c9eff; }

/* -------------------------------
   CART DROPDOWN
------------------------------- */
.cart-wrapper { position:relative; }

.cart-dropdown {
    position:absolute;
    right:0;
    top:36px;
    width:280px;
    background:#111;
    border:1px solid rgba(255,255,255,0.1);
    padding:12px;
    border-radius:10px;
    display:none;
    z-index:50;
}
.cart-dropdown.open { display:block; }

.cart-item {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:6px 0;
    border-bottom:1px solid rgba(255,255,255,0.08);
}
.cart-item:last-child { border-bottom:none; }

.cart-empty {
    text-align:center;
    color:#aaa;
    padding:10px;
}

[data-cart-qty-input] {
    width: 48px;
    padding: 4px;
    font-size: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 6px;
}

/* Remove */
[data-cart-remove] {
    background: none;
    border: none;
    color: #ff6464;
    font-weight: 600;
    cursor: pointer;
    margin-left: 6px;
    font-size: 14px;
}

/* Checkout */
.cart-checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  background: #1f8fff;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}

/* -------------------------------
   PAGINATION
------------------------------- */
.pagination {
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:8px;
}
.page-btn {
    padding:8px 14px;
    background:#eee;
    border-radius:6px;
    text-decoration:none;
    color:#333;
    font-weight:500;
}
.page-btn:hover {
    background:#ddd;
}
.page-status {
    color:#aaa;
    font-size:14px;
}

/* -------------------------------
   RESPONSIVE (mobile)
------------------------------- */
@media (max-width: 780px) {
    .store-grid {
        grid-template-columns:1fr;
        gap:1rem;
    }
}
