.shop-hero {
  padding: calc(var(--nav-h) + 40px) 0 36px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bd);
}

.shop-hero-title {
  font-size: clamp(36px,6vw,60px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.shop-hero-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink3);
  letter-spacing: .3px;
}

.shop-main {
  padding: 36px 0 80px;
}

.shop-top-row {
  margin-bottom: 32px;
}

.shop-goal-bar-card {
  padding: 24px 28px !important;
}

.shop-goal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shop-goal-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.shop-goal-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.3px;
}

.shop-goal-pct {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -1px;
}

.shop-goal-track {
  height: 14px;
  background: var(--bd);
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.shop-goal-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-xl));
  transition: width 1.2s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  overflow: hidden;
}

.shop-goal-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: shimmer-goal 2s ease infinite;
}

@keyframes shimmer-goal {
  0% { left: -60%; }
  100% { left: 130%; }
}

.shop-goal-amounts {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink3);
}

.shop-goal-amounts span:first-child {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 10px;
  padding-left: 2px;
}

.shop-cats {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cat-btn {
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 1px var(--bd),
    0 2px 0 0 #d1d9f0,
    0 3px 8px rgba(0,0,0,.04);
  cursor: pointer;
  border: none;
  transition: all .2s;
  letter-spacing: .2px;
}

.cat-btn:hover {
  color: var(--blue);
  background: var(--blue-bg);
  box-shadow:
    0 0 0 1px var(--blue-bd),
    0 2px 0 0 #93c5fd,
    0 3px 8px rgba(37,99,235,.08);
  transform: translateX(3px);
}

.cat-btn.active {
  color: #fff;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 3px 0 0 #1e3a8a,
    0 5px 0 0 rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateX(0);
}

.shop-recent {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recent-empty {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink4);
  padding: 12px 4px;
}

.recent-item {
  padding: 10px 12px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 0 1px var(--bd), 0 2px 6px rgba(0,0,0,.04);
  transition: transform .18s;
}

.recent-item:hover { transform: translateX(3px); }

.recent-nick {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-product {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.recent-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recent-price {
  font-size: 12px;
  font-weight: 900;
  color: var(--blue);
}

.recent-date {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink4);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.product-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 2px var(--bd),
    0 3px 0 2px #d1d9f0,
    0 6px 16px rgba(37,99,235,.07);
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s, box-shadow .22s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 2px var(--blue-bd),
    0 5px 0 2px #93c5fd,
    0 14px 32px rgba(37,99,235,.14);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform .32s;
}

.product-card:hover .product-img img { transform: scale(1.07); }

.product-img-icon {
  font-size: 60px;
  opacity: .2;
  user-select: none;
}

.product-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.pbadge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  color: #fff;
}

.pbadge-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 0 #92400e;
}

.pbadge-red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 2px 0 #991b1b;
}

.pbadge-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 2px 0 #5b21b6;
}

.product-info {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -.2px;
  line-height: 1.2;
}

.product-desc-s {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink3);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.p-price-old {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink4);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 2px;
}

.p-price {
  font-size: 19px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -.5px;
  line-height: 1;
}

.p-price-unit {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink4);
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  padding: 8px 13px;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 3px 0 0 #1e3a8a,
    0 5px 0 0 rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22);
  border: none;
  transition: transform .14s, filter .14s, box-shadow .14s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.add-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
  background-size: 300% 100%;
  background-position: 200% 0;
  animation: btn-shine 2.8s ease infinite;
  pointer-events: none;
}

.add-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 5px 0 0 #1e3a8a,
    0 7px 0 0 rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.add-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 1px 0 0 #1e3a8a,
    inset 0 2px 0 rgba(0,0,0,.15);
}

.add-btn.added {
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 55%, #15803d 100%);
  box-shadow:
    0 0 0 2px #14532d,
    0 3px 0 0 #14532d,
    0 5px 0 0 rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 2px 0 #991b1b;
  margin-left: 4px;
  vertical-align: middle;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,.62);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-outer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.modal-box {
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(28px) scale(.95);
  transition: opacity .28s cubic-bezier(.25,.46,.45,.94), transform .28s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
  padding: 0 !important;
  position: relative;
}

.modal-overlay.open + .modal-outer .modal-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cart-box {
  width: min(920px, 96vw);
  max-width: 920px;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 900px);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.06);
  color: var(--ink3);
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.modal-close-btn:hover {
  background: rgba(239,68,68,.1);
  color: #ef4444;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pm-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 80px;
}

.pm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.pm-body {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
}

.pm-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pm-name {
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.5px;
  line-height: 1.1;
  margin-bottom: 9px;
}

.pm-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  line-height: 1.7;
  margin-bottom: 16px;
}

