:root {
  --store-bg: #F7F8F4;
  --store-surface: #ffffff;
  --store-dark: #111318;
  --store-dark-2: #1a1d24;
  --store-green: #70C943;
  --store-green-dark: #2E7D32;
  --store-gold: #B49355;
  --store-muted: #6B7280;
  --store-border: #E5E7EB;
  --store-danger: #C2410C;
  --store-radius: 8px;
  --store-shadow: 0 18px 46px rgba(17, 19, 24, .10);
  --store-shadow-soft: 0 10px 26px rgba(17, 19, 24, .08);
  --store-container: min(1220px, calc(100% - 32px));
}

.store-shell {
  background: var(--store-bg);
  color: var(--store-dark);
  font-family: "Tajawal", "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.store-main {
  width: var(--store-container);
  margin: 0 auto;
  padding: 104px 0 72px;
}

.store-shell :where(a, button, input, select, textarea) {
  font: inherit;
}

.store-shell :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(112, 201, 67, .42);
  outline-offset: 3px;
}

.store-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.store-icon--sm { width: 18px; height: 18px; }
.store-icon--xl { width: 40px; height: 40px; }

.store-btn {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--store-radius);
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--store-dark);
  text-decoration: none;
  background: var(--store-surface);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--motion-fast, 180ms) var(--ease-store, ease), border-color var(--motion-fast, 180ms), background var(--motion-fast, 180ms), color var(--motion-fast, 180ms), box-shadow var(--motion-fast, 180ms);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(17, 19, 24, .08);
}

.store-btn:active {
  transform: translateY(0);
}

.store-btn--primary {
  background: var(--store-green);
  color: #0c1608;
  border-color: var(--store-green);
}

.store-btn--primary:hover {
  background: #7fd957;
}

.store-btn--dark {
  background: var(--store-dark);
  border-color: var(--store-dark);
  color: #fff;
}

.store-btn--light {
  background: #fff;
  border-color: rgba(255, 255, 255, .4);
  color: var(--store-dark);
}

.store-btn--ghost-light {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}

.store-btn--muted {
  background: #f8faf6;
  border-color: var(--store-border);
  color: var(--store-dark);
}

.store-icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--store-border);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--store-dark);
  background: rgba(255, 255, 255, .92);
  cursor: pointer;
  transition: transform var(--motion-fast, 180ms), background var(--motion-fast, 180ms), color var(--motion-fast, 180ms), border-color var(--motion-fast, 180ms);
}

.store-icon-btn:hover {
  transform: translateY(-2px);
  color: var(--store-green-dark);
  border-color: rgba(112, 201, 67, .5);
}

.store-flash {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #bfe6aa;
  border-radius: var(--store-radius);
  background: #effbe9;
  color: #15350e;
  font-weight: 700;
}

.store-flash--error {
  border-color: #f8b4a0;
  background: #fff1ed;
  color: #8a2c0d;
}

.store-eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--store-green-dark);
  font-weight: 800;
}

.store-eyebrow--light {
  color: #baf39e;
}

.store-hero-pro {
  position: relative;
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
  background:
    radial-gradient(circle at 20% 18%, rgba(112, 201, 67, .26), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(180, 147, 85, .22), transparent 32%),
    linear-gradient(135deg, #111318 0%, #17211b 48%, #0b0e10 100%);
  box-shadow: var(--store-shadow);
}

.store-hero-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(45deg, currentColor 1px, transparent 1px),
    linear-gradient(-45deg, currentColor 1px, transparent 1px);
  background-size: 34px 34px;
  animation: float-slow 18s ease-in-out infinite;
}

.store-hero-pro__content,
.store-hero-pro__visual {
  position: relative;
  z-index: 1;
}

.store-hero-pro h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.7rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}

.store-hero-pro p {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  line-height: 1.9;
}

.store-hero-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.store-hero-stats span {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--store-radius);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 700;
}

