/* Zerion Tebex Theme - shared.css (components) */

/* ── Promo Banner ── */
.or-promo {
  background: var(--or-promo);
  padding: 10px 16px;
  font-size: 0.8rem;
}

.or-promo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--or-container);
  margin: 0 auto;
}

.or-promo__text strong { font-weight: 700; }

.or-promo__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.or-promo__code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px dashed rgba(255,255,255,0.4);
  border-radius: 6px;
  font-size: 0.75rem;
}

.or-promo__code span:last-child {
  font-weight: 800;
  letter-spacing: 0.05em;
}

.or-countdown {
  display: flex;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.or-countdown__item {
  text-align: center;
  line-height: 1.2;
}

.or-countdown__num {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
}

.or-countdown__label {
  opacity: 0.7;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/* ── Navbar ── */
.or-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding: 12px 0;
  transition: background 0.3s;
}

.or-nav.is-scrolled {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--or-border);
}

.or-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.or-nav__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.or-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.or-brand img { height: 32px; width: auto; }

.or-brand__divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

.or-brand__name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.or-nav__links {
  display: none;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1280px) { .or-nav__links { display: flex; } }

.or-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--or-text);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  font-family: var(--or-font);
}

.or-nav__link:hover,
.or-nav__link.is-active {
  border-color: rgba(255,255,255,0.05);
  background: var(--or-card-hover);
}

.or-dropdown { position: relative; }

.or-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  min-width: 224px;
  z-index: 200;
}

.or-dropdown:hover .or-dropdown__menu { display: block; }

.or-dropdown__panel {
  background: var(--or-surface);
  border: 2px solid rgba(255,255,255,0.05);
  border-radius: var(--or-radius-lg);
  padding: 8px;
}

.or-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-radius: var(--or-radius);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.or-dropdown__item:hover {
  background: rgba(255,255,255,0.1);
  color: var(--or-text);
}

.or-nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.or-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--or-radius);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  background: transparent;
  border: none;
}

button.or-icon-btn,
.or-icon-btn.open-basket {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--or-border);
  cursor: pointer;
}

.or-icon-btn:hover {
  color: var(--or-text);
  background: rgba(255,255,255,0.05);
}

button.or-icon-btn:hover,
.or-icon-btn.open-basket:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--or-border-2);
}

.or-currency {
  position: relative;
}

.or-currency__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--or-radius);
  border: 1px solid var(--or-border);
  background: rgba(255,255,255,0.03);
  color: var(--or-text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--or-font);
}

.or-currency__menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--or-surface);
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  padding: 4px;
  min-width: 80px;
  z-index: 200;
}

.or-currency:hover .or-currency__menu { display: block; }

.or-currency__menu a {
  display: block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--or-muted);
  text-decoration: none;
}

.or-currency__menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--or-text);
}

.or-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--or-radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--or-border);
  color: var(--or-text);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.or-btn-login:hover { background: rgba(255,255,255,0.12); }

.or-nav__toggle {
  display: flex;
  background: none;
  border: 1px solid var(--or-border);
  color: var(--or-text);
  border-radius: var(--or-radius);
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 1280px) { .or-nav__toggle { display: none; } }

/* ── Buttons ── */
.or-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--or-radius);
  font-family: var(--or-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.or-btn--primary {
  background: var(--or-primary-hover);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.or-btn--primary:hover { background: #e0324a; }

.or-btn--white {
  background: #fff;
  color: #121212;
}

.or-btn--white:hover { background: #f0f0f0; }

.or-btn--ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--or-border);
  color: var(--or-text);
}

.or-btn--ghost:hover { background: rgba(255,255,255,0.1); }

.or-btn--block { width: 100%; }

.or-btn--sm { padding: 8px 16px; font-size: 0.8rem; height: 36px; }

/* ── Hero (Homepage) ── */
.or-hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.or-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, black, transparent);
  pointer-events: none;
}

