/* ═══════════════════════════════════════════════════
   DROPHUB — SHOP PAGE STYLES
   Built on top of style.css shared utilities.
   ═══════════════════════════════════════════════════ */

/* active nav link */
.nav-links a.is-active {
  color: #1f64ff;
  font-weight: 700;
}

/* shop page sits on a soft grey-blue canvas; the fixed navbar
   is glassy from the very start (no dark hero behind it) */
.shop-page {
  background: #f4f7fd;
}
.shop-page .navbar {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 24px rgba(31, 100, 255, 0.06);
}
.shop-page .navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(31, 100, 255, 0.12);
  box-shadow: 0 10px 36px rgba(15, 28, 77, 0.1);
}

/* ═══════════════════════════════════════
   SHOP HERO BANNER — dark indigo aurora
═══════════════════════════════════════ */
.shop-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--header-h) + 64px) 24px 84px;
  text-align: center;
  background:
    radial-gradient(
      760px 380px at 12% 8%,
      rgba(56, 174, 245, 0.28) 0%,
      transparent 65%
    ),
    radial-gradient(
      820px 420px at 88% 30%,
      rgba(124, 58, 237, 0.32) 0%,
      transparent 65%
    ),
    radial-gradient(
      700px 500px at 50% 115%,
      rgba(31, 100, 255, 0.35) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #0a0e2b 0%, #132052 48%, #1e3a8a 100%);
}
/* animated aurora blobs */
.shop-hero::before,
.shop-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.shop-hero::before {
  width: 540px;
  height: 540px;
  left: -140px;
  top: -90px;
  background: radial-gradient(
    circle,
    rgba(56, 174, 245, 0.5) 0%,
    transparent 70%
  );
  animation: shopDrift1 16s ease-in-out infinite alternate;
}
.shop-hero::after {
  width: 640px;
  height: 640px;
  right: -180px;
  top: 40px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.5) 0%,
    transparent 70%
  );
  animation: shopDrift2 20s ease-in-out infinite alternate;
}
.shop-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(75% 70% at 50% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(
    75% 70% at 50% 35%,
    #000 20%,
    transparent 78%
  );
  pointer-events: none;
  z-index: 0;
}
@keyframes shopDrift1 {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(80px, 50px) scale(1.18);
  }
}
@keyframes shopDrift2 {
  from {
    transform: translate(0, 0) scale(1.15);
  }
  to {
    transform: translate(-70px, -40px) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-hero::before,
  .shop-hero::after {
    animation: none;
  }
}

.shop-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #9fc0ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shop-hero-title {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 16px;
}
.shop-hero-title span {
  background: linear-gradient(92deg, #7db9ff 0%, #7c6cff 55%, #b98cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  padding-bottom: 4px;
}

.shop-hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, 0.68);
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.65;
}
/* search bar — glass capsule */
.shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  padding: 8px 8px 8px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(5, 10, 40, 0.35);
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.shop-search:focus-within {
  border-color: rgba(125, 185, 255, 0.65);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 54px rgba(5, 10, 40, 0.45),
    0 0 0 4px rgba(125, 185, 255, 0.14);
}
.shop-search-ico {
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}
.shop-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 10px 4px;
}
.shop-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}
.shop-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.shop-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(92deg, #1f64ff, #3e8bff);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    opacity 0.2s;
  box-shadow: 0 8px 22px rgba(31, 100, 255, 0.4);
}
.shop-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(31, 100, 255, 0.5);
}

/* quick chips */
.shop-quick-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 46px;
}
.shop-quick-chips button {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.01em;
}
.shop-quick-chips button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.qchip-ico {
  flex: none;
}

/* stats row */
.shop-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.shop-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  padding: 16px 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.shop-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.shop-stat span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
}