.store-hero-pro__visual {
  min-height: 390px;
  display: grid;
  place-items: center;
}

.store-hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(112, 201, 67, .22);
  filter: blur(18px);
  animation: glow-pulse 7s ease-in-out infinite;
}

.store-mockup-stack {
  position: relative;
  width: min(100%, 430px);
  height: 360px;
}

.store-mockup {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  box-shadow: 0 24px 50px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
}

.store-mockup span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(112, 201, 67, .18);
  color: var(--store-green);
}

.store-mockup strong {
  margin-top: 10px;
  color: rgba(255, 255, 255, .86);
}

.store-mockup--hoodie {
  inset-inline-start: 0;
  top: 28px;
  width: 230px;
  height: 270px;
}

.store-mockup--cup {
  inset-inline-end: 0;
  top: 0;
  width: 160px;
  height: 170px;
}

.store-mockup--poster {
  inset-inline-end: 30px;
  bottom: 0;
  width: 220px;
  height: 170px;
}

.store-trust-bar {
  margin: 18px 0 34px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.store-trust-bar span {
  min-height: 62px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--store-surface);
  color: var(--store-dark);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 18px rgba(17, 19, 24, .04);
}

.store-trust-bar .store-icon {
  color: var(--store-green-dark);
}

.store-section {
  margin: 38px 0;
}

.store-section__head {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.store-section__head h1,
.store-section__head h2,
.store-empty-state h1,
.store-empty-state h2,
.store-custom-request h1,
.store-custom-request h2,
.store-newsletter h2,
.store-drop-section h2,
.store-page-head h1,
.store-product h1,
.store-checkout h1,
.store-track h1,
.store-policy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--store-dark);
  font-weight: 900;
}

.store-category-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(166px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: inline mandatory;
}

.store-category-card {
  scroll-snap-align: start;
  min-height: 144px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 10px;
  color: var(--store-dark);
  text-decoration: none;
  background: var(--store-surface);
  box-shadow: 0 8px 18px rgba(17, 19, 24, .04);
  transition: transform var(--motion-fast, 180ms), border-color var(--motion-fast, 180ms), box-shadow var(--motion-fast, 180ms);
}

.store-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(112, 201, 67, .7);
  box-shadow: var(--store-shadow-soft);
}

.store-category-card.is-active {
  border-color: var(--store-green);
}

.store-category-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--store-green-dark);
  background: rgba(112, 201, 67, .14);
}

.store-category-card strong {
  font-size: 1.02rem;
}

.store-category-card small {
  color: var(--store-muted);
  font-weight: 700;
}

.store-filter-shell {
  margin: 28px 0 38px;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 26px rgba(17, 19, 24, .05);
}

.store-filters-pro {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
}

.store-search-field {
  min-height: 58px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: var(--store-surface);
}

.store-search-field .store-icon {
  color: var(--store-green-dark);
}

.store-search-field input,
.store-filter-grid :where(input, select),
.store-custom-form :where(input, textarea),
.store-newsletter input,
.store-notify-modal input,
.store-checkout__form :where(input, select, textarea),
.store-track__form input,
.store-panel :where(input, textarea, select),
.store-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 10px 12px;
  color: var(--store-dark);
  background: #fff;
}

.store-search-field input {
  border: 0;
  outline: 0;
  padding: 0;
  font-size: 1.05rem;
}

.store-filter-toggle {
  min-height: 58px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 0 16px;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--store-dark);
  color: #fff;
  font-weight: 800;
}

.store-filter-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.store-filter-grid label {
  display: grid;
  gap: 6px;
  color: var(--store-muted);
  font-size: .92rem;
  font-weight: 800;
}

.store-check-pill {
  min-height: 44px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 10px 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  color: var(--store-dark) !important;
  background: #fff;
}

.store-check-pill input {
  width: 18px !important;
  min-height: 18px !important;
  accent-color: var(--store-green-dark);
}

