/* ============================================================
   Boutique ComeBack RP — Tebex
   DA ComeBack : orange #E87A22 → rouge #C41E2A · fond #0A0A0C
   Les pièces restent or. Layout type boutique RP (sans catégorie Armes)
   ============================================================ */

:root {
  --brand-start: #E87A22;
  --aria-blue-start: var(--brand-start);
  --brand-end: #C41E2A;
  --aria-blue-end: var(--brand-end);
  --aria-silver: #D9D9D9;
  --aria-steel: #5A5A5A;
  --shop-gradient: linear-gradient(90deg, #E87A22 0%, #C41E2A 100%);
  --shop-red: #E87A22;
  --shop-red-dark: #C45A14;
  --shop-red-soft: rgba(232, 122, 34, 0.18);
  --shop-gold: #ffd15a;
  --shop-gold-soft: rgba(255, 209, 90, 0.16);
  --shop-green: #22c55e;
  --shop-bg: #0A0A0C;
  --shop-surface: #16120E;
  --shop-surface-2: #1C1610;
  --shop-surface-3: #241810;
  --shop-line: #2A2218;
  --shop-border: rgba(232, 122, 34, 0.35);
  --shop-text: #F0E8E0;
  --shop-muted: #A89888;
  --shop-dim: rgba(168, 152, 136, 0.65);
  --shop-radius: 14px;
  --shop-radius-sm: 10px;
  --shop-container: 1320px;
  --shop-header-h: 78px;
  --shop-font: "Inter", system-ui, sans-serif;
  --shop-display: "Rajdhani", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.shop-body,
.shop-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--shop-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--shop-text);
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(232, 122, 34, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 45% at 100% 100%, rgba(196, 30, 42, 0.1), transparent 50%),
    var(--shop-bg);
  -webkit-font-smoothing: antialiased;
}

.shop-main { position: relative; z-index: 1; }

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 122, 34, 0.4) rgba(255, 255, 255, 0.04);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.shop-container {
  width: 100%;
  max-width: var(--shop-container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Buttons ---- */
.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  border-radius: var(--shop-radius-sm);
  font-family: var(--shop-font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
}

.shop-btn--red,
.shop-btn--buy,
.shop-btn--primary {
  background: var(--shop-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 122, 34, 0.22);
}

.shop-btn--red:hover,
.shop-btn--buy:hover,
.shop-btn--primary:hover {
  background: var(--shop-gradient);
  filter: brightness(1.08);
  color: #fff;
}

.shop-btn--login {
  background: var(--shop-gradient);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--shop-radius-sm);
  font-size: 0.8125rem;
  box-shadow: 0 6px 18px rgba(232, 122, 34, 0.2);
}
.shop-btn--login:hover { filter: brightness(1.08); color: #fff; }

.shop-btn--ghost {
  background: transparent;
  color: var(--shop-text);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}

.shop-btn--ghost:hover { border-color: #fff; color: #fff; }

.shop-btn--outline {
  background: transparent;
  color: var(--shop-text);
  border: 1px solid var(--shop-border);
}

.shop-btn--outline:hover { border-color: var(--shop-red); color: #fff; }

.shop-btn--sm { padding: 8px 14px; font-size: 0.75rem; }
.shop-btn--lg { padding: 14px 28px; font-size: 0.9375rem; }
.shop-btn--block { width: 100%; }
.shop-btn--danger { background: #7f1d1d; color: #fff; }
.shop-card__footer .shop-btn--buy { padding: 9px 14px; font-size: 0.75rem; }

.shop-icon { width: 1.1em; height: 1.1em; fill: currentColor; flex-shrink: 0; }

.shop-btn--icon {
  width: 36px;
  height: 36px;
  padding: 0;
}
.shop-btn--icon svg { width: 16px; height: 16px; display: block; }

.shop-coin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe566, #e6b800 42%, #b8860b);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25), 0 0 0 1px rgba(255, 204, 0, 0.35);
}

/* ---- Header ---- */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--shop-line);
}

.shop-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 28px;
  min-height: var(--shop-header-h);
}

.shop-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  flex-shrink: 0;
}

.shop-brand__logo { height: 44px; width: 44px; object-fit: cover; border-radius: 50%; background: transparent; }

.shop-brand__mark {
  width: 34px;
  height: 38px;
  flex-shrink: 0;
}

.shop-brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.shop-brand__name strong {
  font-family: var(--shop-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-brand__name span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cfcfcf;
}

.shop-server {
  position: relative;
  flex-shrink: 0;
}

.shop-server .shop-dropdown__menu {
  right: auto;
  left: 0;
}

.shop-server__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #1C1610;
  border: 1px solid #2a2a2a;
  border-radius: 100px;
  color: #ddd;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.shop-server__btn:hover { color: #fff; }

.shop-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.shop-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.shop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-wrap: wrap;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  min-height: 46px;
  gap: 8px;
}

.shop-nav__link {
  position: relative;
  padding: 13px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff !important;
  cursor: pointer;
}

.shop-nav__link:hover { color: #fff !important; opacity: 0.8; }

.shop-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--shop-gradient);
  box-shadow: 0 0 10px rgba(232, 122, 34, 0.7);
}

.shop-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.shop-dropdown { position: relative; }
.shop-dropdown:not(.shop-cart):hover .shop-dropdown__menu,
.shop-dropdown.is-open .shop-dropdown__menu,
.shop-server.is-open .shop-dropdown__menu { display: block; }

.shop-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  padding: 6px;
  background: #16120E;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  z-index: 50;
}

.shop-dropdown__item {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--shop-muted) !important;
}

.shop-dropdown__item:hover,
.shop-dropdown__item.is-active {
  background: #1C1610;
  color: #fff !important;
}

.shop-nav__drop { position: relative; }
.shop-nav__drop-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}
.shop-nav__drop .shop-dropdown__menu {
  left: 0;
  right: auto;
  min-width: 188px;
}

