/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
*/

/* Customer Dashboard Cards - inheriting from theme */
.card {
  background: var(--bs-red-bg, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--bs-border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--bs-border-radius, 12px);
  color: inherit;
  transition: all 0.2s ease;
}

.card h4,
.card h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Sidebar Navigation */
.nav-pills .nav-link {
  color: var(--bs-secondary-color, rgba(255, 255, 255, 0.6));
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.nav-pills .nav-link i {
  font-size: 1.1rem;
  opacity: 0.7;
}

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

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background: var(--cl-accent-hex, #e50914);
  color: #ffffff;
}

.nav-pills .nav-link.active i {
  opacity: 1;
}

/* Profile Header in Sidebar */
.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bs-border-color, rgba(255, 255, 255, 0.08));
  margin-bottom: 1rem;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cl-accent-hex, #e50914);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.profile-info h5 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.profile-info small {
  color: var(--bs-secondary-color, rgba(255, 255, 255, 0.6));
}

/* Badges */
.badge-status {
  padding: 0.4em 0.8em;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-completed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* Dashboard Stats Typography */
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: var(--cl-accent-hex, #e50914);
}

.stat-label {
  color: var(--bs-secondary-color, rgba(255, 255, 255, 0.6));
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Icon box */
.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bs-border-color, rgba(255, 255, 255, 0.08));
  color: var(--cl-accent-hex, #e50914);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* --- V2 Cyberpunk / Security Accent Styles (Clean & Production Ready) --- */

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #070202;
}

::-webkit-scrollbar-thumb {
  background: rgba(229, 9, 20, 0.25);
  border-radius: 4px;
  border: 1px solid rgba(229, 9, 20, 0.08);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 9, 20, 0.45);
}

