/* ==========================================================================
   ELIRA DESIGN SYSTEM - ULTRA-CLEAN MODERN DARK THEME
   ========================================================================== */

:root {
  --bg: #090a0e;
  --bg2: #11141c;
  --bg3: #171b26;
  --card: #12151e;
  --card-hover: #171c28;
  --card-border: rgba(255, 255, 255, 0.07);
  --card-border-hover: rgba(232, 160, 168, 0.35);

  --ink: #f3f4f6;
  --ink-secondary: #c9ced8;
  --muted: #8e97a6;

  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  --accent: #e8a0a8;
  --accent-hover: #f2abb4;
  --accent-active: #df8f98;
  --accent-ink: #0a0b0e;
  --accent2: #f2abb4;
  --accent-glow: rgba(232, 160, 168, 0.18);
  --accent-surface: rgba(232, 160, 168, 0.08);

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.12);

  --overlay: rgba(5, 7, 10, 0.75);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --glow-accent: 0 0 24px rgba(232, 160, 168, 0.22);
}

html[data-theme="light"] {
  --bg: #f8f9fb;
  --bg2: #ffffff;
  --bg3: #f1f3f7;
  --card: #ffffff;
  --card-hover: #fafbfc;
  --card-border: rgba(15, 23, 42, 0.08);
  --card-border-hover: rgba(232, 160, 168, 0.6);

  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;

  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.15);

  --accent: #e8a0a8;
  --accent-hover: #df8e97;
  --accent-active: #d27c86;
  --accent-ink: #0a0b0e;
  --accent2: #b5546b;
  --accent-glow: rgba(232, 160, 168, 0.25);
  --accent-surface: rgba(232, 160, 168, 0.12);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  color-scheme: light;
}

/* ==================== BASE & RESET ==================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 160, 168, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(232, 160, 168, 0.03), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent);
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-announcement {
  display: none !important;
}

/* ==================== NAVBAR ==================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  width: 100%;
  margin: 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(11, 11, 13, 0.92);
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.logo {
  height: 32px;
  width: 32px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand:hover .logo {
  transform: scale(1.05);
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 7px 12px;
  font-weight: 500;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.nav-pill-active {
  background: #171a24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 600;
}

.nav-btn-pill {
  background: #171a24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.nav-btn-pill:hover {
  border-color: var(--accent);
  background: #1e2230;
  color: var(--accent) !important;
}

.nav-cart,
.cart-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.nav-cart svg,
.cart-icon-btn svg {
  width: 18px;
  height: 18px;
}

.nav-cart:hover,
.cart-icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-surface);
}

.nav-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--ink);
  transition: all 0.15s ease;
}

.nav-discord svg {
  width: 19px;
  height: 19px;
}

.nav-discord:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-surface);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 750;
  height: 18px;
  min-width: 18px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--bg);
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.icon-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

/* ==================== HERO SECTION ==================== */
.hero {
  text-align: center;
  padding: 72px 20px 48px;
  position: relative;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-surface);
  border: 1px solid rgba(232, 160, 168, 0.22);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.1px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-weight: 750;
  font-size: clamp(36px, 6vw, 58px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto;
}

.highlight {
  color: var(--accent);
}

.hero-desc {
  max-width: 620px;
  margin: 18px auto 28px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.cta-primary,
button.cta-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(232, 160, 168, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-primary:hover,
button.cta-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 160, 168, 0.35);
}

.cta-primary:active,
button.cta-primary:active {
  transform: translateY(0);
}

.cta-secondary,
button.cta-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.cta-secondary:hover,
button.cta-secondary:hover {
  border-color: var(--accent);
  background: rgba(232, 160, 168, 0.08);
  color: var(--accent);
  transform: translateY(-2px);
}

.cta-secondary:active,
button.cta-secondary:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: var(--ink-secondary);
  font-size: 13.5px;
  margin-bottom: 40px;
}

.hero-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-features .check {
  color: var(--accent);
  font-weight: 700;
}

/* ==================== TRUST / SECURE CHECKOUT BAR ==================== */
.trust-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 22px;
  margin: 0 auto;
  font-size: 13px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-bar-sec {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 600;
}

.lock-icon {
  width: 15px;
  height: 15px;
  stroke: #10b981;
}

.pay-methods {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
}

.pay-methods img {
  height: 22px;
  width: auto;
  display: block;
  filter: grayscale(0.15) brightness(1.15);
  opacity: 0.9;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
}

.pay-badge.stripe {
  background: #635bff;
}

.pay-badge.paypal {
  background: #0070ba;
}