.shop-currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.shop-unions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.shop-unions:hover { color: #fff; opacity: 0.85; }
.shop-unions.is-active { color: var(--shop-gold); }
.shop-unions--gold {
  padding: 8px 14px;
  border: 1px solid rgba(232, 122, 34, 0.45);
  border-radius: 8px;
  background: rgba(232, 122, 34, 0.12);
}
.shop-unions--gold:hover { background: rgba(196, 30, 42, 0.16); opacity: 1; }

.shop-unions__plus {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--shop-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.shop-cart__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #16120E;
  border: 1px solid var(--shop-border);
  border-radius: 10px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.shop-cart__btn:hover,
.shop-cart.is-open .shop-cart__btn {
  border-color: var(--shop-red);
  background: #1C1610;
}
.shop-cart__ico {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--shop-red);
}
.shop-cart__ico svg { width: 18px; height: 18px; display: block; }
.shop-cart__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--shop-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.shop-cart__menu {
  min-width: 320px;
  width: 340px;
  padding: 0;
  background: #16120E;
  border: 1px solid rgba(232, 122, 34, 0.32);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
}
.shop-cart__head {
  padding: 14px 16px 10px;
  font-family: var(--shop-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.shop-cart__list {
  max-height: 280px;
  overflow-y: auto;
  padding: 0 8px 8px;
}
.shop-cart__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.8125rem;
}
.shop-cart__item:hover { background: rgba(232, 122, 34, 0.08); }
.shop-cart__thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #1C1610;
  border: 1px solid var(--shop-border);
  flex-shrink: 0;
}
.shop-cart__thumb--ph {
  display: grid;
  place-items: center;
  color: var(--shop-red);
  font-size: 0.7rem;
  font-weight: 800;
}
.shop-cart__item-info { flex: 1; min-width: 0; }
.shop-cart__item-name {
  display: block;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-cart__item-price {
  display: block;
  margin-top: 2px;
  color: var(--shop-muted);
  font-size: 0.75rem;
}
.shop-cart__remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--shop-dim);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.shop-cart__remove:hover { background: rgba(127, 29, 29, 0.45); color: #fff; }
.shop-cart__empty {
  margin: 0;
  padding: 8px 16px 16px;
  color: var(--shop-muted);
  font-size: 0.8125rem;
}
.shop-cart__footer {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--shop-border);
  background: rgba(10, 10, 12, 0.55);
}
.shop-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--shop-muted);
}
.shop-cart__total strong { color: #fff; font-size: 1rem; }
.shop-cart__footer .shop-btn + .shop-btn { margin-top: 8px; }

.shop-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1400;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #0A0A0C;
  border: 1px solid rgba(232, 122, 34, 0.4);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.shop-toast.is-on {
  opacity: 1;
  transform: none;
}

.shop-user { display: flex; align-items: center; gap: 8px; }
.shop-user__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--shop-green); }
.shop-user__name { font-size: 0.8125rem; color: var(--shop-muted); max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Alert ---- */
.shop-alert {
  background: var(--shop-red-soft);
  border-bottom: 1px solid rgba(230, 30, 50, 0.35);
  padding: 12px 0;
  text-align: center;
  font-size: 0.875rem;
}

/* ---- Hero boutique ---- */
.shop-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 40px 0 28px;
}

.shop-hero__title {
  margin: 0 0 18px;
  font-family: var(--shop-display);
  font-size: clamp(4.5rem, 11vw, 8.2rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0.02em;
}

.shop-hero__sub {
  margin: 0 0 22px;
  font-size: 1.25rem;
  font-weight: 500;
}

.shop-hero__sub em {
  font-style: normal;
  border-bottom: 2px solid var(--shop-red);
  padding-bottom: 1px;
}

.shop-hero__desc {
  margin: 0 0 36px;
  max-width: 520px;
  font-size: 0.9375rem;
  color: var(--shop-muted);
  line-height: 1.7;
}

.shop-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 22px;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius-sm);
  background: rgba(232, 122, 34, 0.08);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.shop-hero__cta:hover {
  border-color: rgba(232, 122, 34, 0.7);
  background: rgba(232, 122, 34, 0.14);
}

.shop-hero__cta-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(232, 122, 34, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--shop-red);
}

