/* ─── Shopping Page ─────────────────────────────────────────────────────── */
.sh-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  overflow: hidden;
  position: relative;
}
.sh-hero-inner {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  gap: 3rem;
}
.sh-hero-left  { flex: 0 0 52%; max-width: 580px; }
.sh-hero-right { flex: 1; position: relative; min-height: 440px; }

.sh-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
  border-left: 2px solid rgba(255,255,255,.4); padding-left: .5rem;
}
.sh-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.04em; color: #fff;
  margin-bottom: .75rem;
}
.sh-headline-em {
  font-style: normal;
  text-decoration: underline; text-decoration-style: wavy;
  text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 7px;
  color: #fff;
}
.sh-subtitle { font-size: .95rem; color: rgba(255,255,255,.78); line-height: 1.6; max-width: 420px; margin-bottom: 1.75rem; }

/* Search */
.sh-search-wrap { position: relative; margin-bottom: 1.25rem; }
.sh-search-box {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 100px; padding: .8rem 1.1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
  backdrop-filter: blur(8px);
}
.sh-search-box:focus-within {
  border-color: rgba(255,255,255,.6);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
  background: rgba(255,255,255,.18);
}
.sh-search-input {
  flex: 1; border: none; background: transparent;
  font-size: .95rem; font-family: var(--font-body);
  outline: none; color: #fff; min-width: 0;
}
.sh-search-input::placeholder { color: rgba(255,255,255,.55); }
.sh-search-btn-icon {
  width: 34px; height: 34px; background: var(--accent-black);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0; transition: transform .2s, background .2s;
}
.sh-search-btn-icon:hover { transform: scale(1.08); background: #333; }

/* Autocomplete */
.sh-autocomplete {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-elevated);
  overflow: hidden; z-index: 200; display: none;
}
.sh-autocomplete.open { display: block; }
.sh-ac-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; cursor: pointer;
  border-bottom: 1px solid var(--border); transition: background .15s;
}
.sh-ac-item:last-child { border-bottom: none; }
.sh-ac-item:hover { background: var(--bg-elevated); }
.sh-ac-emoji { font-size: 1.1rem; flex-shrink: 0; }
.sh-ac-name  { font-size: .875rem; font-weight: 500; color: var(--text-primary); }
.sh-ac-brand { font-size: .75rem; color: var(--text-muted); }

