/* ===== GRC SHOP — SHOP STYLES ===== */

/* SHOP HERO */
.shop-hero {
  padding: calc(var(--nav-height) + 40px) 0 40px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

/* SIDEBAR */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* PRODUCT CARD */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(59,139,255,0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
}

/* Product image */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

/* Badges */
.product-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px;
  z-index: 1;
}
.product-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.badge-sale  { background: rgba(234,84,85,0.88);   color: #fff; }
.badge-new   { background: rgba(26,110,232,0.88);  color: #fff; }
.badge-hit   { background: rgba(245,197,24,0.88);  color: #07152a; }

/* Hover action buttons */
.product-actions {
  position: absolute; top: 10px; right: 10px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transition: opacity 0.2s;
  z-index: 1;
}
.product-card:hover .product-actions { opacity: 1; }
.product-action-btn {
  width: 32px; height: 32px;
  background: rgba(7,21,39,0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  font-size: 14px;
}
.product-action-btn:hover { color: var(--text-primary); background: rgba(26,110,232,0.3); border-color: rgba(26,110,232,0.4); }
.product-action-btn.liked { color: #ea5455; border-color: rgba(234,84,85,0.4); }

/* Quick add overlay */
.product-quick-add {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(26,110,232,0.92);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 13px; font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.22s;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.product-card:hover .product-quick-add { transform: translateY(0); }

/* Product body */
.product-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--accent-light); margin-bottom: 4px;
}
.product-title {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  margin-bottom: 6px; color: var(--text-primary);
  flex: 1;
}
.product-rating {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.rating-count { font-size: 11px; color: var(--text-muted); }

/* Price */
.product-price {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.price-current { font-size: 17px; font-weight: 800; }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.price-discount {
  font-size: 11px; font-weight: 700; color: #ea5455;
  background: rgba(234,84,85,0.12);
  padding: 2px 6px; border-radius: 4px;
}

/* Add to cart button */
.btn-add-cart {
  width: 100%; padding: 9px 12px;
  background: rgba(26,110,232,0.1);
  border: 1px solid rgba(26,110,232,0.25);
  border-radius: 8px;
  color: var(--accent-light);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  margin-top: auto;
}
.btn-add-cart:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-add-cart:disabled { opacity: 0.45; cursor: not-allowed; }

/* QUANTITY CONTROL */
.qty-control {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 44px;
  background: none; border: none;
  color: var(--text-primary);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.qty-btn:hover { background: rgba(26,110,232,0.15); }
.qty-val {
  min-width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* PAGINATION */
.pagination-grc {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 40px; flex-wrap: wrap;
}
.page-btn {
  width: 38px; height: 38px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.page-btn.active  { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:hover:not(.active) { border-color: var(--accent-light); color: var(--accent-light); }

/* CART NAV BUTTON */
.cart-nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(26,110,232,0.12);
  border: 1px solid rgba(26,110,232,0.3);
  border-radius: 8px;
  color: var(--accent-light);
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; position: relative;
}
.cart-nav-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: #ea5455; color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* SECTION */
.section { padding: 60px 0; }

/* BREADCRUMB */
.breadcrumb-grc {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb-grc a { color: var(--accent-light); }
.breadcrumb-grc a:hover { text-decoration: underline; }
.breadcrumb-grc i { font-size: 11px; }

/* PAGE TITLE */
.page-title { font-size: clamp(28px, 5vw, 44px); font-weight: 900; line-height: 1.15; margin: 0; }
.page-desc   { font-size: 16px; color: var(--text-muted); margin: 12px 0 0; max-width: 500px; }

/* SELLER STRIP */
.product-seller-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: border-color 0.2s, color 0.2s;
}
.product-seller-strip i {
  font-size: 13px;
  color: var(--accent-light);
  opacity: 0.7;
}
.product-card:hover .product-seller-strip {
  border-color: rgba(59,139,255,0.2);
  color: var(--text-primary);
}
.product-card:hover .product-seller-strip i {
  opacity: 1;
}
