/* Nebula Theme - Bold, Exciting, Modern, Salesy */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

[data-theme="nebula"] {
  /* Core Variables */
  --nebula-font-primary: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --nebula-primary: #ffb347;      /* Even brighter Nebula Orange */
  --nebula-secondary: #3a185a;    /* Much darker Nebula Purple */
  --nebula-tertiary: #7c4d99;     /* Lighter version of nebula-secondary */
  --nebula-accent: #ffb300;       /* Accent Orange */
  --nebula-bg: #181828;           /* Deep dark gray background */
  --nebula-surface: #23233a;      /* Card/Element background */
  --nebula-border: #3a2e4d;       /* Subtle purple border */
  --nebula-text: #fff;            /* White text */
  --nebula-text-secondary: #bdb7d6; /* Secondary text */
  --nebula-hover-bg: #2d1e3a;     /* Hover state background (purple tint) */
  --nebula-shadow: 0 2px 8px rgba(162, 89, 255, 0.12); /* Subtle purple shadow */
  --nebula-text-light: #f3eaff;   /* Lighter text for paragraphs */
  --nebula-bg-soft: #221c2e;      /* Lighter background for soft elements */
}

[data-theme="nebula"],
[data-theme="nebula"] html,
[data-theme="nebula"] body {
  font-family: var(--nebula-font-primary);
  background-color: var(--nebula-bg) !important;
  color: var(--nebula-text);
  letter-spacing: 0.01em;
}

[data-theme="nebula"] .content.container-fluid {
  background-color: var(--nebula-bg) !important;
}

[data-theme="nebula"] main#content {
  background-color: var(--nebula-bg) !important;
}

[data-theme="nebula"] h1,
[data-theme="nebula"] h2,
[data-theme="nebula"] h3,
[data-theme="nebula"] h4,
[data-theme="nebula"] h5,
[data-theme="nebula"] h6 {
  font-family: var(--nebula-font-primary);
  font-weight: 700;
  color: var(--nebula-tertiary) !important;
  letter-spacing: 0.01em;
}

[data-theme="nebula"] .navbar {
  background: var(--nebula-bg) !important;
  border: none;
  padding: 0.5rem 1rem !important;
}

[data-theme="nebula"] .navbar-brand,
[data-theme="nebula"] #brand_name {
  color: var(--nebula-primary) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

[data-theme="nebula"] .category-header {
  background: transparent !important;
  color: var(--nebula-tertiary) !important;
  border: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  display: flex;
  align-items: center;
}

[data-theme="nebula"] .category-header::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--nebula-border);
  margin-left: 1rem;
  display: block;
  position: relative;
  top: 0;
}

[data-theme="nebula"] .product-item {
  background: none;
  border: none;
  border-radius: 0;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  margin: 0.5rem;
  overflow: hidden;
}

[data-theme="nebula"] .product-item:hover {
  background: var(--nebula-hover-bg);
  transform: translateY(-4px) scale(1.02);
}

[data-theme="nebula"] .product-details {
  padding: 0.5rem 0;
}

[data-theme="nebula"] .product-title {
  font-weight: 700;
  color: var(--nebula-primary);
  letter-spacing: 0.01em;
}

[data-theme="nebula"] .product-price {
  color: var(--nebula-accent);
  font-weight: 700;
  font-size: 1.15em;
}

[data-theme="nebula"] .btn {
  border: none !important;
  border-radius: 6px;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  background: linear-gradient(90deg, var(--nebula-primary) 0%, var(--nebula-secondary) 100%);
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

[data-theme="nebula"] .btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(90deg, var(--nebula-secondary) 0%, var(--nebula-primary) 100%);
  color: #fff !important;
}

[data-theme="nebula"] .btn-success,
[data-theme="nebula"] #buy_now_top .btn-success {
  background: linear-gradient(90deg, var(--nebula-primary) 0%, var(--nebula-accent) 100%) !important;
  color: #fff !important;
}

[data-theme="nebula"] .btn-primary {
  background: linear-gradient(90deg, var(--nebula-secondary) 0%, var(--nebula-primary) 100%) !important;
  color: #fff !important;
}

[data-theme="nebula"] .btn-danger,
[data-theme="nebula"] .bg-danger {
  background-color: #ff3b47 !important;
}

[data-theme="nebula"] .text-danger {
  color: #ff3b47 !important;
}

[data-theme="nebula"] .card {
  background: var(--nebula-surface);
  border: 2px solid var(--nebula-border) !important;
  border-radius: 16px;
}

[data-theme="nebula"] .form-control,
[data-theme="nebula"] .ts-control {
  background: var(--nebula-bg-soft);
  border: 1.5px solid var(--nebula-border) !important;
  border-radius: 10px;
  color: var(--nebula-text);
  font-weight: 600;
}

[data-theme="nebula"] .form-check-input {
  border: 1.5px solid var(--nebula-border);
  border-radius: 6px;
}

[data-theme="nebula"] .dropdown-menu,
[data-theme="nebula"] .hs-sub-menu {
  background: var(--nebula-surface);
  border: 1.5px solid var(--nebula-border);
  border-radius: 10px;
}