.or-hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.or-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.or-hero h1 .or-highlight { color: var(--or-primary); }

.or-hero p {
  margin: 0 0 28px;
  color: var(--or-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
}

.or-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Section headers ── */
.or-section {
  padding: 60px 0;
}

.or-section__header {
  text-align: center;
  margin-bottom: 40px;
}

.or-section__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.or-section__divider::before,
.or-section__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--or-border);
}

.or-section__divider span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--or-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.or-section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.or-section p {
  margin: 8px 0 0;
  color: var(--or-muted);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY PAGE
   ═══════════════════════════════════════════════════════════ */

.or-cat-header {
  padding: 48px 0 32px;
}

.or-cat-header h1 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
}

.or-cat-header h1 .or-grey {
  color: var(--or-muted-2);
  text-shadow: 0 0 12px rgba(104,104,104,0.6);
}

.or-cat-header h1 .or-white {
  color: var(--or-text);
  text-shadow: 0 0 12px rgba(255,255,255,0.3);
}

.or-cat-header__desc {
  margin: 0 0 24px;
  max-width: 640px;
  color: var(--or-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.or-search {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 44px;
  border-radius: var(--or-radius-lg);
  border: 2px solid rgba(255,255,255,0.04);
  background: radial-gradient(74.31% 154.58%, rgba(33,33,33,0.31) 0%, rgba(51,51,51,0.31) 100%);
  margin-bottom: 32px;
}

.or-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.15);
  font-size: 15px;
  pointer-events: none;
}

.or-search input {
  width: 100%;
  height: 100%;
  padding: 0 16px 0 40px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--or-text);
  font-family: var(--or-font);
  font-size: 0.9rem;
}

.or-search input::placeholder { color: rgba(255,255,255,0.2); }

/* ── Product Grid ── */
.or-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-bottom: 60px;
}

@media (min-width: 640px) { .or-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .or-grid { grid-template-columns: repeat(3, 1fr); } }

.or-card {
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  overflow: hidden;
  background: var(--or-card);
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.or-card:hover {
  border-color: var(--or-border-2);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(147, 51, 234, 0.15);
}

.or-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
}

.or-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.or-card:hover .or-card__image img { transform: scale(1.08); }

.or-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  color: rgba(255,255,255,0.1);
}

.or-card__body { padding: 12px; }

.or-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 56px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.or-card__title a {
  color: var(--or-text);
  text-decoration: none;
}

.or-card__title a:hover { color: var(--or-primary); }

.or-card__desc {
  margin: 0 0 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.or-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.or-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--or-border);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}

.or-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.or-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--or-text);
}

.or-card__price-old {
  font-size: 0.8rem;
  color: var(--or-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

.or-card__sale {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: var(--or-primary);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* ── Package detail ── */
.or-pkg-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 0 60px;
}

@media (min-width: 768px) {
  .or-pkg-page { grid-template-columns: 1fr 1fr; }
}

.or-pkg-page__image {
  border-radius: var(--or-radius);
  overflow: hidden;
  border: 1px solid var(--or-border);
  aspect-ratio: 16/9;
  background: #1a1a1a;
}

.or-pkg-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.or-pkg-page h1 {
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
}

.or-pkg-page__price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.or-pkg-page__desc {
  color: var(--or-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.or-pkg-page__desc img { max-width: 100%; border-radius: var(--or-radius); }

/* Hidden on full page — popup fragment for Tebex main.js */
[data-popup] { display: none !important; }

.popup-content [data-popup] {
  display: block !important;
}

.or-pkg-detail-page {
  padding-top: 8px;
  padding-bottom: 80px;
}

.or-pkg-detail-page .or-pkg-detail__layout {
  gap: 40px;
}

@media (min-width: 1024px) {
  .or-pkg-detail-page .or-pkg-detail__layout {
    grid-template-columns: minmax(340px, 1fr) minmax(380px, 1.1fr);
    gap: 48px;
  }
}

@media (min-width: 1280px) {
  .or-pkg-detail-page .or-pkg-detail__layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.or-pkg-detail__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.or-pkg-detail__back,
.or-pkg-detail__fullscreen-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--or-border);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.or-pkg-detail__back:hover,
.or-pkg-detail__fullscreen-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--or-border-2);
}

.or-pkg-detail__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 1024px) {
  .or-pkg-detail__layout {
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 36px;
    align-items: start;
  }
}

.or-pkg-detail__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.or-pkg-detail__media {
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius-lg);
  overflow: hidden;
  background: #111;
}