/* floating side chips (desktop flair) */
.shop-hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 12px 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(5, 10, 40, 0.3);
  animation: shopFloat 6s ease-in-out infinite alternate;
}
.shop-hero-chip--left {
  left: 4%;
  top: 42%;
}
.shop-hero-chip--right {
  right: 4%;
  bottom: 26%;
  animation-delay: -3s;
}
.shc-ico {
  width: 22px;
  height: 22px;
  flex: none;
}
.shop-hero-chip strong {
  display: block;
  font-size: 12.5px;
  color: #fff;
  font-weight: 700;
}
.shop-hero-chip small {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
}
@keyframes shopFloat {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(8px);
  }
}
/* ═══════════════════════════════════════
   STICKY TOOLBAR (filters + sort)
═══════════════════════════════════════ */
.shop-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 235, 251, 0.9);
}
.shop-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.shop-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
}
.shop-filters::-webkit-scrollbar {
  display: none;
}
.shop-chip {
  border: 1px solid #e2eaf7;
  background: #fff;
  color: #5b6b82;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.shop-chip:hover {
  border-color: #b9ccf5;
  color: #1f64ff;
}
.shop-chip--active {
  background: linear-gradient(92deg, #1f64ff, #3e8bff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 100, 255, 0.32);
}

.shop-quote {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 12px;
  background: linear-gradient(92deg, #1f64ff, #3e8bff);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(31, 100, 255, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.shop-quote:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(31, 100, 255, 0.42);
}
.shop-quote svg {
  flex-shrink: 0;
}
.shop-sort {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.shop-count {
  font-size: 13px;
  font-weight: 700;
  color: #8a97ab;
  letter-spacing: 0.02em;
}
.shop-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2eaf7;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  color: #5b6b82;
  cursor: pointer;
}
.shop-sort-label select {
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0a172e;
  cursor: pointer;
}

/* ═══════════════════════════════════════
   PRODUCT GRID + CARDS
═══════════════════════════════════════ */
.shop-main {
  padding: 44px 0 70px;
}
.shop-main-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ── the card ── */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(226, 235, 251, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 28, 77, 0.04);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s,
    border-color 0.35s;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(31, 100, 255, 0.16);
  border-color: rgba(31, 100, 255, 0.28);
}
.product-card.is-hidden {
  display: none;
}

/* badge */
.pc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #fff;
  padding: 5px 11px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(15, 28, 77, 0.18);
}
.pc-badge--orange {
  background: linear-gradient(135deg, #fb7a45 0%, #f0540e 100%);
}
.pc-badge--blue {
  background: linear-gradient(135deg, #2f7cf6 0%, #1e5fd6 100%);
}
.pc-badge--green {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}
.pc-badge--purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* wishlist heart */
.pc-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #8a97ab;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 28, 77, 0.14);
  transition:
    transform 0.2s,
    color 0.2s,
    background 0.2s;
}
.pc-heart:hover {
  transform: scale(1.12);
  color: #e11d48;
}
.pc-heart.is-wish {
  background: #e11d48;
  color: #fff;
}
.pc-heart.is-wish svg {
  fill: #fff;
}

/* media */
.pc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .pc-media img {
  transform: scale(1.09);
}

/* hover actions */
.pc-actions {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .pc-actions,
.product-card:focus-within .pc-actions {
  opacity: 1;
  transform: translateY(0);
}
.pc-add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(92deg, #1f64ff, #3e8bff);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 12px 10px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(31, 100, 255, 0.38);
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s;
}
.pc-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(31, 100, 255, 0.48);
}
.pc-add.added {
  background: linear-gradient(92deg, #22c55e, #16a34a);
}
.pc-view {
  width: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #0a172e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 28, 77, 0.18);
  transition:
    transform 0.15s,
    background 0.2s;
}
.pc-view:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* touch devices: always show quick actions */
@media (hover: none) {
  .pc-actions {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── card body ── */
.pc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
  text-align: left;
}
.pc-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f64ff;
}
.pc-name {
  font-size: 15px;
  font-weight: 700;
  color: #0a172e;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  transition: color 0.2s;
}
.product-card:hover .pc-name {
  color: #1f64ff;
}

.pc-store {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #8a97ab;
  margin-bottom: 2px;
}
.pc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0;
}
.pc-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #8a97ab;
}
.pc-rating b {
  color: #0a172e;
  font-weight: 800;
  font-size: 12px;
}
.pc-rating em {
  font-style: normal;
  color: #a5b1c2;
  font-size: 11px;
}
.pc-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #15803d;
  background: #e7f8ee;
  padding: 4px 9px;
  border-radius: 50px;
  white-space: nowrap;
}
.pc-price-row {
  margin: 2px 0 4px;
}
.pc-price {
  font-size: 18px;
  font-weight: 800;
  color: #0f2a66;
  letter-spacing: -0.02em;
}
.pc-old {
  font-size: 12.5px;
  font-weight: 600;
  color: #a5b1c2;
  text-decoration: line-through;
  margin-left: 7px;
}
.pc-equiv {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.pc-equiv-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: #a5b1c2;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.pc-ngn {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #5b21b6;
  letter-spacing: -0.01em;
  margin-right: 4px;
  vertical-align: middle;
}
.pc-pi {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: #7c3aed;
  letter-spacing: -0.01em;
  vertical-align: middle;
}
.pc-pi::before {
  content: "\03C0 ";
  font-weight: 700;
  color: #7c3aed;
}