/* Filter chips */
.sh-filter-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.sh-chip {
  padding: .44rem 1rem; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: all .15s; font-family: var(--font-body);
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.sh-chip:hover { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.18); }
.sh-chip-active { background: #fff; color: #000; border-color: #fff; }

/* Floating hero cards */
.sh-float-card {
  position: absolute; background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated); overflow: hidden;
  border: 1px solid var(--border);
}
.sh-float-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.sh-float-card-info { padding: .6rem .8rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.sh-float-card-name { font-size: .72rem; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-float-card-free { font-size: .62rem; font-weight: 700; color: var(--accent-green); background: rgba(0,166,81,.08); border-radius: 4px; padding: 2px 6px; flex-shrink: 0; }
.sh-float-card-1 { top: 4%;  left: 6%;  width: 170px; animation: sh-float-a 5s ease-in-out infinite; }
.sh-float-card-2 { top: 38%; right: 3%; width: 158px; animation: sh-float-b 6s ease-in-out infinite 1.2s; }
.sh-float-card-3 { bottom: 6%; left: 22%; width: 162px; animation: sh-float-a 4.5s ease-in-out infinite .6s; }
.sh-hero-notif {
  position: absolute; top: 7%; right: 6%;
  background: rgba(0,0,0,.06); border: 1px solid var(--border);
  border-radius: 100px; padding: .45rem .9rem;
  font-size: .75rem; font-weight: 500; color: var(--text-secondary);
  animation: sh-float-b 4s ease-in-out infinite 2s; white-space: nowrap;
}
@keyframes sh-float-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes sh-float-b { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* Container */
.sh-container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.sh-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.sh-section-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }

/* Brands */
.sh-brands-section {
  padding: 2.5rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sh-brands-scroll {
  display: flex; gap: .85rem; overflow-x: auto;
  padding-bottom: .5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sh-brands-scroll::-webkit-scrollbar { display: none; }
.sh-brand-card {
  flex: 0 0 auto; width: 130px;
  background: var(--bg-primary); border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); padding: 1.1rem .85rem;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  cursor: pointer; transition: all .2s; text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.sh-brand-card:hover { border-color: var(--accent-black); transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.sh-brand-logo {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800; color: white;
  font-family: var(--font-display); flex-shrink: 0; letter-spacing: -.01em;
}
.sh-brand-name     { font-size: .82rem; font-weight: 700; color: var(--text-primary); }
.sh-brand-category { font-size: .68rem; color: var(--text-muted); }
.sh-brand-free     { font-size: .62rem; font-weight: 700; color: var(--accent-green); background: rgba(0,166,81,.08); border-radius: 100px; padding: 2px 8px; }

/* Products */
.sh-products-section { padding: 3rem 0; }
.sh-products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.sh-product-card {
  background: var(--bg-primary); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .2s; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.sh-product-card:hover { border-color: var(--accent-black); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.sh-product-img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-elevated); }
.sh-product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sh-product-card:hover .sh-product-img { transform: scale(1.04); }
.sh-product-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: 6px; font-size: .62rem; font-weight: 700; letter-spacing: .04em;
}
.sh-badge-hot  { background: #E86C00; color: white; }
.sh-badge-new  { background: var(--accent-black); color: white; }
.sh-badge-sale { background: #E81C28; color: white; }
.sh-product-free-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--accent-green); color: white;
  font-size: .65rem; font-weight: 700; padding: 3px 8px; border-radius: 6px;
}
.sh-product-info    { padding: .85rem; }
.sh-product-brand   { font-size: .68rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.sh-product-name    { font-size: .875rem; font-weight: 600; color: var(--text-primary); margin-bottom: .5rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-product-price-row { display: flex; align-items: center; gap: .4rem; margin-bottom: .65rem; }
.sh-product-price-orig { font-size: .82rem; color: var(--text-muted); text-decoration: line-through; }
.sh-product-price-free { font-size: .9rem; font-weight: 800; color: var(--accent-black); }
.sh-product-add-btn {
  width: 100%; padding: .6rem;
  background: var(--accent-black); color: white;
  border: none; border-radius: 10px;
  font-size: .82rem; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; transition: all .15s; -webkit-tap-highlight-color: transparent;
}
.sh-product-add-btn:hover  { background: #333; }
.sh-product-add-btn:active { transform: scale(.98); }
.sh-sort-select {
  padding: .4rem .75rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: .82rem; font-family: var(--font-body);
  background: var(--bg-primary); color: var(--text-secondary);
  cursor: pointer; outline: none;
}

/* PM Banner */
.sh-pm-banner {
  background: #0D0D0D; color: white;
  padding: 2.5rem 0; margin: .5rem 0; position: relative; overflow: hidden;
}
.sh-pm-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(124,92,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.sh-pm-banner-inner { display: flex; align-items: center; gap: 2rem; position: relative; z-index: 1; }
.sh-pm-icon {
  width: 64px; height: 64px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
  animation: sh-pm-glow 3s ease-in-out infinite;
}
@keyframes sh-pm-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50%      { box-shadow: 0 0 20px 4px rgba(255,255,255,.05); }
}
.sh-pm-content { flex: 1; min-width: 0; }
.sh-pm-label  { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.4); margin-bottom: .35rem; }
.sh-pm-title  { font-size: 1.1rem; font-weight: 700; font-family: var(--font-display); margin-bottom: .3rem; }
.sh-pm-body   { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.55; max-width: 600px; }
.sh-pm-pulse  {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.06);
  animation: sh-pm-pulse 2.5s ease-out infinite;
}
@keyframes sh-pm-pulse {
  0%   { transform: translateY(-50%) scale(.6); opacity: .6; }
  100% { transform: translateY(-50%) scale(1.8); opacity: 0; }
}

/* Tags */
.sh-tags-section { padding: 1.25rem 0 2.5rem; }
.sh-tags-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .65rem; }
.sh-tags-scroll {
  display: flex; gap: .4rem; overflow-x: auto;
  padding-bottom: .25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sh-tags-scroll::-webkit-scrollbar { display: none; }
.sh-tag-pill {
  flex: 0 0 auto; padding: .42rem .9rem; border-radius: 100px;
  background: var(--bg-elevated); color: var(--text-secondary);
  font-size: .82rem; font-weight: 500; cursor: pointer;
  border: 1.5px solid transparent; transition: all .15s;
  white-space: nowrap; font-family: var(--font-body); -webkit-tap-highlight-color: transparent;
}
.sh-tag-pill:hover { background: var(--accent-black); color: white; border-color: var(--accent-black); }

/* Responsive */
@media (max-width: 960px) {
  .sh-hero-right { display: none; }
  .sh-hero-left  { flex: 1; max-width: none; }
  .sh-hero-inner { min-height: auto; padding: 2.5rem 1.25rem; }
  .sh-products-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .sh-products-grid { gap: .75rem; }
  .sh-section-title { font-size: 1.25rem; }
  .sh-pm-banner-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sh-pm-pulse { display: none; }
}