.pay-badge.crypto {
  background: #345d9d;
}

.trust-bar-text {
  color: var(--muted);
  font-size: 12.5px;
}

/* ==================== SECTION HEADINGS ==================== */
.section-header {
  text-align: center;
  margin: 64px 0 32px;
}

h2.sec {
  text-align: center;
  font-weight: 750;
  font-size: clamp(26px, 4vw, 34px);
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.sub {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 500px;
  margin: 0 auto;
}

/* ==================== MODERN PRODUCT CARDS GRID ==================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 60px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow);
}

.prod-media-link {
  display: block;
  text-decoration: none;
}

.prod-media {
  height: 220px;
  background: radial-gradient(circle at 50% 45%, rgba(139, 92, 246, 0.08) 0%, rgba(15, 17, 24, 0.95) 80%), var(--bg3);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.product-card:hover .prod-img {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.65));
}

.prod-img-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.prod-fallback-letter {
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.85;
}

.prod-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.prod-title:hover {
  color: var(--accent);
}

.prod-blurb {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.prod-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.prod-price-box {
  display: flex;
  flex-direction: column;
}

.prod-price {
  color: #ffffff;
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.prod-stock,
.pdp-stock {
  color: var(--success);
  font-size: 12px;
  font-weight: 650;
}

.prod-stock {
  margin-top: 10px;
}

.pdp-stock {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
}

.prod-stock.is-out,
.pdp-stock.is-out {
  color: var(--error);
}

.prod-stock.is-unknown,
.pdp-stock.is-unknown {
  color: var(--muted);
}

.prod-compare-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 12px;
  font-weight: 500;
}

.prod-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-icon-cart {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.btn-icon-cart:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 160, 168, 0.08);
}

.btn-icon-cart svg {
  width: 16px;
  height: 16px;
}

.btn-buy-now {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 650;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-buy-now:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* ==================== WHY US / FEATURES GRID ==================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow);
}

.why-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-surface);
  border: 1px solid rgba(232, 160, 168, 0.2);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ==================== REVIEWS / FEEDBACK SECTION ==================== */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.feedback-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feedback-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
}

.fb-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.fb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-surface);
  border: 1px solid rgba(232, 160, 168, 0.25);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fb-meta {
  flex: 1;
}

.fb-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.fb-name-row strong {
  font-size: 14.5px;
  color: #ffffff;
}

.fb-verified-badge {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.fb-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}

.fb-text {
  color: var(--ink-secondary);
  font-size: 13.5px;
  line-height: 1.6;
  font-style: italic;
}

/* ==================== CART PAGE & REDESIGNED CART ==================== */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 860px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-items-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.cart-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
}

.cart-item-letter {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 750;
  color: var(--accent);
  flex-shrink: 0;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 650;
  transition: color 0.15s ease;
}

.cart-item-title:hover {
  color: var(--accent);
}

.cart-item-unit-price {
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.stepper-btn {
  background: transparent;
  border: none;
  color: var(--ink);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.15s ease;
}

.stepper-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.stepper-val {
  min-width: 32px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 650;
  color: #ffffff;
}

.cart-remove-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cart-remove-btn:hover {
  color: var(--error);
  border-color: rgba(239, 68, 68, 0.4);
  background: var(--error-bg);
}

.cart-summary-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}

.cart-summary-card h3 {
  font-size: 17px;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.cart-summary-line.total {
  font-size: 18px;
  font-weight: 750;
  color: #ffffff;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.cart-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.8;
}

/* ==================== ANNOUNCEMENTS / NEWS PAGE ==================== */
.announcement-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.announcement-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
}

.announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-surface);
  border: 1px solid rgba(232, 160, 168, 0.2);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.announcement-meta {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.announcement-meta strong {
  color: var(--ink);
}

.announcement-title {
  font-size: 20px;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.announcement-body {
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 1.65;
  white-space: pre-wrap;
}

/* ==================== BUTTONS & CTAS ==================== */
.cta,
button.teal,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.cta:hover,
button.teal:hover,
button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.cta.ghost,
button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.cta.ghost:hover,
button.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 160, 168, 0.08);
}

/* ==================== FOOTER ==================== */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 20px;
  color: var(--muted);
  font-size: 13.5px;
  background: var(--bg);
  margin-top: 80px;
}

.foot {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.foot-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.foot-links a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.foot-links a:hover {
  color: #ffffff;
}

/* ==================== PAGES & FORMS ==================== */
.page {
  max-width: 760px;
  margin: 36px auto;
  padding: 0 20px 60px;
  line-height: 1.65;
}

.page.wide {
  max-width: 960px;
}

.page h1 {
  font-weight: 750;
  font-size: 32px;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.page h2 {
  margin: 28px 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--ink);
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--bg2);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 160, 168, 0.15);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 8px 0;
}