.shop-bestsellers {
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  padding: 24px 24px 20px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.shop-bestsellers__title {
  margin: 0 0 12px;
  font-family: var(--shop-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.shop-bestsellers__track {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(232, 122, 34, 0.12), transparent 60%),
    var(--shop-surface-2);
  border-radius: var(--shop-radius-sm);
  border: 1px solid rgba(232, 122, 34, 0.12);
}

.shop-bestsellers__slide {
  display: none;
  width: 100%;
  text-align: center;
  padding: 20px 16px 12px;
}

.shop-bestsellers__slide.is-active { display: block; }

.shop-bestsellers__slide img {
  max-height: 240px;
  width: auto;
  max-width: 88%;
  margin: 0 auto;
  object-fit: contain;
}

.shop-bestsellers__placeholder {
  width: min(260px, 70%);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.35), transparent 55%),
    linear-gradient(180deg, #1C1610, #0A0A0C);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: var(--shop-display);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
}

.shop-bestsellers__badge {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--shop-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-bestsellers__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.shop-bestsellers__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.shop-bestsellers__dot.is-active {
  background: var(--shop-red);
  border-color: var(--shop-red);
}

/* ---- Page titles ---- */
.shop-page-title {
  margin: 0;
  padding: 48px 0 36px;
  font-family: var(--shop-display);
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.shop-page-title--center { text-align: center; }

.shop-page-lead {
  margin: -18px auto 28px;
  max-width: 640px;
  text-align: center;
  color: var(--shop-muted);
  font-size: 0.95rem;
}

/* ---- Product cards ---- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-bottom: 80px;
}

.shop-grid--3 { grid-template-columns: repeat(3, 1fr); }

.shop-card {
  display: flex;
  flex-direction: column;
  background: #16120E;
  border: 1px solid rgba(232, 122, 34, 0.45);
  box-shadow:
    0 0 0 1px rgba(232, 122, 34, 0.16),
    inset 0 0 24px rgba(232, 122, 34, 0.05);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 100%;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.shop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 30, 42, 0.7);
  box-shadow:
    0 0 0 1px rgba(196, 30, 42, 0.25),
    0 0 22px rgba(232, 122, 34, 0.4);
}

.shop-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0A0A0C;
  overflow: hidden;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px 16px 8px;
  transition: transform 0.35s ease;
}
.shop-card:hover .shop-card__media img { transform: scale(1.06); }

.shop-card--vehicle .shop-card__media,
.shop-card--objet .shop-card__media,
.shop-card--pack .shop-card__media,
.shop-card--vip .shop-card__media {
  background:
    radial-gradient(circle at 50% 58%, rgba(232, 122, 34, 0.2), transparent 58%),
    linear-gradient(180deg, #1C1610, #0A0A0C);
}

.shop-card--objet .shop-card__media { aspect-ratio: 1 / 0.92; }
.shop-card--pack .shop-card__media { aspect-ratio: 16 / 10; }
.shop-card--vip .shop-card__media { aspect-ratio: 1 / 1; }

.shop-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 4px;
  flex: 1;
}

.shop-card__type {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(232, 122, 34, 0.14);
  border: 1px solid rgba(232, 122, 34, 0.28);
  color: var(--shop-red);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-card__title {
  margin: 0;
  font-family: var(--shop-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
}
.shop-card__title small {
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shop-gold);
}

.shop-card__excerpt {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--shop-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card__name {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.shop-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 50%;
  background: var(--shop-green);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-card__limit {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: #000;
  border: 1px solid var(--shop-red);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
  margin-top: auto;
}

.shop-card__price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
}

.shop-card__overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.shop-card__footer .shop-btn { position: relative; z-index: 2; }

.shop-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shop-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(232, 122, 34, 0.45);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(232, 122, 34, 0.12), transparent 55%),
    linear-gradient(160deg, #1C1610, #0A0A0C);
}

/* ---- VIP / Abonnements compare ---- */
.shop-subs { padding-bottom: 80px; }

.shop-subs__table {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #0d0d0d;
}

.shop-subs__head,
.shop-subs__row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(160px, 1fr));
  min-width: 820px;
}

.shop-subs__head { align-items: stretch; }

.shop-subs__corner {
  background: #0a0a0a;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-subs__tier {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 14px 20px;
  text-align: center;
  background: #111;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-subs__tier--best {
  background: #14110c;
  box-shadow: inset 0 0 0 2px rgba(232, 122, 34, 0.85);
}

.shop-subs__best {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 6px 8px;
  background: linear-gradient(90deg, #E87A22, #C41E2A);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.shop-subs__name {
  font-family: var(--shop-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
}

.shop-subs__name--classique {
  color: #ffd15a;
  text-shadow: 0 0 18px rgba(255, 209, 90, 0.25);
}
.shop-subs__name--soutien {
  color: #E87A22;
  text-shadow: 0 0 18px rgba(232, 122, 34, 0.3);
}
.shop-subs__name--donateur {
  background: linear-gradient(180deg, #ffb347, #C41E2A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(196, 30, 42, 0.35));
}

.shop-subs__price {
  display: block;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ddd;
}
.shop-subs__price s {
  color: #777;
  margin-right: 6px;
  font-weight: 500;
}

.shop-subs__buy { min-width: 110px; }

.shop-subs__label {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: #0a0a0a;
  font-size: 0.8125rem;
  color: #ddd;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-subs__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  font-weight: 600;
  background: #101010;
  color: #eee;
}

.shop-subs__row:nth-child(even) .shop-subs__label,
.shop-subs__row:nth-child(even) .shop-subs__cell { background: #151515; }

.shop-subs__cell--best {
  box-shadow: inset 2px 0 0 rgba(232, 122, 34, 0.7), inset -2px 0 0 rgba(232, 122, 34, 0.7);
  background: #16120e !important;
}

.shop-check { color: #22c55e; font-size: 1.05rem; font-weight: 800; }
.shop-dash { color: #555; }

@media (max-width: 900px) {
  .shop-subs__head,
  .shop-subs__row {
    grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(140px, 1fr));
    min-width: 720px;
  }
}

/* ---- Category page ---- */
.shop-catpage { padding-bottom: 40px; }
.shop-catpage__header { margin-bottom: 8px; }
.shop-catpage .shop-page-title { padding-bottom: 20px; }
.shop-catpage__header--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.shop-catpage__header--row .shop-page-title {
  padding-bottom: 12px;
  margin: 0;
}
.shop-catpage__aside {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.95rem;
  max-width: 360px;
  text-align: right;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 12px 14px;
  background: rgba(22, 18, 14, 0.9);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
}

.shop-search { flex: 1; min-width: 220px; position: relative; }

.shop-search__input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: #16120E;
  border: 1px solid var(--shop-border);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
}

.shop-search__input:focus {
  outline: none;
  border-color: var(--shop-red);
}

.shop-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--shop-red);
  font-size: 0.95rem;
  pointer-events: none;
}

.shop-sort {
  position: relative;
  flex-shrink: 0;
}

.shop-sort__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 228px;
  padding: 10px 12px 10px 12px;
  background: linear-gradient(180deg, #1C1610 0%, #16120E 100%);
  border: 1px solid var(--shop-border);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.shop-sort__btn:hover,
.shop-sort.is-open .shop-sort__btn {
  border-color: var(--shop-red);
  background: #1C1610;
  box-shadow: 0 0 0 3px rgba(232, 122, 34, 0.12);
}
.shop-sort__btn-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(232, 122, 34, 0.12);
  color: var(--shop-red);
  flex-shrink: 0;
}
.shop-sort__btn-ico svg { width: 14px; height: 14px; display: block; }
.shop-sort__btn-label { flex: 1; text-align: left; letter-spacing: 0.01em; }
.shop-sort__chevron {
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid var(--shop-red);
  border-bottom: 2px solid var(--shop-red);
  transform: rotate(45deg) translate(-1px, -3px);
  transition: transform 0.2s;
  opacity: 0.85;
}
.shop-sort.is-open .shop-sort__chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.shop-sort__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 40;
  width: max(100%, 268px);
  padding: 8px;
  background: #16120E;
  border: 1px solid rgba(232, 122, 34, 0.32);
  border-radius: 14px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.shop-sort.is-open .shop-sort__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.shop-sort__option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--shop-muted);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.shop-sort__option-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--shop-red);
  flex-shrink: 0;
}
.shop-sort__option-ico svg { width: 15px; height: 15px; display: block; }
.shop-sort__option-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.shop-sort__option-text strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: inherit;
}
.shop-sort__option-text small {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--shop-dim);
}
.shop-sort__check {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
}
.shop-sort__option:hover {
  background: rgba(232, 122, 34, 0.1);
  color: #fff;
}
.shop-sort__option.is-active {
  background: var(--shop-red-soft);
  color: #fff;
}
.shop-sort__option.is-active .shop-sort__option-ico {
  background: rgba(232, 122, 34, 0.28);
  color: #fff;
}
.shop-sort__option.is-active .shop-sort__check {
  background: #E87A22;
  box-shadow: 0 0 0 4px rgba(232, 122, 34, 0.18);
}
.shop-sort__option.is-active .shop-sort__option-text small { color: var(--shop-red); }

