/* cDev Tebex Template — globals.css */

:root {
  --cdev-accent: #3DB8FF;
  --cdev-accent-dark: #1E7FE0;
  --cdev-blue: #2979FF;
  --cdev-bg: #050505;
  --cdev-bg-secondary: #0B0B0C;
  --cdev-card: #141416;
  --cdev-border: rgba(255, 255, 255, 0.08);
  --cdev-radius: 0.5rem;
  --cdev-promo-h: 0px;
  --cdev-nav-offset: 4.8rem;
  --cdev-accent: #3DB8FF;
  --cdev-accent-dark: #1E7FE0;
  --cdev-cyan: #40BFFF;
  --cdev-blue: #2979FF;
  --cdev-bg: #050505;
  --cdev-card: #141416;
  --color-primary: 61, 184, 255;
  --color-secondary: 41, 121, 255;
  --color-background-primary: 5, 5, 5;
  --color-background-secondary: 11, 11, 12;
}

body.cdev-has-promo,
body.cdev-body:has(#cdev-promo-banner) {
  --cdev-promo-h: 3.15rem;
}

/* Promo banner */
.cdev-promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.15rem;
  max-height: 3.35rem;
  padding: 0.4rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b0c;
  color: #fff;
}

.cdev-promo-banner__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

.cdev-promo-banner__left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cdev-promo-banner__brand {
  display: none;
}

.cdev-promo-banner__logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.cdev-promo-banner__brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.cdev-promo-banner__copy {
  text-align: left;
  min-width: 0;
}

.cdev-promo-banner__title {
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdev-promo-banner__subtitle {
  display: none;
}

.cdev-promo-banner__right {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}

.cdev-promo-code {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.15rem;
  padding: 0 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.4rem;
  background: #141416;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cdev-promo-code:hover {
  background: #1a1a1e;
  border-color: rgba(255, 255, 255, 0.16);
}

.cdev-promo-code.is-copied {
  background: #1a1a1e;
}

.cdev-promo-code__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cdev-promo-code__label {
  display: none;
}

.cdev-promo-code__value {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cdev-accent);
  line-height: 1;
}

.cdev-promo-code__icon {
  font-size: 0.95rem;
  color: #a1a1aa;
}

.cdev-promo-timer {
  display: none;
  align-items: center;
  gap: 0.28rem;
}

.cdev-promo-timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
}

.cdev-promo-timer__num {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.cdev-promo-timer__label {
  margin-top: 0.1rem;
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #71717a;
  line-height: 1;
}

.cdev-promo-timer.is-ended .cdev-promo-timer__num {
  color: #71717a;
}

@media (min-width: 640px) {
  .cdev-promo-timer { display: flex; }
}

@media (min-width: 768px) {
  body.cdev-has-promo,
  body.cdev-body:has(#cdev-promo-banner) {
    --cdev-promo-h: 4.65rem;
  }

  .cdev-promo-banner {
    min-height: 4.65rem;
    max-height: none;
    padding: 0 1.5rem;
    background:
      radial-gradient(80% 140% at 12% 50%, rgba(61, 184, 255, 0.16), transparent 55%),
      radial-gradient(70% 160% at 88% 50%, rgba(61, 184, 255, 0.1), transparent 50%),
      #0b0b0c;
  }

  .cdev-promo-banner__inner {
    gap: 1.5rem;
  }

  .cdev-promo-banner__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
  }

  .cdev-promo-banner__copy {
    text-align: left;
  }

  .cdev-promo-banner__title {
    font-size: 1.05rem;
  }

  .cdev-promo-banner__subtitle {
    display: block;
    margin: 0.2rem 0 0;
    color: #a1a1aa;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: normal;
  }

  .cdev-promo-banner__logo {
    width: 3.15rem;
    height: 3.15rem;
  }

  .cdev-promo-banner__brand-name {
    font-size: 1.4rem;
  }

  .cdev-promo-code {
    height: 3.15rem;
    padding: 0 0.9rem;
    gap: 0.6rem;
    border-radius: 0.5rem;
  }

  .cdev-promo-code__label {
    display: block;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71717a;
    line-height: 1;
    margin-bottom: 0.15rem;
  }

  .cdev-promo-code__value {
    font-size: 0.95rem;
  }

  .cdev-promo-timer {
    gap: 0.35rem;
  }

  .cdev-promo-timer__unit {
    width: 3.05rem;
    height: 3.15rem;
    min-width: 3.05rem;
    border-radius: 0.5rem;
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cdev-promo-timer__num {
    font-size: 1.2rem;
  }

  .cdev-promo-timer__label {
    margin-top: 0.22rem;
    font-size: 0.52rem;
    font-weight: 800;
  }
}

.cdev-nav {
  top: var(--cdev-promo-h, 0);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 105;
}

body.cdev-has-promo .pt-28,
body.cdev-has-promo .sm\:pt-32,
body.cdev-has-promo .pt-24,
body.cdev-has-promo .sm\:pt-28,
body.cdev-has-promo .cdev-package-page,
body.cdev-has-promo .cdev-pkg,
body.cdev-has-promo .cdev-cart-page,
body.cdev-has-promo .cdev-faq,
body.cdev-has-promo .cdev-store,
body.cdev-body:has(#cdev-promo-banner) .pt-28,
body.cdev-body:has(#cdev-promo-banner) .sm\:pt-32,
body.cdev-body:has(#cdev-promo-banner) .pt-24,
body.cdev-body:has(#cdev-promo-banner) .sm\:pt-28,
body.cdev-body:has(#cdev-promo-banner) .cdev-package-page,
body.cdev-body:has(#cdev-promo-banner) .cdev-pkg,
body.cdev-body:has(#cdev-promo-banner) .cdev-cart-page,
body.cdev-body:has(#cdev-promo-banner) .cdev-faq,
body.cdev-body:has(#cdev-promo-banner) .cdev-store {
  padding-top: calc(var(--cdev-promo-h) + 7rem) !important;
}

@media (min-width: 640px) {
  body.cdev-has-promo .sm\:pt-32 {
    padding-top: calc(var(--cdev-promo-h) + 8rem) !important;
  }
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}

.cdev-body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  overflow: visible;
  height: auto;
}

/* Ambient background glow */
.cdev-bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 197, 66, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 112, 255, 0.06), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(245, 197, 66, 0.05), transparent);
}

/* Only lift the main page shell above the glow — NEVER all body children
   (that was crushing Tebex.js checkout overlays to z-index: 1). */
.cdev-body > .site {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

/* Keep promo + nav fixed above page content */
body.cdev-body > .cdev-promo-banner,
body.cdev-body .cdev-promo-banner {
  position: fixed;
  z-index: 110;
  pointer-events: auto;
}

body.cdev-body > .cdev-nav,
body.cdev-body .cdev-nav {
  position: fixed;
  top: var(--cdev-promo-h, 0);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 105;
  pointer-events: auto;
}

/* Tebex.js checkout / portal overlays must always win */
body.cdev-body tebex-checkout,
body.cdev-body [id*="tebex" i],
body.cdev-body [class*="tebex" i],
body.cdev-body iframe[src*="tebex.io"],
body.cdev-body iframe[src*="checkout.tebex"],
body.cdev-body iframe[src*="pay.tebex"] {
  z-index: 2147483000 !important;
}

.cdev-text-gradient {
  background: linear-gradient(135deg, #F5C542 0%, #B8860B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cdev-badge {
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(245, 197, 66, 0.25);
  background: rgba(245, 197, 66, 0.08);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cdev-accent);
}

/* Header pills — nav + actions */
.cdev-nav-pill,
.cdev-nav-actions-pill {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.375rem;
  padding: 0.375rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: visible;
}

.cdev-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2rem;
  padding: 0 0.75rem;
  border: none;
  border-radius: var(--cdev-radius);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.cdev-pill-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.09);
}

.cdev-pill-btn--icon {
  position: relative;
  width: 2rem;
  min-width: 2rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cdev-pill-btn--icon:hover {
  color: var(--cdev-accent);
}

.cdev-basket-badge {
  position: absolute;
  bottom: -0.35rem;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 0.875rem;
  padding: 0 0.3rem;
  border-radius: var(--cdev-radius);
  background: #d53b3b;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.cdev-pill-btn--grey {
  padding-left: 0.875rem;
  padding-right: 0.625rem;
}

.cdev-pill-btn--user {
  max-width: 9.5rem;
  padding-left: 0.625rem;
}

.cdev-pill-btn--discord {
  padding: 0 0.875rem 0 0.125rem;
  background: #5865f2;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cdev-pill-btn--discord:hover {
  background: #4752c4;
  color: #fff;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.35);
}

.cdev-pill-btn__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--cdev-radius);
  background: rgba(0, 0, 0, 0.1);
  font-size: 1rem;
}

.cdev-pill-btn--discord:hover .cdev-pill-btn__icon-wrap {
  background: transparent;
}

.cdev-pill-btn--signin {
  padding: 0 1rem;
  background: var(--cdev-accent);
  color: #fff;
  font-weight: 600;
}

.cdev-pill-btn--signin:hover {
  background: var(--cdev-accent-dark);
  color: #fff;
  box-shadow: 0 0 20px rgba(61, 184, 255, 0.35);
}

.cdev-pill-btn--nav {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 500;
}

.cdev-pill-btn--nav:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.09);
}

.cdev-pill-btn--nav.is-active {
  background: var(--cdev-accent);
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(245, 197, 66, 0.25);
}

.cdev-pill-btn--nav.is-active:hover {
  background: #ffd86a;
  color: #0a0a0a;
}

.cdev-nav-pill.flex-col {
  gap: 0.5rem;
}

@media (max-width: 639px) {
  .cdev-nav-actions-pill {
    gap: 0.25rem;
    padding: 0.25rem;
  }

  .cdev-pill-btn--discord {
    padding: 0;
    width: 2rem;
    min-width: 2rem;
  }

  .cdev-pill-btn--discord .cdev-pill-btn__icon-wrap {
    width: 100%;
    height: 100%;
    background: transparent;
  }

  .cdev-pill-btn--signin span {
    display: none;
  }

  .cdev-pill-btn--signin {
    width: 2rem;
    min-width: 2rem;
    padding: 0;
  }
}

/* ========== Home — fundo único (igual Products) ========== */
.cdev-home-page {
  background: transparent;
}

.cdev-home-inner {
  position: relative;
  z-index: 1;
}

.cdev-home-divider {
  display: block;
  width: min(72rem, calc(100% - 2rem));
  max-width: 100%;
  height: 1px;
  margin: 0 auto;
  border: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 18%,
    rgba(245, 197, 66, 0.14) 50%,
    rgba(255, 255, 255, 0.06) 82%,
    transparent 100%
  );
  opacity: 0.9;
}

.cdev-home-section {
  position: relative;
}

/* ========== Página Produtos ========== */
.cdev-products-page {
  background: transparent;
}

.cdev-products-inner {
  padding-top: calc(var(--cdev-promo-h) + 6.75rem);
  z-index: 1;
}

@media (min-width: 640px) {
  .cdev-products-inner {
    padding-top: calc(var(--cdev-promo-h) + 7.75rem);
  }
}

.cdev-products-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.5rem 1.125rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(245, 197, 66, 0.35);
  background: rgba(245, 197, 66, 0.1);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
  position: relative;
  z-index: 2;
}

.cdev-products-count-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cdev-accent);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hero glow — mesmo clima da home (sem grid SVG que cortava na direita) */
.cdev-products-hero-glow {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  height: min(42rem, 85vh);
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 55% at 50% -15%, rgba(245, 197, 66, 0.2), transparent 65%),
    radial-gradient(ellipse 70% 45% at 50% 35%, rgba(245, 197, 66, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 20%, rgba(245, 197, 66, 0.04), transparent),
    radial-gradient(ellipse 40% 30% at 0% 25%, rgba(245, 197, 66, 0.04), transparent);
}

.cdev-products-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .cdev-products-hero {
    gap: 1.25rem;
    padding-bottom: 3.5rem;
    margin-bottom: 3.5rem;
  }
}

.cdev-products-hero p {
  margin-top: 0.5rem;
  max-width: 42rem;
}

/* Submenu categorias */
.cdev-products-toolbar {
  width: 100%;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .cdev-products-toolbar {
    margin-bottom: 3rem;
  }
}