.or-pkg-detail__viewer {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  overflow: hidden;
}

.or-pkg-detail__viewer img,
.or-pkg-detail__viewer .or-pkg-detail__video-wrap {
  width: 100%;
  height: 100%;
}

.package-media-swiper {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
}

.or-pkg-detail__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.or-pkg-detail__video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.or-pkg-detail__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.or-pkg-detail__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.12);
}

.or-pkg-detail__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 12px;
}

.or-pkg-detail__thumbs .thumb-item {
  width: 112px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.or-pkg-detail__thumbs .thumb-item.active,
.or-pkg-detail__thumbs .thumb-item:hover {
  border-color: var(--or-primary);
}

.or-pkg-detail__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.or-pkg-detail__fullscreen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 10px;
  border: 1px solid var(--or-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  cursor: pointer;
}

.or-pkg-detail__other {
  padding: 14px;
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  background: var(--or-card);
}

.or-pkg-detail__other h4 {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.or-pkg-detail__version-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.or-pkg-detail__version-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.or-pkg-detail__version-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.or-pkg-detail__title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.or-pkg-detail__tags { margin-bottom: 20px; }

.or-pkg-detail__buy-row {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 900px) {
  .or-pkg-detail__buy-row {
    grid-template-columns: minmax(240px, 320px) 1fr;
    align-items: start;
    gap: 24px;
  }
}

.or-pkg-detail__buybox {
  padding: 18px;
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius-lg);
  background: var(--or-card);
}

.or-pkg-detail__buybox .product-actions .package-card__pricing {
  display: none;
}

.or-pkg-detail__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.or-pkg-detail__pricing .package-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.or-pkg-detail__trust {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.or-pkg-detail__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.or-pkg-detail__trust-item i {
  color: var(--or-primary);
  width: 16px;
  text-align: center;
}

.or-pkg-detail__links {
  margin-bottom: 12px;
}

.or-pkg-detail__accordions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.or-pkg-accordion {
  border: 2px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  background: radial-gradient(74.31% 154.58% at 50% 50%, rgba(42, 42, 42, 0.31) 0%, rgba(51, 51, 51, 0.31) 100%);
  overflow: hidden;
}

.or-pkg-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.or-pkg-accordion__summary::-webkit-details-marker {
  display: none;
}

.or-pkg-accordion[open] .or-pkg-accordion__chevron {
  transform: rotate(180deg);
}

.or-pkg-accordion__chevron {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease;
}

.or-pkg-accordion__body {
  padding: 0 18px 18px;
}

.or-pkg-detail__link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.or-pkg-detail__link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  background: radial-gradient(74.31% 154.58% at 50% 50%, rgba(42, 42, 42, 0.31) 0%, rgba(51, 51, 51, 0.31) 100%);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.or-pkg-detail__link-btn:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.or-pkg-detail__link-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.65rem;
}

.or-pkg-detail__link-btn-label {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
}

.or-pkg-detail__link-btn-arrow {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.or-pkg-detail__section-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
}

.or-pkg-detail__description {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.75;
  padding: 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

#package-description h1,
#package-description h2,
#package-description h3 {
  color: #fff;
  margin: 1.2em 0 0.5em;
}

#package-description h2 { font-size: 1.1rem; }
#package-description h3 { font-size: 1rem; }

#package-description p {
  margin: 0 0 12px;
}

#package-description ul,
#package-description ol {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