.shop-product-count {
  margin: 0 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--shop-dim);
  white-space: nowrap;
}

.shop-empty {
  text-align: center;
  padding: 72px 24px;
  border: 1px dashed rgba(232, 122, 34, 0.28);
  border-radius: var(--shop-radius);
  color: var(--shop-muted);
  background: rgba(22, 18, 14, 0.55);
}
.shop-empty__cta { margin-top: 16px; }
.shop-coupon-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

.shop-empty__title { font-family: var(--shop-display); font-size: 2rem; color: #fff; margin: 0 0 8px; }

/* ---- Package page ---- */
.shop-package-page { padding: 32px 0 120px; }

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: var(--shop-muted);
}

.shop-breadcrumb a { color: var(--shop-muted) !important; }
.shop-breadcrumb a:hover { color: #fff !important; }
.shop-breadcrumb__current { color: #fff; }

.shop-package-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  margin-bottom: 40px;
}

.shop-package-gallery {
  background: #16120E;
  border: 1px solid var(--shop-border);
  border-radius: 12px;
  overflow: hidden;
}

.shop-package-gallery img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 55%, rgba(232, 122, 34, 0.16), transparent 60%),
    #16120E;
}

.shop-package-gallery--placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-package-hero__buy {
  padding: 28px;
  background: linear-gradient(180deg, #1C1610, #0A0A0C);
  border: 1px solid rgba(232, 122, 34, 0.35);
  border-radius: 16px;
  position: sticky;
  top: calc(var(--shop-header-h) + 16px);
}

.shop-package-hero__title {
  margin: 8px 0 10px;
  font-family: var(--shop-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
}

.shop-package-hero__lead {
  margin: 0 0 18px;
  color: var(--shop-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.shop-package-hero__price {
  margin-bottom: 18px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.shop-package-perks {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-package-perks li {
  position: relative;
  padding: 8px 10px 8px 32px;
  background: rgba(232, 122, 34, 0.08);
  border: 1px solid rgba(232, 122, 34, 0.16);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #d7e6ff;
}
.shop-package-perks li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  color: var(--shop-green);
  font-weight: 800;
}

.shop-package-hero__actions { display: flex; flex-direction: column; gap: 10px; }

.shop-package-hero__notice {
  margin: 16px 0 0;
  padding: 12px;
  background: var(--shop-red-soft);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--shop-muted);
}

.shop-package-detail {
  padding: 28px;
  background: #16120E;
  border: 1px solid var(--shop-border);
  border-radius: 12px;
}

.shop-package-detail__heading {
  margin: 0 0 16px;
  font-family: var(--shop-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.shop-package-detail__content { color: var(--shop-muted); line-height: 1.75; }
.shop-package-detail__content img { max-width: 100%; border-radius: 8px; }

.shop-package-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  transform: translateY(110%);
  transition: transform 0.25s;
  background: rgba(0, 0, 0, 0.94);
  border-top: 1px solid var(--shop-border);
}

.shop-package-sticky.is-visible { transform: translateY(0); }

.shop-package-sticky__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}

.shop-package-sticky__thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.shop-package-sticky__info { flex: 1; min-width: 0; }
.shop-package-sticky__name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-package-sticky__actions { display: flex; gap: 8px; }

/* ---- Checkout / panels ---- */
.shop-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
  padding: 40px 0 80px;
}
.shop-checkout__main,
.shop-checkout__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shop-checkout__side { position: sticky; top: calc(var(--shop-header-h) + 16px); }
.shop-checkout--empty {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.shop-basket-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--shop-border);
}
.shop-basket-item:last-child { border-bottom: none; padding-bottom: 0; }
.shop-basket-item:first-child { padding-top: 0; }
.shop-basket-item__thumb {
  width: 72px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #1C1610;
  border: 1px solid var(--shop-border);
  flex-shrink: 0;
}
.shop-basket-item__body { flex: 1; min-width: 0; }
.shop-basket-item__name {
  display: block;
  font-weight: 700;
}
.shop-basket-item__meta {
  display: block;
  margin-top: 2px;
  color: var(--shop-muted);
  font-size: 0.75rem;
}
.shop-basket-item__price {
  font-family: var(--shop-display);
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}
.shop-checkout__note {
  margin: 0 0 16px;
  color: var(--shop-muted);
  font-size: 0.875rem;
}

.shop-panel {
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.shop-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: var(--shop-surface-2);
  border-bottom: 1px solid var(--shop-border);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-panel__body { padding: 22px; }

.shop-table { width: 100%; border-collapse: collapse; }
.shop-table th, .shop-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--shop-border);
}
.shop-table th { font-size: 0.75rem; text-transform: uppercase; color: var(--shop-muted); }

.shop-form-group,
.form-group { margin-bottom: 16px; }
.shop-form-group label,
.form-group label,
.shop-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--shop-muted);
}