.cdev-products-toolbar-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cdev-category-subnav {
  width: 100%;
}

.cdev-category-subnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cdev-category-subnav-list > li {
  list-style: none;
}

.cdev-subnav-item {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.25rem;
  background: #181818;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cdev-subnav-item:hover {
  background: #252525;
  color: #fff;
}

.cdev-subnav-item--active {
  border-color: var(--cdev-accent);
  background: rgba(245, 197, 66, 0.12);
  color: var(--cdev-accent);
}

.cdev-subnav-item.shimmer-effect,
.cdev-category-subnav-list > li.shimmer-effect {
  min-width: 4.5rem;
  min-height: 1.625rem;
  border-radius: 0.25rem;
}

/* Busca e ordenação */
.cdev-search-wrap {
  position: relative;
}

.cdev-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.cdev-search-input,
.cdev-sort-select {
  width: 100%;
  height: 2.25rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #181818;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cdev-search-input {
  padding-left: 2.5rem;
}

.cdev-search-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cdev-search-input:focus,
.cdev-sort-select:focus {
  border-color: var(--cdev-accent);
  box-shadow: 0 0 0 1px rgba(245, 197, 66, 0.35);
}

.cdev-sort-select {
  cursor: pointer;
  min-width: 11rem;
}

@media (min-width: 640px) {
  .cdev-sort-select {
    width: 11rem;
    flex-shrink: 0;
  }
}

/* Product cards — matches search / category filters (#181818) */
.cdev-product-grid,
.cdev-home-featured-grid,
#product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cdev-product-grid,
  #product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cdev-home-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cdev-product-grid,
  #product-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

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

.cdev-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cdev-product-card--loading {
  min-height: 20rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #181818;
  overflow: hidden;
}

.cdev-card-img-placeholder {
  flex: 1;
  min-height: 11rem;
  background: rgba(255, 255, 255, 0.03);
}

.cdev-card-body-placeholder {
  height: 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.2);
}

.cdev-home-featured-empty {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--fg-secondary, #a1a7b3);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #181818;
}

/* Card inner */
.cdev-pkg-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #181818;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cdev-pkg-card:hover {
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.cdev-pkg-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0a;
  text-decoration: none;
}

.cdev-pkg-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cdev-pkg-card:hover .cdev-pkg-card__media img {
  transform: scale(1.05);
}

.cdev-pkg-card__price {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.75rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  line-height: 1.2;
}

.cdev-pkg-card__price-code {
  font-weight: 700;
  color: var(--cdev-accent, #f5c542);
  text-transform: uppercase;
}

.cdev-pkg-card__price-value {
  font-weight: 600;
  color: #fff;
}

.cdev-pkg-card__price-old {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
}

.cdev-pkg-card__price-badge {
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background: var(--cdev-accent, #f5c542);
  color: #0a0a0a;
  font-size: 0.6rem;
  font-weight: 700;
}

.cdev-pkg-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1.125rem 1.125rem;
  gap: 0.5rem;
}

.cdev-pkg-card__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cdev-pkg-card__title:hover {
  color: var(--cdev-accent, #f5c542);
}

.cdev-pkg-card__desc {
  margin: 0;
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cdev-pkg-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cdev-pkg-card__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.375rem;
  padding: 0 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.cdev-pkg-card__btn--buy {
  border: 1px solid transparent;
  background: var(--cdev-accent);
  color: #fff;
}

.cdev-pkg-card__btn--buy:hover {
  background: var(--cdev-accent-dark);
  box-shadow: 0 0 20px rgba(61, 184, 255, 0.25);
}

.cdev-pkg-card__btn--buy.cdev-pkg-card__btn--remove {
  background: #d53b3b;
  color: #fff;
  border-color: transparent;
}

.cdev-pkg-card__btn--buy.cdev-pkg-card__btn--remove:hover {
  background: #b83232;
  box-shadow: 0 0 16px rgba(213, 59, 59, 0.35);
}

.cdev-pkg-card__btn--view {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

.cdev-pkg-card__btn--view:hover {
  border-color: rgba(61, 184, 255, 0.4);
  background: rgba(61, 184, 255, 0.08);
  color: var(--cdev-accent);
}

.cdev-pkg-card__media-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1e24 0%, #0a0a0a 100%);
}

.cdev-mobile-link {
  display: block;
  border-radius: var(--cdev-radius);
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: #F5F5F7;
  transition: background 0.2s, color 0.2s;
}

.cdev-mobile-link:hover {
  background: rgba(245, 197, 66, 0.08);
  color: var(--cdev-accent);
}

.cdev-footer-link {
  font-size: 0.875rem;
  color: #A1A7B3;
  transition: color 0.2s;
}

.cdev-footer-link:hover {
  color: var(--cdev-accent);
}

.cdev-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--cdev-radius);
  background: var(--cdev-accent);
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(61, 184, 255, 0.25);
}

.cdev-btn-primary:hover {
  background: var(--cdev-accent-dark);
  box-shadow: 0 6px 28px rgba(61, 184, 255, 0.35);
  transform: translateY(-1px);
}

.cdev-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.cdev-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--cdev-radius);
  border: 1px solid var(--cdev-border);
  background: var(--cdev-card);
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  color: #F5F5F7;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.cdev-btn-secondary:hover {
  border-color: rgba(61, 184, 255, 0.4);
  color: var(--cdev-accent);
}

.cdev-btn-ghost {
  border-radius: var(--cdev-radius);
  border: 1px solid var(--cdev-border);
  background: transparent;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #F5F5F7;
  transition: border-color 0.2s, color 0.2s;
}

.cdev-btn-ghost:hover {
  border-color: rgba(61, 184, 255, 0.4);
  color: var(--cdev-accent);
}

.cdev-btn-discord {
  border-radius: var(--cdev-radius);
  background: linear-gradient(135deg, #5865F2, #4752C4);
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  color: white;
  transition: filter 0.2s, box-shadow 0.2s;
}

.cdev-btn-discord:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
}

.cdev-card {
  border-radius: 0.5rem;
  border: 1px solid var(--cdev-border);
  background: #141416;
  transition: border-color 0.25s;
}

.cdev-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.cdev-feature-card {
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.cdev-feature-card:hover {
  border-color: rgba(245, 197, 66, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.cdev-review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.cdev-review-card__avatar {
  background: rgba(255, 255, 255, 0.04);
}

.cdev-review-card p {
  margin: 0;
  flex: 1;
}

.panel {
  border-radius: var(--cdev-radius);
  border: 1px solid var(--cdev-border);
  padding: 1rem;
  background: #1A1E24;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* Header dropdowns (basket, user menu, currency) — match mobile sidebar */
.cdev-header-dropdown {
  top: calc(100% + 0.875rem);
  z-index: 110;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--cdev-radius);
  padding: 1rem 1.125rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.cdev-header-dropdown.ct-dropbasket {
  top: 4rem;
}

@media (min-width: 640px) {
  .cdev-header-dropdown.ct-dropbasket {
    top: calc(100% + 0.875rem);
  }
}

.cdev-basket-empty {
  list-style: none;
  padding: 0.5rem 0;
}

.cdev-basket-empty__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--fg-secondary, #a1a7b3);
  font-size: 0.875rem;
}

.cdev-basket-empty__inner i {
  font-size: 1.5rem;
  color: var(--fg-muted, #6b7280);
}

/* Toast notifications — fixed top-right, no horizontal page overflow */
.cdev-toast-host {
  position: fixed;
  top: calc(var(--cdev-promo-h, 0px) + var(--cdev-nav-offset, 4.25rem) + 0.75rem);
  right: max(1rem, env(safe-area-inset-right, 0px));
  left: auto;
  z-index: 100000;
  width: 20rem;
  max-width: calc(100vw - 2rem);
  max-height: min(50vh, 18rem);
  overflow: hidden;
  pointer-events: none;
  contain: layout style paint;
}

.cdev-toast-host .notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  max-height: inherit;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.cdev-toast-host .notification-list::-webkit-scrollbar {
  display: none;
}

.cdev-notification-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 0.625rem 0.875rem 0.875rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 26, 32, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e8eaed;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-0.5rem) scale(0.98);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
  pointer-events: auto;
  overflow: hidden;
}

.cdev-notification-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cdev-notification-item.is-leaving {
  opacity: 0;
  transform: translateY(-0.35rem) scale(0.98);
}

.cdev-notification-item--error {
  --cdev-toast-accent: #f87171;
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(32, 18, 22, 0.97);
}

.cdev-notification-item--success {
  --cdev-toast-accent: #4ade80;
  border-color: rgba(74, 222, 128, 0.28);
  background: rgba(18, 32, 24, 0.97);
}

.cdev-notification-item--info {
  --cdev-toast-accent: var(--cdev-accent, #f5c542);
  border-color: rgba(245, 197, 66, 0.28);
  background: rgba(28, 26, 16, 0.97);
}

.cdev-notification-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.05rem;
  font-size: 1.35rem;
  line-height: 1;
}

.cdev-notification-item--error .cdev-notification-item__icon {
  color: #f87171;
}

.cdev-notification-item--success .cdev-notification-item__icon {
  color: #4ade80;
}

.cdev-notification-item--info .cdev-notification-item__icon {
  color: var(--cdev-accent, #f5c542);
}

.cdev-notification-item--warning .cdev-notification-item__icon {
  color: #fbbf24;
}

.cdev-notification-item--warning {
  --cdev-toast-accent: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(32, 28, 14, 0.97);
}

.cdev-notification-item__body {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
  padding-right: 0.15rem;
}

.cdev-notification-item__message {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.cdev-notification-item__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.cdev-notification-item__close:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.btn_connect {
  background: linear-gradient(135deg, #5865F2, #4752C4) !important;
  color: white !important;
  border-radius: var(--cdev-radius) !important;
}

.btn_connect:hover {
  filter: brightness(1.1);
}

.btn_disconnect {
  background: rgba(220, 38, 38, 0.7) !important;
  color: white !important;
}

.btn_disconnect:hover {
  opacity: 0.9;
}

/* Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) #0a0a0a;
  overflow-x: hidden;
  overflow-y: auto;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

/* Shimmer loading */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  animation: cdev-shimmer 2s ease-in-out infinite;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 197, 66, 0.06),
    transparent
  );
}

@keyframes cdev-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Product description */
.product-description-wrapper {
  color: #A1A7B3;
  line-height: 1.7;
}

.product-description-wrapper p {
  margin-bottom: 1em;
}

.product-description-wrapper strong {
  color: #F5F5F7;
  font-weight: 600;
}

.product-description-wrapper a {
  color: var(--cdev-accent);
  transition: opacity 0.2s;
}

.product-description-wrapper a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.product-description-wrapper a.carousel-media {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  height: 2.5rem !important;
  padding: 0 1rem !important;
  border-radius: 0.5rem !important;
  font-weight: 500 !important;
  color: white !important;
  text-decoration: none !important;
  border: 1px solid var(--cdev-border) !important;
  background: var(--cdev-card) !important;
}

.product-description-wrapper a.carousel-media:hover {
  border-color: var(--cdev-accent) !important;
}

.discount,
.product-description-wrapper .line-through {
  text-decoration: line-through;
  color: #6B7280 !important;
}

.sale-price {
  color: var(--cdev-accent) !important;
  font-weight: 600;
}

#sales-banner {
  animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(42, 47, 56, 0.4) 25%,
    rgba(58, 64, 74, 0.5) 50%,
    rgba(42, 47, 56, 0.4) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Modal product (from main.js) */

#background-blur,
#background-blur.cdev-backdrop {
  display: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
  pointer-events: none !important;
}

.cdev-discord-sheet[hidden] { display: none !important; }
.cdev-discord-sheet {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.cdev-discord-sheet.is-visible {
  display: flex !important;
}
.cdev-discord-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}
.cdev-discord-sheet__dialog {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  padding: 1.75rem 1.5rem 1.4rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  text-align: center;
}
body.cdev-discord-open {
  overflow: hidden;
}
body.cdev-discord-open .cdev-nav,
body.cdev-discord-open .cdev-card__body,
body.cdev-discord-open .cdev-discord-float__card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.cdev-discord-sheet__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1aa;
  cursor: pointer;
}
.cdev-discord-sheet__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.cdev-discord-sheet__icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: var(--cdev-radius);
  background: rgba(88, 101, 242, 0.14);
  color: #8b93f7;
  font-size: 1.45rem;
}
.cdev-discord-sheet__dialog h2 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cdev-discord-sheet__dialog > p {
  margin: 0 0 1.25rem;
  color: #a1a1aa;
  font-size: 0.875rem;
  line-height: 1.6;
}
.cdev-discord-sheet__cta {
  width: 100%;
  height: 2.85rem;
}
.cdev-discord-sheet__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.45rem;
  border: 0;
  background: transparent;
  color: #71717a;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.cdev-discord-sheet__cancel:hover { color: #fff; }