#package-description li { margin-bottom: 6px; }

#package-description hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 16px 0;
}

#package-description a {
  color: var(--or-primary);
  text-decoration: underline;
}

#package-description a:hover {
  color: var(--or-primary-hover);
}

#package-description img {
  max-width: 100%;
  border-radius: var(--or-radius);
}

.or-pkg-detail__modules {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--or-border);
}

.store-product-popup .popup-content,
.popup .popup-content.store-product-full {
  max-width: min(1100px, 96vw);
  width: 100%;
  padding: 20px;
}

.or-pkg-detail--popup {
  max-height: 85vh;
  overflow: auto;
}

.or-pkg-detail__empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--or-muted);
}

/* ── Tebex official popup system (main.js) ── */
.popup {
  --fade-duration: 300ms;
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.popup[hidden] { display: none !important; }

.popup-loading .popup-content {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-scroll-cont {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: auto;
}

.popup-content {
  position: relative;
  background: var(--or-surface);
  border: 1px solid var(--or-border);
  border-radius: calc(var(--or-radius) + 4px);
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid var(--or-border);
  border-radius: 8px;
  background: var(--or-card);
  color: var(--or-text);
  font-size: 0.8rem;
  cursor: pointer;
}

.popup-close:hover {
  border-color: var(--or-primary);
  color: var(--or-primary);
}

html.no-scroll,
html.no-scroll body { overflow: hidden; }

/* Basket drawer (slides from right) */
.basket-popup.drawer-right .popup-content {
  margin-left: auto;
  max-width: 420px;
  min-height: 100vh;
  border-radius: 0;
}

.login-popup .popup-content {
  max-width: 440px;
}

/* Toasts */
.toaster {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--or-radius);
  background: var(--or-surface);
  border: 1px solid var(--or-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: opacity var(--fade-duration);
}

.toast[hidden] { opacity: 0; }

.toast p { margin: 0; flex: 1; font-size: 0.85rem; }

.toast-info { border-color: rgba(255, 255, 255, 0.15); }
.toast-success { border-color: rgba(76, 175, 80, 0.4); }
.toast-error { border-color: rgba(231, 67, 79, 0.5); }

.toast-close {
  border: 0;
  background: transparent;
  color: var(--or-muted);
  cursor: pointer;
  font-size: 0.75rem;
}

/* Product actions (Tebex main.js — 0resmon pattern) */
.or-product-actions .add[hidden],
.or-product-actions .remove[hidden],
.product-actions .add[hidden],
.product-actions .remove[hidden] { display: none !important; }

.or-product-actions.updating,
.product-actions.updating { opacity: 0.6; pointer-events: none; }

/* ── 0resmon package card ── */
.package-card {
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  overflow: hidden;
  background: var(--or-card);
  transition: border-color 0.3s ease;
  will-change: transform, opacity;
  cursor: pointer;
}

.package-card:hover {
  border-color: var(--or-border-2);
}

.package-card__image-link {
  display: block;
}

.package-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
}

.package-card__status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(147, 51, 234, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.package-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.package-card:hover .package-card__image img {
  transform: scale(1.05);
}

.package-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
}

.package-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.package-name {
  margin: 0;
  min-height: 56px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preview-desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.package-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.package-card__tags .or-tag {
  padding: 2px 8px;
  font-size: 0.75rem;
}

.package-card__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.package-card__price {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.package-card__price-old {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
}

.package-card__discount {
  padding: 4px 8px;
  background: var(--or-primary);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.package-card__actions {
  padding-top: 4px;
}

.or-btn-basket-add,
.or-btn-basket-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.or-btn-basket-add {
  background: #fff;
  color: #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.or-btn-basket-add:hover {
  background: rgba(255, 255, 255, 0.9);
}

.or-btn-basket-remove {
  background: var(--or-primary-hover);
  color: #fff;
}

.or-btn-basket-remove:hover {
  background: var(--or-primary);
}

.or-btn-basket-add.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.package-card .product-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
}

.or-pkg-page .package-card__pricing,
.or-module .product-actions .package-card__pricing {
  display: none;
}

.or-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--or-border);
  border-radius: 6px;
  background: var(--or-surface);
  color: var(--or-text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.or-qty-input {
  width: 48px;
  height: 32px;
  text-align: center;
  border: 1px solid var(--or-border);
  border-radius: 6px;
  background: var(--or-bg);
  color: var(--or-text);
}

.quantity-field {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.basket-item__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.or-basket-user {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--or-muted);
}

.or-basket-user a { color: var(--or-primary); }

.basket-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.basket-empty { text-align: center; padding: 40px 20px; }

/* ── Breadcrumb ── */
.or-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  font-size: 0.85rem;
  color: var(--or-muted);
}

.or-breadcrumb a {
  color: var(--or-muted);
  text-decoration: none;
}

.or-breadcrumb a:hover { color: var(--or-primary); }

.or-breadcrumb__sep { opacity: 0.4; }

/* ── Checkout ── */
.or-checkout {
  max-width: 720px;
  margin: 40px auto 60px;
}

.or-checkout h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.or-basket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  background: var(--or-card);
  margin-bottom: 8px;
}

.or-basket-total {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── Login ── */
.or-login {
  max-width: 420px;
  margin: 60px auto;
  padding: 32px;
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius-lg);
  background: var(--or-card);
  text-align: center;
}

.or-login h1 { margin: 0 0 8px; font-size: 1.4rem; }
.or-login p { color: var(--or-muted); margin: 0 0 20px; font-size: 0.9rem; }

.or-login__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(147, 51, 234, 0.25);
  font-size: 1.4rem;
  color: var(--or-primary);
}