.store-products-grid,
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.store-product-card,
.store-card {
  position: relative;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--store-surface);
  box-shadow: 0 8px 18px rgba(17, 19, 24, .04);
  transition: transform var(--motion-fast, 180ms), box-shadow var(--motion-fast, 180ms), border-color var(--motion-fast, 180ms);
}

.store-product-card:hover,
.store-card:hover {
  transform: translateY(-4px);
  border-color: rgba(112, 201, 67, .55);
  box-shadow: var(--store-shadow-soft);
}

.store-product-card__media,
.store-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3eb, #f8faf4);
  color: var(--store-green-dark);
  text-decoration: none;
}

.store-product-card__media img,
.store-card__media img,
.store-product__gallery img,
.store-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--motion, 280ms) var(--ease-store, ease);
}

.store-product-card:hover .store-product-card__media img {
  transform: scale(1.04);
}

.store-product-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--store-green-dark);
  font-weight: 900;
}

.store-product-card__badges {
  position: absolute;
  z-index: 2;
  top: 12px;
  inset-inline-start: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.store-badge {
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: var(--store-dark);
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(17, 19, 24, .10);
}

.store-badge .store-icon {
  width: 15px;
  height: 15px;
}

.store-badge--limited,
.store-badge--best {
  background: #fff7e6;
  color: #6f4a0a;
}

.store-badge--sale {
  background: #ecfdf3;
  color: #166534;
}

.store-badge--out {
  background: #fff1ed;
  color: #9a3412;
}

.store-badge--soon {
  background: #edf5ff;
  color: #1d4ed8;
}

.store-product-card__wish {
  position: absolute;
  z-index: 3;
  top: 12px;
  inset-inline-end: 12px;
}

.store-product-card__wish.is-active {
  color: #dc2626;
  border-color: rgba(220, 38, 38, .22);
  background: #fff1f2;
}

.store-product-card__body,
.store-card__body {
  padding: 16px;
  display: grid;
  gap: 11px;
}

.store-product-card__meta,
.store-card__meta,
.store-product-card__rating,
.store-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--store-muted);
  font-size: .88rem;
}

.store-product-card__meta span,
.store-product-card__rating span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.store-product-card__meta .store-icon,
.store-product-card__rating .store-icon {
  width: 16px;
  height: 16px;
}

.store-stock {
  font-weight: 900;
}

.store-stock--in { color: var(--store-green-dark); }
.store-stock--low { color: var(--store-danger); }
.store-stock--soon { color: #1d4ed8; }
.store-stock--out { color: #991b1b; }

.store-product-card h3,
.store-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 900;
}

.store-product-card h3 a,
.store-card h2 a {
  color: inherit;
  text-decoration: none;
}

.store-product-card p,
.store-card p {
  margin: 0;
  color: var(--store-muted);
  line-height: 1.7;
}

.store-product-card__swatches {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
}

.store-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--store-border);
}

.store-size-chip {
  min-width: 28px;
  height: 24px;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--store-muted);
  font-size: .78rem;
  font-weight: 900;
}

.store-product-card__price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}

.store-product-card__price strong,
.store-price {
  color: var(--store-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.store-product-card__price del {
  color: var(--store-muted);
}

.store-product-card__price span {
  color: #166534;
  font-weight: 900;
}

.store-product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.store-product-card__actions form {
  display: contents;
}

.store-product-card__actions .store-btn--dark {
  grid-column: 1 / -1;
}

.store-section-empty {
  border: 1px dashed rgba(107, 114, 128, .34);
  border-radius: var(--store-radius);
  padding: 20px;
  background: rgba(255, 255, 255, .65);
  color: var(--store-muted);
  text-align: center;
  font-weight: 800;
}

.store-empty-state {
  margin: 34px 0;
  border: 1px solid var(--store-border);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 46px);
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 25% 0, rgba(112, 201, 67, .16), transparent 30%),
    #fff;
  box-shadow: var(--store-shadow-soft);
}