/* payment pills row */
.pc-pills {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-top: 10px;
  margin-top: auto;
  border-top: 1px dashed #e7eef9;
}
.pc-pills span {
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  background: #eef3fe;
  color: #4f6ef7;
  border: 1px solid #dce6fb;
}
.pc-pills .pill-pi {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}

/* ═══════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════ */
.shop-empty {
  text-align: center;
  background: #fff;
  border: 1.5px dashed #c9d9f9;
  border-radius: 20px;
  padding: 56px 24px;
  margin-top: 22px;
}
.shop-empty-ico {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}
.shop-empty h3 {
  font-size: 19px;
  font-weight: 800;
  color: #0a172e;
  margin-bottom: 6px;
}
.shop-empty p {
  font-size: 14px;
  color: #8a97ab;
  margin-bottom: 18px;
}
.shop-empty-reset {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(92deg, #1f64ff, #3e8bff);
  border: none;
  border-radius: 50px;
  padding: 11px 24px;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(31, 100, 255, 0.3);
}
.shop-empty-reset:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(31, 100, 255, 0.42);
}

/* ═══════════════════════════════════════
   PAGINATION
═══════════════════════════════════════ */
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 46px;
}
.spage {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #e2eaf7;
  background: #fff;
  color: #5b6b82;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.spage:hover:not(:disabled) {
  border-color: #b9ccf5;
  color: #1f64ff;
  transform: translateY(-1px);
}
.spage:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.spage-num.spage-active {
  background: linear-gradient(92deg, #1f64ff, #3e8bff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(31, 100, 255, 0.32);
}
.spage-dots {
  color: #a5b1c2;
  font-weight: 700;
  padding: 0 4px;
}

/* ═══════════════════════════════════════
   TRUST STRIP
═══════════════════════════════════════ */
.shop-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 60px;
}
.shop-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e7eefb;
  border-radius: 16px;
  padding: 16px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.shop-trust-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(31, 100, 255, 0.1);
}
.sti-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shop-trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0a172e;
}
.shop-trust-item span {
  font-size: 11.5px;
  color: #8a97ab;
}

/* nav badge bump when adding to cart */
.cart-badge.bump {
  animation: badgeBump 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes badgeBump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.55) rotate(8deg);
  }
  100% {
    transform: scale(1);
  }
}
/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1180px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .shop-hero-chip {
    display: none;
  }
}

