/* Shop Page Styles */

.shop-page {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #1a1a1a;
  background: #fff;
}

/* Hero */
.shop-hero {
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1040 40%, #2d1b69 100%);
  padding: 50px 0 40px;
  color: #fff;
}
.shop-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: left;
}
.shop-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  text-align: left;
  margin: 0;
}

/* Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 0 8px;
  margin-bottom: 8px;
}
.shop-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.shop-filter-btn {
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.shop-filter-btn:hover { border-color: #ccc; color: #333; }
.shop-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.shop-count {
  font-size: 13px;
  color: #999;
}
.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-sort label {
  font-size: 12px;
  color: #999;
  font-weight: 500;
  white-space: nowrap;
}
.shop-sort select {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  color: #444;
  background: #fff;
  outline: none;
}
.shop-sort select:focus { border-color: var(--accent); }

/* Product Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 24px 0 60px;
}

/* Product Card */
.shop-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.shop-card:hover {
  border-color: #ccc;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.shop-card-img {
  background: #f5f5f5;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge */
.shop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.shop-badge-stock {
  background: #ecfdf5;
  color: #059669;
}
.shop-badge-preorder {
  background: #eff6ff;
  color: #2563eb;
}
.shop-badge-soon {
  background: #fef3c7;
  color: #d97706;
}

.shop-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-card-sku {
  font-size: 11px;
  color: #bbb;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.shop-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
  line-height: 1.3;
  text-align: left;
}

.shop-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  text-align: left;
}

/* Spec pills */
.shop-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.shop-spec-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  background: #f5f5f5;
  border: 1px solid #eee;
  border-radius: 2px;
  color: #666;
  letter-spacing: 0.2px;
}

/* Price + CTA row */
.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.shop-card-price {
  font-size: 20px;
  font-weight: 800;
  color: #111;
}
.shop-card-price .price-unit {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  margin-left: 2px;
}

.shop-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.shop-card-cta:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

.shop-card-cta-disabled {
  background: #e5e5e5;
  color: #999;
  cursor: default;
}
.shop-card-cta-disabled:hover { background: #e5e5e5; color: #999; }

/* Trust strip */
.shop-trust-strip {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  margin-bottom: 0;
}
.shop-trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.shop-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #888;
}
.shop-trust-item i {
  color: var(--accent);
  font-size: 14px;
}

/* CTA banner */
.shop-cta-section {
  background: #f8f8fa;
  padding: 60px 0;
  text-align: center;
}
.shop-cta-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  margin: 0 0 10px;
}
.shop-cta-section p {
  font-size: 14px;
  color: #666;
  max-width: 480px;
  margin: 0 auto 24px;
}
.shop-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.shop-cta-btns a {
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.shop-btn-primary {
  background: var(--accent);
  color: #fff;
}
.shop-btn-primary:hover { background: var(--accent-dark); color: #fff; }
.shop-btn-outline {
  background: transparent;
  color: #333;
  border: 1px solid #ddd;
}
.shop-btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Empty state */
.shop-empty {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}
.shop-empty i {
  font-size: 2.5rem;
  color: #ddd;
  margin-bottom: 14px;
}
.shop-empty h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 6px;
}
.shop-empty p {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .shop-hero h1 { font-size: 28px; }
  .shop-trust-items { gap: 24px; }
}
@media (max-width: 576px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-card-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .shop-card-cta { width: 100%; justify-content: center; }
}