.or-login__provider-btn { margin-top: 8px; }

.or-login__back {
  display: block;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--or-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.or-login__back:hover { color: var(--or-text); }

.or-discord-login__label {
  margin: 0 0 10px;
  color: var(--or-muted);
  font-size: 0.9rem;
}

.or-discord-login__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.or-discord-login__status {
  flex: 1 1 180px;
  min-width: 0;
}

.or-discord-login__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}

.or-options-popup .actions {
  margin-top: 20px;
}

.or-btn-login--user {
  cursor: default;
  pointer-events: none;
}

.or-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--or-radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--or-border);
  color: var(--or-text);
  font-family: var(--or-font);
  font-size: 0.9rem;
  outline: none;
}

.or-input:focus { border-color: rgba(255,255,255,0.15); }

/* ── Features grid (homepage) ── */
.or-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) { .or-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .or-features { grid-template-columns: repeat(4, 1fr); } }

.or-feature {
  padding: 24px;
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius-lg);
  background: var(--or-card);
  transition: border-color 0.2s;
}

.or-feature:hover { border-color: var(--or-border-2); }

.or-feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.or-feature p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--or-muted);
  line-height: 1.6;
}

/* ── Stats ── */
.or-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.or-stat__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--or-primary);
}

.or-stat__label {
  font-size: 0.85rem;
  color: var(--or-muted);
  margin-top: 4px;
}

/* ── Footer ── */
.or-footer {
  background: var(--or-surface-2);
  border-top: 2px solid var(--or-border);
  padding: 40px 0 24px;
  margin-top: 40px;
}

.or-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .or-footer__grid { grid-template-columns: auto 1fr; gap: 80px; }
}

.or-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (min-width: 1024px) {
  .or-footer__cols { grid-template-columns: repeat(3, 1fr); }
}

.or-footer h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.or-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.or-footer li { margin-bottom: 4px; }

.or-footer a {
  color: var(--or-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.or-footer a:hover { color: rgba(255,255,255,0.7); }

.or-footer__copy {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--or-border);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.6;
}

/* ── Modules ── */
.or-module {
  padding: 16px;
  border: 1px solid var(--or-border);
  border-radius: var(--or-radius);
  background: var(--or-card);
  margin-bottom: 12px;
}

.or-module__title {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--or-muted);
}