.shop-coupon-form { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-coupon-form .form-control { flex: 1; min-width: 180px; }

.form-control {
  background: #0A0A0C !important;
  border: 1px solid var(--shop-border) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
}

.form-control:focus {
  border-color: var(--shop-red) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px var(--shop-red-soft) !important;
}

.btn-primary, .btn-success, .btn-info {
  background: var(--shop-red) !important;
  border: none !important;
  border-radius: 6px !important;
}

/* ---- Login ---- */
.shop-login {
  position: relative;
  min-height: calc(100vh - var(--shop-header-h) - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 80px;
}

.shop-login__card {
  width: 100%;
  max-width: 440px;
  padding: 40px 36px 32px;
  background: #16120E;
  border: 1px solid var(--shop-border);
  border-radius: 12px;
  text-align: center;
}

.shop-login__title {
  font-family: var(--shop-display);
  font-size: 2.4rem;
  margin: 8px 0 12px;
  letter-spacing: 0.04em;
}

.shop-login__desc { color: var(--shop-muted); margin: 0 0 24px; }
.shop-login__footer { margin-top: 24px; }
.shop-login__footer a { color: var(--shop-muted) !important; }
.shop-login__footer a:hover { color: #fff !important; }

.shop-login__form--tebex a.btn,
.shop-login__form--tebex .btn,
.shop-login__form--tebex button,
.shop-login__form--tebex input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px !important;
  background: var(--shop-red) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 6px !important;
}

/* ---- Modules ---- */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.shop-module {
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.shop-module__header {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--shop-border);
  background: #0A0A0C;
}

.shop-module__body { padding: 12px; }

.shop-payment {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--shop-border);
}

.shop-payment:last-child { border-bottom: none; }
.shop-payment__name { display: block; font-size: 0.8125rem; font-weight: 600; }
.shop-payment__package { display: block; font-size: 0.75rem; color: var(--shop-dim); }
.shop-payment__price { color: var(--shop-red); font-weight: 700; font-size: 0.8125rem; }

.shop-payment__avatar,
.shop-donor__avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--shop-red-soft);
  color: var(--shop-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  overflow: hidden;
}

.shop-donor { display: flex; align-items: center; gap: 12px; }
.shop-donor__crown {
  color: var(--shop-gold);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.shop-donor__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--aria-blue-start), var(--aria-blue-end));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  object-fit: cover;
}
.shop-donor__avatar--img { background: var(--shop-surface-2); }
.shop-donor__name { display: block; font-weight: 700; }
.shop-donor__amount { color: var(--shop-gold); font-weight: 700; }
.shop-donor__period { display: block; font-size: 0.75rem; color: var(--shop-dim); }
.shop-module__empty { margin: 0; color: var(--shop-muted); font-size: 0.875rem; }

.shop-live { padding: 8px 0 72px; }
.shop-live--top { padding: 28px 0 8px; }
.shop-live--mid { padding: 12px 0 36px; }
.shop-live__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.shop-live__head h2 {
  margin: 0;
  font-family: var(--shop-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}
.shop-live__head p { margin: 0; color: var(--shop-muted); font-size: 0.95rem; }
.shop-live__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.shop-live .shop-module { margin-bottom: 0; background: var(--shop-surface); }

.shop-module__empty,
.shop-payments__empty {
  margin: 0;
  padding: 12px;
  text-align: center;
  color: var(--shop-dim);
  font-size: 0.8125rem;
}

.shop-textbox { font-size: 0.875rem; color: var(--shop-muted); }
.shop-textbox a { color: var(--shop-red); }

.shop-sidebar--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.shop-layout__main { min-width: 0; }

/* ---- Footer ---- */
.shop-footer {
  border-top: 1px solid var(--shop-border);
  padding: 40px 0 28px;
  background: #080808;
}

.shop-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.shop-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.shop-footer__brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.shop-footer__tagline { color: var(--shop-muted); font-size: 0.875rem; max-width: 280px; }
.shop-footer__heading {
  display: block;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-footer__links { display: flex; flex-direction: column; gap: 10px; }
.shop-footer__links a { color: var(--shop-muted) !important; font-size: 0.875rem; }
.shop-footer__links a:hover { color: #fff !important; }

.shop-footer__bottom {
  padding-top: 20px;
  border-top: 1px solid var(--shop-border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--shop-dim);
}

/* ---- Modal ---- */
.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.shop-modal.is-open,
#popup-modal.is-open,
#popup-modal.in,
#popup-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#popup-modal.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
#popup-modal.modal.in,
#popup-modal.modal.show,
#popup-modal.modal.is-open {
  display: flex;
}
body.shop-modal-open { overflow: hidden; }

.shop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.shop-modal__dialog,
#popup-modal .modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  margin: 0 auto;
}

.shop-modal__content,
#popup-modal .modal-content {
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.shop-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--shop-border);
  background: #0A0A0C;
  color: #fff;
  cursor: pointer;
}

.modal-content {
  background: #16120E !important;
  border: 1px solid var(--shop-border) !important;
  color: #fff !important;
}

.modal-title { color: #fff !important; }
.modal-body { color: var(--shop-muted) !important; }

/* ---- Coins packs ---- */
.shop-coins-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin: 8px 0 40px;
  padding: 28px 32px;
  border: 1px solid rgba(232, 122, 34, 0.45);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 50%, rgba(196, 30, 42, 0.14), transparent 46%),
    radial-gradient(circle at 8% 0%, rgba(232, 122, 34, 0.18), transparent 42%),
    linear-gradient(120deg, #0A0A0C, #16120E 55%, #1C1610);
}
.shop-coins-hero h2 {
  margin: 0 0 10px;
  font-family: var(--shop-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
}
.shop-coins-hero p { margin: 0; color: var(--shop-muted); max-width: 520px; }
.shop-coins-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-coins-hero__visual img {
  max-height: 240px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.45));
}

.shop-grid--coins {
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}
@media (max-width: 1280px) {
  .shop-grid--coins { grid-template-columns: repeat(3, 1fr); }
}