.pm-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  flex: 1;
}

.pm-feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
}

.pm-feature-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}

.pm-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--bd);
  flex-wrap: wrap;
  margin-top: auto;
}

.pm-price-old {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink4);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.pm-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -1px;
  line-height: 1;
}

.pm-price-unit {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink4);
}

.pm-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  padding: 12px 20px;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 4px 0 0 #1e3a8a,
    0 6px 0 0 rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22);
  border: none;
  transition: transform .14s, filter .14s, box-shadow .14s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.pm-add-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
  background-size: 300% 100%;
  background-position: 200% 0;
  animation: btn-shine 2.8s ease infinite;
  pointer-events: none;
}

.pm-add-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.pm-add-btn:active { transform: translateY(2px); }

.pm-add-btn.added {
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 55%, #15803d 100%);
  box-shadow:
    0 0 0 2px #14532d,
    0 4px 0 0 #14532d,
    0 6px 0 0 rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--bd);
  flex-shrink: 0;
}

.cart-head-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.cart-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  max-height: 36vh;
}

.cart-foot {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--bd);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.creator-page-shell {
  min-height: calc(100vh - 140px);
  padding: 34px 20px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.creator-page-card {
  width: min(980px, 100%);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.creator-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.creator-box {
  width: min(960px, 96vw);
  max-width: 960px;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
}

.creator-shell {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.creator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.creator-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}

.creator-head h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
}

.creator-badge {
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.creator-card {
  padding: 16px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 0 1px var(--bd);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.creator-panel-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.creator-card.full { grid-column: 1 / -1; }

.creator-empty {
  font-size: 12px;
  color: var(--ink3);
}

.creator-card h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.creator-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink3);
}

.creator-input {
  width: 100%;
  padding: 10px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: none;
  outline: none;
  box-shadow: 0 0 0 2px var(--bd);
}

.creator-btn {
  padding: 10px 12px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.creator-btn.alt {
  background: linear-gradient(180deg, #8b5cf6, #7c3aed);
}

.creator-codes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-code {
  padding: 10px 12px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 0 1px var(--bd);
}

.creator-code-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.creator-code-meta {
  font-size: 11px;
  color: var(--ink3);
}

.creator-code-meta {
  font-size: 11px;
  color: var(--ink3);
}

.creator-empty {
  font-size: 12px;
  color: var(--ink3);
}

.btn-creator {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  padding: 11px 20px;
  overflow: hidden;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  box-shadow:
    0 0 0 2px #4c1d95,
    0 4px 0 0 #4c1d95,
    0 6px 0 0 rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.3);
  border: none;
  transition: transform .15s, filter .15s, box-shadow .15s;
}

.btn-creator::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
  background-size: 300% 100%;
  background-position: 200% 0;
  animation: btn-shine 2.8s ease infinite;
  pointer-events: none;
}

.btn-creator:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 2px #4c1d95,
    0 6px 0 0 #4c1d95,
    0 8px 0 0 rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.btn-creator:active { transform: translateY(2px); }

.mob-creator-btn {
  padding: 13px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
  border-bottom: 1px solid var(--bd);
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  text-align: left;
  cursor: pointer;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 0;
  text-align: center;
}

.cart-empty svg { opacity: .22; color: var(--ink4); }
.cart-empty strong { font-size: 14px; font-weight: 800; color: var(--ink3); }
.cart-empty span { font-size: 12px; font-weight: 500; color: var(--ink4); }

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 0 0 1px var(--bd);
}

.cart-item-img {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  overflow: hidden;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 900;
  color: var(--blue);
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.cqb {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  box-shadow: 0 2px 0 #1e3a8a;
  border: none;
  cursor: pointer;
  transition: filter .12s, transform .1s;
}

.cqb:hover { filter: brightness(1.12); }
.cqb:active { transform: translateY(1px); box-shadow: 0 1px 0 #1e3a8a; }

.cqn {
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  min-width: 16px;
  text-align: center;
}

.cdel {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink4);
  border: none;
  background: none;
  cursor: pointer;
  transition: color .14s, background .14s;
  margin-left: 2px;
}

.cdel:hover { color: #ef4444; background: rgba(239,68,68,.08); }

.cart-nick-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink3);
  display: block;
  margin-bottom: 6px;
}

.cart-nick-input {
  width: 100%;
  padding: 10px 13px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  border: none;
  outline: none;
  box-shadow: 0 0 0 2px var(--bd);
  transition: box-shadow .18s;
}

.cart-nick-input:focus { box-shadow: 0 0 0 2px var(--blue); }
.cart-nick-input::placeholder { color: var(--ink4); font-weight: 500; }