@media (max-width: 767px) {
  .cdev-discord-sheet {
    align-items: flex-end;
    padding: 0;
  }
  .cdev-discord-sheet__dialog {
    width: 100%;
    border-radius: 1rem 1rem 0 0;
    padding: 1.5rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
}

.pointer-events-none-important.hidden {
  pointer-events: none !important;
}

/* Tebex checkout popup (checkout.twig / options.twig) */
.site[data-popup] .basket,
.site .basket[data-popup] {
  background: #1A1E24;
  border: 1px solid #2A2F38;
  border-radius: var(--cdev-radius);
  color: #F5F5F7;
  padding: 1rem;
  max-width: 480px;
}

.site .basket-header,
.site .basket-second-header,
.site .basket-content {
  margin-bottom: 1rem;
}

.site .basket-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #F5F5F7;
}

.site .basket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #2A2F38;
}

/* Centered modals (package options) — always in viewport, no scroll hunt */
.cdev-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  opacity: 0;
  pointer-events: none;
}

.cdev-modal-overlay:not(.hidden) {
  pointer-events: auto;
}

.cdev-modal-overlay.is-visible {
  opacity: 1;
}

.cdev-modal-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  pointer-events: auto;
}

.panel.cdev-options-modal,
.cdev-options-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  max-height: min(85vh, 36rem);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  filter: none;
}

body.cdev-modal-open {
  overflow: hidden;
}
@media (max-width: 767px) {
  .cdev-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .panel.cdev-options-modal,
  .cdev-options-modal {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 1rem 1rem 0 0;
  }
}

.cdev-options-modal #modal-package-options-body {
  position: relative;
  z-index: 0;
  max-height: min(75vh, 32rem);
}

.cdev-options-modal .popup-close,
.cdev-options-modal [class*="popup-close"] {
  display: none !important;
}

.cdev-options-modal .store-product-options,
.cdev-options-modal .store-form {
  margin: 0;
  padding: 1.75rem 1.5rem 1.4rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
  filter: none;
}

.cdev-options-modal .product-title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.cdev-options-modal .field {
  margin-bottom: 1rem;
}

.cdev-options-modal .field p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #a1a1aa;
}

.cdev-options-modal .actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
  margin-top: 1.15rem;
  position: static !important;
}

.cdev-options-modal .actions .btn-primary,
.cdev-options-modal .actions .btn-secondary,
.cdev-options-modal .actions .btn-tertiary,
.cdev-options-modal .cdev-pkg-btn {
  width: 100%;
}

.cdev-options-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 40;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  color: #a1a1aa;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
  outline: none;
  filter: none;
}
.cdev-options-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cdev-tebex-discord,
.store-product-options.cdev-tebex-discord {
  text-align: center;
}
.cdev-tebex-discord__icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: var(--cdev-radius);
  background: rgba(88, 101, 242, 0.14);
  color: #8b93f7;
  font-size: 1.45rem;
}
.cdev-tebex-discord .product-title,
.cdev-options-modal .cdev-tebex-discord .product-title {
  text-align: center;
}
.cdev-tebex-discord .field p,
.cdev-tebex-discord__copy {
  text-align: center;
}
.cdev-tebex-discord .actions {
  align-items: stretch;
}
.cdev-tebex-discord__login,
.cdev-options-modal .cdev-tebex-discord .btn-primary,
.site .cdev-tebex-discord .btn-primary,
.cdev-tebex-discord .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100% !important;
  height: 2.85rem;
  border: 0 !important;
  border-radius: 0.5rem !important;
  background: linear-gradient(135deg, #5865F2, #4752C4) !important;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
}
.cdev-tebex-discord__login:hover,
.cdev-tebex-discord .btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
}
.cdev-tebex-discord__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  padding: 0.45rem;
  border: 0;
  background: transparent;
  color: #71717a;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.cdev-tebex-discord__cancel:hover {
  color: #fff;
}

.site .store-form,
.site .store-product-options {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cdev-radius);
  color: #F5F5F7;
  padding: 1.5rem;
}
.site .store-product-options.cdev-tebex-discord {
  max-width: 26rem;
  margin: 5rem auto 3rem;
  padding: 1.75rem 1.5rem 1.4rem;
}

.site .store-form input,
.site .store-form select,
.site .store-form textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #2A2F38;
  background: #111318;
  color: #F5F5F7;
}

.site .btn-primary,
.site button.checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cdev-radius);
  background: var(--cdev-accent);
  color: #fff;
  font-weight: 600;
  padding: 0.625rem 1rem;
  border: none;
  cursor: pointer;
}

.site .btn-primary:hover,
.site button.checkout:hover {
  background: var(--cdev-accent-dark);
}

/* Package page */
.cdev-tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--cdev-radius);
  border: 1px solid var(--cdev-border);
  background: rgba(245, 197, 66, 0.08);
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cdev-accent);
}

.cdev-package-carousel img,
.cdev-package-carousel video,
.cdev-package-carousel iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
}

.category-item.bg-\[\#2d2d2d\] {
  border-color: rgba(245, 197, 66, 0.55) !important;
  background: rgba(245, 197, 66, 0.1) !important;
}

/* HTML da description (Tebex editor / 4bit boxes) */
.product-description-wrapper {
  color: #a1a7b3;
  line-height: 1.75;
  font-size: 0.95rem;
}

.product-description-wrapper img,
.product-description-wrapper .fr-fic {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--cdev-radius);
  border: 1px solid var(--cdev-border);
  margin: 1rem 0;
}

.product-description-wrapper h1,
.product-description-wrapper h2,
.product-description-wrapper h3,
.product-description-wrapper strong {
  color: #f5f5f7;
}