.on {
  background: var(--success-bg);
  color: var(--success);
  border-color: var(--success);
}

.off {
  background: transparent;
  color: var(--muted);
}

.err {
  background: var(--error-bg);
  color: var(--error);
  border-color: var(--error);
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.admin-page {
  max-width: 1180px;
}

.admin-gate {
  max-width: 440px;
  margin: 48px auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin-bottom: 2px;
}

.admin-section {
  margin-bottom: 26px;
}

.admin-section>h2 {
  margin-top: 0;
}

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

.admin-grid>.acct-card {
  min-width: 0;
}

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

.admin-photo-preview {
  margin-top: 10px;
}

.admin-photo-preview img {
  max-width: 120px;
  height: auto;
}

.admin-ticket-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.stat-card .num {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}

.stat-card .lbl {
  color: var(--muted);
  font-size: 12px;
}

.admin-ticket-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-ticket-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--overlay);
}

.admin-ticket-modal-content {
  width: min(100%, 760px);
  max-height: 90vh;
  overflow: auto;
  padding: 22px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

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

  .admin-ticket-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-ticket-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

/* ==================== PRODUCT DETAIL PAGE (PDP) ==================== */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  padding: 24px 0 64px;
}

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

.pdp-main,
.pdp-about {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pdp-pad {
  padding: 24px;
}

.pdp-main h1 {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 750;
  color: #ffffff;
}

.pdp-desc {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  font-size: 15px;
}

.pdp-main h2,
.pdp-kicker {
  font-size: 15px;
  font-weight: 650;
  margin: 12px 0 14px;
  color: #ffffff;
}

.pdp-kicker {
  background: var(--bg2);
  margin: 0;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.2px;
}

.feats {
  list-style: none;
  margin: 0 0 24px;
}

.feats li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.faq[open] summary::after {
  content: "–";
}

.faq p {
  color: var(--muted);
  font-size: 14px;
  padding: 0 4px 16px;
  line-height: 1.6;
}

.pdp-price {
  font-size: 30px;
  font-weight: 750;
  text-align: center;
  margin: 10px 0 16px;
  color: #ffffff;
}

.var-btn {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  background: var(--bg2);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: none;
  text-align: center;
  transition: all 0.15s ease;
}

.var-btn.picked {
  border: 1px solid var(--accent);
  background: var(--accent-surface);
  color: var(--accent);
}

.pdp-about .qty {
  width: 100%;
  margin: 10px 0 12px;
  text-align: center;
}

.pdp-about .actions {
  flex-direction: column;
  gap: 10px;
}

.pdp-about .cta {
  width: 100%;
  text-align: center;
  padding: 12px;
}

.pdp-note {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin-top: 14px;
}

/* ==================== TICKETS STYLING ==================== */
.req {
  color: var(--accent);
  font-weight: 700;
}

.ticket-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: #ffffff;
  border-color: var(--accent);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.ticket-notice {
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.55;
}

.ticket-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}

.ticket-card:hover {
  border-color: var(--card-border-hover);
}

.ticket-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.t-date {
  font-size: 12px;
  color: var(--muted);
  font-family: monospace;
}

.t-badge {
  display: inline-block;
  font-size: 11.5px;
  padding: 4px 10px;
  font-weight: 650;
  border-radius: var(--radius-pill);
}

.t-cat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}

.t-sync {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.t-status-open {
  background: var(--warning-bg);
  border: 1px solid var(--warning);
  color: var(--warning);
}

.t-status-customer_reply {
  background: var(--accent-surface);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.t-status-answered {
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--success);
}

.t-status-closed {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  opacity: 0.7;
}

.sync-badge {
  display: inline-block;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 12px;
}

.ticket-thread-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.thread-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.thread-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 6px;
}

.msg-bubble {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg2);
  line-height: 1.55;
}

.msg-customer {
  border-left: 3px solid var(--muted);
}

.msg-admin {
  border-left: 3px solid var(--accent);
  background: #171a24;
}

.msg-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.msg-time {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  font-family: monospace;
}