@media (max-width: 980px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .shop-trust {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-hero {
    padding: calc(var(--header-h) + 48px) 20px 64px;
  }
  .shop-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  .shop-hero-title {
    font-size: 32px;
  }
  .shop-hero {
    padding: calc(var(--header-h) + 40px) 18px 52px;
  }
  .shop-quick-chips {
    gap: 8px;
    margin-bottom: 34px;
  }
  .shop-search {
    flex-direction: column;
    padding: 14px;
    border-radius: 24px;
  }
  .shop-search input {
    width: 100%;
    text-align: center;
    padding: 6px 4px;
  }
  .shop-search-btn {
    width: 100%;
    justify-content: center;
  }
  .shop-bar-inner {
    padding: 10px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .shop-sort {
    justify-content: space-between;
  }
  .shop-main {
    padding: 30px 0 54px;
  }
  .shop-main-inner {
    padding: 0 16px;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .pc-body {
    padding: 13px 13px 14px;
    gap: 5px;
  }
  .pc-name {
    font-size: 13px;
    min-height: 36px;
  }
  .pc-price {
    font-size: 15.5px;
  }
  .pc-old {
    font-size: 11px;
    margin-left: 4px;
  }
  .pc-meta {
    flex-wrap: wrap;
  }
  .pc-pills span {
    font-size: 8.5px;
    padding: 3px 8px;
  }
  .pc-actions {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }
  .pc-add {
    font-size: 11.5px;
    padding: 10px 8px;
  }
  .pc-view {
    width: 40px;
  }
  .spage {
    min-width: 38px;
    height: 38px;
    font-size: 13px;
  }
  .shop-trust {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .shop-hero-chip {
    display: none;
  }
}

@media (max-width: 380px) {
  .shop-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE FILTER DRAWER & TRIGGER BAR
   ═══════════════════════════════════════════════════ */

/* Hide mobile trigger on desktop */
.shop-mobile-bar {
  display: none;
}

/* Show mobile trigger, hide desktop chips on mobile */
@media (max-width: 640px) {
  .shop-filters {
    display: none;
  }
  .shop-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }

  /* Override bar-inner to be a single row on mobile */
  .shop-bar-inner {
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
  }

  /* Hide desktop count & sort on mobile — the mobile bar handles it */
  .shop-sort {
    display: none;
  }
  .shop-quote {
    display: none;
  }
}

/* Filter trigger button */
.shop-filter-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid #e2eaf7;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0a172e;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 0;
  box-shadow: 0 2px 8px rgba(15, 28, 77, 0.04);
}
.shop-filter-trigger:hover,
.shop-filter-trigger[aria-expanded="true"] {
  border-color: #1f64ff;
  color: #1f64ff;
  box-shadow: 0 4px 14px rgba(31, 100, 255, 0.12);
}
.shop-filter-trigger svg {
  flex-shrink: 0;
}

/* Active category label pill inside trigger */
.shop-filter-active-label {
  display: inline-block;
  padding: 2px 10px;
  background: linear-gradient(92deg, #1f64ff, #3e8bff);
  color: #fff;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}

/* Mobile sort inside bar */
.shop-mobile-sort .shop-sort-label {
  padding: 8px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.shop-mobile-sort select {
  max-width: 90px;
  font-size: 12px;
}

/* ── The Drawer ── */
.shop-filter-drawer {
  display: none; /* only shown on mobile */
  position: fixed;
  inset: 0;
  z-index: 500;
}
@media (max-width: 640px) {
  .shop-filter-drawer {
    display: block;
    pointer-events: none;
  }
  .shop-filter-drawer.is-open {
    pointer-events: auto;
  }
}

/* Backdrop */
.shop-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 43, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.shop-filter-drawer.is-open .shop-filter-backdrop {
  opacity: 1;
}

/* Slide-up Panel */
.shop-filter-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 0 0 env(safe-area-inset-bottom);
  box-shadow: 0 -16px 56px rgba(15, 28, 77, 0.2);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  overflow-y: auto;
}
.shop-filter-drawer.is-open .shop-filter-panel {
  transform: translateY(0);
}

/* Drag handle */
.shop-filter-panel::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: #cbd5e1;
  margin: 12px auto 0;
}

/* Panel header */
.shop-filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f1f5f9;
}
.shop-filter-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: #0a172e;
}
.shop-filter-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.shop-filter-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Section label */
.shop-filter-label {
  padding: 16px 20px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

/* Category grid — 2 columns of tappable cards */
.shop-filter-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 8px;
}

.shop-drawer-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border-radius: 16px;
  border: 2px solid #f1f5f9;
  background: #f8fafc;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 80px;
  justify-content: center;
}
.shop-drawer-chip:active {
  transform: scale(0.96);
}
.shop-drawer-chip:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1f64ff;
}
.shop-drawer-chip--active {
  border-color: #1f64ff;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1f64ff;
  box-shadow: 0 4px 16px rgba(31, 100, 255, 0.15);
}
.sdc-icon {
  font-size: 24px;
  line-height: 1;
}
.shop-drawer-chip span:last-child {
  font-size: 12px;
  font-weight: 700;
}