.shop-card--coins {
  background: linear-gradient(180deg, #1C1610, #16120E);
  border: 1px solid var(--shop-border);
}
.shop-card--coins.is-best,
.shop-card--vip.is-best {
  border-color: rgba(196, 30, 42, 0.7);
  box-shadow: 0 0 0 1px rgba(196, 30, 42, 0.25), 0 0 22px rgba(232, 122, 34, 0.35);
}
.shop-card--coins.is-popular { border-color: rgba(232, 122, 34, 0.55); }
.shop-card--coins .shop-card__media {
  aspect-ratio: 1 / 0.95;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px 4px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 204, 0, 0.16), transparent 52%),
    linear-gradient(180deg, #1C1610, #0A0A0C);
}
.shop-card--coins .shop-card__media img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 210px;
  padding: 0;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45));
}
.shop-card--coins .shop-card__name { display: none; }

.shop-card__ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--shop-gold);
  color: #1a1400;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}
.shop-card__ribbon--blue {
  background: var(--shop-red);
  color: #fff;
}
.shop-card__bonus {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 800;
}

.shop-coin-stack {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 8px auto 10px;
}
.shop-gold-coin {
  position: absolute;
  left: 50%;
  width: 58px;
  height: 58px;
  margin-left: -29px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff6b0, #ffcc00 38%, #c49200 70%, #8a6500);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.45),
    inset 0 -4px 6px rgba(0,0,0,0.28),
    0 6px 12px rgba(0,0,0,0.35);
  border: 2px solid rgba(255, 236, 160, 0.55);
}
.shop-gold-coin::after {
  content: "A";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shop-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: rgba(90, 60, 0, 0.78);
}
.shop-gold-coin:nth-child(1) { bottom: 0; z-index: 1; }
.shop-gold-coin:nth-child(2) { bottom: 10px; z-index: 2; }
.shop-gold-coin:nth-child(3) { bottom: 20px; z-index: 3; }
.shop-gold-coin:nth-child(4) { bottom: 30px; z-index: 4; }
.shop-gold-coin:nth-child(5) { bottom: 40px; z-index: 5; }

.shop-coinpack__amount {
  margin: 4px 0 0;
  font-family: var(--shop-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}
.shop-coinpack__label {
  margin: 4px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shop-gold);
}

.shop-package-gallery--coins {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 204, 0, 0.16), transparent 55%),
    #16120E;
}
.shop-package-gallery--coins .shop-coin-stack { transform: scale(1.45); margin-bottom: 36px; }

.shop-bestsellers__slide img {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}
.shop-bestsellers__caption {
  margin: 14px 0 0;
  font-family: var(--shop-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.shop-cattabs {
  border-bottom: 1px solid var(--shop-border);
  background: rgba(10, 10, 12, 0.88);
}
.shop-cattabs__inner {
  display: flex;
  gap: 8px;
  max-width: var(--shop-container);
  margin: 0 auto;
  padding: 12px 32px 16px;
  overflow-x: auto;
}
.shop-cattabs__link {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--shop-border);
  background: var(--shop-surface);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--shop-muted) !important;
}
.shop-cattabs__link:hover,
.shop-cattabs__link.is-active {
  border-color: var(--shop-red);
  color: #fff !important;
  background: var(--shop-red-soft);
}

.shop-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.shop-btn--cart {
  background: transparent;
  color: #fff;
  border: 1px solid var(--shop-border);
}
.shop-btn--cart:hover { border-color: #fff; color: #fff; }

.shop-card__perks {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shop-card__perks li {
  position: relative;
  padding-left: 16px;
  font-size: 0.75rem;
  color: var(--shop-muted);
  line-height: 1.35;
}
.shop-card__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shop-red);
}

.shop-grid--home {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 880px;
}
.shop-home-block { padding: 0 0 36px; }
.shop-home-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.shop-home-block__head h2 {
  margin: 0;
  font-family: var(--shop-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.shop-home-block__head a {
  color: var(--shop-red) !important;
  font-size: 0.875rem;
  font-weight: 600;
}
.shop-home-block__head a:hover { color: #fff !important; }

.shop-discord-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 48px;
  padding: 22px 28px;
  border: 1px solid var(--shop-border);
  border-radius: 16px;
  background: var(--shop-surface);
}
.shop-discord-cta p { margin: 0; color: var(--shop-muted); max-width: 560px; }
.shop-discord-cta strong { color: #fff; }

.shop-package-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--shop-border);
  background: var(--shop-surface-2);
}
.shop-package-footer__price {
  font-family: var(--shop-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.shop-package-footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.shop-package-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 18px;
  border-radius: var(--shop-radius-sm);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(232, 122, 34, 0.14), transparent 55%),
    var(--shop-surface-2);
  border: 1px solid rgba(232, 122, 34, 0.12);
}

.shop-package-modal__media img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--shop-border);
  background: var(--shop-surface-2);
}
.modal-header .close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
}
.modal-header .close:hover { opacity: 1; }
.modal-title {
  margin: 0;
  font-family: var(--shop-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.modal-body { padding: 22px; color: var(--shop-muted); }
.modal-body img { max-width: 100%; border-radius: var(--shop-radius-sm); }
.modal-body p { margin: 0 0 12px; }
.modal-body p:last-child { margin-bottom: 0; }

.shop-catpage__banner {
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--shop-border);
  background: #16120E;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-catpage__banner img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  padding: 16px;
}

.shop-pcard__price-old {
  text-decoration: line-through;
  color: var(--shop-dim);
  font-size: 0.8rem;
  margin-right: 6px;
}

/* Compat anciens sélecteurs JS / preview */
.fafa-body { }
.fafa-header { }
.fafa-nav-open .shop-nav { display: flex; }
.fafa-dropdown { position: relative; }
.fafa-pcard { }
.fafa-modal { }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid--coins { grid-template-columns: repeat(3, 1fr); }
  .shop-hero { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding: 48px 0 64px; }
  .shop-coins-hero { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .shop-grid,
  .shop-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar--stack { position: static; }
  .shop-package-hero { grid-template-columns: 1fr; }
  .shop-package-hero__buy { position: static; }
  .shop-footer__grid { grid-template-columns: 1fr 1fr; }
  .shop-header__inner { flex-wrap: wrap; }
  .shop-nav-toggle { display: flex; }
  .shop-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 10;
    border-radius: 10px;
    padding: 8px;
  }
  .shop-nav-open .shop-nav,
  body.shop-nav-open .shop-nav { display: flex; }
  .shop-server { display: none; }
  .shop-checkout { grid-template-columns: 1fr; }
  .shop-checkout__side { position: static; }
}