.admin-chip {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.msg-content {
  font-size: 14px;
  word-break: break-word;
  white-space: pre-wrap;
  color: var(--ink-secondary);
}

.reply-box {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 14px;
}

.err-box {
  background: var(--error-bg);
  border: 1px solid var(--error);
  border-radius: var(--radius-sm);
  color: var(--error);
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
}

.success-box {
  background: var(--success-bg);
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  color: var(--success);
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* ==================== SEARCH MODAL ==================== */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: min(12vh, 112px) 18px 24px;
  z-index: 10000;
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.search-modal-box {
  background: var(--card);
  border: 1px solid var(--card-border-hover);
  border-radius: 10px;
  width: min(100%, 640px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: searchEnter 0.18s ease both;
}

@keyframes searchEnter {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-modal-head {
  display: flex;
  align-items: center;
  padding: 14px 16px 14px 20px;
  border-bottom: 1px solid var(--line);
  gap: 14px;
  background: var(--bg2);
}

.search-modal-head>svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--accent);
}

.search-modal-head input {
  background: transparent;
  border: none;
  font-size: 17px;
  color: #ffffff;
  width: 100%;
  min-width: 0;
  padding: 5px 0;
}

.search-modal-head input:focus {
  outline: none;
  box-shadow: none;
}

.search-modal-close {
  flex: 0 0 auto;
}

.search-modal-results {
  max-height: min(60vh, 480px);
  overflow-y: auto;
  padding: 12px;
}

.search-state {
  margin: 0;
  padding: 26px 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.search-state strong {
  color: var(--ink);
}

.search-result-item+.search-result-item {
  margin-top: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.search-result-item:hover {
  background: var(--bg2);
  border-color: var(--line-strong);
  color: var(--ink);
}

.search-result-item strong {
  color: #ffffff;
  font-size: 14.5px;
  line-height: 1.35;
}

.search-result-thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
  padding: 4px;
  border-radius: 6px;
  background: var(--bg3);
  border: 1px solid var(--line);
}

.search-result-letter {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 20px;
  font-weight: 750;
}

.search-result-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.search-result-price {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.search-result-arrow {
  color: var(--muted);
  font-size: 18px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.search-result-item:hover .search-result-arrow {
  color: var(--accent);
  transform: translateX(2px);
}

@media (max-width: 520px) {
  .search-modal-overlay {
    padding: 12px;
  }

  .search-modal-results {
    max-height: 70vh;
  }

  .search-modal-head {
    padding-left: 14px;
  }

  .search-modal-head input {
    font-size: 15px;
  }
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}

.acct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 18px;
}

@media (max-width: 860px) {
  .acct-layout {
    grid-template-columns: 1fr;
  }
}

.acct-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.acct-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.acct-head h1 {
  margin: 0;
  font-size: 22px;
}

.acct-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg3);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 22px;
}

.acct-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.license-card {
  margin-top: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.license-key-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.license-key-row code {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  word-break: break-all;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}

.cart-page {
  max-width: 900px;
}

.cart-intro {
  text-align: left;
  margin-bottom: 24px;
}

.cart-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 10px 24px 22px;
  box-shadow: var(--shadow-sm);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line-main {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.cart-line-main strong {
  color: #fff;
  display: block;
  font-size: 15px;
  line-height: 1.4;
}

.cart-line-details {
  min-width: 0;
}

.cart-line-price {
  color: var(--accent);
  font-size: 13.5px;
  margin-top: 4px;
}

.cart-line-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.cart-quantity-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.cart-quantity {
  appearance: none;
  width: 76px;
  height: 38px;
  margin: 0;
  padding: 0 30px 0 12px;
  color: var(--ink);
  cursor: pointer;
  background-color: var(--bg2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23c5c5cc' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}

.cart-checkout {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cart-checkout label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.cart-checkout-button {
  width: 100%;
  margin-top: 16px;
}

.cart-delivery-note {
  text-align: center;
  margin-top: 11px;
}

@media (max-width: 560px) {
  .cart-panel {
    padding: 6px 16px 18px;
  }

  .cart-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .cart-line-main {
    width: 100%;
  }

  .cart-line-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.thumb-fallback {
  display: grid;
  place-items: center;
  background: var(--bg3);
  color: var(--accent);
  font-weight: 700;
}

.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #16161c;
  color: #fff;
  border: 1px solid rgba(232, 160, 168, 0.35);
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 800;
}

.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.thanks-image {
  display: block;
  width: min(100%, 280px);
  max-height: 190px;
  object-fit: contain;
  margin: 20px auto 18px;
  border-radius: var(--radius-sm);
}

.nav-pfp,
.nav-pfp-letter {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  font-size: 11px;
  font-weight: 700;
}

.acct-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

button.teal {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 650;
  cursor: pointer;
}

/* ==================== PDP GALLERY ==================== */
.pdp-gallery {
  margin-bottom: 24px;
}

.pdp-gallery-main {
  position: relative;
  width: 100%;
  height: 380px;
  background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.08) 0%, rgba(12, 14, 20, 0.98) 85%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  user-select: none;
}

.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
  transition: opacity 0.22s ease, transform 0.22s ease;
  cursor: zoom-in;
}

.pdp-main-img.fade-out {
  opacity: 0;
  transform: scale(0.97);
}

.pdp-gal-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12, 14, 20, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: 0.03em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pdp-gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 20, 28, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  opacity: 0.75;
}

.pdp-gallery-main:hover .pdp-gal-btn {
  opacity: 1;
}

.pdp-gal-btn:hover {
  background: rgba(30, 33, 48, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.pdp-gal-btn.prev {
  left: 14px;
}

.pdp-gal-btn.next {
  right: 14px;
}

.pdp-gal-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.pdp-gal-thumbs::-webkit-scrollbar {
  height: 5px;
}

.pdp-gal-thumbs::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 10px;
}

.pdp-gal-thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 10px;
  background: #12141c;
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.pdp-gal-thumb:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.pdp-gal-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

/* Lightbox Modal */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pdp-lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.pdp-lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

.pdp-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pdp-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

/* ==================== ADMIN GALLERY MANAGER ==================== */
.admin-image-manager {
  margin-top: 6px;
  margin-bottom: 14px;
}

.admin-image-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-upload-images {
  margin: 0 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 9px 14px;
  white-space: nowrap;
}

.admin-url-input-wrap {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 240px;
}

.admin-url-input-wrap input {
  margin: 0 !important;
  flex: 1;
  font-size: 13px;
}

.admin-url-input-wrap button {
  margin: 0 !important;
  white-space: nowrap;
  font-size: 13px;
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.admin-gallery-item {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-gallery-item.is-cover {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.35);
}

.admin-gallery-item img {
  width: 100%;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  background: #000;
}

.admin-gallery-cover-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
}

.admin-gallery-actions {
  display: flex;
  gap: 4px;
  width: 100%;
  justify-content: center;
}

.admin-gallery-actions button {
  padding: 3px 6px !important;
  font-size: 11px !important;
  background: var(--bg3) !important;
  border: 1px solid var(--line) !important;
  color: #fff !important;
  border-radius: 4px !important;
  cursor: pointer;
  line-height: 1;
}

.admin-gallery-actions button:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.admin-gallery-actions button.del {
  color: var(--error, #ef4444) !important;
}

.admin-gallery-actions button.del:hover {
  background: #ef4444 !important;
  color: #fff !important;
}

/* ==================== ULTRA-CLEAN PURCHASE NOTIFICATIONS ==================== */
.purchase-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(14, 17, 24, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 13px 14px 15px;
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.12),
    0 20px 42px -10px rgba(0, 0, 0, 0.75),
    0 4px 12px rgba(0, 0, 0, 0.35);
  max-width: 380px;
  min-width: 295px;
  color: #fff;
  cursor: pointer;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s ease,
              border-color 0.22s ease,
              box-shadow 0.22s ease;
}

.purchase-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.purchase-toast:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    0 24px 48px -10px rgba(0, 0, 0, 0.82),
    0 0 24px rgba(139, 92, 246, 0.16);
}

.purchase-toast-thumb {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%), #141722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.purchase-toast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purchase-toast-thumb .purchase-toast-fallback-icon {
  width: 22px;
  height: 22px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.purchase-toast-body {
  flex: 1;
  min-width: 0;
}

.purchase-toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}

.purchase-toast-close {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b949e;
  padding: 0;
  margin: -2px -2px 0 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease;
}

.purchase-toast-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.08);
}

.purchase-toast-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 1px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.purchase-toast-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.2;
}

.purchase-toast-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #22c55e;
  font-weight: 600;
  font-size: 10.5px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  padding: 1.5px 6.5px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.purchase-toast-shield {
  display: inline-block;
}

.purchase-toast-dot {
  color: #475569;
}

.purchase-toast-time {
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 500;
}

/* Hairline animated progress timer bar */
.purchase-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.purchase-toast-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent, #8b5cf6), #22c55e);
  transform-origin: left;
  animation: purchaseToastProgressAnim 5.5s linear forwards;
}

.purchase-toast:hover .purchase-toast-progress-bar {
  animation-play-state: paused;
}

@keyframes purchaseToastProgressAnim {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

@media (max-width: 600px) {
  .purchase-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    min-width: 0;
  }
}