/* Apply button footer */
.shop-filter-panel-foot {
  padding: 16px 16px 20px;
  border-top: 1px solid #f1f5f9;
  margin-top: 8px;
}
.shop-filter-apply {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #1f64ff 0%, #3e8bff 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(31, 100, 255, 0.28);
}
.shop-filter-apply:hover {
  box-shadow: 0 12px 30px rgba(31, 100, 255, 0.42);
  transform: translateY(-1px);
}
.shop-filter-apply:active {
  transform: scale(0.98);
}


/* wishlist heart — save pulse feedback */
@keyframes wish-pulse { 0%{transform:scale(1)} 40%{transform:scale(1.32)} 70%{transform:scale(.90)} 100%{transform:scale(1)} }
.pc-heart.wish-pulse { animation: wish-pulse .45s ease; }

/* ══════════════════════════════════════════════════
   WISHLIST AUTH MODAL
   ══════════════════════════════════════════════════ */
.wl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 43, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.wl-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.wl-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px 32px;
  box-shadow: 0 32px 80px rgba(10, 14, 43, 0.22), 0 2px 8px rgba(10, 14, 43, 0.08);
  text-align: center;
  transform: translateY(18px) scale(.97);
  transition: transform .25s cubic-bezier(.34,1.48,.64,1), opacity .22s ease;
  opacity: 0;
}
.wl-modal-backdrop.is-open .wl-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.wl-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e5e9f0;
  background: #f5f7fa;
  color: #6b7280;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.wl-modal__close:hover { background: #ffe4e6; color: #e11d48; border-color: #fecdd3; }

.wl-modal__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0f2, #ffe4e6);
  border: 2px solid #fecdd3;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #e11d48;
}

.wl-modal__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0f172a;
}

.wl-modal__sub {
  margin: 0 0 26px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.wl-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wl-modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.wl-modal__btn:hover { transform: translateY(-1px); }
.wl-modal__btn:active { transform: translateY(0); opacity: .88; }

.wl-modal__btn--primary {
  background: linear-gradient(135deg, #1f64ff, #3b7eff);
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 100, 255, .30);
}
.wl-modal__btn--primary:hover { box-shadow: 0 12px 30px rgba(31, 100, 255, .40); }

.wl-modal__btn--secondary {
  background: #f5f7fa;
  color: #1f2937;
  border: 1px solid #e5e9f0;
}
.wl-modal__btn--secondary:hover { background: #eef2ff; border-color: #c7d2fe; color: #1f64ff; }

.wl-modal__note {
  margin: 20px 0 0;
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (max-width: 480px) {
  .wl-modal { padding: 32px 20px 24px; border-radius: 20px; }
  .wl-modal__title { font-size: 19px; }
}
