/* ============================================================
   GlowBayBD — ULTRA-RICH DESKTOP SHOP MASTER CSS
   Scoped under .gbp-shop. Mobile layout is isolated & untouched.
   ============================================================ */
:root {
  --gbp-navy: #101936;
  --gbp-pink: #F8006E;
  --gbp-orange: #ff8a20;
  --gbp-text: #171c2f;
  --gbp-muted: #697286;
  --gbp-line: #e7e9ef;
  --gbp-soft: #fff5f8;
  --gbp-green: #17a673;
  --gbp-gradient: #F8006E;
  --gbp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
}

.gbp-shop {
  font-family: var(--gbp-font);
  color: var(--gbp-text);
  background: #f8f9fc;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.gbp-shop * { box-sizing: border-box; }
.gbp-shop a { text-decoration: none; color: inherit; }

.gbp-wrap {
  width: min(1280px, calc(100% - 48px));
  margin: auto;
  padding-bottom: 60px;
}

/* Breadcrumb */
.gbp-crumb {
  font-size: 12.5px;
  color: var(--gbp-muted);
  padding: 22px 0 12px;
  font-weight: 600;
}
.gbp-crumb a { color: var(--gbp-muted); transition: color 0.2s ease; }
.gbp-crumb a:hover { color: var(--gbp-pink); }

/* Hero Banner */
.gbp-hero {
  background: linear-gradient(135deg, #fff0f5 0%, #fff8fa 50%, #ffffff 100%);
  border: 1px solid #ffe0ea;
  border-radius: 20px;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(255, 47, 115, 0.04);
}

.gbp-hero h1 {
  font-size: 36px;
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--gbp-navy);
  letter-spacing: -0.5px;
}

.gbp-hero p {
  color: var(--gbp-muted);
  max-width: 580px;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.gbp-benefits {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--gbp-muted);
  flex-wrap: wrap;
}

.gbp-benefits span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--gbp-line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.gbp-benefits b {
  display: block;
  color: var(--gbp-navy);
  font-size: 12px;
}

.gbp-hero-art {
  font-size: 64px;
  filter: drop-shadow(0 8px 16px rgba(255, 47, 115, 0.15));
}

/* Category Quick Selector Pill Bar */
.gbp-cats-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 20px;
  margin-bottom: 12px;
}

.gbp-cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--gbp-line);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gbp-navy);
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(16, 25, 54, 0.02);
}

.gbp-cat-pill:hover,
.gbp-cat-pill.active {
  border-color: var(--gbp-pink);
  background: #fff0f5;
  color: var(--gbp-pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 47, 115, 0.12);
}

.gbp-cat-ico {
  font-size: 16px;
}

/* Layout Grid */
.gbp-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sidebar Filters */
.gbp-sidebar {
  background: #ffffff;
  border: 1px solid var(--gbp-line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(16, 25, 54, 0.03);
}

.gbp-filter-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--gbp-navy);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gbp-clear-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--gbp-pink);
}

.gbp-filter-group {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gbp-line);
}

.gbp-filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.gbp-filter-label {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--gbp-navy);
  margin-bottom: 12px;
  display: block;
}

.gbp-filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 210px;
  overflow-y: auto;
}

.gbp-filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gbp-text);
  cursor: pointer;
}

.gbp-filter-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--gbp-pink);
  cursor: pointer;
}

.gbp-filter-item small {
  color: var(--gbp-muted);
}

/* Price Inputs */
.gbp-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.gbp-price-inputs input {
  width: 100%;
  height: 38px;
  border: 1px solid #dfe2e9;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  outline: 0;
}

.gbp-btn-filter {
  width: 100%;
  background: var(--gbp-navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  padding: 9px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
}

/* Active Tags */
.gbp-active-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid var(--gbp-line);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
}

.gbp-tags-label {
  font-size: 12.5px;
  font-weight: 750;
  color: var(--gbp-navy);
}

.gbp-tag {
  background: #fff0f5;
  color: var(--gbp-pink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #ffc2d4;
}

.gbp-clear-tag {
  margin-left: auto;
  font-size: 12px;
  font-weight: 750;
  color: #d60036;
}

/* Toolbar */
.gbp-toolbar {
  background: #ffffff;
  border: 1px solid var(--gbp-line);
  border-radius: 10px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(16, 25, 54, 0.02);
}

.gbp-results-count {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gbp-navy);
}

.gbp-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gbp-sort select {
  height: 36px;
  border: 1px solid #dfe2e9;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gbp-text);
  background: #ffffff;
  cursor: pointer;
}

/* Product Cards Grid */
.gbp-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gbp-card {
  background: #ffffff;
  border: 1.5px solid var(--gbp-line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 16px rgba(16, 25, 54, 0.02);
}

.gbp-card:hover {
  transform: translateY(-4px);
  border-color: #ffb3ca;
  box-shadow: 0 12px 30px rgba(255, 47, 115, 0.08);
}

.gbp-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gbp-gradient);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
}

.gbp-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gbp-line);
  background: #ffffff;
  color: var(--gbp-muted);
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.gbp-wishlist-btn:hover {
  border-color: var(--gbp-pink);
  color: var(--gbp-pink);
}

.gbp-card-thumb {
  display: block;
  width: 100%;
  height: 200px;
  text-align: center;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 10px;
}

.gbp-card-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gbp-card:hover .gbp-card-thumb img {
  transform: scale(1.05);
}

.gbp-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gbp-card-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--gbp-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.gbp-card-title {
  font-size: 14px;
  font-weight: 750;
  color: var(--gbp-navy);
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.gbp-card-title a:hover {
  color: var(--gbp-pink);
}

.gbp-card-rating {
  font-size: 11.5px;
  color: #ff9a00;
  font-weight: 700;
  margin-bottom: 12px;
}

.gbp-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.gbp-price-now {
  font-size: 18px;
  font-weight: 800;
  color: var(--gbp-pink);
}

.gbp-price-old {
  font-size: 13px;
  color: var(--gbp-muted);
  text-decoration: line-through;
}

.gbp-btn-cart {
  width: 100%;
  background: #F8006E;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(248, 0, 110, 0.18);
  transition: all 0.2s ease-in-out;
  display: block;
}

.gbp-btn-cart:hover {
  background: #D9005E;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(248, 0, 110, 0.28);
}

.gbp-no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--gbp-line);
}

/* Pagination */
.gbp-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.gbp-pagination a,
.gbp-pagination span {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--gbp-line);
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gbp-navy);
  margin: 0 4px;
  transition: all 0.2s ease;
}

.gbp-pagination span.current,
.gbp-pagination a:hover {
  background: var(--gbp-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 47, 115, 0.2);
}

/* MOBILE RESPONSIVE ISOLATION */
@media (max-width: 768px) {
  .gbp-layout { grid-template-columns: 1fr !important; }
  .gbp-sidebar { display: none !important; }
  .gbp-products-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .gbp-hero { padding: 20px !important; flex-direction: column !important; text-align: center !important; }
  .gbp-benefits { justify-content: center !important; }
}