.cart-warn {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 9px 11px;
  background: rgba(251,191,36,.09);
  border-left: 3px solid #f59e0b;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink3);
  line-height: 1.55;
}

.cart-warn svg { color: #f59e0b; flex-shrink: 0; margin-top: 1px; }
.cart-warn strong { color: var(--ink); font-weight: 800; }

.promo-row {
  display: flex;
  gap: 7px;
}

.promo-input {
  flex: 1;
  padding: 9px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  border: none;
  outline: none;
  box-shadow: 0 0 0 2px var(--bd);
  transition: box-shadow .18s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-input:focus { box-shadow: 0 0 0 2px var(--blue); }
.promo-input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink4); }

.promo-apply {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  padding: 9px 14px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 3px 0 0 #1e3a8a,
    inset 0 1px 0 rgba(255,255,255,.2);
  border: none;
  cursor: pointer;
  transition: transform .14s, filter .14s;
  white-space: nowrap;
}

.promo-apply:hover { transform: translateY(-1px); filter: brightness(1.1); }
.promo-apply:active { transform: translateY(1px); }

.promo-status {
  font-size: 11px;
  font-weight: 700;
  min-height: 14px;
}

.promo-ok { color: #16a34a; }
.promo-err { color: #ef4444; }

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
}

.cart-row-disc {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
}

.cart-row-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  padding-top: 9px;
  border-top: 2px solid var(--bd);
}

.checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  padding: 13px 20px;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 4px 0 0 #1e3a8a,
    0 6px 0 0 rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22);
  border: none;
  transition: transform .14s, filter .14s, box-shadow .14s;
  position: relative;
  overflow: hidden;
}

.checkout-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
  background-size: 300% 100%;
  background-position: 200% 0;
  animation: btn-shine 2.8s ease infinite;
  pointer-events: none;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 6px 0 0 #1e3a8a,
    0 8px 0 0 rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.checkout-btn:active { transform: translateY(2px); }

.clear-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink4);
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 100%;
  padding: 2px;
  transition: color .14s;
}

.clear-btn:hover { color: #ef4444; }

@keyframes btn-shine {
  0% { background-position: 200% 0; }
  50% { background-position: -50% 0; }
  100% { background-position: 200% 0; }
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .shop-cats { flex-direction: row; flex-wrap: wrap; }
  .cat-btn { flex: 1; }
}

@media (max-width: 580px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .pm-img { aspect-ratio: 16/9; font-size: 48px; }
  .shop-sidebar { grid-template-columns: 1fr; }
}

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

.vpln-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 2px var(--bd), 0 5px 0 0 #d1d9f0, 0 12px 24px rgba(37,99,235,.08);
}

.vpln-pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.vpln-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}

.vpln-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink3);
}

.vpln-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vpln-option {
  padding: 10px 12px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px var(--bd);
  transition: all .15s;
}

.vpln-option.active, .vpln-option:hover {
  color: #fff;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  box-shadow: 0 0 0 1px #1e3a8a;
}

.vpln-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink3);
}

.vpln-input {
  width: 100%;
  padding: 11px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  border: none;
  outline: none;
  box-shadow: 0 0 0 2px var(--bd);
}

.vpln-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink3);
}

.vpln-summary strong {
  color: var(--blue);
  font-size: 18px;
}

.vpln-btn {
  padding: 12px 16px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow: 0 0 0 2px #1e3a8a, 0 4px 0 0 #1e3a8a;
}

.vpln-btn.added {
  background: linear-gradient(180deg, #4ade80 0%, #16a34a 55%, #15803d 100%);
  box-shadow: 0 0 0 2px #14532d, 0 4px 0 0 #14532d;
}

.cart-item-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink4);
}

.shop-cat-empty {
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink3);
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 0 1px var(--bd);
}
/* Spinner w przycisku checkout */
.checkout-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes bossly-spin {
  to { transform: rotate(360deg); }
}
/* ── Success overlay ─────────────────────────────────────────── */

.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.62);
  backdrop-filter: blur(6px);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}

.success-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.success-box {
  width: min(480px, 100%);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 2px var(--bd),
    0 4px 0 2px #d1d9f0,
    0 16px 48px rgba(37, 99, 235, 0.13);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.success-box--visible {
  transform: translateY(0) scale(1);
}

/* Naglowek */
.success-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--bd);
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.success-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.success-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

/* Nick */
.success-nick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--bd);
  background: rgba(255, 255, 255, 0.8);
}

.success-nick-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink4);
}

.success-nick-val {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.2px;
}

/* Produkty */
.success-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink4);
  padding: 14px 24px 8px;
}

.success-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 24px 14px;
}

.success-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px var(--bd);
}