[data-theme="nebula"] .dropdown-item {
  color: var(--nebula-text);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
}

[data-theme="nebula"] .dropdown-item:hover {
  background: var(--nebula-hover-bg);
  color: var(--nebula-accent);
}

[data-theme="nebula"] footer#store_footer {
  background: var(--nebula-bg);
  border-top: 2px solid var(--nebula-secondary);
  color: var(--nebula-text-secondary);
  padding: 2.5rem 0;
}

[data-theme="nebula"] footer#store_footer a {
  color: var(--nebula-accent) !important;
  font-weight: 600;
  text-decoration: none;
}

[data-theme="nebula"] footer#store_footer a:hover {
  color: var(--nebula-primary) !important;
}

[data-theme="nebula"] .badge {
  background: var(--nebula-secondary);
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  padding: 0 !important;
  line-height: normal !important;
  letter-spacing: 0.03em;
}

[data-theme="nebula"] div#cart_col * {
  font-family: var(--nebula-font-primary) !important;
}

[data-theme="nebula"] .cart-item {
  background: var(--nebula-surface);
  border: 2px solid var(--nebula-border);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}

[data-theme="nebula"] select option {
  font-family: var(--nebula-font-primary);
  background: var(--nebula-surface);
  color: var(--nebula-text);
}

[data-theme="nebula"] .product-title-featured {
  background: var(--nebula-surface);
  color: var(--nebula-primary);
  border-radius: 12px;
  padding: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

[data-theme="nebula"] .bg-soft-secondary {
  background: var(--nebula-bg-soft) !important;
  border: none;
  border-radius: 6px;
}

[data-theme="nebula"] span#cart_count {
  background: var(--nebula-primary) !important;
  color: #fff !important;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 !important;
  right: 0 !important;
  top: 0 !important;
  padding-top: 0 !important;
}

[data-theme="nebula"] .alert-soft-info {
  border-radius: 10px;
  color: var(--nebula-text) !important;
  background: var(--nebula-bg-soft) !important;
  border: 1.5px solid var(--nebula-secondary);
}

[data-theme="nebula"] div#tags .badge {
  background: var(--nebula-surface) !important;
  color: var(--nebula-accent) !important;
  border: 1.5px solid var(--nebula-secondary);
}

[data-theme="nebula"] main#content.not-iframe {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
}

[data-theme="nebula"] .content {
  flex: 1;
}

[data-theme="nebula"] .btn-outline-primary {
  border: 2px solid var(--nebula-primary) !important;
  color: var(--nebula-primary) !important;
  background: transparent !important;
  font-weight: 700;
}

[data-theme="nebula"] .btn-outline-primary:hover {
  background: var(--nebula-primary) !important;
  color: #fff !important;
}

[data-theme="nebula"] .cart-page .btn-primary,
[data-theme="nebula"] .cart-page .btn-outline-primary:hover {
  color: #fff !important;
}

[data-theme="nebula"] li#buy_now_top {
  margin-right: 1.2rem !important;
}

[data-theme="nebula"] .form-check-input:checked {
  background-color: var(--nebula-accent) !important;
  border-color: var(--nebula-accent) !important;
}

[data-theme="nebula"] div#cart_dropdown select,
[data-theme="nebula"] div#cart_dropdown .ts-control {
  color: var(--nebula-text) !important;
  background: var(--nebula-surface) !important;
}

[data-theme="nebula"] div#cart_dropdown .ts-dropdown * {
  color: var(--nebula-text) !important;
}

[data-theme="nebula"] .cart-item select,
[data-theme="nebula"] .cart-item .form-select {
  font-family: var(--nebula-font-primary) !important;
  background: var(--nebula-surface);
  color: var(--nebula-text);
}

[data-theme="nebula"] div#buyer_div .card-body * {
  font-family: var(--nebula-font-primary) !important;
}

[data-theme="nebula"] .tom-select-custom .ts-control {
  height: 40px !important;
  background: var(--nebula-surface);
}

[data-theme="nebula"] .tom-select-custom .ts-dropdown {
  background: var(--nebula-surface);
  border: 1.5px solid var(--nebula-border);
  border-radius: 10px;
}

[data-theme="nebula"] div#product_page_tabs .nav-link.active {
  color: var(--nebula-accent) !important;
  border-bottom: 2.5px solid var(--nebula-accent) !important;
  font-weight: 700;
}

[data-theme="nebula"] div#product_page_tabs .nav-link {
  color: var(--nebula-text-secondary) !important;
}

[data-theme="nebula"] .form-check-label-highlighter .form-check-label {
  background: var(--nebula-surface);
  border: 1.5px solid var(--nebula-border);
  border-radius: 10px;
}

[data-theme="nebula"] #cart_paid {
  min-height: calc(100vh - 400px);
  background: var(--nebula-bg);
}

[data-theme="nebula"] .navbar-brand-logo {
  margin-left: 0 !important;
}

[data-theme="nebula"] div#powered_by {
  margin-top: 0 !important;
}