.product-description-wrapper a {
  color: var(--cdev-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-description-wrapper a:hover {
  color: #fff;
}

.product-description-wrapper ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.product-description-wrapper .flex.flex-col {
  margin: 1rem 0;
}

.product-description-wrapper .bg-\[\#1e1e25\],
.product-description-wrapper [class*="bg-[#1e1e25]"] {
  background-color: #1a1e24 !important;
  border-radius: var(--cdev-radius) !important;
  border: 1px solid #2a2f38 !important;
  padding: 1rem !important;
}

.product-description-wrapper .border-\[\#1a517d\] {
  border-color: rgba(0, 112, 255, 0.35) !important;
}

.product-description-wrapper .text-blue-400 {
  color: #60a5fa !important;
}

.product-description-wrapper .text-yellow-400 {
  color: var(--cdev-accent) !important;
}

.product-description-wrapper .text-red-500 {
  color: #f87171 !important;
}

.cdev-skel-line {
  height: 0.75rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.5rem;
}
.cdev-skel-line--lg { width: 70%; height: 1rem; }
.cdev-skel-line--sm { width: 40%; }

/* Utility */
.cdev-is-hidden {
  display: none !important;
}

/* Package page layout */
.cdev-package-page {
  color: var(--fg-primary, #f5f5f7);
}

.cdev-pkg-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.cdev-pkg-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.cdev-pkg-breadcrumb a:hover {
  color: var(--cdev-accent);
}

.cdev-pkg-breadcrumb span {
  color: rgba(255, 255, 255, 0.85);
}

.cdev-pkg-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .cdev-pkg-layout {
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 1rem;
  }
}

.cdev-pkg-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cdev-frame-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0a0a;
  overflow: hidden;
}

.cdev-frame-card::before,
.cdev-frame-card::after {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-color: rgba(255, 255, 255, 0.25);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.cdev-frame-card::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.cdev-frame-card::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.cdev-frame-card__price-tab {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  flex-shrink: 0;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cdev-pkg-price-pill {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(80, 80, 80, 0.05);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.cdev-pkg-price-pill__code {
  color: var(--cdev-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cdev-pkg-price-pill__amounts {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.cdev-pkg-price-pill__value {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.cdev-pkg-price-pill__old {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d53b3b;
  text-decoration: line-through;
}

.cdev-pkg-price-pill__badge {
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  background: var(--cdev-accent, #f5c542);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
}

.cdev-frame-card__links-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.cdev-frame-card__body {
  position: relative;
  padding: 0.5rem;
  background: #181818;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cdev-pkg-info-card .cdev-frame-card__body {
  padding: 0.75rem;
}

.cdev-pkg-thumb {
  aspect-ratio: 16 / 9;
  margin-bottom: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #181818;
  overflow: hidden;
}

.cdev-pkg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.35s ease;
}

.cdev-pkg-info-card:hover .cdev-pkg-thumb img {
  transform: scale(1.08);
}

.cdev-pkg-title {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.cdev-pkg-short-desc {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.35);
  white-space: pre-wrap;
}

.cdev-pkg-short-desc:empty {
  display: none;
}

.cdev-pkg-countdown {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #d53b3b;
}

.cdev-pkg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.cdev-pkg-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.cdev-pkg-buy-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  width: 100%;
}

.cdev-pkg-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.cdev-pkg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--cdev-radius);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.cdev-pkg-btn--primary {
  background: var(--cdev-accent);
  color: #fff;
}

.cdev-pkg-btn--primary:hover:not(:disabled),
.add-btn:hover:not(:disabled):not(.cdev-pkg-btn--remove),
.subscribe-btn:hover:not(:disabled),
.cdev-btn-accent:hover:not(:disabled),
.cdev-btn-accent-lg:hover:not(:disabled) {
  background: var(--cdev-accent-dark);
  color: #fff;
}

.cdev-pkg-btn--remove {
  background: #d53b3b;
  color: #fff;
}

.cdev-pkg-btn--remove:hover:not(:disabled) {
  background: #b83232;
  color: #fff;
}

.cdev-pkg-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cdev-pkg-btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

.cdev-pkg-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Basket button — dots spinner + loading / processing states */
@keyframes cdev-basket-spin {
  to { transform: rotate(360deg); }
}

.cdev-basket-btn__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.cdev-basket-btn__dots-svg {
  display: block;
  animation: cdev-basket-spin 0.85s linear infinite;
}

.cdev-basket-btn__text {
  opacity: 0.85;
}

.add-btn.cdev-basket-btn--loading,
.cdev-pkg-card__btn--buy.cdev-basket-btn--loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  cursor: wait;
  opacity: 1;
  pointer-events: none;
}

.add-btn.cdev-basket-btn--loading:disabled,
.cdev-pkg-card__btn--buy.cdev-basket-btn--loading:disabled {
  opacity: 1;
  cursor: wait;
}

.cdev-pkg-card__btn--buy.cdev-basket-btn--loading .cdev-basket-btn__text {
  color: rgba(255, 255, 255, 0.45);
}

.add-btn.cdev-basket-btn--processing,
.cdev-pkg-card__btn--buy.cdev-basket-btn--processing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: wait;
  pointer-events: none;
  opacity: 1;
}

.add-btn.cdev-pkg-btn--primary.cdev-basket-btn--processing,
.cdev-pkg-card__btn--buy.cdev-basket-btn--processing:not(.cdev-pkg-card__btn--remove) {
  background: var(--cdev-accent) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.add-btn.cdev-pkg-btn--remove.cdev-basket-btn--processing,
.cdev-pkg-card__btn--buy.cdev-pkg-card__btn--remove.cdev-basket-btn--processing {
  background: #d53b3b !important;
  color: #fff !important;
  border-color: transparent !important;
}

.add-btn.cdev-basket-btn--processing .cdev-basket-btn__text,
.cdev-pkg-card__btn--buy.cdev-basket-btn--processing .cdev-basket-btn__text {
  opacity: 0.9;
}

.cdev-pkg-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: var(--cdev-radius);
  background: linear-gradient(135deg, #5865f2, #4752c4);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  transition: filter 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.cdev-pkg-discord:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
  color: #fff;
}

.cdev-pkg-alert {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(213, 59, 59, 0.12);
  border: 1px solid rgba(213, 59, 59, 0.35);
  color: #f87171;
  font-size: 0.875rem;
}

.cdev-pkg-links-body {
  padding: 0.25rem 0.5rem 0.5rem;
}

.cdev-pkg-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cdev-pkg-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.cdev-pkg-link:hover {
  color: var(--cdev-accent);
  background: rgba(61, 184, 255, 0.1);
}

.cdev-pkg-link__label {
  flex: 1;
}

.cdev-pkg-link__external {
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.cdev-pkg-link:hover .cdev-pkg-link__external {
  opacity: 1;
}

.cdev-pkg-main-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.cdev-pkg-carousel-card .cdev-frame-card__body,
.cdev-pkg-details-body {
  padding: 0.75rem;
}

.cdev-pkg-carousel-card {
  overflow: visible;
}

.cdev-carousel-host {
  width: 100%;
}

.cdev-carousel-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #181818;
  overflow: hidden;
}

.cdev-carousel-placeholder--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
}

.cdev-carousel-placeholder__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
}

/* Product carousel */
.cdev-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cdev-carousel__main {
  position: relative;
}

.cdev-carousel__viewport {
  overflow: hidden;
  border-radius: 0.375rem;
}

.cdev-carousel__track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.cdev-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.cdev-carousel__slide-frame {
  padding: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #181818;
}

.cdev-carousel__zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 12rem;
  padding: 0;
  border: none;
  border-radius: 0.375rem;
  background: #0a0a0a;
  overflow: hidden;
  cursor: zoom-in;
}

.cdev-carousel__zoom img {
  display: block;
  max-width: 100%;
  max-height: min(32rem, 62vh);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.cdev-carousel__video {
  aspect-ratio: 16 / 9;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cdev-carousel__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cdev-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cdev-radius);
  background: rgba(10, 10, 10, 0.85);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, border-color 0.2s;
}

.cdev-carousel__nav:hover {
  border-color: var(--cdev-accent);
  color: var(--cdev-accent);
}

.cdev-carousel__nav--prev {
  left: 0.75rem;
}

.cdev-carousel__nav--next {
  right: 0.75rem;
}

.cdev-carousel__thumbs-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.cdev-carousel__thumb {
  flex: 0 0 calc(25% - 0.375rem);
  min-width: 4.5rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.375rem;
  background: transparent;
  opacity: 0.5;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.2s, border-color 0.2s;
}

@media (min-width: 768px) {
  .cdev-carousel__thumb {
    flex: 0 0 calc(20% - 0.4rem);
  }
}

.cdev-carousel__thumb:hover {
  opacity: 0.8;
}

.cdev-carousel__thumb.is-active {
  border-color: rgba(245, 197, 66, 0.6);
  opacity: 1;
}

.cdev-carousel__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cdev-pkg-prose {
  max-width: none;
}

.cdev-pkg-prose .cdev-desc-box {
  border-radius: var(--cdev-radius);
  padding: 1rem 1.125rem;
  margin: 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cdev-pkg-prose .cdev-desc-box--features {
  border-color: rgba(245, 197, 66, 0.35);
  background: rgba(245, 197, 66, 0.06);
}

.cdev-pkg-prose .cdev-desc-box--features .cdev-desc-box__title {
  color: var(--cdev-accent);
}

.cdev-pkg-prose .cdev-desc-box--warn {
  border-color: rgba(213, 59, 59, 0.55);
  background: rgba(213, 59, 59, 0.12);
}

.cdev-pkg-prose .cdev-desc-box--warn .cdev-desc-box__title {
  color: #ef4444;
}

.cdev-pkg-prose .cdev-desc-box--warn li,
.cdev-pkg-prose .cdev-desc-box--warn p {
  color: rgba(255, 255, 255, 0.82);
}

.cdev-pkg-prose .cdev-desc-box--success {
  border-color: rgba(54, 255, 159, 0.45);
  background: rgba(54, 255, 159, 0.08);
}

.cdev-pkg-prose .cdev-desc-box--success .cdev-desc-box__title {
  color: #36ff9f;
}

.cdev-pkg-prose .cdev-desc-box--success li,
.cdev-pkg-prose .cdev-desc-box--success p {
  color: rgba(255, 255, 255, 0.82);
}

.cdev-pkg-prose .cdev-desc-box__title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 1rem;
}

.cdev-pkg-prose .cdev-desc-box p {
  margin: 0.35rem 0;
}

.cdev-pkg-prose .cdev-desc-box ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.cdev-pkg-prose .cdev-desc-box li {
  margin: 0.25rem 0;
  color: rgba(255, 255, 255, 0.78);
}

.cdev-pkg-prose .cdev-desc-box--info {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.08);
}

.cdev-pkg-prose .cdev-desc-box--info .cdev-desc-box__title {
  color: #93c5fd;
}

.cdev-pkg-prose h3 {
  margin: 1.25rem 0 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
}

.cdev-pkg-prose ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.cdev-pkg-prose li {
  margin: 0.35rem 0;
}

.cdev-pkg-prose pre {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
  overflow-x: auto;
}

.cdev-pkg-prose hr {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Legacy Tailwind boxes — não sobrescrever .cdev-desc-box */
.cdev-pkg-prose div[class*="border-"]:not([class*="cdev-desc-box"]),
.cdev-pkg-prose div[class*="rounded"]:not([class*="cdev-desc-box"]) {
  border-color: rgba(245, 197, 66, 0.25) !important;
  background: rgba(245, 197, 66, 0.05) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.cdev-pkg-prose div[class*="border-"]:not([class*="cdev-desc-box"]) .text-blue-400,
.cdev-pkg-prose div[class*="border-"]:not([class*="cdev-desc-box"]) > p:first-child {
  color: var(--cdev-accent) !important;
}

/* Hide meta blocks if JS did not strip them (safety) */
.cdev-pkg-prose .cdev-badges-source,
.cdev-pkg-prose .cdev-package-links,
.cdev-pkg-prose .cdev-short-desc {
  display: none !important;
}

/* ── Floating Discord widget (bottom-right bubble → panel on click) ── */
.cdev-discord-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 95;
  pointer-events: none;
}

.cdev-discord-float.is-dismissed {
  display: none;
}

.cdev-discord-float__wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: auto;
}

.cdev-discord-float__fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  border-radius: var(--cdev-radius);
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.cdev-discord-float__fab:hover,
.cdev-discord-float__wrap.is-open .cdev-discord-float__fab {
  transform: scale(1.04);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.cdev-discord-float__fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.cdev-discord-float__card {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(340px, calc(100vw - 2.5rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cdev-radius);
  background: linear-gradient(145deg, #5865f2 0%, #4752c4 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.97);
  transform-origin: bottom right;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  pointer-events: none;
}

.cdev-discord-float__shine {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(16px);
  pointer-events: none;
}

.cdev-discord-float__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: var(--cdev-radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cdev-discord-float__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: rotate(90deg);
}

.cdev-discord-float__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1rem;
}

.cdev-discord-float__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cdev-discord-float__icon-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--cdev-radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.35rem;
}

.cdev-discord-float__text {
  margin: 0;
  padding-right: 1.25rem;
  padding-top: 0.125rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

.cdev-discord-float__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #4752c4;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

.cdev-discord-float__cta:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #4752c4;
  transform: scale(0.98);
}

.cdev-discord-float__wrap.is-open .cdev-discord-float__card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* =============================================================================
   cDev visual layer
   ============================================================================= */

html.dark,
.cdev-body {
  background: #050505;
  color: #fff;
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
}

.cdev-body {
  min-height: 100vh;
}

.cdev-kicker {
  margin: 0 0 0.75rem;
  color: var(--cdev-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.cdev-reveal {
  animation: cdev-rise 1s ease both;
  animation-delay: var(--d, 0ms);
}

@keyframes cdev-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cdev-hero-pan {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cdev-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Buttons */
.cdev-btn-white,
.cdev-btn-ghost-lg,
.cdev-btn-accent,
.cdev-btn-accent-lg,
.cdev-btn-outline-lg,
.cdev-btn-discord,
.cdev-signin-btn,
.cdev-docs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  min-height: 3rem;
  height: auto;
  padding: 0.85rem 1.35rem;
  border-radius: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 0;
  flex: 0 0 auto;
}

.cdev-btn-white {
  min-height: 3.25rem;
  padding: 0.95rem 1.5rem;
  background: #fff;
  color: #000;
}
.cdev-btn-white:hover { background: #e4e4e7; }
.cdev-btn-white i { transition: transform 0.3s ease; }
.cdev-btn-white:hover i { transform: translateX(4px); }

.cdev-btn-ghost-lg {
  min-height: 3.25rem;
  padding: 0.95rem 1.5rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
}
.cdev-btn-ghost-lg:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03);
}

.cdev-btn-accent,
.cdev-btn-accent-lg {
  min-height: 3.15rem;
  padding: 0.9rem 1.35rem;
  background: var(--cdev-accent);
  color: #fff;
}
.cdev-btn-accent:hover,
.cdev-btn-accent-lg:hover { background: #2aa3ef; }
.cdev-btn-accent:disabled,
.cdev-btn-accent-lg:disabled { opacity: 0.45; cursor: not-allowed; }

.cdev-btn-accent-lg,
.cdev-btn-outline-lg {
  min-height: 3.25rem;
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 0.5rem;
}

.cdev-btn-outline-lg {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.cdev-btn-outline-lg:hover { border-color: #fff; }

.cdev-btn-discord {
  min-height: 2.85rem;
  padding: 0.8rem 1.35rem;
  background: #5865F2;
  color: #fff;
}
.cdev-btn-discord:hover { background: #4752C4; }

.cdev-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}
.cdev-btn-gift {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #71717a;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cdev-btn-gift:hover {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
}

.cdev-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #a1a1aa;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.cdev-text-link:hover { color: #fff; }

/* Header */
.cdev-nav {
  position: fixed;
  top: var(--cdev-promo-h, 0);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 105;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.cdev-nav__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1.25rem;
}

.cdev-nav__left {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 0;
}

.cdev-nav__logo img {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

.cdev-nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.cdev-nav__link {
  color: #a1a1aa;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.cdev-nav__link:hover,
.cdev-nav__link.is-active { color: #fff; }

.cdev-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cdev-nav__divider {
  width: 1px;
  height: 1.25rem;
  background: rgba(255,255,255,0.06);
  margin: 0 0.25rem;
}

.cdev-icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--cdev-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cdev-icon-btn--discord {
  width: 2.5rem;
  border-color: rgba(88, 101, 242, 0.2);
  color: #5865F2;
  background: rgba(88, 101, 242, 0.05);
}
.cdev-icon-btn--discord:hover { background: rgba(88, 101, 242, 0.15); }

.cdev-icon-btn--ghost {
  width: auto;
  padding: 0 0.7rem;
  border-color: rgba(255,255,255,0.08);
  color: #e4e4e7;
}

.cdev-account-btn {
  height: 2.6rem;
  padding: 0 0.55rem 0 0.35rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111113;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cdev-account-btn:hover,
.cdev-account-btn[aria-expanded="true"] {
  border-color: rgba(61, 184, 255, 0.35);
  background: #16171a;
}
.cdev-account-btn__avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: var(--cdev-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3DB8FF, #1E7FE0);
  color: #050505;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
}
.cdev-account-btn__meta {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  min-width: 0;
}
.cdev-account-btn__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cdev-account-btn__status {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3DB8FF;
}
.cdev-account-btn__chevron {
  font-size: 0.65rem;
  color: #71717a;
  margin-right: 0.15rem;
}
@media (min-width: 640px) {
  .cdev-account-btn__meta { display: flex; }
}

.cdev-account-panel[hidden] { display: none !important; }
.cdev-account-panel {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.cdev-account-panel.is-open {
  display: flex !important;
  pointer-events: auto;
}
.cdev-account-panel__backdrop {
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.cdev-account-panel__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0.85rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-radius: 1rem 1rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  background: #0c0c0e;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.55);
}
.cdev-account-panel__handle {
  display: block;
  width: 2.5rem;
  height: 0.28rem;
  margin: 0.1rem auto 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.cdev-account-panel__close {
  display: inline-flex;
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  background: #141416;
  color: #a1a1aa;
  cursor: pointer;
}
@media (max-width: 767px) {
  body.cdev-account-open { overflow: hidden; }
}
@media (min-width: 768px) {
  .cdev-account-panel {
    position: absolute;
    inset: auto;
    top: calc(100% + 0.7rem);
    right: 0;
    z-index: 120;
    width: min(20.5rem, calc(100vw - 1.5rem));
    display: none;
    align-items: stretch;
    justify-content: stretch;
    pointer-events: none;
  }
  .cdev-account-panel.is-open {
    display: block !important;
    pointer-events: auto;
  }
  .cdev-account-panel__backdrop,
  .cdev-account-panel__handle,
  .cdev-account-panel__close { display: none; }
  .cdev-account-panel__sheet {
    width: 100%;
    padding: 1rem 1rem 0.75rem;
    border-radius: var(--cdev-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  }
}
.cdev-account-panel__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
}
.cdev-account-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: var(--cdev-radius);
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.cdev-account-row:last-child { margin-bottom: 0; }
.cdev-account-row__icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--cdev-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.cdev-account-row__icon--fivem {
  color: #3DB8FF;
  background: rgba(61, 184, 255, 0.1);
}
.cdev-account-row__icon--discord {
  color: #8b93ff;
  background: rgba(88, 101, 242, 0.12);
}
.cdev-account-row__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.cdev-account-row__copy strong {
  font-size: 0.82rem;
  font-weight: 650;
  color: #fff;
}
.cdev-account-row__copy em {
  font-style: normal;
  font-size: 0.75rem;
  color: #a1a1aa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cdev-account-row__ok {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3DB8FF;
}
.cdev-account-row__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.cdev-account-row__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: var(--cdev-radius);
  color: #71717a;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.cdev-account-row__logout:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}
.cdev-account-row__action {
  border: 0;
  border-radius: var(--cdev-radius);
  min-height: 2.15rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.cdev-signin-btn {
  height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 0.875rem;
}

.cdev-cart-btn {
  position: relative;
  height: 2.5rem;
  padding: 0 0.9rem;
  margin-right: 0.25rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(61, 184, 255, 0.2);
  background: rgba(61, 184, 255, 0.05);
  color: var(--cdev-accent);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease;
}
.cdev-cart-btn i { transition: transform 0.2s ease; }
.cdev-cart-btn:hover { background: rgba(61, 184, 255, 0.1); }
.cdev-cart-btn:hover i,
.cdev-cart-btn[aria-expanded="true"] i { transform: scale(1.08); }

.cdev-cart-badge[hidden],
#cdev-basket-count[hidden] { display: none !important; }

.cdev-cart-badge,
#cdev-basket-count.cdev-cart-badge,
.cdev-basket-badge {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  border-radius: var(--cdev-radius);
  background: var(--cdev-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cdev-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: #111113;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.cdev-mobile-menu[hidden] { display: none !important; }
.cdev-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 240;
}
.cdev-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cdev-mobile-menu__panel {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: min(22rem, 88vw);
  height: 100%;
  padding: calc(0.85rem + env(safe-area-inset-top, 0px)) 1.15rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
  background: #0b0b0c;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.cdev-mobile-menu.is-open .cdev-mobile-menu__backdrop { opacity: 1; }
.cdev-mobile-menu.is-open .cdev-mobile-menu__panel { transform: translate3d(0, 0, 0); }
.cdev-mobile-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.cdev-mobile-menu__bar .cdev-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.cdev-mobile-menu__bar .cdev-nav__logo img { height: 2.25rem; }
.cdev-mobile-menu__close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: #141416;
  color: #fff;
  cursor: pointer;
}
.cdev-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  overflow: auto;
}
.cdev-mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.9rem;
  border-radius: 0.5rem;
  color: #d4d4d8;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.cdev-mobile-menu__link.is-active,
.cdev-mobile-menu__link:hover {
  background: #141416;
  color: #fff;
}
.cdev-mobile-menu__foot {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cdev-mobile-menu__foot .cdev-btn-discord { width: 100%; }
body.cdev-menu-open { overflow: hidden; }

.cdev-header-dropdown {
  margin-top: 0.4rem;
  padding: 0.4rem;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: #0b0b0c;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.cdev-currency-menu {
  width: max-content;
  min-width: 0;
}
#currency-options {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cdev-currency-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 100%;
  padding: 0.35rem 0.5rem;
  border-radius: var(--cdev-radius);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.cdev-currency-option i {
  font-size: 0.8rem;
  line-height: 1;
}
.cdev-currency-option:hover {
  background: rgba(61, 184, 255, 0.1);
  color: #fff;
}
.cdev-currency-option.is-selected {
  background: rgba(61, 184, 255, 0.4);
}

@media (max-width: 479px) {
  .cdev-nav__divider,
  .cdev-icon-btn--discord { display: none; }
  .cdev-signin-btn span { display: none; }
  .cdev-signin-btn { padding: 0 0.7rem; }
  .cdev-nav__inner { padding: 0.7rem 0.85rem; }
  .cdev-nav__logo img { height: 2.25rem; }
}
@media (min-width: 640px) {
  .cdev-nav__links { display: flex; }
  .cdev-menu-btn,
  .cdev-mobile-menu { display: none !important; }
  .cdev-nav__inner {
    flex-wrap: nowrap;
    padding: 1rem 2rem;
  }
}

/* Footer */
.cdev-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #050505;
  padding: 5rem 0 2.5rem;
}
.cdev-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.cdev-footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}
.cdev-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.cdev-footer__brand img { height: 2.5rem; width: auto; }
.cdev-footer__blurb {
  color: #71717a;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.cdev-footer h3 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.cdev-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.cdev-footer a { color: #a1a1aa; text-decoration: none; transition: color 0.2s ease; }
.cdev-footer a:hover { color: #fff; }
.cdev-footer__social {
  display: inline-flex;
  color: #a1a1aa;
  font-size: 1.35rem;
}
.cdev-footer__social:hover { color: #5865F2; }
.cdev-footer .cdev-footer__join,
.cdev-footer a.cdev-btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.5rem;
  background: #5865F2;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.cdev-footer .cdev-footer__join:hover,
.cdev-footer a.cdev-btn-discord:hover {
  background: #4752C4;
  color: #fff;
}
.cdev-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #52525b;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .cdev-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .cdev-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* Home */
.cdev-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7.5rem 1rem 5.5rem;
  overflow: hidden;
}
.cdev-hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cdev-hero__pan {
  position: absolute;
  inset: 0;
  width: 100%;
  background-image: var(--cdev-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
}
.cdev-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.55) 42%, rgba(5,5,5,0.22) 100%),
    radial-gradient(70% 55% at 70% 45%, transparent 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.82) 100%);
}
.cdev-hero__fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 11rem;
  background: linear-gradient(to top, #050505, transparent);
}
.cdev-hero__glow {
  position: absolute;
  top: 28%;
  left: 18%;
  width: 520px;
  height: 520px;
  transform: translate(-20%, -40%);
  border-radius: 999px;
  filter: blur(120px);
  background: radial-gradient(circle, rgba(61,184,255,0.18) 0%, rgba(20,80,160,0.08) 50%, transparent 70%);
}
.cdev-hero__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}
.cdev-hero__copy { max-width: 40rem; }
.cdev-hero__mark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  color: #a1a1aa;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cdev-hero__mark span { color: var(--cdev-accent); }
.cdev-hero__mark i {
  width: 1.5rem;
  height: 1px;
  background: rgba(255,255,255,0.28);
}
.cdev-hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 7vw, 5.15rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.94;
  color: #fff;
  text-align: left;
}
.cdev-hero__lead {
  margin: 0 0 2rem;
  max-width: 32rem;
  color: #b4b4bb;
  font-size: 1.05rem;
  line-height: 1.7;
}
.cdev-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  max-width: 28rem;
}
.cdev-hero__actions a {
  flex: 0 0 auto;
  width: 100%;
}
.cdev-hero__rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.cdev-hero__metric {
  padding: 0.85rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8, 8, 10, 0.62);
  border-radius: 0.5rem;
}
@media (max-width: 479px) {
  .cdev-hero { padding: 6.25rem 1rem 4.75rem; min-height: 100svh; }
  .cdev-hero__title { font-size: clamp(2.1rem, 12vw, 3rem); }
  .cdev-hero__lead { font-size: 0.95rem; }
  .cdev-hero__metric { padding: 0.75rem 0.55rem; }
  .cdev-hero__metric strong { font-size: 1.1rem; }
  .cdev-quote__top { grid-template-columns: auto 1fr; }
  .cdev-quote__stars { grid-column: 1 / -1; }
  .cdev-footer { padding: 3rem 0 2rem; }
  .cdev-footer__join { width: 100%; }
}
.cdev-hero__metric strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.cdev-hero__metric > span {
  color: #8b8b93;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cdev-hero__metric strong.cdev-hero__live {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}
.cdev-live-dot {
  position: relative;
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #22c55e;
}
.cdev-live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #22c55e;
  animation: cdev-live-dot 1.2s ease-out infinite;
}
@keyframes cdev-live-dot {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.4); opacity: 0; }
}
.cdev-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  margin-left: -0.75rem;
  z-index: 2;
}
.cdev-hero__mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid #3f3f46;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.cdev-hero__wheel {
  display: block;
  width: 0.28rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: #a1a1aa;
  animation: cdev-mouse-bounce 1.15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes cdev-mouse-bounce {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0.35; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (min-width: 640px) {
  .cdev-hero__actions { flex-direction: row; max-width: 36rem; }
  .cdev-hero__actions a { width: auto; flex: 1 1 auto; }
}
@media (min-width: 1024px) {
  .cdev-hero {
    justify-content: center;
    padding: 8rem 1.5rem 6rem;
  }
  .cdev-hero__frame {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.7fr);
    align-items: center;
    gap: 4rem;
  }
  .cdev-hero__rail {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .cdev-hero__metric { padding: 1.15rem 1.15rem; }
  .cdev-hero__metric strong { font-size: 1.7rem; }
}

.cdev-section { padding: 6rem 0; }
.cdev-section--tight { padding-top: 0; }
.cdev-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.cdev-wrap-wide { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.cdev-home-block { border-top: 1px solid rgba(255,255,255,0.05); }
.cdev-home-block--last { padding-bottom: 7rem; }
.cdev-home-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.cdev-home-head__index {
  grid-row: 1 / span 2;
  color: var(--cdev-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-top: 0.35rem;
}
.cdev-home-head__copy { min-width: 0; }
.cdev-home-head__copy h2 { margin: 0 0 0.5rem; }
.cdev-home-head__copy p:not(.cdev-kicker) {
  margin: 0;
  max-width: 36rem;
  color: #8b8b93;
  font-size: 0.95rem;
  line-height: 1.65;
}
.cdev-home-head .cdev-text-link {
  grid-column: 2;
  justify-self: start;
}
@media (min-width: 640px) {
  .cdev-home-head {
    grid-template-columns: auto 1fr auto;
    align-items: end;
  }
  .cdev-home-head__index { grid-row: auto; }
  .cdev-home-head .cdev-text-link {
    grid-column: auto;
    justify-self: end;
    margin-bottom: 0.35rem;
  }
}
.cdev-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.cdev-section__head h2,
.cdev-section-title,
.cdev-home-head__copy h2,
.cdev-store h1,
.cdev-pkg__title,
.cdev-cart__hero h1,
.cdev-faq h1 {
  margin: 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cdev-section__head h2,
.cdev-section-title,
.cdev-home-head__copy h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.cdev-home-head__copy h2 { margin-bottom: 0.5rem; }

.cdev-latest-grid,
.cdev-product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.cdev-product-grid--static { display: grid; }
@media (min-width: 640px) {
  .cdev-latest-grid,
  .cdev-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 768px) {
  .cdev-latest-grid,
  .cdev-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 1280px) {
  .cdev-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cdev-product-grid > .cdev-product-card,
.cdev-latest-grid > .cdev-product-card {
  align-self: end;
}

.cdev-product-card,
.cdev-product-card.cdev-pkg-card,
li.cdev-product-card {
  flex-direction: column;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.cdev-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.cdev-card:hover { border-color: rgba(255,255,255,0.14); }
.cdev-card__media {
  position: relative;
  width: 100%;
  height: 17rem;
  overflow: hidden;
  background: #0b0b0c;
}
@media (min-width: 640px) {
  .cdev-card__media { height: 19rem; }
}
.cdev-card__media img,
.cdev-card__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cdev-card:hover .cdev-card__media img { transform: scale(1.03); }
.cdev-card__fallback { display: block; background: linear-gradient(135deg, #141416, #1e293b); }
.cdev-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-top: -3rem;
  padding: 0.75rem 1rem 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(20, 20, 22, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.cdev-card__name {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
@media (min-width: 768px) {
  .cdev-card__name { font-size: 1.05rem; }
}
.cdev-card:hover .cdev-card__name { color: var(--cdev-accent); }
.cdev-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}
.cdev-card__chip {
  padding: 0.15rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  color: #71717a;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cdev-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
.cdev-card__price,
.cdev-card__price-value {
  color: #a1a1aa;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .cdev-card__price,
  .cdev-card__price-value { font-size: 1.2rem; }
}
.cdev-card__price-old {
  margin-right: 0.35rem;
  opacity: 0.5;
  font-size: 0.85em;
}
.cdev-card__basket {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  color: #a1a1aa;
  cursor: pointer;
  overflow: visible;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, width 0.2s ease, min-width 0.2s ease, padding 0.2s ease;
}
@media (min-width: 640px) {
  .cdev-card__basket { width: 2.5rem; height: 2.5rem; }
}
.cdev-card__basket:hover,
.cdev-card__basket.is-in-basket {
  background: rgba(61, 184, 255, 0.1);
  border-color: rgba(61, 184, 255, 0.3);
  color: var(--cdev-accent);
}
.cdev-card__basket.cdev-basket-btn--loading,
.cdev-card__basket.cdev-basket-btn--processing {
  width: auto;
  min-width: 6.85rem;
  height: 2.5rem;
  padding: 0 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4d4d8;
  pointer-events: none;
}
.cdev-card__basket .cdev-basket-btn__dots-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.cdev-card__basket .cdev-basket-btn__text {
  display: inline-block;
  line-height: 1;
}

.cdev-card-skel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
}
.cdev-card-skel__media {
  height: 17rem;
  width: 100%;
  background: rgba(255,255,255,0.04);
}
.cdev-card-skel__meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -3rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(20, 20, 22, 0.82);
}
.cdev-card-skel__meta span {
  height: 1rem;
  width: 42%;
  border-radius: 0.25rem;
  background: rgba(255,255,255,0.06);
}
.cdev-card-skel__meta em {
  height: 1rem;
  width: 3.5rem;
  border-radius: 0.25rem;
  background: rgba(255,255,255,0.06);
  font-style: normal;
}
.cdev-card-skel__meta i {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: rgba(255,255,255,0.05);
  font-style: normal;
}
@media (min-width: 640px) {
  .cdev-card-skel__media { height: 19rem; }
}

.cdev-pulse {
  animation: cdev-pulse 1.5s ease-in-out infinite;
}
@keyframes cdev-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.cdev-store-skel { margin-bottom: 2rem; }
.cdev-store-skel__hero { margin-bottom: 1.25rem; }
.cdev-store-skel__hero .cdev-store-skel__line--sm { width: 4.5rem; margin-bottom: 0.65rem; }
.cdev-store-skel__hero .cdev-store-skel__line--lg { width: 10rem; height: 1.75rem; }
.cdev-store-skel__toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.cdev-store-skel__search {
  height: 3rem;
  flex: 1;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: #09090b;
}
.cdev-store-skel__chip {
  height: 3rem;
  width: 6.5rem;
  border-radius: 0.5rem;
  background: #09090b;
  border: 1px solid rgba(255,255,255,0.06);
}
.cdev-store-skel__switch {
  height: 3rem;
  width: 10rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.cdev-store-skel__tabs {
  display: flex;
  gap: 0.35rem;
  width: fit-content;
  margin-bottom: 1.5rem;
  padding: 0.15rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
}
.cdev-store-skel__tab {
  height: 2.5rem;
  width: 7.5rem;
  border-radius: 0.375rem;
  background: rgba(255,255,255,0.06);
}
.cdev-store-skel__tab--sm { width: 6rem; background: rgba(255,255,255,0.03); }
.cdev-store-skel__line {
  height: 0.875rem;
  border-radius: 0.25rem;
  background: rgba(255,255,255,0.06);
}
.cdev-store-skel__line--lg { width: 14rem; margin-bottom: 0.65rem; height: 1.25rem; }
.cdev-store-skel__line--sm { width: 20rem; max-width: 100%; height: 0.875rem; background: rgba(255,255,255,0.04); }

#cdev-store-ready[hidden] { display: none !important; }

.cdev-empty,
.cdev-empty-box,
.cdev-error-box {
  text-align: center;
  color: #a1a1aa;
  padding: 3rem 1.5rem;
}
.cdev-empty-box,
.cdev-error-box {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(20,20,22,0.6);
  border-radius: var(--cdev-radius);
}
.cdev-empty-box i,
.cdev-error-box i { font-size: 2rem; color: var(--cdev-accent); display: block; margin-bottom: 0.75rem; }
.cdev-empty-box p { color: #fff; font-weight: 600; margin: 0 0 0.4rem; }
.cdev-error-box { border-color: rgba(239,68,68,0.3); color: #fecaca; }

.cdev-connect {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0d0d10;
}
.cdev-connect__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.cdev-connect__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.72) 55%, rgba(5,5,5,0.4) 100%);
}
.cdev-connect__left,
.cdev-connect__right { position: relative; z-index: 1; }
.cdev-connect__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  color: var(--cdev-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cdev-ping {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--cdev-accent);
}
.cdev-ping::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--cdev-accent);
  animation: cdev-ping 1.4s cubic-bezier(0,0,0.2,1) infinite;
  opacity: 0.75;
}
.cdev-connect h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.cdev-connect p {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 34rem;
}
.cdev-connect__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .cdev-connect {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: center;
    padding: 2.25rem 2.5rem;
  }
  .cdev-connect__right { justify-content: flex-end; }
}

.cdev-caps {
  display: grid;
  gap: 0.75rem;
}
.cdev-cap {
  padding: 1.35rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
}
.cdev-cap span {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--cdev-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.cdev-cap h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.cdev-cap p {
  margin: 0;
  color: #8b8b93;
  font-size: 0.875rem;
  line-height: 1.65;
}
@media (min-width: 768px) {
  .cdev-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1100px) {
  .cdev-caps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cdev-quotes {
  display: grid;
  gap: 1rem;
}
.cdev-quote {
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
}
.cdev-quote__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.cdev-quote__top img,
.cdev-quote__initial {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}
.cdev-quote__initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(61,184,255,0.12);
  color: var(--cdev-accent);
  font-size: 0.8rem;
  font-weight: 700;
}
.cdev-quote__top strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
.cdev-quote__top em {
  display: block;
  color: #71717a;
  font-size: 0.7rem;
  font-style: normal;
}
.cdev-quote__stars {
  display: flex;
  gap: 0.12rem;
  color: var(--cdev-accent);
  font-size: 0.68rem;
}
.cdev-quote p {
  margin: 0;
  color: #c4c4c8;
  font-size: 0.98rem;
  line-height: 1.65;
}
.cdev-quote--lead {
  border-color: rgba(61,184,255,0.22);
  background: linear-gradient(180deg, rgba(61,184,255,0.08) 0%, #141416 42%);
}
@media (min-width: 768px) {
  .cdev-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Store */
.cdev-store {
  min-height: 100vh;
  padding: calc(var(--cdev-promo-h, 0px) + var(--header-h, 77px) + 1.5rem) 0 5rem;
  color: #fff;
}
.cdev-store__inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .cdev-store__inner { padding: 2rem; }
}

.cdev-store__hero { margin-bottom: 1.35rem; }
.cdev-store__hero-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}
.cdev-store__hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.cdev-store__count {
  color: #71717a;
  font-size: 0.9rem;
  font-weight: 500;
}

.cdev-store__sticky {
  position: sticky;
  top: calc(var(--cdev-promo-h, 0px) + var(--header-h, 77px));
  z-index: 40;
  margin-bottom: 1rem;
  padding: 0.65rem 0 0.75rem;
  background: linear-gradient(180deg, #050505 70%, rgba(5,5,5,0));
}
.cdev-store__toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .cdev-store__toolbar { gap: 0.75rem; flex-wrap: nowrap; }
}

.cdev-search {
  position: relative;
  flex: 1;
  min-width: 0;
}
.cdev-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #71717a;
  font-size: 1rem;
  pointer-events: none;
}
.cdev-search input {
  width: 100%;
  height: 3rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: #09090b;
  color: #fff;
  padding: 0 2.75rem 0 2.75rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cdev-search input::placeholder { color: #52525b; }
.cdev-search input:focus {
  border-color: rgba(61,184,255,0.4);
  box-shadow: 0 0 0 3px rgba(61,184,255,0.1);
}

.cdev-store__filter-wrap { position: relative; flex-shrink: 0; }
.cdev-store__filter-btn,
.cdev-view-switch button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: #09090b;
  color: #d4d4d8;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.cdev-store__filter-btn:hover,
.cdev-store__filter-btn.is-open {
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.cdev-filters-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 20;
  min-width: 16rem;
  padding: 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.cdev-filters-panel__label {
  margin: 0 0 0.45rem;
  color: #71717a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cdev-select {
  width: 100%;
  height: 2.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #09090b;
  color: #fff;
  padding: 0 0.75rem;
  outline: none;
}
.cdev-select:focus { border-color: rgba(61,184,255,0.4); }

.cdev-view-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  height: 3rem;
  padding: 0.15rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}
.cdev-view-switch button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #71717a;
  white-space: nowrap;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
}
.cdev-view-switch button:hover { color: #d4d4d8; }
.cdev-view-switch button.is-active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.cdev-collections {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
}
.cdev-collection-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #71717a;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cdev-collection-tab:hover { color: #d4d4d8; }
.cdev-collection-tab.is-active,
.cdev-collection-tab.cdev-subnav-item--active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.cdev-collection-tab i { color: inherit; }
.cdev-collection-tab.is-active i { color: var(--cdev-accent); }
.cdev-collection-tab__count {
  font-style: normal;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: #71717a;
}
.cdev-collection-tab.is-active .cdev-collection-tab__count { color: #a1a1aa; }

.cdev-map-view {
  position: relative;
  min-height: 36rem;
  overflow: hidden;
  border-radius: var(--cdev-radius);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(61,184,255,0.08), transparent 45%),
    radial-gradient(ellipse at 70% 80%, rgba(61,184,255,0.05), transparent 40%),
    #0b0b0c;
}
.cdev-map-view__canvas {
  position: relative;
  width: 100%;
  height: 36rem;
  background-image:
    linear-gradient(rgba(61,184,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,184,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cdev-map-view__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  font-size: 0.875rem;
}
.cdev-map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.cdev-map-pin i {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: var(--cdev-accent);
  box-shadow: 0 0 0 4px rgba(61,184,255,0.18);
}
.cdev-map-pin span {
  max-width: 9rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.3rem;
  background: rgba(9,9,11,0.88);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d4d4d8;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cdev-map-pin:hover span,
.cdev-map-pin:focus span { opacity: 1; transform: translateY(0); }

/* Product modal */
.cdev-product-modal[hidden] { display: none !important; }
.cdev-product-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  padding-top: 4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.cdev-product-modal.is-visible {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}
.cdev-product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.cdev-product-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  max-height: 85vh;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}
.cdev-product-modal.is-visible .cdev-product-modal__dialog {
  transform: translateY(0);
}
@media (max-width: 767px) {
  .cdev-product-modal {
    align-items: flex-end;
    padding: 0;
  }
  .cdev-product-modal__dialog {
    max-width: 100%;
    max-height: 94dvh;
    border-radius: 1rem 1rem 0 0;
    transform: translateY(24px);
  }
  .cdev-product-modal.is-visible .cdev-product-modal__dialog {
    transform: translateY(0);
  }
  .cdev-product-modal__bar { padding: 0.8rem 0.9rem; }
  .cdev-product-modal__scroll { max-height: calc(94dvh - 3.4rem); }
}
.cdev-product-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cdev-product-modal__title {
  margin: 0;
  min-width: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cdev-product-modal__bar-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.cdev-product-modal__fullpage,
.cdev-product-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #71717a;
  font-size: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}
.cdev-product-modal__fullpage { padding: 0 0.75rem; }
.cdev-product-modal__close { width: 2rem; padding: 0; }
.cdev-product-modal__fullpage:hover,
.cdev-product-modal__close:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.cdev-product-modal__scroll {
  overflow-y: auto;
  max-height: calc(85vh - 52px);
}
.cdev-product-modal__scroll::-webkit-scrollbar { width: 8px; }
.cdev-product-modal__scroll::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 999px;
}
.cdev-product-modal__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.25rem;
}
@media (min-width: 1024px) {
  .cdev-product-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
.cdev-product-modal__gallery,
.cdev-product-modal__gallery .cdev-carousel,
.cdev-product-modal__gallery .cdev-carousel-placeholder {
  min-height: 250px;
  border-radius: 0;
  border-color: #27272a;
}
@media (min-width: 768px) {
  .cdev-product-modal__gallery,
  .cdev-product-modal__gallery .cdev-carousel__main,
  .cdev-product-modal__gallery .cdev-carousel-placeholder { min-height: 350px; }
}
@media (min-width: 1024px) {
  .cdev-product-modal__gallery,
  .cdev-product-modal__gallery .cdev-carousel__main,
  .cdev-product-modal__gallery .cdev-carousel-placeholder { min-height: 400px; }
}
.cdev-product-modal__buy {
  margin-top: 1rem;
  padding: 1.15rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}
.cdev-product-modal__price {
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cdev-product-modal__price .cdev-card__price-value { color: #fff; font-size: inherit; }
.cdev-product-modal__buy-row { display: flex; gap: 0.5rem; }
.cdev-quick-add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--cdev-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.cdev-quick-add:hover { background: var(--cdev-accent-dark); }
.cdev-quick-add.is-in-basket {
  background: rgba(61,184,255,0.15);
  color: var(--cdev-accent);
}
.cdev-product-modal__gift {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #71717a;
  cursor: pointer;
}
.cdev-product-modal__gift:hover {
  color: #fbbf24;
  border-color: rgba(251,191,36,0.4);
}
.cdev-product-modal__heading {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cdev-product-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
}
.cdev-product-modal__info .cdev-docs,
.cdev-product-modal__info .cdev-features-card,
.cdev-product-modal__info .cdev-desc-card { margin-top: 1rem; }

/* Product page — info LEFT, gallery RIGHT */
.cdev-pkg {
  min-height: 100vh;
  height: auto;
  overflow: visible;
  padding: calc(var(--cdev-promo-h, 0px) + var(--header-h, 77px) + 1.5rem) 0 5rem;
}
.cdev-pkg__inner,
.cdev-pkg__info,
.cdev-pkg__grid,
.cdev-desc-card,
.cdev-pkg .cdev-prose {
  overflow: visible;
  max-height: none;
  height: auto;
}
.cdev-pkg__inner { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
.cdev-pkg__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--cdev-accent);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.cdev-pkg__back:hover { color: #fff; }
.cdev-pkg__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cdev-pkg__title { font-size: clamp(1.35rem, 3vw, 1.85rem); margin: 0 0 0.75rem !important; }
.cdev-pkg__lead { color: #a1a1aa; font-size: 0.95rem; line-height: 1.65; margin: 0 0 1rem; }
.cdev-pkg__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.25rem; }
.cdev-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  color: #a1a1aa;
  font-size: 0.75rem;
}
.cdev-docs,
.cdev-features-card,
.cdev-desc-card,
.cdev-buy {
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  padding: 1.15rem;
  margin-bottom: 1rem;
}
.cdev-docs h2,
.cdev-features-card h2,
.cdev-desc-card h2 {
  margin: 0 0 0.75rem;
  color: #71717a;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cdev-docs h2 { color: #60a5fa; }
.cdev-docs p { color: #a1a1aa; font-size: 0.875rem; margin: 0 0 0.85rem; }
.cdev-docs__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cdev-docs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.5rem;
  padding: 0 1rem;
  background: #2563eb;
  color: #fff;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
}
.cdev-docs__btn:hover { background: #1d4ed8; }
.cdev-features-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.cdev-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #d4d4d8;
  font-size: 0.875rem;
}
.cdev-features-list i { color: var(--cdev-accent); margin-top: 0.1rem; }

.cdev-prose,
.cdev-prose p,
.product-description-wrapper { color: #d4d4d8; font-size: 0.9rem; line-height: 1.7; }
.cdev-prose h3 { color: #fff; font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.cdev-prose ul { padding-left: 1.1rem; }
.cdev-prose img { max-width: 100%; border-radius: 0.5rem; }
.cdev-prose .cdev-desc-box,
.cdev-prose .cdev-desc-box {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(61,184,255,0.2);
  background: rgba(61,184,255,0.06);
}
.cdev-prose .cdev-desc-box--warn { border-color: rgba(239,68,68,0.25); background: rgba(239,68,68,0.08); }
.cdev-prose .cdev-desc-box--success { border-color: rgba(34,197,94,0.25); background: rgba(34,197,94,0.08); }
.cdev-prose .cdev-desc-box__title,
.cdev-prose .cdev-desc-box__title { color: #fff; font-weight: 600; margin: 0 0 0.4rem; }

.cdev-gallery,
.cdev-carousel,
.cdev-carousel-placeholder {
  overflow: hidden;
  background: #18181b;
  border: 1px solid #27272a;
  min-height: 250px;
}
.cdev-gallery { position: relative; }
.cdev-carousel-placeholder img,
.cdev-carousel-placeholder__img,
.cdev-carousel__slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cdev-carousel__main { position: relative; min-height: 250px; }
@media (min-width: 768px) {
  .cdev-gallery,
  .cdev-carousel__main,
  .cdev-carousel-placeholder { min-height: 350px; }
}
@media (min-width: 1024px) {
  .cdev-pkg__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .cdev-pkg__media { position: sticky; top: 6rem; }
  .cdev-gallery,
  .cdev-carousel__main,
  .cdev-carousel-placeholder { min-height: 400px; }
}

.cdev-carousel__thumbs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.5rem 0 0;
}
.cdev-carousel__thumb {
  position: relative;
  width: 3.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border: 2px solid #3f3f46;
  background: #18181b;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
@media (min-width: 768px) {
  .cdev-carousel__thumb {
    width: 5rem;
    height: 3.5rem;
  }
}
.cdev-carousel__thumb.is-active { border-color: var(--cdev-accent); }
.cdev-carousel__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cdev-carousel__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 0.95rem;
}
.cdev-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cdev-gallery:hover .cdev-carousel__nav,
.cdev-carousel:hover .cdev-carousel__nav { opacity: 1; }
.cdev-carousel__nav--prev { left: 0.5rem; }
.cdev-carousel__nav--next { right: 0.5rem; }

.cdev-buy__price { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1rem; }
.cdev-buy__now { color: #fff; font-size: 1.75rem; font-weight: 600; }
.cdev-buy__code { color: #71717a; font-size: 0.8rem; }
.cdev-buy__actions { display: flex; gap: 0.5rem; }
.cdev-buy__actions .add-btn,
.cdev-buy__actions .subscribe-btn,
.cdev-buy__actions .cdev-btn-accent { flex: 1; }
.cdev-pkg-alert {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(239,68,68,0.3);
  color: #fecaca;
  font-size: 0.85rem;
}

/* Cart */
.cdev-cart {
  min-height: 100vh;
  padding: calc(var(--cdev-promo-h, 0px) + var(--header-h, 77px) + 1.5rem) 0 5rem;
  color: #fff;
}
.cdev-cart__inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .cdev-cart__inner { padding: 2rem; }
}
.cdev-cart__hero { max-width: 40rem; margin-bottom: 2rem; }
.cdev-cart__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: #a1a1aa;
  font-size: 0.875rem;
  text-decoration: none;
}
.cdev-cart__back:hover { color: #fff; }
.cdev-cart__hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cdev-cart__hero > p:last-child {
  margin: 0.6rem 0 0;
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cdev-cart__layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .cdev-cart__layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2rem;
  }
}

.cdev-cart__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cdev-cart__section-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.cdev-cart__section-head span {
  color: #71717a;
  font-size: 0.8rem;
}

.cdev-cart__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cdev-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
  transition: border-color 0.2s ease;
}
.cdev-cart-item:hover { border-color: rgba(255,255,255,0.14); }
.cdev-cart-item__media {
  position: relative;
  display: block;
  width: 7.5rem;
  height: 5.25rem;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #0b0b0c;
}
.cdev-cart-item__media img,
.cdev-cart-item__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cdev-cart-item__fallback {
  display: block;
  background: linear-gradient(135deg, #141416, #1e293b);
}
.cdev-cart-item__qty {
  position: absolute;
  left: 0.4rem;
  bottom: 0.4rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
  background: rgba(9,9,11,0.82);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cdev-cart-item__body { min-width: 0; }
.cdev-cart-item__name {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cdev-cart-item__name:hover { color: var(--cdev-accent); }
.cdev-cart-item__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
  color: #a1a1aa;
  font-size: 0.95rem;
  font-weight: 600;
}
.cdev-cart-item__currency { color: var(--cdev-accent); font-size: 0.75rem; }
.cdev-cart-item__price-old {
  color: #52525b;
  font-size: 0.8rem;
  text-decoration: line-through;
}
.cdev-cart-item__price-badge {
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background: rgba(61,184,255,0.15);
  color: var(--cdev-accent);
  font-size: 10px;
  font-weight: 700;
}
.cdev-cart-item__remove,
.cdev-cart-item__remove-skel {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  color: #a1a1aa;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cdev-cart-item__remove:hover {
  background: rgba(248,113,113,0.1);
  border-color: rgba(248,113,113,0.3);
  color: #f87171;
}
.cdev-cart-item__remove-skel { cursor: default; }
.cdev-cart-item--skeleton .cdev-cart-item__media,
.cdev-cart-item--skeleton .cdev-cart-item__remove-skel {
  background: rgba(255,255,255,0.05);
}
.cdev-cart-item--removing {
  pointer-events: none;
  opacity: 0.55;
}
.cdev-cart-item__remove-spinner {
  display: inline-flex;
  color: var(--cdev-accent);
}
.cdev-cart-item__remove-spinner .cdev-basket-btn__dots-svg {
  width: 14px;
  height: 14px;
}

.cdev-cart-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 3.5rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
}
.cdev-cart-state__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  border-radius: 0.5rem;
  background: rgba(61,184,255,0.1);
  color: var(--cdev-accent);
  font-size: 1.25rem;
}
.cdev-cart-state p {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}
.cdev-cart-state span {
  max-width: 22rem;
  color: #71717a;
  font-size: 0.875rem;
  line-height: 1.55;
}
.cdev-cart-state .cdev-btn-white { margin-top: 0.75rem; }

.cdev-cart__summary {
  position: sticky;
  top: calc(var(--cdev-promo-h, 0px) + var(--header-h, 77px) + 1rem);
}
.cdev-cart__summary.is-empty { opacity: 0.72; }
.cdev-cart__summary-card {
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
}
.cdev-cart__summary-card h2 {
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.cdev-cart__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  color: #a1a1aa;
  font-size: 0.875rem;
}
.cdev-cart__summary-row strong { color: #fff; font-weight: 600; }
.cdev-cart__summary-row--total {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 600;
}
.cdev-cart__total {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.cdev-cart__total em {
  color: #71717a;
  font-style: normal;
  font-size: 0.75rem;
}
.cdev-cart__total strong {
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.cdev-cart__pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 3rem;
  margin-top: 1.1rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--cdev-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.cdev-cart__pay:hover:not(:disabled) { background: var(--cdev-accent-dark); }
.cdev-cart__pay:disabled { opacity: 0.4; cursor: not-allowed; }
.cdev-cart__pay[aria-busy="true"] { opacity: 0.7; }
.cdev-cart__tax {
  margin: 0.85rem 0 0;
  color: #52525b;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}
.cdev-cart__keep {
  display: block;
  margin-top: 0.85rem;
  color: #a1a1aa;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
}
.cdev-cart__keep:hover { color: #fff; }

@media (max-width: 640px) {
  .cdev-cart-item {
    grid-template-columns: 5.5rem minmax(0, 1fr) auto;
    gap: 0.75rem;
  }
  .cdev-cart-item__media {
    width: 5.5rem;
    height: 4.25rem;
  }
}

/* Side basket drawer */
.cdev-basket-drawer {
  position: fixed;
  inset: 0;
  z-index: 240;
  visibility: hidden;
  pointer-events: none;
}
.cdev-basket-drawer.is-open,
.cdev-basket-drawer.is-closing {
  visibility: visible;
  pointer-events: auto;
}
.cdev-basket-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cdev-basket-drawer.is-open .cdev-basket-drawer__backdrop {
  opacity: 1;
}
.cdev-basket-drawer.is-closing .cdev-basket-drawer__backdrop {
  opacity: 0;
  transition-duration: 0.25s;
}
.cdev-basket-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  height: 100%;
  background: #141416;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.45);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}
.cdev-basket-drawer.is-open .cdev-basket-drawer__panel {
  transform: translate3d(0, 0, 0);
}
.cdev-basket-drawer.is-closing .cdev-basket-drawer__panel {
  transform: translate3d(100%, 0, 0);
  transition-duration: 0.32s;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
}
body.cdev-drawer-open {
  overflow: hidden;
}

.cdev-basket-drawer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cdev-basket-drawer__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cdev-basket-drawer__title i {
  color: var(--cdev-accent);
  font-size: 1.15rem;
}
.cdev-basket-drawer__title em {
  color: #71717a;
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 500;
}
.cdev-basket-drawer__bar-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cdev-basket-drawer__fullpage,
.cdev-basket-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1aa;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cdev-basket-drawer__fullpage { padding: 0 0.7rem; }
.cdev-basket-drawer__close { width: 2rem; padding: 0; }
.cdev-basket-drawer__fullpage:hover,
.cdev-basket-drawer__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.cdev-basket-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem 1.15rem 0.25rem;
}
.cdev-basket-drawer__body::-webkit-scrollbar { width: 8px; }
.cdev-basket-drawer__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.cdev-basket-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cdev-drawer-item,
.cdev-basket-drawer .cdev-cart-item.cdev-drawer-item {
  display: flex;
  grid-template-columns: none;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.cdev-drawer-item:hover { border-color: rgba(255, 255, 255, 0.12); }
.cdev-basket-drawer.is-open .cdev-drawer-item:not(.cdev-drawer-item--skeleton) {
  animation: cdev-drawer-item-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cdev-basket-drawer.is-open .cdev-drawer-item:nth-child(1) { animation-delay: 0.08s; }
.cdev-basket-drawer.is-open .cdev-drawer-item:nth-child(2) { animation-delay: 0.14s; }
.cdev-basket-drawer.is-open .cdev-drawer-item:nth-child(3) { animation-delay: 0.2s; }
.cdev-basket-drawer.is-open .cdev-drawer-item:nth-child(4) { animation-delay: 0.26s; }
.cdev-basket-drawer.is-open .cdev-drawer-item:nth-child(5) { animation-delay: 0.32s; }
.cdev-basket-drawer.is-open .cdev-drawer-item:nth-child(n+6) { animation-delay: 0.38s; }
@keyframes cdev-drawer-item-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

.cdev-drawer-item__media {
  position: relative;
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  border-radius: 0.4rem;
  background: rgba(0, 0, 0, 0.3);
}
.cdev-drawer-item__media img,
.cdev-drawer-item__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cdev-drawer-item:hover .cdev-drawer-item__media img {
  transform: scale(1.05);
}
.cdev-drawer-item__fallback {
  display: block;
  background: linear-gradient(135deg, #141416, #1e293b);
}
.cdev-drawer-item__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.1rem 0;
}
.cdev-drawer-item__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 550;
  line-height: 1.35;
  text-decoration: none;
}
.cdev-drawer-item__name:hover { color: var(--cdev-accent); }
.cdev-drawer-item__name span {
  color: #71717a;
  font-weight: 500;
}
.cdev-drawer-item__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}
.cdev-drawer-item__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
  color: #d4d4d8;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}
.cdev-drawer-item__price .cdev-cart-item__currency {
  color: #71717a;
  font-size: 0.7rem;
  font-weight: 600;
}
.cdev-drawer-item__price .cdev-cart-item__price {
  margin: 0;
  color: inherit;
  font-size: inherit;
}
.cdev-drawer-item__remove {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #52525b;
}
.cdev-drawer-item__remove:hover {
  background: transparent;
  border-color: transparent;
  color: #f87171;
}
.cdev-drawer-item--skeleton .cdev-drawer-item__media,
.cdev-drawer-item--skeleton .cdev-skel-line {
  background: rgba(255, 255, 255, 0.05);
}
.cdev-drawer-item.cdev-cart-item--removing {
  pointer-events: none;
  opacity: 0.55;
}

.cdev-basket-drawer__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 3rem 1rem;
}
.cdev-basket-drawer__state-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  border-radius: 0.5rem;
  background: rgba(61, 184, 255, 0.1);
  color: var(--cdev-accent);
  font-size: 1.15rem;
}
.cdev-basket-drawer__state p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.cdev-basket-drawer__state span {
  max-width: 18rem;
  color: #71717a;
  font-size: 0.8rem;
  line-height: 1.5;
}
.cdev-basket-drawer__state .cdev-btn-white { margin-top: 0.65rem; }

.cdev-basket-drawer__footer {
  flex-shrink: 0;
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cdev-basket-drawer.is-open .cdev-basket-drawer__footer {
  animation: cdev-drawer-item-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.cdev-basket-drawer__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.cdev-basket-drawer__total > span {
  color: #71717a;
  font-size: 0.75rem;
  font-weight: 600;
}
.cdev-basket-drawer__total strong {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cdev-basket-drawer__total em {
  color: #71717a;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
}
.cdev-basket-drawer__actions {
  display: flex;
  gap: 0.5rem;
}
.cdev-basket-drawer__pay {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 3rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--cdev-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.cdev-basket-drawer__pay:hover:not(:disabled) { background: var(--cdev-accent-dark); }
.cdev-basket-drawer__pay:disabled { opacity: 0.45; cursor: not-allowed; }
.cdev-basket-drawer__pay[aria-busy="true"] { opacity: 0.7; }
.cdev-basket-drawer__gift {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #71717a;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.cdev-basket-drawer__gift:hover {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.3);
}
.cdev-basket-drawer__note {
  margin: 0.75rem 0 0;
  color: #52525b;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 767px) {
  .cdev-basket-drawer__panel {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    max-width: none;
    height: min(92dvh, 100%);
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem 1rem 0 0;
    transform: translate3d(0, 100%, 0);
  }
  .cdev-basket-drawer.is-open .cdev-basket-drawer__panel {
    transform: translate3d(0, 0, 0);
  }
  .cdev-basket-drawer.is-closing .cdev-basket-drawer__panel {
    transform: translate3d(0, 100%, 0);
  }
  .cdev-basket-drawer__bar { padding: 1rem; }
  .cdev-basket-drawer__body,
  .cdev-basket-drawer__footer { padding-left: 0.85rem; padding-right: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cdev-basket-drawer__backdrop,
  .cdev-basket-drawer__panel,
  .cdev-basket-drawer.is-open .cdev-drawer-item,
  .cdev-basket-drawer.is-open .cdev-basket-drawer__footer {
    transition: none;
    animation: none;
  }
}

/* FAQ */
.cdev-faq {
  min-height: 100vh;
  overflow: visible;
  padding: calc(var(--cdev-promo-h, 0px) + var(--header-h, 77px) + 2rem) 0 6rem;
  color: #fff;
}
.cdev-faq__inner {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.cdev-faq__hero {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}
.cdev-faq__hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.cdev-faq__hero > p:last-child {
  margin: 0.75rem 0 0;
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.65;
}

.cdev-faq__list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cdev-radius);
  background: #141416;
  overflow: visible;
}

.cdev-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cdev-faq-item:last-child { border-bottom: 0; }

.cdev-faq-item__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.cdev-faq-item__trigger:hover .cdev-faq-item__title { color: #fff; }
.cdev-faq-item__trigger:hover .cdev-faq-item__icon {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.cdev-faq-item__index {
  flex-shrink: 0;
  width: 2rem;
  color: var(--cdev-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.cdev-faq-item__copy { min-width: 0; flex: 1; }
.cdev-faq-item__title {
  display: block;
  color: #e4e4e7;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  transition: color 0.15s ease;
}
.cdev-faq-item.is-open .cdev-faq-item__title { color: #fff; }

.cdev-faq-item__icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1aa;
  transition: transform 0.28s ease, color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.cdev-faq-item__icon i { font-size: 1.05rem; line-height: 1; }
.cdev-faq-item.is-open .cdev-faq-item__icon {
  transform: rotate(45deg);
  border-color: rgba(61, 184, 255, 0.35);
  background: rgba(61, 184, 255, 0.1);
  color: var(--cdev-accent);
}

.cdev-faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.cdev-faq-item.is-open .cdev-faq-item__panel {
  grid-template-rows: 1fr;
}
.cdev-faq-item__answer {
  min-height: 0;
  overflow: hidden;
}
.cdev-faq-item__answer p {
  margin: 0;
  padding: 0 1.25rem 1.2rem 4.15rem;
  color: #a1a1aa;
  font-size: 0.9rem;
  line-height: 1.7;
}

.cdev-faq__cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cdev-radius);
  background: #141416;
}
.cdev-faq__cta-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.cdev-faq__cta-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(88, 101, 242, 0.15);
  color: #8b93f7;
  font-size: 1.15rem;
}
.cdev-faq__cta h2 {
  margin: 0 0 0.3rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.cdev-faq__cta p {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.85rem;
  line-height: 1.55;
}
.cdev-faq__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.cdev-faq__store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #a1a1aa;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.cdev-faq__store-link:hover { color: #fff; }

.cdev-faq__cms {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cdev-radius);
  background: #141416;
}

@media (min-width: 640px) {
  .cdev-faq__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cdev-faq__cta-actions { justify-content: flex-end; }
}

@media (max-width: 520px) {
  .cdev-faq-item__trigger { padding: 1rem 1rem; gap: 0.7rem; }
  .cdev-faq-item__answer p { padding: 0 1rem 1.1rem 1rem; }
}

/* Login page */
.store-form { max-width: 28rem; margin: 6rem auto; padding: 2rem; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--cdev-radius); background: #141416; }
.store-form h2 { color: #fff; margin: 0 0 1rem; }
.store-form .btn-primary,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

/* Toasts / modal leftovers */
.cdev-toast-host,
.cdev-toast-host { position: fixed; top: 1rem; right: 1rem; z-index: 300; }

.shimmer-effect {
  background: linear-gradient(90deg, #141416 0%, #1f1f23 50%, #141416 100%);
  background-size: 200% 100%;
  animation: cdev-shimmer 1.4s ease infinite;
}
@keyframes cdev-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Auth overlay — FiveM login */
.cdev-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cdev-auth-overlay.is-visible,
.cdev-auth-overlay:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}
.cdev-auth-overlay[hidden] { display: none; }
.cdev-auth-overlay.is-visible { display: flex; }

.cdev-auth-card {
  width: 100%;
  max-width: 24rem;
  margin: 0 1rem;
  padding: 2rem;
  text-align: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: #09090b;
  box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}
.cdev-auth-spinner {
  position: relative;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
}
.cdev-auth-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid #27272a;
}
.cdev-auth-ring--spin {
  border-color: transparent;
  border-top-color: var(--cdev-accent);
  animation: cdev-spin 0.85s linear infinite;
}
.cdev-auth-spinner svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.5rem;
  height: 1.5rem;
  color: #71717a;
}
.cdev-auth-card__title {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.cdev-auth-card__sub {
  margin: 0.25rem 0 0;
  color: #71717a;
  font-size: 0.875rem;
}
.cdev-auth-dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1rem;
}
.cdev-auth-dots span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--cdev-accent);
  animation: cdev-dot 1s ease-in-out infinite;
  animation-delay: calc(var(--i) * 150ms);
}
@keyframes cdev-spin {
  to { transform: rotate(360deg); }
}
@keyframes cdev-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.cdev-login-page {
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 6rem;
}
.cdev-login-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.cdev-page-login .cdev-footer,
.cdev-page-login .cdev-discord-float,
.cdev-page-login #cdev-auth-overlay { display: none !important; }
body.cdev-auth-lock { overflow: hidden; }