.success-item-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  flex-shrink: 0;
}

.success-item-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  flex: 1;
}

.success-item-qty {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink4);
  background: var(--bd);
  padding: 2px 7px;
}

/* Laczna kwota */
.success-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 2px solid var(--bd);
  border-bottom: 1px solid var(--bd);
}

.success-total-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink3);
}

.success-total-val {
  font-size: 20px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.5px;
}

/* Ostrzezenie offline */
.success-warn {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 10px 24px;
  background: rgba(251, 191, 36, 0.09);
  border-left: 3px solid #f59e0b;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink3);
  line-height: 1.55;
  margin: 0 24px 16px;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.15);
}

.success-warn svg {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 1px;
}

.success-warn strong {
  color: var(--ink);
  font-weight: 800;
}

/* Przycisk zamknij */
.success-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 48px);
  margin: 0 24px 22px;
  padding: 13px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 4px 0 0 #1e3a8a,
    0 6px 0 0 rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: none;
  transition: transform 0.14s, filter 0.14s, box-shadow 0.14s;
  position: relative;
  overflow: hidden;
}

.success-close-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
  background-size: 300% 100%;
  background-position: 200% 0;
  animation: btn-shine 2.8s ease infinite;
  pointer-events: none;
}

.success-close-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 6px 0 0 #1e3a8a,
    0 8px 0 0 rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.success-close-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 1px 0 0 #1e3a8a,
    inset 0 2px 0 rgba(0, 0, 0, 0.15);
}

/* Komunikat bledu pod checkoutBtn */
.checkout-msg {
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-msg--error {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid #ef4444;
  color: #dc2626;
}

.checkout-msg--ok {
  background: rgba(22, 163, 74, 0.08);
  border-left: 3px solid #16a34a;
  color: #15803d;
}
/* ═══════════════════════════════════════════════════════
   SUCCESS OVERLAY
═══════════════════════════════════════════════════════ */

.sov-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.62);
  backdrop-filter: blur(6px);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}

.sov-overlay--in {
  opacity: 1;
  pointer-events: auto;
}

.sov-box {
  width: min(460px, 100%);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 2px #dde3f0,
    0 4px 0 2px #d1d9f0,
    0 16px 48px rgba(37, 99, 235, 0.13);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: 'Outfit', sans-serif;
}

.sov-box--in {
  transform: translateY(0) scale(1);
}

/* Naglowek */
.sov-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #dde3f0;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.sov-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 4px;
}

.sov-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.sov-x {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  color: #64748b;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.sov-x:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Gracz */
.sov-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-bottom: 1px solid #dde3f0;
}

.sov-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94a3b8;
}

.sov-nick {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.2px;
}

/* Produkty */
.sov-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 12px 22px 6px;
}

.sov-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 22px 12px;
}

.sov-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px #dde3f0;
}

.sov-item-dot {
  width: 6px;
  height: 6px;
  background: #2563eb;
  flex-shrink: 0;
}

.sov-item-name {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  flex: 1;
}

.sov-item-qty {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: #dde3f0;
  padding: 2px 7px;
}

/* Laczna kwota */
.sov-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-top: 2px solid #dde3f0;
  border-bottom: 1px solid #dde3f0;
}

.sov-total-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.sov-total-val {
  font-size: 20px;
  font-weight: 900;
  color: #2563eb;
  letter-spacing: -0.5px;
}

/* Warn offline */
.sov-warn {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 22px;
  padding: 9px 11px;
  background: rgba(251, 191, 36, 0.09);
  border-left: 3px solid #f59e0b;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.55;
}

.sov-warn strong {
  color: #0f172a;
  font-weight: 800;
}

/* Przycisk */
.sov-foot {
  padding: 0 22px 20px;
}

.sov-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 4px 0 0 #1e3a8a,
    0 6px 0 0 rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: none;
  transition: transform 0.14s, filter 0.14s, box-shadow 0.14s;
  position: relative;
  overflow: hidden;
}

.sov-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
  background-size: 300% 100%;
  background-position: 200% 0;
  animation: btn-shine 2.8s ease infinite;
  pointer-events: none;
}

.sov-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 6px 0 0 #1e3a8a,
    0 8px 0 0 rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.sov-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 0 0 2px #1e3a8a,
    0 1px 0 0 #1e3a8a,
    inset 0 2px 0 rgba(0, 0, 0, 0.15);
}

/* Komunikat bledu */
.sov-checkout-msg {
  padding: 9px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.sov-checkout-msg--err {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid #ef4444;
  color: #dc2626;
}

.sov-checkout-msg--ok {
  background: rgba(22, 163, 74, 0.08);
  border-left: 3px solid #16a34a;
  color: #15803d;
}