.store-empty-state__icon {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  color: var(--store-green-dark);
  background: rgba(112, 201, 67, .13);
}

.store-empty-state__icon span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--store-gold);
  animation: float-slow 5s ease-in-out infinite;
}

.store-empty-state__icon span:nth-child(2) { top: 10px; inset-inline-end: 8px; }
.store-empty-state__icon span:nth-child(3) { bottom: 14px; inset-inline-start: 6px; animation-delay: 400ms; }
.store-empty-state__icon span:nth-child(4) { top: 52px; inset-inline-end: -8px; animation-delay: 800ms; }

.store-empty-state p {
  max-width: 650px;
  margin: 12px auto 0;
  color: var(--store-muted);
  line-height: 1.85;
}

.store-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.store-upcoming-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.store-upcoming-card {
  min-height: 132px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 14px;
  background: #f8faf6;
}

.store-upcoming-card span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--store-green-dark);
  background: rgba(112, 201, 67, .12);
}

.store-upcoming-card strong {
  font-size: .96rem;
}

.store-upcoming-card small {
  color: var(--store-muted);
  font-weight: 800;
}

.store-drop-section {
  margin: 42px 0;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: #fff;
  background: linear-gradient(135deg, #111318, #243323);
  overflow: hidden;
}

.store-drop-section h2 {
  color: #fff;
}

.store-drop-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.8;
}

.store-countdown {
  display: grid;
  grid-template-columns: repeat(4, 92px);
  gap: 10px;
}

.store-countdown span {
  min-height: 98px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--store-radius);
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, .08);
}

.store-countdown strong {
  font-size: 2rem;
  font-weight: 900;
}

.store-countdown small {
  color: rgba(255, 255, 255, .7);
  font-weight: 800;
}

.store-custom-request {
  margin: 42px 0;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 18px;
}

.store-custom-request__intro,
.store-custom-form,
.store-newsletter,
.store-panel,
.store-summary,
.store-order-box,
.store-empty,
.store-brand {
  border: 1px solid var(--store-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 19, 24, .04);
}

.store-custom-request__intro {
  padding: 24px;
}

.store-custom-request__intro p {
  color: var(--store-muted);
  line-height: 1.85;
}

.store-custom-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  color: var(--store-green-dark);
}

.store-custom-icons .store-icon {
  width: 34px;
  height: 34px;
}

.store-custom-form {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-custom-form label,
.store-notify-modal label,
.store-checkout__form label,
.store-panel label {
  display: grid;
  gap: 6px;
  color: var(--store-muted);
  font-weight: 800;
}

.store-custom-form textarea,
.store-checkout__form textarea,
.store-panel textarea {
  min-height: 104px;
  resize: vertical;
}

.store-custom-form__full {
  grid-column: 1 / -1;
}

.store-newsletter {
  margin: 42px 0 0;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 10% 15%, rgba(112, 201, 67, .14), transparent 30%),
    #fff;
}

.store-newsletter form {
  display: flex;
  gap: 10px;
}

.store-newsletter h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
}

.store-page-head {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store-product,
.store-cart-layout,
.store-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}

.store-product__gallery {
  display: grid;
  gap: 12px;
}

.store-product__gallery img,
.store-image-placeholder {
  border: 1px solid var(--store-border);
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: #eef3eb;
}

.store-product__info {
  position: sticky;
  top: 96px;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--store-shadow-soft);
}

.store-buy-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.store-buy-form--compact {
  margin-top: 10px;
}

.store-policy-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.store-policy-strip a {
  min-height: 38px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 8px 10px;
  color: var(--store-dark);
  text-decoration: none;
  background: #f8faf6;
  font-weight: 700;
}

.store-richtext {
  color: var(--store-muted);
  line-height: 1.85;
}

.store-cart-items {
  display: grid;
  gap: 12px;
}

.store-cart-row {
  min-height: 86px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 12px;
  background: #fff;
}

.store-cart-row a {
  color: var(--store-dark);
  font-weight: 900;
  text-decoration: none;
}