@media (max-width: 640px) {
  .shop-grid,
  .shop-grid--3,
  .shop-grid--coins { grid-template-columns: 1fr; }
  .shop-actions .shop-unions span:last-child { display: none; }
  .shop-footer__grid { grid-template-columns: 1fr; }
  .shop-container { padding: 0 18px; }
  .shop-header__inner { padding: 12px 16px; }
  .shop-sort { width: 100%; }
  .shop-sort__btn { width: 100%; }
  .shop-sort__menu { left: 0; right: 0; width: auto; }
  .shop-cart__btn span:not(.shop-cart__badge):not(.shop-cart__ico) { display: none; }
  .shop-cart__menu { width: min(340px, calc(100vw - 24px)); min-width: 0; }
}

.shop-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shop-red);
}
.shop-eyebrow--center { display: flex; justify-content: center; }

.shop-section-title {
  margin: 0 0 28px;
  font-family: var(--shop-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.shop-hero--split {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: none;
  min-height: 480px;
  padding: 64px 0 48px;
}
.shop-hero--split .shop-hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.shop-hero--split .shop-hero__title em {
  font-style: normal;
  color: #C41E2A;
}
.shop-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.shop-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.shop-hero__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 122, 34, 0.35), transparent 70%);
  filter: blur(36px);
}
.shop-hero__logo {
  position: relative;
  width: min(100%, 360px);
  filter: drop-shadow(0 0 36px rgba(232, 122, 34, 0.35));
}

.shop-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 0 64px;
}
.shop-stat {
  padding: 22px 18px;
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
}
.shop-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--shop-red-soft);
  color: var(--shop-red);
  font-size: 0.85rem;
  font-weight: 800;
}
.shop-stat__title {
  display: block;
  margin-bottom: 6px;
  font-family: var(--shop-display);
  font-weight: 700;
}
.shop-stat__desc { font-size: 0.8125rem; color: var(--shop-muted); line-height: 1.5; }