[data-theme="nebula"] div#powered_by a {
  color: var(--nebula-accent) !important;
}

[data-theme="nebula"] div#right_panel {
  background: var(--nebula-surface);
  border: none !important;
  border-radius: 16px;
}

[data-theme="nebula"] .btn-ghost-secondary.cart-button.btn-icon.rounded-circle,
[data-theme="nebula"] .btn-ghost-secondary.btn-icon.rounded-circle {
  border-radius: 50% !important;
  width: 2.7rem !important;
  height: 2.7rem !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  position: relative !important;
  background: none !important;
  color: var(--nebula-primary) !important;
}

[data-theme="nebula"] .btn-ghost-secondary.cart-button.btn-icon.rounded-circle:hover,
[data-theme="nebula"] .btn-ghost-secondary.btn-icon.rounded-circle:hover {
  background: var(--nebula-hover-bg) !important;
  color: var(--nebula-accent) !important;
}

[data-theme="nebula"] #store_navbar .nav-item {
  margin: 0 0.3rem !important;
  position: relative !important;
}

[data-theme="nebula"] .navbar-nav-wrap {
  padding: 0.7rem !important;
}

[data-theme="nebula"] header#header {
  background: var(--nebula-bg) !important;
  border: none !important;
}

[data-theme="nebula"] .btn-ghost-secondary, [data-theme="nebula"] .btn-ghost-dark {
  background: none !important;
}

[data-theme="nebula"] .btn-ghost-secondary:hover, [data-theme="nebula"] .btn-ghost-dark:hover {
  background: var(--nebula-hover-bg) !important;
}

[data-theme="nebula"] #product_tab_pane #product_description,
[data-theme="nebula"] #page_body {
  color: var(--nebula-text-light) !important;
}

[data-theme="nebula"] p,
[data-theme="nebula"] ul li,
[data-theme="nebula"] ol li,
[data-theme="nebula"] .form-label {
  color: var(--nebula-text-light) !important;
}

[data-theme="nebula"] .text-dark {
  color: var(--nebula-text) !important;
}

[data-theme="nebula"] a,
[data-theme="nebula"] a:visited {
  color: var(--nebula-accent) !important;
  font-weight: 700;
  text-decoration: none;
}

[data-theme="nebula"] a:hover,
[data-theme="nebula"] a:active {
  color: var(--nebula-primary) !important;
  text-decoration: none;
}

[data-theme="nebula"] .btn-group-segment,
[data-theme="nebula"] .btn-group-fill {
  background: #2d1e3a !important;
  border-radius: 10px;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="nebula"] .btn-group-segment .btn.btn-sm,
[data-theme="nebula"] .btn-group-fill .btn.btn-sm {
  background: #3a2e4d !important;
  color: #fff !important;
  border: 2px solid #3a2e4d !important;
  box-shadow: none !important;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

[data-theme="nebula"] .btn-group-segment .btn.btn-sm:hover,
[data-theme="nebula"] .btn-group-fill .btn.btn-sm:hover,
[data-theme="nebula"] .btn-group-segment .btn.btn-sm:focus,
[data-theme="nebula"] .btn-group-fill .btn.btn-sm:focus {
  background: var(--nebula-secondary) !important;
  color: var(--nebula-accent) !important;
  border-color: var(--nebula-accent) !important;
}

[data-theme="nebula"] .btn-check:checked + .btn.btn-sm {
  outline: 2.5px solid var(--nebula-secondary) !important;
  outline-offset: 2px;
}

[data-theme="nebula"] .border-danger {
  border-color: #ff3b47 !important;
}

[data-theme="nebula"] .product-title-featured p {
  color: #fff !important;
  text-shadow: none !important;
}

[data-theme="nebula"] .nav-tabs {
  border-bottom: 2.5px solid var(--nebula-accent) !important;
}

[data-theme="nebula"] .bg-white {
  background: var(--nebula-surface) !important;
}

[data-theme="nebula"] .dropdown-menu {
  box-shadow: none !important;
}

[data-theme="nebula"] .avatar:not(img) {
  background-color: transparent !important;
}

[data-theme="nebula"] div#cookie_consent_offcanvas {
  background: var(--nebula-bg) !important;
}

[data-theme="nebula"] .btn-white {
  background: var(--nebula-surface) !important;
  color: var(--nebula-text) !important;
  border: none !important;
}

[data-theme="nebula"] .navbar-nav-wrap .ms-auto {
  display: flex !important;
  align-items: center !important;
}

@media (max-width: 767.98px) {
  [data-theme="nebula"] .navbar-nav-wrap .ms-auto {
    display: flex !important;
    align-items: center !important;
  }
  [data-theme="nebula"] .navbar-nav-wrap {
    padding: 0 !important;
  }
  [data-theme="nebula"] .navbar-brand-logo {
    margin-left: 0 !important;
  }
  [data-theme="nebula"] .navbar {
    padding: 0 1rem !important;
  }
  [data-theme="nebula"] nav#store_navbar {
    background: var(--nebula-secondary) !important;
  }
} 