.store-input--qty {
  width: 86px !important;
}

.store-summary {
  padding: 18px;
  position: sticky;
  top: 96px;
}

.store-summary dl,
.store-order-box dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
}

.store-summary dt,
.store-order-box dt {
  color: var(--store-muted);
}

.store-summary dd,
.store-order-box dd {
  margin: 0;
  font-weight: 900;
}

.store-coupon-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 16px;
}

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

.store-check {
  min-height: 44px;
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  margin: 12px 0;
  color: var(--store-muted);
  font-weight: 800;
}

.store-track,
.store-form-page {
  display: grid;
  gap: 18px;
}

.store-track__form,
.store-panel {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.store-order-box {
  padding: 20px;
}

.store-empty {
  padding: 32px;
  text-align: center;
}

.store-toast-region {
  position: fixed;
  z-index: 10000;
  inset-block-start: 92px;
  inset-inline-start: 18px;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.store-toast {
  width: min(360px, calc(100vw - 32px));
  border: 1px solid var(--store-border);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: start;
  background: #fff;
  box-shadow: var(--store-shadow);
  pointer-events: auto;
  overflow: hidden;
}

.store-toast strong {
  display: block;
}

.store-toast p {
  margin: 2px 0 0;
  color: var(--store-muted);
}

.store-toast::after {
  content: "";
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: var(--store-green);
  animation: toast-progress 4s linear both;
}

@keyframes toast-progress {
  from { width: 100%; }
  to { width: 0; }
}

.store-drawer-backdrop {
  position: fixed;
  z-index: 9990;
  inset: 0;
  background: rgba(17, 19, 24, .42);
  backdrop-filter: blur(4px);
}

.store-mini-cart {
  position: fixed;
  z-index: 9991;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(410px, 100%);
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  background: #fff;
  box-shadow: 18px 0 60px rgba(17, 19, 24, .24);
  animation: drawer-in var(--motion-slow, 480ms) var(--ease-store, ease) both;
}

.store-mini-cart__close,
.store-quick-view__close,
.store-notify-modal__close {
  justify-self: end;
}

.store-mini-cart h2 {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.store-mini-cart__actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.store-quick-view,
.store-notify-modal {
  width: min(760px, calc(100% - 28px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: #fff;
  color: var(--store-dark);
  box-shadow: var(--store-shadow);
}

.store-quick-view[open],
.store-notify-modal[open] {
  animation: modal-in var(--motion, 280ms) var(--ease-store, ease) both;
}

.store-quick-view::backdrop,
.store-notify-modal::backdrop {
  background: rgba(17, 19, 24, .48);
  backdrop-filter: blur(5px);
}

.store-quick-view {
  grid-template-columns: .9fr 1.1fr;
}

.store-quick-view[open] {
  display: grid;
}

.store-quick-view__media {
  min-height: 360px;
  display: grid;
  place-items: center;
  background: #eef3eb;
}

.store-quick-view__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-quick-view__body,
.store-notify-modal form {
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.store-notify-modal {
  padding: 12px;
  width: min(460px, calc(100% - 28px));
}

.store-bottom-nav {
  display: none;
}

.store-checkout-steps {
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.store-checkout-steps span {
  min-height: 58px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--store-muted);
  font-weight: 900;
}

.store-checkout-steps span.is-active,
.store-checkout-steps span.is-done {
  border-color: rgba(112, 201, 67, .55);
  color: var(--store-green-dark);
  background: rgba(112, 201, 67, .10);
}

.store-product-gallery-pro {
  display: grid;
  gap: 12px;
}

.store-product-gallery-pro__main {
  border: 1px solid var(--store-border);
  border-radius: 16px;
  overflow: hidden;
  background: #eef3eb;
  box-shadow: var(--store-shadow-soft);
}

.store-product-gallery-pro__main img,
.store-product-gallery-pro__main .store-product-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.store-product-gallery-pro__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.store-product-gallery-pro__thumbs button {
  border: 2px solid transparent;
  border-radius: var(--store-radius);
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
  cursor: pointer;
}

.store-product-gallery-pro__thumbs button.is-active {
  border-color: var(--store-green);
}

.store-product-gallery-pro__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-product-detail__badges,
.store-product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-product-detail__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0;
}

.store-product-detail__price strong {
  font-size: 2rem;
  font-weight: 900;
}

.store-product-detail__price del {
  color: var(--store-muted);
}

.store-stock-meter {
  margin: 10px 0;
  display: grid;
  gap: 7px;
}

.store-stock-meter span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--store-green) var(--stock-ratio), #edf0e8 var(--stock-ratio));
}

.store-stock-meter strong {
  color: var(--store-danger);
}

.store-product-detail__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.store-product-detail__specs article {
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  padding: 12px;
  display: grid;
  gap: 6px;
  background: #f8faf6;
}

.store-product-detail__specs .store-icon {
  color: var(--store-green-dark);
}

.store-product-detail__specs p {
  margin: 0;
  color: var(--store-muted);
}

.store-order-timeline {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.store-order-timeline li {
  min-height: 78px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px;
  color: var(--store-muted);
  background: #f8faf6;
  text-align: center;
  font-weight: 800;
}

.store-order-timeline li.is-done {
  color: var(--store-green-dark);
  border-color: rgba(112, 201, 67, .45);
  background: rgba(112, 201, 67, .10);
}

.store-order-timeline li.is-current {
  color: var(--store-green-dark);
  border-color: var(--store-green);
  background: #fff;
  animation: pulse-soft 1.8s var(--ease-store) infinite;
}

.store-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Shared nav/footer enhancements for the whole public site. */
.nav {
  position: sticky;
  top: 0;
}

.store-shell .nav__inner {
  gap: 12px;
}

.store-shell .nav__logo {
  min-width: 112px;
  flex: 0 0 auto;
}

.store-shell .nav__desktop {
  min-width: 0;
  flex: 1 1 auto;
}

.store-shell .nav__links {
  gap: 6px;
  flex-wrap: nowrap;
}

.nav__links a,
.nav__more-btn,
.nav__dd-item,
.nav__mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.store-shell .nav__links a,
.store-shell .nav__more-btn {
  min-height: 38px;
  padding-inline: 8px;
  white-space: nowrap;
}

.store-shell .nav__actions {
  gap: 8px;
  flex: 0 0 auto;
}

.store-shell .nav__steam-btn,
.store-shell .nav__auth .btn {
  min-height: 44px;
  white-space: nowrap;
}

.store-shell .nav__link-icon {
  color: var(--store-green-dark);
}

.nav__cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--store-border);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--store-dark);
  background: #fff;
  text-decoration: none;
}

.nav__cart-badge {
  position: absolute;
  inset-block-start: -5px;
  inset-inline-end: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  background: var(--store-green);
  color: #0c1608;
  font-size: .72rem;
  font-weight: 900;
}

.nav.scrolled .nav__inner {
  min-height: 62px;
}

.store-shell .nav--store .nav__desktop {
  flex: 0 1 auto;
}

.store-shell .nav--store .nav__store-search {
  flex: 1 1 260px;
}

@media (max-width: 1320px) {
  .store-shell .nav__steam-label {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .store-hero-pro__content > *:nth-child(1) { animation: fade-up 420ms var(--ease-store) both; }
  .store-hero-pro__content > *:nth-child(2) { animation: fade-up 420ms var(--ease-store) 100ms both; }
  .store-hero-pro__content > *:nth-child(3) { animation: fade-up 420ms var(--ease-store) 200ms both; }
  .store-hero-pro__content > *:nth-child(4) { animation: fade-up 420ms var(--ease-store) 300ms both; }
  .store-hero-stats span { animation: fade-up 420ms var(--ease-store) 360ms both; }
}