/* Glassmorphism Cyber Card Styles (Clean, No Glow) */
.bg-card,
.card,
.status-card-premium,
.search-modal__box,
.modal-content {
  background: #080808 !important;
  border: 1px solid rgba(229, 9, 20, 0.15) !important;
  box-shadow: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.bg-card:hover,
.card:hover,
.status-card-premium:hover {
  border-color: rgba(229, 9, 20, 0.38) !important;
  background: #101012 !important;
  transform: translateY(-2px);
}

/* Cyber Focus Inputs */
input,
textarea,
select,
.choices__inner {
  border: 1px solid rgba(229, 9, 20, 0.15) !important;
  background-color: #080808 !important;
  color: #faf5f5 !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus,
.choices.is-open .choices__inner {
  border-color: rgba(229, 9, 20, 0.45) !important;
  background-color: #0a0a0a !important;
  box-shadow: none !important;
}

/* Cyber Accent Buttons / Gradients (No Glow) */
.btn-primary,
.prod-btn,
.nav__account,
.mob-menu__account {
  background: linear-gradient(135deg, #ff1a24 0%, #b30006 100%) !important;
  border: 1px solid rgba(229, 9, 20, 0.3) !important;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.15) !important;
  text-shadow: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover,
.prod-btn:hover,
.nav__account:hover,
.mob-menu__account:hover {
  background: linear-gradient(135deg, #ff333d 0%, #e60008 100%) !important;
  border-color: rgba(229, 9, 20, 0.5) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.3) !important;
}

/* Clean Accent Text Helper */
.text-neon-red {
  color: #ff3b30 !important;
}

/* Cart & Checkout Page Overrides */
.btn-outline-primary {
  background: transparent !important;
  color: var(--cl-accent-hex, #e50914) !important;
  border: 1.5px solid var(--cl-accent-hex, #e50914) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline-primary:hover {
  background: var(--cl-accent-hex, #e50914) !important;
  color: #ffffff !important;
  border-color: var(--cl-accent-hex, #e50914) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.cart-item-bg,
.cart .form,
.cart .border,
.cart-item-bg.border {
  background: #080808 !important;
  border: 1px solid rgba(229, 9, 20, 0.15) !important;
}

.cart-quantity-controls,
.cart-qty-input,
.cart-qty-btn {
  background: #080808 !important;
  border-color: rgba(229, 9, 20, 0.15) !important;
  color: #faf5f5 !important;
}

.cart-qty-btn:hover {
  background: rgba(229, 9, 20, 0.08) !important;
  color: #ffffff !important;
}

/* Global Border Override to Remove Greys */
.border,
.border-top,
.border-bottom,
.border-start,
.border-end {
  border-color: rgba(229, 9, 20, 0.15) !important;
}

/* --- Legal Pages Styling (Terms of Service, Privacy Policy, Refund Policy) --- */
/* --- Legal Pages Styling (Terms of Service, Privacy Policy, Refund Policy) --- */
/* Force page backgrounds */
html,
body,
main,
.page,
.page-content,
.page-wrapper,
.content-wrapper,
.container,
.container-fluid,
.bg-body,
.bg-dark,
.bg-secondary {
  background: #000000 !important;
}

/* Legal Sections */
.tos-section,
.privacy-section,
.refund-section {
  font-family: 'Outfit', sans-serif !important;
  background: #000000 !important;
  min-height: 100vh;
  padding: 80px 24px;
  position: relative;
}

/* Full Width Background Fix */
.tos-section::before,
.privacy-section::before,
.refund-section::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: -1;
}

/* Content Container */
.tos-inner,
.privacy-inner,
.refund-inner {
  max-width: 850px;
  margin: 0 auto;
}

/* Header */
.tos-header,
.privacy-header,
.refund-header {
  margin-bottom: 40px;
}

.tos-label,
.privacy-label,
.refund-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #e50914 !important;
  margin-bottom: 14px;
}

.tos-label::before,
.privacy-label::before,
.refund-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #e50914;
}

.tos-title,
.privacy-title,
.refund-title {
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.03em;
  color: #fff !important;
  margin-bottom: 10px;
}

.tos-meta,
.privacy-meta,
.refund-meta {
  color: rgba(255, 255, 255, .45) !important;
  font-size: 14px;
}

/* Cards */
.tos-card,
.privacy-card,
.refund-card {
  background: #080808 !important;
  border: 1px solid rgba(229, 9, 20, .18) !important;
  border-radius: 18px;
  padding: 40px;
  box-shadow: none !important;
}

/* Editor Text */
.tos-card .editor,
.tos-card .editor *,
.privacy-card .editor,
.privacy-card .editor *,
.refund-card .editor,
.refund-card .editor * {
  color: rgba(255, 255, 255, .78) !important;
  line-height: 1.85;
  font-size: 15px;
}

/* Headings */
.tos-card .editor h1,
.tos-card .editor h2,
.tos-card .editor h3,
.privacy-card .editor h1,
.privacy-card .editor h2,
.privacy-card .editor h3,
.refund-card .editor h1,
.refund-card .editor h2,
.refund-card .editor h3 {
  color: #fff !important;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 14px;
}

.tos-card .editor h1,
.privacy-card .editor h1,
.refund-card .editor h1 {
  font-size: 28px;
}

.tos-card .editor h2,
.privacy-card .editor h2,
.refund-card .editor h2 {
  font-size: 22px;
  border-bottom: 1px solid rgba(229, 9, 20, .15);
  padding-bottom: 8px;
}

.tos-card .editor h3,
.privacy-card .editor h3,
.refund-card .editor h3 {
  font-size: 18px;
}

/* Links */
.tos-card .editor a,
.privacy-card .editor a,
.refund-card .editor a {
  color: #e50914 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 9, 20, .25);
}

.tos-card .editor a:hover,
.privacy-card .editor a:hover,
.refund-card .editor a:hover {
  color: #fff !important;
  border-bottom-color: #e50914;
}

/* Lists */
.tos-card .editor ul,
.tos-card .editor ol,
.privacy-card .editor ul,
.privacy-card .editor ol,
.refund-card .editor ul,
.refund-card .editor ol {
  padding-left: 20px;
}

.tos-card .editor li,
.privacy-card .editor li,
.refund-card .editor li {
  margin-bottom: 8px;
}

/* Divider */
.tos-card .editor hr,
.privacy-card .editor hr,
.refund-card .editor hr {
  border: 0;
  border-top: 1px solid rgba(229, 9, 20, .15);
  margin: 32px 0;
}

/* Strong Text */
.tos-card .editor strong,
.privacy-card .editor strong,
.refund-card .editor strong {
  color: #fff !important;
}

/* Mobile */
@media (max-width: 768px) {

  .tos-section,
  .privacy-section,
  .refund-section {
    padding: 60px 20px;
  }

  .tos-card,
  .privacy-card,
  .refund-card {
    padding: 24px;
  }

  .tos-title,
  .privacy-title,
  .refund-title {
    font-size: 30px;
  }
}

/* --- Global Layout Utilities --- */
.page-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

.sidebar-fixed {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .sidebar-fixed {
    width: 320px;
  }
}

.content-flex {
  flex: 1 1 0;
  min-width: 0;
}