/* ── Alert ── */
.or-alert {
  padding: 12px 16px;
  border-radius: var(--or-radius);
  margin: 16px 0;
  font-size: 0.85rem;
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.25);
  color: var(--or-primary);
}

/* ── Empty ── */
.or-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--or-muted);
}

.or-empty h3 { color: var(--or-text); margin: 0 0 8px; }

/* ── Mobile nav ── */
.or-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
}

.or-mobile-nav.is-open { display: block; }

.or-mobile-nav__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: var(--or-surface);
  padding: 24px;
  overflow-y: auto;
}

.or-mobile-nav__panel a {
  display: block;
  padding: 12px 0;
  color: var(--or-text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--or-border);
}

/* ── Utilities ── */
.or-hidden { display: none !important; }

.or-page { padding-bottom: 40px; }

.or-text-center { text-align: center; }

.or-mb-0 { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

@keyframes orFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes orSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes orPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes orShine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes orScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes orGridIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Page enter */
.or-page-enter {
  animation: orFadeIn 0.4s ease;
}

/* Promo banner */
.or-promo {
  animation: orSlideDown 0.5s ease;
}

/* Reveal on load — staggered */
.or-reveal {
  animation: orFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.or-reveal--delay-1 { animation-delay: 0.08s; }
.or-reveal--delay-2 { animation-delay: 0.16s; }
.or-reveal--delay-3 { animation-delay: 0.24s; }
.or-reveal--delay-4 { animation-delay: 0.32s; }
.or-reveal--delay-5 { animation-delay: 0.40s; }
.or-reveal--delay-6 { animation-delay: 0.48s; }

/* Product cards — stagger via --or-i */
.or-grid .or-card,
.or-grid .package-card {
  animation: orGridIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--or-i, 0) * 0.07s + 0.1s);
}

.or-card__sale {
  animation: orPulse 2s ease infinite;
}

/* Buttons */
.or-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.or-btn:active {
  transform: scale(0.97);
}

.or-btn--primary:hover {
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
}

.or-btn--shine {
  position: relative;
  overflow: hidden;
}

.or-btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.or-btn--shine:hover::after {
  opacity: 1;
  animation: orShine 0.8s ease;
}

/* Hero */
.or-hero__content {
  animation: orFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.or-hero__grid {
  animation: orFadeIn 1.2s ease 0.3s both;
}

.or-highlight {
  display: inline-block;
  animation: orFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

/* Features & stats */
.or-feature,
.or-stat__num {
  animation: orFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.or-features .or-feature:nth-child(1) { animation-delay: 0.1s; }
.or-features .or-feature:nth-child(2) { animation-delay: 0.2s; }
.or-features .or-feature:nth-child(3) { animation-delay: 0.3s; }
.or-features .or-feature:nth-child(4) { animation-delay: 0.4s; }

/* Search focus glow */
.or-search {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.or-search:focus-within {
  border-color: rgba(147, 51, 234, 0.35);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.12);
}

/* Empty state */
.or-empty--animated .or-empty__icon {
  font-size: 3rem;
  opacity: 0.2;
  margin-bottom: 16px;
  animation: orFloat 3s ease-in-out infinite;
}

.or-empty__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* Tebex popups */
.popup:not([hidden]) {
  animation: orFadeIn 0.25s ease;
}

.popup:not([hidden]) .popup-content {
  animation: orScaleIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.basket-popup.drawer-right:not([hidden]) .popup-content {
  animation: orSlideInRight 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes orSlideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Toasts */
.toast {
  animation: orSlideInToast 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes orSlideInToast {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Navbar scroll */
.or-nav {
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

/* Scroll reveal (JS adds .is-visible) */
.or-scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.or-scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .or-scroll-reveal {
    opacity: 1;
    transform: none;
  }
}