.shop-browse { padding: 0 0 64px; }
.shop-browse__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.shop-bcat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  background: var(--shop-surface);
  color: inherit !important;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.shop-bcat:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 122, 34, 0.5);
}
.shop-bcat__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background:
    radial-gradient(circle at 50% 40%, rgba(232, 122, 34, 0.22), transparent 62%),
    #0A0A0C;
}
.shop-bcat__media img { width: min(46%, 160px); height: auto; }
.shop-bcat__body { padding: 18px 20px 22px; }
.shop-bcat__body h3 {
  margin: 6px 0 14px;
  font-family: var(--shop-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.shop-faq { padding: 0 0 64px; }
.shop-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.shop-faq__item {
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius-sm);
}
.shop-faq__item summary {
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.shop-faq__item summary::-webkit-details-marker { display: none; }
.shop-faq__item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.875rem;
  color: var(--shop-muted);
}

.shop-community {
  margin-bottom: 72px;
  padding: 44px 32px;
  text-align: center;
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
}
.shop-community__title {
  margin: 0 0 10px;
  font-family: var(--shop-display);
  font-size: 1.75rem;
  font-weight: 800;
}
.shop-community__desc { margin: 0 auto 22px; max-width: 520px; color: var(--shop-muted); }

@media (max-width: 900px) {
  .shop-hero--split,
  .shop-hero--unity,
  .shop-stats,
  .shop-browse__grid,
  .shop-faq__grid { grid-template-columns: 1fr; }
  .shop-hero--split { min-height: auto; }
}

/* ---- Layout boutique RP (DA ComeBack) ---- */
.shop-nav--pills .shop-nav__link,
.shop-nav--pills .shop-nav__drop-btn {
  background: rgba(17, 28, 38, 0.85);
  border: 1px solid var(--shop-border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.shop-nav--pills .shop-nav__link.is-active {
  background: var(--shop-red-soft);
  border-color: var(--shop-red);
}

.shop-nav--pills .shop-nav__link.is-active::after { display: none; }

.shop-btn--login {
  transform: skewX(-12deg);
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-hero--unity {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 40px;
}

.shop-hero--unity .shop-hero__title {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.shop-hero--unity .shop-hero__sub em {
  border-bottom: none;
  background: linear-gradient(transparent 62%, var(--shop-red) 62%, var(--shop-red) 78%, transparent 78%);
}

.shop-products {
  padding: 28px 0 80px;
}

.shop-products__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.shop-products__head h2 {
  margin: 0;
  font-family: var(--shop-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.9;
}

.shop-products__head p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.95rem;
}

.shop-products__head strong { color: #fff; }

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

.shop-unity-grid--subs { margin-bottom: 36px; }

.shop-unity-cat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  aspect-ratio: 21 / 9;
  border-radius: 6px;
  overflow: hidden;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-unity-cat:hover {
  border-color: rgba(232, 122, 34, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.shop-unity-cat__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(0.35) contrast(1.05) brightness(0.72);
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.3s ease;
}

.shop-unity-cat:hover .shop-unity-cat__art {
  transform: scale(1.08);
  filter: grayscale(0.15) contrast(1.08) brightness(0.8);
}

.shop-unity-cat--coins .shop-unity-cat__art { object-position: center 55%; }
.shop-unity-cat--vip .shop-unity-cat__art { object-position: center 45%; }

/* Overlay sombre type carte catégorie */
.shop-unity-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 10%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
  opacity: 0.9;
}

.shop-unity-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.shop-unity-cat__label {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0;
  padding: 12px 36px;
  background: linear-gradient(90deg, #E87A22, #C41E2A);
  color: #fff;
  font-family: var(--shop-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: skewX(-18deg) rotate(-2deg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.shop-unity-cat__label > span {
  display: inline-block;
  transform: skewX(18deg);
}

@media (max-width: 900px) {
  .shop-unity-cat {
    min-height: 160px;
    aspect-ratio: 16 / 9;
  }
  .shop-unity-cat__label {
    padding: 10px 26px;
    letter-spacing: 0.08em;
  }
}

.shop-unity-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 80px;
}

.shop-uitem {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-uitem:hover {
  border-color: rgba(232, 122, 34, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(232, 122, 34, 0.1);
}

.shop-uitem__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--shop-surface-2);
  color: inherit !important;
  overflow: hidden;
  flex-shrink: 0;
}

.shop-uitem__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  display: block;
  transition: transform 0.4s ease;
}

.shop-uitem:hover .shop-uitem__media img {
  transform: scale(1.04);
}

.shop-uitem__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 18px;
  border-top: 1px solid rgba(232, 122, 34, 0.14);
}

.shop-uitem__name {
  margin: 0;
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-family: var(--shop-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
  line-height: 1.25;
  backdrop-filter: none;
}

/* Coins = médaille transparente → contain ; VIP = plein cadre → cover */
.shop-catpage--coins .shop-uitem__media {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(232, 122, 34, 0.14), transparent 55%),
    var(--shop-surface-2);
}
.shop-catpage--coins .shop-uitem__media img {
  object-fit: contain;
  padding: 16px;
}
.shop-catpage--coins .shop-uitem:hover .shop-uitem__media img {
  transform: scale(1.05);
}
.shop-catpage--vip .shop-uitem__media {
  aspect-ratio: 16 / 10;
}
.shop-catpage--vip .shop-uitem__media img {
  object-fit: cover;
  padding: 0;
}

.shop-uitem__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  border-top: none;
  margin-top: 2px;
}

.shop-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shop-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--shop-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.shop-qty input {
  width: 56px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  background: var(--shop-surface-2);
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.shop-uitem__price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.shop-uitem__price::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe566, #e6b800 42%, #b8860b);
  box-shadow: 0 0 0 1px rgba(255, 204, 0, 0.35);
}

.shop-uitem__price--plain::before { display: none; }

.shop-uitem__price s {
  color: var(--shop-muted);
  font-weight: 500;
  margin-right: 4px;
}

.shop-uitem__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Coins = style UNIONS */
.shop-unity-items--unions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}
.shop-unity-items--unions .shop-uitem {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.shop-unity-items--unions .shop-uitem:hover {
  transform: none;
  box-shadow: none;
  border: none;
}
.shop-unity-items--unions .shop-uitem__media {
  aspect-ratio: 1 / 1;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
}
.shop-unity-items--unions .shop-uitem__media img {
  object-fit: contain;
  padding: 18px;
  background: transparent;
}
.shop-unity-items--unions .shop-uitem:hover .shop-uitem__media img {
  transform: scale(1.04);
}
.shop-unity-items--unions .shop-uitem__body {
  padding: 14px 2px 0;
  border-top: none;
  gap: 10px;
}
.shop-unity-items--unions .shop-uitem__bar {
  gap: 10px;
}
.shop-unity-items--unions .shop-uitem__price {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 1100px) {
  .shop-unity-items--unions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shop-unity-items--unions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-catpage__aside { text-align: left; max-width: none; }
}

.shop-catpage__header { text-align: left; }

.shop-catpage .shop-page-lead {
  margin: -12px 0 28px;
  text-align: left;
}

@media (max-width: 900px) {
  .shop-unity-grid,
  .shop-unity-items { grid-template-columns: 1fr; }
  .shop-products__head { flex-direction: column; }
}

/* ---- Options / login (ID boutique) ---- */
.shop-options {
  min-height: calc(100vh - var(--shop-header-h) - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 80px;
}

.shop-options__card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 36px 36px 32px;
  background:
    linear-gradient(180deg, rgba(232, 122, 34, 0.10), transparent 42%),
    var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(232, 122, 34, 0.06),
    0 24px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.shop-options__back {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--shop-muted) !important;
  font-size: 0.8125rem;
  font-weight: 600;
}
.shop-options__back:hover { color: #fff !important; }

.shop-options__badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffe566, #e6b800 42%, #b8860b);
  box-shadow: 0 0 0 6px rgba(255, 204, 0, 0.12), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.shop-options__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.shop-options__eyebrow {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shop-red);
}

.shop-options__title {
  margin: 0 0 10px;
  font-family: var(--shop-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.shop-options__desc {
  margin: 0 0 18px;
  color: var(--shop-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.shop-options__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(232, 122, 34, 0.10);
  border: 1px solid var(--shop-border);
  color: var(--shop-muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.shop-options__hint span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--shop-surface-2);
  border: 1px solid var(--shop-border);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.shop-options__hint em { color: #fff; font-style: normal; font-weight: 700; }

.shop-options__form { text-align: left; }
.shop-options__raw { text-align: left; }
.shop-options__raw form { margin: 0; }
.shop-options__form .form-group,
.shop-options__form .shop-form-group,
.shop-options__raw .form-group { margin-bottom: 18px; }
.shop-options__form .shop-form-label,
.shop-options__form label,
.shop-options__raw label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--shop-text);
}
.shop-options__form .form-control,
.shop-options__form input[type="text"],
.shop-options__form input[type="number"],
.shop-options__form input[type="email"],
.shop-options__form select,
.shop-options__raw .form-control,
.shop-options__raw input[type="text"],
.shop-options__raw input[type="number"],
.shop-options__raw input[type="email"],
.shop-options__raw select {
  width: 100%;
  min-height: 48px;
  background: var(--shop-bg) !important;
  border: 1px solid var(--shop-border) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-size: 1rem !important;
  padding: 14px 16px !important;
}
.shop-options__form .form-control:focus,
.shop-options__form input:focus,
.shop-options__form select:focus,
.shop-options__raw input:focus,
.shop-options__raw select:focus {
  border-color: var(--shop-red) !important;
  box-shadow: 0 0 0 4px var(--shop-red-soft) !important;
}
.shop-options__form .shop-btn,
.shop-options__raw .shop-btn,
.shop-options__raw input[type="submit"],
.shop-options__raw button,
.shop-options__raw .btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 22px !important;
  background: var(--shop-red) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 560px) {
  .shop-options { padding: 28px 12px 56px; }
  .shop-options__card { padding: 28px 20px 24px; }
}

#shop-add-frame {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
