/* ===================================
   CELESTIA THEME - Main Stylesheet
   =================================== */

/* CSS Variables - Celestia Purple Theme */
:root {
  --primary-color: #a78bff;
  --secondary-color: #6f5bff;
  --accent-color: #c9b8ff;
  --accent-green: #35e07c;
  --bg-color: #0f0d16;
  --bg-secondary: #151325;
  --bg-tertiary: #1a162a;
  --text-color: #f4f2ff;
  --text-muted: #a9a3c7;
  --font-family: system-ui, -apple-system, sans-serif;
  --font-secondary: system-ui, -apple-system, sans-serif;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --glow-primary:
    0 0 10px rgba(167, 139, 255, 0.14), 0 0 20px rgba(111, 91, 255, 0.12);
  --glow-secondary:
    0 0 5px rgba(111, 91, 255, 0.2), 0 0 10px rgba(111, 91, 255, 0.1);
  --glow-accent:
    0 0 5px rgba(167, 139, 255, 0.15), 0 0 10px rgba(167, 139, 255, 0.08);
  --header-height: 80px;
  --border-color: rgba(167, 139, 255, 0.1);
  --surface-color: #1a162a;
  --surface-color-rgb: 26, 22, 42;
  --testimonial-card-width: 320px;
  --dynamic-font-size: inherit;
  --split-bg-image: none;
  --danger-color: #e74c3c;
  --primary-hover: #5a46ff;
  --mini-bar-height: 36px;
  --sidebar-width: 80px;
  --sidebar-expanded: 280px;
  --stroke: rgba(255, 255, 255, 0.06);
  --card: #1a162a;
  --floating-widget-space: 0px;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  background:
    radial-gradient(
      900px 500px at 20% -10%,
      rgba(167, 139, 255, 0.07),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 10%,
      rgba(111, 91, 255, 0.08),
      transparent 55%
    ),
    linear-gradient(180deg, #0f0d16 0%, #121024 100%);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body[data-cursor-theme="1"] {
  cursor:
    url("/assets/images/cursor-default.svg") 6 6,
    auto;
}

body[data-cursor-theme="1"] a,
body[data-cursor-theme="1"] button,
body[data-cursor-theme="1"] [role="button"],
body[data-cursor-theme="1"] input,
body[data-cursor-theme="1"] select,
body[data-cursor-theme="1"] textarea,
body[data-cursor-theme="1"] .btn,
body[data-cursor-theme="1"] .product-list-card,
body[data-cursor-theme="1"] .collection-list-card {
  cursor:
    url("/assets/images/cursor-hover.svg") 6 6,
    pointer;
}

/* Page loader bar */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  box-shadow: 0 0 12px rgba(167, 139, 255, 0.5);
  z-index: 2000;
  transition:
    width 0.25s ease-out,
    opacity 0.2s ease;
  opacity: 0;
}

#page-loader.active {
  opacity: 1;
}

#page-loader.complete {
  width: 100vw;
}

/* Floating bubbles background effect */
.bubbles {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -120px;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    rgba(167, 139, 255, 0.12),
    rgba(111, 91, 255, 0.03) 70%
  );
  border-radius: 50%;
  filter: blur(2px);
  animation: floatUp 16s linear infinite;
  opacity: 0.3;
}

.bubble:nth-child(1) {
  left: 5%;
}
.bubble:nth-child(2) {
  left: 20%;
  width: 220px;
  height: 220px;
  animation-duration: 20s;
  animation-delay: -8s;
}
.bubble:nth-child(3) {
  left: 45%;
  width: 90px;
  height: 90px;
  animation-duration: 14s;
  animation-delay: -12s;
}
.bubble:nth-child(4) {
  left: 70%;
  width: 180px;
  height: 180px;
  animation-duration: 18s;
  animation-delay: -4s;
}
.bubble:nth-child(5) {
  left: 85%;
  width: 120px;
  height: 120px;
  animation-duration: 15s;
  animation-delay: -10s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-60vh) translateX(30px) scale(1.08);
  }
  100% {
    transform: translateY(-120vh) translateX(-20px) scale(1.12);
  }
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

.nav-icon {
  font-family:
    "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
    "Twemoji Mozilla", var(--font-family);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--content-max-width, 1400px);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #0f0d16;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: #0f0d16;
  box-shadow: var(--glow-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border-color: rgba(167, 139, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--glow-primary);
}

/* ===================================
   TOP HEADER
   =================================== */

.mini-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--mini-bar-height);
  background: rgba(10, 9, 16, 0.92);
  border-bottom: 1px solid rgba(167, 139, 255, 0.2);
  z-index: 1100;
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease;
}

body.mini-bar-hidden .mini-bar {
  transform: translateY(-100%);
}

.mini-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0 20px;
}

.mini-bar-left,
.mini-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(167, 139, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sidebar-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.sidebar-toggle:hover {
  background: rgba(167, 139, 255, 0.18);
  border-color: rgba(167, 139, 255, 0.6);
  transform: translateY(-1px);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 12, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 1090;
}

.mini-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: 999px;
  padding: 2px 8px;
}

.search-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: 999px;
  padding: 4px 8px;
}

.search-widget input {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 0.8rem;
  padding: 4px 6px;
  width: 160px;
}

.search-widget button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-widget button svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(15, 13, 22, 0.98);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
  z-index: 1200;
}

.search-suggest.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--text-muted);
}

.search-suggest-type {
  margin-left: auto;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(201, 184, 255, 0.9);
  border: 1px solid rgba(167, 139, 255, 0.28);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.search-suggest-item:hover {
  color: var(--accent-green);
  background: rgba(53, 224, 124, 0.12);
}

.search-suggest-item.is-disabled {
  cursor: default;
  opacity: 0.7;
}

.search-suggest-item.is-disabled:hover {
  color: var(--text-muted);
  background: transparent;
}

.search-suggest-thumb img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.search-suggest-empty {
  color: var(--text-muted);
  padding: 8px;
  font-size: 0.8rem;
}

.header-search,
.sidebar-search,
.footer-search {
  margin-top: 12px;
}

.sidebar-search {
  height: 60px;
  display: flex;
  align-items: center;
}

.sidebar-search .search-widget {
  width: 100%;
  justify-content: flex-start;
  position: relative;
  padding-left: 0;
  height: 52px;
  box-sizing: border-box;
}

.sidebar-header:not(:hover) .sidebar-search .search-widget {
  justify-content: flex-start;
  background: transparent;
  border-color: transparent;
  padding: 4px;
}

.sidebar-search .search-widget button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  order: 0;
  margin-left: 0;
  position: absolute;
  left: calc(var(--sidebar-width) / 2 - 30px);
}
.sidebar-search .search-widget input {
  order: 1;
  margin-left: calc(var(--sidebar-width) / 2 + 32px);
  width: calc(100% - (var(--sidebar-width) / 2 + 44px));
}

.sidebar-search .search-widget button svg {
  width: 26px;
  height: 26px;
}

.sidebar-header:not(:hover) .sidebar-search .search-widget input {
  width: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

.sidebar-header:not(:hover) .sidebar-search .search-widget button {
  position: absolute;
  left: calc(var(--sidebar-width) / 2 - 30px);
  transform: none;
  opacity: 1;
  animation: none;
}

.sidebar-header:hover .sidebar-search .search-widget button {
  position: absolute;
  left: calc(var(--sidebar-width) / 2 - 30px);
  margin-left: 0;
  transform: none;
  opacity: 1;
  animation: none;
}

.mini-search input {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 0.8rem;
  padding: 4px 6px;
  width: 160px;
}

.mini-search input:focus {
  outline: none;
}

.mini-search button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mini-search button svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.mini-search:hover {
  border-color: rgba(53, 224, 124, 0.5);
}

.search-section {
  padding: var(--section-padding, 60px) 0;
}

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

.search-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.search-form input {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text-color);
  min-width: 260px;
}

.search-form button {
  background: var(--primary-color);
  border: none;
  color: #0f0d16;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}

.search-summary {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.search-block {
  margin-bottom: 32px;
}

.search-list {
  display: grid;
  gap: 16px;
}

.search-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 16px;
}

.search-item.search-item-disabled {
  opacity: 0.7;
}

.search-item h3 {
  margin: 0;
}

.search-item p {
  margin: 6px 0 0;
}

.search-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid rgba(167, 139, 255, 0.2);
  padding: 4px 8px;
  border-radius: 999px;
}

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

.search-empty {
  color: var(--text-muted);
  padding: 20px 0;
}

.mini-bar-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mini-bar-form label {
  display: none;
}

.mini-bar-icon .mini-dropdown-trigger {
  padding: 4px 8px;
}

.mini-bar-icon .mini-value {
  font-size: 0.75rem;
}

.mini-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.mini-bar-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.mini-bar-link:hover {
  color: var(--primary-color);
  border-color: rgba(167, 139, 255, 0.6);
  background: rgba(167, 139, 255, 0.15);
}

.mini-bar-icon .mini-icon svg,
.mini-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.mini-dropdown {
  position: relative;
}

.mini-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 139, 255, 0.2);
  color: var(--text-color);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mini-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.mini-cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 139, 255, 0.25);
  color: var(--text-color);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.mini-cart-button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.mini-cart-button:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
  transform: scale(1.06);
}

.notify-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notify-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 139, 255, 0.25);
  color: var(--text-color);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.notify-button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.notify-button:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
  transform: scale(1.06);
}

.notify-button--sidebar {
  width: auto;
  height: auto;
  border-radius: 12px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
}

.notify-indicator {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #ff4d4d;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.6);
}

.notify-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: auto;
  min-width: 200px;
  max-width: 320px;
  background: rgba(15, 13, 22, 0.98);
  border: 1px solid rgba(167, 139, 255, 0.25);
  border-radius: 16px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 1300;
}

.notify-wrapper.is-open .notify-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sidebar-footer .notify-wrapper {
  position: relative;
  width: 100%;
}

.sidebar-footer .notify-menu {
  top: 50%;
  left: calc(100% + 36px);
  right: auto;
  transform: translateY(-50%) translateX(-6px);
}

.sidebar-footer .notify-menu::before,
.sidebar-footer .notify-menu::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
}

.sidebar-footer .notify-menu::before {
  left: -20px;
  border-width: 10px 10px 10px 0;
  border-color: transparent rgba(15, 13, 22, 0.98) transparent transparent;
}

.sidebar-footer .notify-menu::after {
  left: -21px;
  border-width: 11px 11px 11px 0;
  border-color: transparent rgba(167, 139, 255, 0.25) transparent transparent;
}

.sidebar-footer .notify-wrapper:hover .notify-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.notify-section {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(167, 139, 255, 0.15);
  margin-bottom: 12px;
}

.notify-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.notify-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.notify-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 255, 0.15);
  margin-bottom: 10px;
}

.notify-item-link {
  display: block;
}

.notify-item.is-unread {
  border-color: rgba(53, 224, 124, 0.45);
  box-shadow: 0 0 0 1px rgba(53, 224, 124, 0.2);
}

.notify-item-title {
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.notify-item-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.notify-item-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.notify-empty {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.notify-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.notify-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 139, 255, 0.2);
  margin-bottom: 8px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.notify-link:hover {
  color: var(--accent-green);
  border-color: rgba(53, 224, 124, 0.5);
  background: rgba(53, 224, 124, 0.08);
}

.notify-mark-form {
  margin-top: 6px;
}

.notify-mark-btn {
  width: 100%;
  justify-content: center;
}

.notify-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1600;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 255, 0.25);
  background: rgba(15, 13, 22, 0.96);
  color: var(--text-color);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(12px);
  animation:
    notify-toast-in 0.2s ease forwards,
    notify-toast-out 0.3s ease 1.8s forwards;
  pointer-events: none;
}

.notify-toast-title {
  font-weight: 600;
}

.notify-toast-body {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@keyframes notify-toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notify-toast-out {
  to {
    opacity: 0;
    transform: translateY(12px);
  }
}

.mini-dropdown.open .mini-dropdown-trigger svg {
  transform: rotate(180deg);
}

.mini-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 140px;
  background: rgba(15, 13, 22, 0.98);
  border: 1px solid rgba(167, 139, 255, 0.25);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
  z-index: 1200;
}

.mini-dropdown.open .mini-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mini-dropdown-option {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
  transform: translateZ(0);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-dropdown-option:hover {
  color: var(--accent-green);
  background: rgba(53, 224, 124, 0.12);
  transform: scale(1.03);
}

.mini-option-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.mini-option-label {
  flex: 1;
  text-align: left;
}

.mini-bar-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.mini-bar-nav li {
  position: relative;
}

.mini-bar-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.mini-bar-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1;
}

.mini-bar-nav a:hover {
  color: var(--primary-color);
}

.mini-bar-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 8px;
  margin: 0;
  list-style: none;
  display: block;
  overflow: visible;
  background: rgba(15, 13, 22, 0.98);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 18px 35px rgba(6, 4, 15, 0.4);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 1200;
}

.mini-bar-nav li.has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.mini-bar-submenu li {
  width: 100%;
  margin: 0;
}

.mini-bar-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-color);
  font-size: 0.78rem;
  white-space: normal;
}

.mini-bar-submenu a:hover {
  background: rgba(167, 139, 255, 0.15);
  color: var(--primary-color);
}

.mini-bar-nav li.has-submenu:hover > .mini-bar-submenu,
.mini-bar-nav li.has-submenu:focus-within > .mini-bar-submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 960px) {
  .mini-bar-submenu {
    min-width: 180px;
    max-width: calc(100vw - 20px);
    display: block;
  }

  .mini-bar-submenu li {
    width: 100%;
  }
}

.top-header {
  position: fixed;
  top: var(--mini-bar-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(15, 13, 22, 0.68);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(167, 139, 255, 0.15);
  box-shadow:
    0 14px 30px rgba(6, 4, 15, 0.35),
    0 1px 0 rgba(167, 139, 255, 0.15);
  z-index: 1000;
  transition: top 0.2s ease;
}

body.mini-bar-hidden .top-header {
  top: 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-max-width, 1400px);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.logo-image {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-image:hover {
  filter: brightness(1.1);
}

.main-nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-color);
  background: rgba(167, 139, 255, 0.15);
  border: 1px solid rgba(167, 139, 255, 0.3);
  transition: var(--transition);
}

.admin-access-btn:hover {
  background: rgba(167, 139, 255, 0.3);
  box-shadow: var(--glow-primary);
}

.admin-access-icon {
  font-size: 1rem;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-item > a:hover,
.nav-item.active > a {
  color: var(--primary-color);
  background: rgba(0, 240, 255, 0.1);
  text-shadow: var(--glow-primary);
}

/* Submenu dropdown indicator */
.has-submenu > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.has-submenu > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.3s ease;
}

.has-submenu:hover > a::after {
  transform: rotate(180deg);
}

/* Submenu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  width: fit-content;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Only show direct child submenu on hover - not nested ones */
.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  margin: 0;
  padding: 0;
}

.submenu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: var(--transition);
  white-space: nowrap;
}

.submenu li a:hover {
  color: var(--primary-color);
  background: rgba(0, 240, 255, 0.1);
  padding-left: 25px;
}

/* Nested Submenus (Level 2+) */
.submenu .has-submenu {
  position: relative;
}

.submenu .has-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submenu .has-submenu > a .submenu-arrow {
  margin-left: 10px;
  font-size: 0.8em;
}

.submenu .submenu {
  top: 0;
  left: 100%;
  transform: translateX(10px);
  opacity: 0;
  visibility: hidden;
}

/* Only show nested submenu when its direct parent is hovered */
.submenu .has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Submenu arrow indicator in main nav */
.nav-menu > li > a .submenu-arrow {
  display: none;
}

.submenu li .submenu-arrow {
  opacity: 0.6;
}

/* Hide arrow in sidebar nested submenus since boxes are connected */
.sidebar-nav .submenu .submenu-arrow,
.sidebar-footer .submenu .submenu-arrow {
  display: none;
}

/* Hide any left-pointing arrows from submenus */
.sidebar-nav .submenu::before,
.sidebar-nav .submenu::after,
.sidebar-footer .submenu::before,
.sidebar-footer .submenu::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--bg-color);
    padding: 20px;
    transform: translateX(-100%);
    transition: var(--transition);
  }

  .main-nav .nav-menu.active {
    transform: translateX(0);
  }

  .main-nav .nav-menu .nav-item {
    width: 100%;
  }

  .main-nav .nav-menu .nav-item > a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(167, 139, 255, 0.1);
  }

  .main-nav .has-submenu > a::after {
    margin-left: auto;
  }

  .submenu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    background: rgba(167, 139, 255, 0.05);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .has-submenu.submenu-open .submenu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: 10px 0;
  }

  .has-submenu.submenu-open > a::after {
    transform: rotate(180deg);
  }

  .submenu li a {
    padding: 12px 20px 12px 40px;
  }

  /* Mobile nested submenus - show inline with increased indent */
  .submenu .submenu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .submenu .has-submenu.submenu-open > .submenu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: 5px 0;
  }

  .submenu .submenu li a {
    padding-left: 60px;
  }

  .submenu .submenu .submenu li a {
    padding-left: 80px;
  }
}

/* ===================================
   SIDEBAR HEADER
   =================================== */

.sidebar-header {
  position: fixed;
  top: var(--mini-bar-height);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--mini-bar-height));
  background: rgba(15, 13, 22, 0.7);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(167, 139, 255, 0.2);
  box-shadow:
    12px 0 28px rgba(6, 4, 15, 0.35),
    1px 0 0 rgba(167, 139, 255, 0.15);
  z-index: 1000;
  transition: width 0.35s ease;
  overflow: visible;
}

.sidebar-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 40px;
  height: 100%;
  background: transparent;
  pointer-events: auto;
}

body.mini-bar-hidden .sidebar-header {
  top: 0;
  height: 100vh;
}

.sidebar-header:hover {
  width: var(--sidebar-expanded);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  border-bottom: 1px solid rgba(167, 139, 255, 0.2);
  position: relative;
}

.sidebar-logo .logo-icon {
  font-size: 5.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.sidebar-logo .logo-text {
  opacity: 0;
  transition:
    opacity 0.2s ease,
    clip-path 0.35s ease;
  clip-path: inset(0 100% 0 0);
  white-space: nowrap;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sidebar-header:not(:hover) .sidebar-logo .logo-text {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.sidebar-logo .logo-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.sidebar-header:not(:hover) .sidebar-logo .logo-icon {
  opacity: 1;
}

.sidebar-header:hover .sidebar-logo .logo-text {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.sidebar-header:hover .sidebar-logo .logo-icon {
  opacity: 0;
  pointer-events: none;
}

.sidebar-nav {
  padding: 20px 0;
}

.sidebar-nav .nav-menu {
  list-style: none;
}

.sidebar-nav .nav-item > a,
.sidebar-footer .nav-item > a,
.sidebar-footer .nav-item .nav-link,
.sidebar-footer .nav-item .notify-wrapper > a {
  display: flex;
  align-items: center;
  padding: 30px 0;
  justify-content: flex-start;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.9rem;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    padding 0.25s ease;
  width: 100%;
  position: relative;
}

.sidebar-nav .nav-item > a:hover,
.sidebar-footer .nav-item > a:hover,
.sidebar-footer .nav-item .nav-link:hover,
.sidebar-footer .nav-item .notify-wrapper > a:hover {
  color: var(--primary-color);
  background: rgba(167, 139, 255, 0.12);
}

/* Icon always visible */
.sidebar-nav .nav-item > a .nav-icon,
.sidebar-footer .nav-item > a .nav-icon,
.sidebar-footer .nav-item .nav-link .nav-icon,
.sidebar-footer .nav-item .notify-wrapper > a .nav-icon {
  font-size: 1.5rem;
  min-width: 24px;
  text-align: center;
  opacity: 1;
  position: absolute;
  left: calc(var(--sidebar-width) / 2 - 19px);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
  will-change: transform;
  transform: translateZ(0);
}

.sidebar-header .nav-icon svg,
.sidebar-footer .nav-icon svg,
.sidebar-nav .nav-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.sidebar-footer .notify-wrapper > a::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.sidebar-header:hover .sidebar-footer .notify-wrapper > a::after {
  opacity: 1;
}

.sidebar-footer .notify-wrapper > a:hover::after {
  transform: translateY(-50%) translateX(2px);
}

.sidebar-footer .notify-button--sidebar {
  position: relative;
  width: 100%;
  justify-content: flex-start;
  padding: 30px 0;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sidebar-footer .notify-button--sidebar .nav-icon {
  font-size: 1.5rem;
  min-width: 24px;
  text-align: center;
  opacity: 1;
  position: absolute;
  left: calc(var(--sidebar-width) / 2 - 19px);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
  transform: translateZ(0);
}

.sidebar-footer .notify-button--sidebar .nav-text {
  opacity: 0;
  transition:
    opacity 0.2s ease,
    clip-path 0.35s ease;
  position: absolute;
  left: calc(var(--sidebar-width) / 2 + 18px);
  pointer-events: auto;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  font-size: inherit;
  color: inherit;
}

.sidebar-nav .nav-item > a:hover .nav-icon,
.sidebar-footer .nav-item > a:hover .nav-icon,
.sidebar-footer .nav-item .nav-link:hover .nav-icon,
.sidebar-footer .nav-item .notify-wrapper > a:hover .nav-icon {
  transform: translateZ(0) scale(1.18);
}

/* Text hidden when collapsed */
.sidebar-nav .nav-item > a .nav-text,
.sidebar-footer .nav-item > a .nav-text,
.sidebar-footer .nav-item .nav-link .nav-text,
.sidebar-footer .nav-item .notify-wrapper > a .nav-text {
  opacity: 0;
  transition:
    opacity 0.2s ease,
    clip-path 0.35s ease;
  position: absolute;
  left: calc(var(--sidebar-width) / 2 + 18px);
  pointer-events: none;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
}

.sidebar-header:not(:hover) .sidebar-nav .nav-item > a .nav-text,
.sidebar-header:not(:hover) .sidebar-footer .nav-item > a .nav-text,
.sidebar-header:not(:hover) .sidebar-footer .nav-item .nav-link .nav-text,
.sidebar-header:not(:hover)
  .sidebar-footer
  .nav-item
  .notify-wrapper
  > a
  .nav-text {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.sidebar-header:not(:hover) .sidebar-footer .notify-button--sidebar .nav-text {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.sidebar-header:hover .sidebar-footer .notify-button--sidebar .nav-text {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.sidebar-nav .has-submenu > a::after,
.sidebar-footer .has-submenu > a::after {
  display: none;
}

.sidebar-nav .has-submenu:hover > a::after,
.sidebar-footer .has-submenu:hover > a::after {
  transform: none;
}

.sidebar-header:hover .sidebar-nav .has-submenu > a::after,
.sidebar-header:hover .sidebar-footer .has-submenu > a::after {
  display: inline-block;
  border: none;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.sidebar-header:hover .sidebar-nav .has-submenu > a,
.sidebar-header:hover .sidebar-footer .has-submenu > a {
  padding-right: 40px;
}

.sidebar-nav .admin-access-item .admin-access-btn,
.sidebar-footer .admin-access-item .admin-access-btn {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
}

/* Text visible when sidebar expanded */
.sidebar-header:hover .nav-item > a .nav-text {
  opacity: 1;
  pointer-events: auto;
  clip-path: inset(0 0 0 0);
}

.sidebar-nav .nav-item > a:hover .nav-text,
.sidebar-footer .nav-item > a:hover .nav-text {
  color: var(--primary-color);
}

.sidebar-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding-bottom: 12px;
}

.sidebar-footer-separator {
  height: 1px;
  background: rgba(167, 139, 255, 0.22);
  margin: 10px 18px;
}

.sidebar-footer .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-footer .nav-item {
  display: block;
}

.sidebar-footer .submenu-up {
  top: auto;
  bottom: 0;
  left: 100%;
  transform: translateY(8px) translateX(18px);
}

.sidebar-footer .social-links-item .submenu-up {
  left: calc(100% + 24px);
  transform: translateY(8px) translateX(0);
}

.sidebar-header:hover .sidebar-footer .has-submenu:hover > .submenu-up {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(0);
}

/* Sidebar submenu items */
.sidebar-nav .submenu,
.sidebar-footer .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 180px;
  width: fit-content;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  background: rgba(15, 13, 22, 0.98);
  border: 1px solid rgba(167, 139, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 12px 0;
  border-radius: 12px;
  max-height: none;
  overflow: visible;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 2;
}

/* Nested submenus inside sidebar - same sizing and hidden state */
.sidebar-nav .submenu .submenu,
.sidebar-footer .submenu .submenu {
  min-width: 180px;
  width: fit-content;
  top: 0;
  left: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
}

/* Reset list items in sidebar submenu */
.sidebar-nav .submenu li,
.sidebar-footer .submenu li {
  margin: 4px 0;
  padding: 0;
  list-style: none;
}

/* Show nested submenu only when direct parent is hovered */
.sidebar-nav .submenu .has-submenu:hover > .submenu,
.sidebar-footer .submenu .has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sidebar-footer .submenu.submenu-up {
  top: auto;
  bottom: 0;
  left: calc(100% + 36px);
  transform: translateY(8px) translateX(-6px);
}

.sidebar-footer .social-links-item .submenu.submenu-up {
  left: calc(100% + 36px);
}

/* Sidebar submenu icons */
.sidebar-nav .submenu li a,
.sidebar-footer .submenu li a {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 12px 20px;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

/* Reset .nav-text inside submenus - override the absolute positioning from sidebar collapse */
.sidebar-nav .submenu li a .nav-text,
.sidebar-footer .submenu li a .nav-text {
  position: static;
  opacity: 1;
  clip-path: none;
  pointer-events: auto;
  left: auto;
}

.sidebar-nav .submenu li a:hover,
.sidebar-footer .submenu li a:hover {
  color: var(--primary-color);
  background: rgba(167, 139, 255, 0.1);
}

/* Submenu icons - reset position and style */
.sidebar-nav .submenu li a .nav-icon,
.sidebar-footer .submenu li a .nav-icon {
  position: static;
  display: inline-block;
  font-size: 0.8rem;
  margin-right: 12px;
  min-width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.social-links-item .submenu li a,
.social-links-item .submenu li a .nav-icon {
  color: #ffffff;
}

.social-links-item .submenu li a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.social-links-item .submenu li a:hover {
  color: var(--accent-green);
}

.nav-icon--svg svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.social-links-item .submenu li a:hover .nav-icon--svg svg {
  transform: scale(1.15);
}

.sidebar-header:hover
  .sidebar-nav
  .has-submenu:hover
  > .submenu:not(.submenu-up),
.sidebar-header:hover
  .sidebar-footer
  .has-submenu:hover
  > .submenu:not(.submenu-up) {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Body adjustment for sidebar */
body.header-sidebar {
  padding-left: var(--sidebar-width);
  padding-top: var(--mini-bar-height);
}

/* Keep padding when mini-bar is hidden to prevent scroll jitter */
body.mini-bar-hidden.header-sidebar {
  padding-top: var(--mini-bar-height);
}

body.header-sidebar .main-content {
  padding-top: 0;
}

body.header-top {
  padding-top: calc(var(--header-height) + var(--mini-bar-height));
}

.back-to-top {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 24px;
  transform: translateX(-50%) translateY(10px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(167, 139, 255, 0.2);
  border: 1px solid rgba(167, 139, 255, 0.4);
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 1200;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.back-to-top:hover {
  background: rgba(53, 224, 124, 0.2);
  border-color: rgba(53, 224, 124, 0.6);
}

body.show-back-to-top .back-to-top {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Keep padding when mini-bar is hidden to prevent scroll jitter */
body.mini-bar-hidden.header-top {
  padding-top: calc(var(--header-height) + var(--mini-bar-height));
}

@media (max-width: 960px) {
  body.header-sidebar {
    padding-left: 0;
  }

  .sidebar-toggle {
    display: inline-flex;
  }

  body.sidebar-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
  }

  .sidebar-header {
    position: fixed;
    top: var(--mini-bar-height);
    left: 0;
    width: min(86vw, 320px);
    height: calc(100vh - var(--mini-bar-height));
    border-right: 1px solid rgba(167, 139, 255, 0.2);
    border-bottom: none;
    box-shadow: 10px 0 30px rgba(6, 4, 15, 0.35);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 1110;
    scrollbar-width: thin;
    scrollbar-color: rgba(167, 139, 255, 0.7) rgba(15, 13, 22, 0.35);
  }

  .sidebar-header::-webkit-scrollbar {
    width: 8px;
  }

  .sidebar-header::-webkit-scrollbar-track {
    background: rgba(15, 13, 22, 0.35);
    border-radius: 999px;
  }

  .sidebar-header::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 255, 0.7);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
  }

  .sidebar-header::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 139, 255, 0.9);
  }

  body.sidebar-open .sidebar-header {
    transform: translateX(0);
  }

  body.mini-bar-hidden .sidebar-header {
    top: 0;
    height: 100vh;
  }

  .sidebar-header::after {
    display: none;
  }

  .sidebar-header:hover {
    width: min(86vw, 320px);
  }

  .sidebar-logo {
    justify-content: flex-start;
    padding: 0 20px;
  }

  .sidebar-logo .logo-text {
    opacity: 1;
    position: static;
    transform: none;
    clip-path: none;
    margin-left: 12px;
  }

  .sidebar-logo .logo-icon {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-search {
    height: auto;
    padding: 0 20px 12px;
  }

  .sidebar-search .search-widget {
    height: auto;
  }

  .sidebar-search .search-widget button {
    position: static;
    width: 44px;
    height: 44px;
    margin-left: 0;
  }

  .sidebar-search .search-widget input {
    width: 100%;
    margin-left: 10px;
  }

  .sidebar-header:not(:hover) .sidebar-search .search-widget input {
    width: 100%;
    opacity: 1;
    padding: 10px 12px;
    pointer-events: auto;
  }

  .sidebar-nav {
    padding: 0 0 12px;
  }

  .sidebar-nav .nav-item > a,
  .sidebar-footer .nav-item > a,
  .sidebar-footer .nav-item .nav-link,
  .sidebar-footer .nav-item .notify-wrapper > a {
    padding: 14px 20px;
    justify-content: flex-start;
    gap: 12px;
  }

  .sidebar-nav .nav-item > a .nav-icon,
  .sidebar-footer .nav-item > a .nav-icon,
  .sidebar-footer .nav-item .nav-link .nav-icon,
  .sidebar-footer .nav-item .notify-wrapper > a .nav-icon,
  .sidebar-footer .notify-button--sidebar .nav-icon {
    position: static;
    transform: none;
  }

  .sidebar-nav .nav-item > a .nav-text,
  .sidebar-footer .nav-item > a .nav-text,
  .sidebar-footer .nav-item .nav-link .nav-text,
  .sidebar-footer .nav-item .notify-wrapper > a .nav-text,
  .sidebar-footer .notify-button--sidebar .nav-text {
    position: static;
    opacity: 1;
    clip-path: none;
    pointer-events: auto;
  }

  .sidebar-footer {
    position: static;
    padding: 0 0 12px;
  }

  .sidebar-footer .notify-wrapper > a::after,
  .sidebar-header:hover .sidebar-footer .notify-wrapper > a::after,
  .sidebar-header:hover .sidebar-nav .has-submenu > a::after,
  .sidebar-header:hover .sidebar-footer .has-submenu > a::after {
    display: none;
  }

  .sidebar-nav .submenu,
  .sidebar-footer .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    background: transparent;
  }
}

/* ===================================
   BREADCRUMBS NAVIGATION
   =================================== */

.breadcrumbs-nav {
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(167, 139, 255, 0.1);
  padding: 12px 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item span[aria-current="page"] {
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.breadcrumb-home-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.breadcrumb-separator {
  margin: 0 10px;
  color: var(--text-muted);
  opacity: 0.5;
  font-size: 0.9em;
}

.breadcrumb-item--current {
  color: var(--text-color);
  font-weight: 500;
}

.breadcrumb-item--current span[aria-current="page"] {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .breadcrumbs-nav {
    padding: 10px 0;
  }

  .breadcrumbs {
    font-size: 0.8rem;
  }

  .breadcrumb-separator {
    margin: 0 6px;
  }

  .breadcrumb-home-icon {
    width: 14px;
    height: 14px;
  }
}

/* Hide breadcrumbs on very small screens if too long */
@media (max-width: 480px) {
  .breadcrumbs-nav {
    padding: 8px 0;
  }

  .breadcrumbs {
    font-size: 0.75rem;
  }
}

/* ===================================
   MAIN CONTENT
   =================================== */

.main-content {
  min-height: calc(100vh - var(--header-height) - 200px);
}

.page-content {
  padding: var(--section-padding, 60px) 0;
}

/* ===================================
   TEXT BOX SECTION
   =================================== */

.section-text-box {
  padding: var(--section-padding, 60px) 0;
}

.text-box-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.text-box-content {
  color: var(--text-muted);
}

.text-box-content p {
  color: inherit;
}

.text-tool-intro {
  margin-bottom: 0;
}

.text-tool-stack {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}

.text-tool-panel {
  background: var(--bg-tertiary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.text-tool-panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(167, 139, 255, 0.2);
  background: rgba(15, 13, 22, 0.35);
}

.text-tool-panel-header h3 {
  margin: 0;
}

.text-tool-panel-body {
  padding: 20px;
}

.text-tool-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
}

.text-tool-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
}

.text-tool-note {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
}

.text-tool-count {
  margin: 10px 0 14px;
  color: var(--accent-green);
  font-weight: 600;
}

.text-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.text-tool-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
}

.text-tool-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.text-tool-table th,
.text-tool-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(167, 139, 255, 0.14);
}

.text-tool-table th {
  font-weight: 600;
  color: var(--text-color);
  background: rgba(15, 13, 22, 0.45);
}

.text-tool-table tbody tr:last-child td {
  border-bottom: none;
}

.text-tool-output-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed rgba(167, 139, 255, 0.2);
}

.text-tool-output-name {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.text-tool-download {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .text-tool-panel-header,
  .text-tool-panel-body {
    padding: 16px;
  }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.section-testimonials {
  padding: var(--section-padding, 60px) 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 30px;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(167, 139, 255, 0.6) rgba(15, 13, 22, 0.3);
  scrollbar-width: thin;
  overflow-y: visible;
  padding-top: 10px;
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.testimonials-track::-webkit-scrollbar {
  height: 8px;
}

.testimonials-track::-webkit-scrollbar-track {
  background: rgba(15, 13, 22, 0.3);
  border-radius: 999px;
}

.testimonials-track::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 255, 0.6);
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 255, 0.3);
}

.testimonials-track::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 255, 0.85);
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 var(--testimonial-card-width, 320px);
  scroll-snap-align: start;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.testimonial-stars {
  color: var(--primary-color);
  letter-spacing: 2px;
  font-size: 1rem;
}

.testimonial-title {
  margin-bottom: 0;
}

.testimonial-comment {
  color: var(--text-muted);
  margin: 0;
}

.testimonial-author {
  color: var(--text-color);
  font-weight: 600;
  margin-top: 6px;
}

.text-align-left {
  text-align: left;
}

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

.text-align-right {
  text-align: right;
}

/* ===================================
   PRODUCTS SECTION
   =================================== */

.section-products {
  padding: var(--section-padding, 60px) 0;
}

.products-header {
  margin-bottom: 30px;
}

/* Wrapper holds both the scroll-slider and the dots overlay */
.product-media-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.product-media-slider {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  border-radius: var(--border-radius);
  border: 1px solid rgba(167, 139, 255, 0.2);
  background: var(--bg-secondary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 560px);
}

.product-media-slider::-webkit-scrollbar {
  display: none;
}

.product-media-track {
  display: flex;
  height: 100%;
}

.product-media-slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  scroll-snap-align: start;
}

/* Images: fill width exactly, center vertically, clip if taller */
.product-media-slide img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-secondary);
}

/* Local videos: cover to fill the box */
.product-media-slide video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

/* YouTube iframes: force 16:9 at full width so YouTube fills it edge-to-edge;
   excess height is clipped by the slide's overflow:hidden, hiding title/logo */
.product-media-slide iframe {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  transform: translateY(-50%);
  display: block;
  border: 0;
  pointer-events: none;
}

/* Dots sit OUTSIDE the scroll container, inside the wrapper */
.product-media-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  pointer-events: auto;
}

.product-media-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(15, 13, 22, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.product-media-dot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--glow-primary);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

.product-detail-left,
.product-detail-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-detail-section {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.product-accordion {
  padding: 0;
}

.product-accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-accordion-summary::marker {
  content: "";
}

.product-accordion-summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.product-accordion[open] .product-accordion-summary::after {
  transform: rotate(-135deg);
}

.product-accordion .product-detail-description {
  padding: 0 24px 24px;
}

.product-accordion-style-bar {
  gap: 0;
}

.product-tabs {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.product-tab-list {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(167, 139, 255, 0.18);
  background: rgba(15, 13, 22, 0.35);
  flex-wrap: wrap;
}

.product-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.product-tab-btn:hover {
  color: var(--text-color);
  border-color: rgba(167, 139, 255, 0.4);
}

.product-tab-btn.active {
  color: var(--text-color);
  border-color: var(--primary-color);
  background: rgba(167, 139, 255, 0.12);
  box-shadow: var(--glow-primary);
}

.product-tab-panels {
  padding: 24px;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
}

.product-detail-description {
  color: var(--text-muted);
  line-height: 1.7;
}

.product-meta-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-detail-name {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.product-detail-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.6px;
}

.product-digital-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-digital-badge svg {
  flex-shrink: 0;
  color: var(--primary-color);
}

.product-digital-badge.is-hidden {
  display: none;
}

.product-share-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-like-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-like-wrap.is-disabled {
  opacity: 0.7;
  pointer-events: none;
}

.product-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #ff4d4d;
  background: #ff4d4d;
  color: #2b0606;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 12px 30px rgba(255, 77, 77, 0.28);
}

.product-like-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.product-like-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(255, 77, 77, 0.35);
}

.product-like-btn.is-active {
  box-shadow: 0 18px 40px rgba(255, 77, 77, 0.5);
}

.product-like-count {
  font-size: 0.85rem;
}

.product-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-action-row .btn {
  flex: 1 1 140px;
}

.product-variant {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-variant label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-qty {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-qty label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 255, 0.3);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
}

.product-qty-input {
  width: 60px;
  text-align: center;
  background: var(--bg-tertiary);
  border: 1px solid rgba(167, 139, 255, 0.3);
  border-radius: var(--border-radius);
  color: var(--text-color);
  padding: 6px;
}

.product-variant-select {
  background: var(--bg-tertiary);
  color: var(--text-color);
  border: 1px solid rgba(167, 139, 255, 0.3);
  border-radius: var(--border-radius);
  padding: 12px 14px;
}

.product-variant-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-variant-btn {
  border: 1px solid rgba(167, 139, 255, 0.3);
  background: transparent;
  color: var(--text-color);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.product-variant-btn:hover {
  border-color: var(--primary-color);
  color: var(--text-color);
}

.product-variant-btn.active {
  background: rgba(167, 139, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: var(--glow-primary);
}

.product-variant-btn.is-out-of-stock {
  opacity: 0.5;
  position: relative;
  pointer-events: none;
}

.product-variant-btn.is-out-of-stock::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%);
}

.product-cart-btn.is-out-of-stock {
  opacity: 0.6;
  cursor: not-allowed;
}

.product-comments-section {
  margin-top: 32px;
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.product-comments-header {
  margin-bottom: 16px;
}

.product-comments-header h3 {
  margin: 0;
}

.product-comment-flash {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.product-comment-flash-success {
  border: 1px solid rgba(53, 224, 124, 0.45);
  background: rgba(53, 224, 124, 0.12);
  color: var(--text-color);
}

.product-comment-flash-error {
  border: 1px solid rgba(255, 108, 108, 0.45);
  background: rgba(255, 108, 108, 0.12);
  color: var(--text-color);
}

.product-comments-empty,
.product-comments-login-note {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.product-comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.product-comment-item {
  border: 1px solid rgba(167, 139, 255, 0.16);
  border-radius: 12px;
  padding: 14px;
  background: rgba(15, 13, 22, 0.35);
}

.product-comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.product-comment-meta strong {
  color: var(--text-color);
  font-size: 0.95rem;
}

.product-comment-body {
  color: var(--text-color);
  line-height: 1.6;
}

.product-comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-comment-form label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-comment-form textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 255, 0.24);
  background: var(--bg-tertiary);
  color: var(--text-color);
  padding: 12px;
}

.product-comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(167, 139, 255, 0.18);
}

.product-comment-form .btn {
  align-self: flex-start;
}

/* ===================================
   CART SIDEBAR + CART PAGE
   =================================== */

.cart-sidebar {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 3000;
}

.cart-sidebar.open {
  display: block;
}

.cart-sidebar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cart-sidebar-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 90vw);
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid rgba(167, 139, 255, 0.2);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
}

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(167, 139, 255, 0.2);
}

.cart-sidebar-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-color);
  cursor: pointer;
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 255, 0.6) rgba(15, 13, 22, 0.3);
}

.cart-sidebar-body::-webkit-scrollbar {
  width: 8px;
}

.cart-sidebar-body::-webkit-scrollbar-track {
  background: rgba(15, 13, 22, 0.3);
  border-radius: 999px;
}

.cart-sidebar-body::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 255, 0.6);
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 255, 0.3);
}

.cart-sidebar-body::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 255, 0.85);
}

.cart-sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(167, 139, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-sidebar-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.cart-sidebar-checkout {
  width: 100%;
}

.checkout-page {
  padding: 60px 0;
}

.checkout-header {
  margin-bottom: 24px;
}

.checkout-empty {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  color: var(--text-muted);
  border: 1px solid rgba(167, 139, 255, 0.2);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.checkout-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 24px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 20px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-item-name {
  font-weight: 600;
}

.checkout-item-variant,
.checkout-item-qty {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkout-item-total {
  font-weight: 600;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
}

.checkout-note {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.checkout-note--error {
  color: #ff9a9a;
}

.checkout-button {
  width: 100%;
}

.checkout-button.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.checkout-success {
  padding: 70px 0;
}

.checkout-success .checkout-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.checkout-success-meta {
  display: flex;
  gap: 24px;
  margin: 20px 0 24px;
  flex-wrap: wrap;
}

.checkout-success-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkout-success-value {
  font-weight: 600;
}

.checkout-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.order-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 20px;
}

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

.order-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.order-number {
  font-weight: 600;
}

.order-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: capitalize;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
}

.status-pill--paid {
  background: #1b4d2f;
  color: #e8fff1;
}

.status-pill--pending {
  background: #5b4310;
  color: #fff0c2;
}

.status-pill--cancelled {
  background: #5a1f1f;
  color: #ffdada;
}

.order-total {
  font-weight: 600;
  margin-bottom: 14px;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

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

.order-item-name {
  font-weight: 600;
}

.order-item-variant,
.order-item-qty {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.order-item-price {
  font-weight: 600;
}

.order-item-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-shipping {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-shipping-title {
  font-weight: 600;
}

.order-shipping-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.cart-mini-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(15, 13, 22, 0.4);
  padding: 12px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(167, 139, 255, 0.15);
}

.cart-mini-remove {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-mini-remove svg,
.cart-item-remove svg {
  width: 18px;
  height: 18px;
}

.cart-item-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-mini-name {
  font-weight: 600;
}

.cart-mini-qty,
.cart-item-variant {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cart-digital-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.cart-digital-badge svg {
  flex-shrink: 0;
  color: var(--primary-color);
}

.cart-mini-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-mini-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 255, 0.3);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
}

.cart-mini-qty-input {
  width: 52px;
  text-align: center;
  background: var(--bg-tertiary);
  border: 1px solid rgba(167, 139, 255, 0.3);
  border-radius: var(--border-radius);
  color: var(--text-color);
  padding: 4px;
}

.cart-page {
  padding: var(--section-padding, 60px) 0;
}

.cart-header {
  margin-bottom: 24px;
}

.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 24px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 16px;
}

.cart-item-media img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-price {
  color: var(--text-muted);
}

.cart-item-total {
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--accent-color);
  cursor: pointer;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 255, 0.3);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
}

.cart-qty-input {
  width: 60px;
  text-align: center;
  background: var(--bg-tertiary);
  border: 1px solid rgba(167, 139, 255, 0.3);
  border-radius: var(--border-radius);
  color: var(--text-color);
  padding: 6px;
}

.cart-summary-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin: 16px 0;
  font-weight: 600;
}

.cart-empty {
  background: var(--bg-secondary);
  border: 1px dashed rgba(167, 139, 255, 0.2);
  padding: 24px;
  border-radius: var(--border-radius);
  color: var(--text-muted);
}

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

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item-total,
  .cart-item-remove {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   PRODUCTS LIST + COLLECTIONS LIST
   =================================== */

.section-products-list,
.section-collections-list {
  padding: var(--section-padding, 60px) 0;
}

.section-collections-list .container {
  max-width: 1760px;
  padding-left: 8px;
  padding-right: 8px;
}

.section-products-list .products-header {
  width: 100%;
}

.products-list-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 32px;
  align-items: start;
}

.products-list-toolbar,
.products-list-divider {
  grid-column: 1 / -1;
}

.products-list-layout.no-filters {
  grid-template-columns: 1fr;
}

.products-list-layout.filters-hidden {
  grid-template-columns: 1fr;
}

.products-list-layout.filters-hidden .products-filters {
  display: none;
}

.products-filters {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filters-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filters-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.filter-reset {
  background: transparent;
  border: 1px solid rgba(167, 139, 255, 0.2);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.filter-reset:hover {
  color: var(--accent-green);
  border-color: rgba(53, 224, 124, 0.6);
  background: rgba(53, 224, 124, 0.1);
}

.filters-card h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.filter-option input {
  margin-right: 6px;
}

.filter-option span {
  flex: 1;
}

.filter-option small {
  color: var(--text-muted);
}

.products-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.products-list-toolbar .toolbar-left,
.products-list-toolbar .toolbar-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.products-list-divider {
  height: 1px;
  background: rgba(167, 139, 255, 0.18);
  margin-top: -6px;
  margin-bottom: 12px;
}

.products-list-toolbar label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-right: 8px;
}

.sort-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sort-dropdown {
  position: relative;
}

.sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  color: var(--text-color);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.sort-trigger svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.sort-dropdown.open .sort-trigger svg {
  transform: rotate(180deg);
}

.sort-trigger:hover,
.sort-trigger:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(53, 224, 124, 0.2);
  outline: none;
}

.sort-has-value .sort-trigger:hover,
.sort-has-value .sort-trigger:focus {
  border-color: rgba(167, 139, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(167, 139, 255, 0.2);
}

.sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
  z-index: 10;
}

.sort-dropdown.open .sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sort-option {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.sort-option:hover {
  color: var(--accent-green);
  background: rgba(53, 224, 124, 0.12);
  transform: translateX(2px);
}

.products-list-toolbar .toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.products-count {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 0;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-toggle span {
  position: relative;
  padding-left: 34px;
  display: inline-flex;
  align-items: center;
}

.filter-toggle span.is-on {
  color: var(--accent-green);
}

.filter-toggle span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 255, 0.25);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.filter-toggle span::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.filter-toggle input:checked + span::before {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.filter-toggle input:checked + span::after {
  transform: translateY(-50%) translateX(12px);
}

.view-toggle {
  display: inline-flex;
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: 999px;
  overflow: visible;
}

.view-toggle .view-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  position: relative;
}
.view-toggle .view-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 13, 22, 0.95);
  color: var(--text-color);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  transition-delay: 0s;
  pointer-events: none;
  border: 1px solid rgba(167, 139, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.view-toggle .view-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transition-delay: 1s;
}

.view-toggle .view-btn.active {
  background: rgba(53, 224, 124, 0.15);
  color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(53, 224, 124, 0.5) inset;
}

.view-toggle .view-btn:hover {
  color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(53, 224, 124, 0.35) inset;
}

.view-toggle .view-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.product-list-grid,
.collection-list-grid {
  display: grid;
  gap: 24px;
}

.product-list-grid.view-list {
  grid-template-columns: 1fr !important;
  gap: 28px;
  width: 100%;
}

.product-list-grid.columns-2,
.collection-list-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-list-grid.columns-3,
.collection-list-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-list-grid.columns-4,
.collection-list-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-list-grid.is-carousel {
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 40vw, 480px);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 14px 16px 18px;
  border-radius: calc(var(--border-radius) + 6px);
  border: 1px solid rgba(167, 139, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(26, 22, 42, 0.75),
    rgba(15, 13, 22, 0.6)
  );
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 255, 0.6) transparent;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.collection-list-grid.is-carousel.columns-2 {
  grid-auto-columns: clamp(320px, 60vw, 560px);
}

.collection-list-grid.is-carousel.columns-3 {
  grid-auto-columns: clamp(280px, 45vw, 460px);
}

.collection-list-grid.is-carousel.columns-4 {
  grid-auto-columns: clamp(240px, 36vw, 400px);
}

.collection-list-grid.is-carousel .collection-list-card {
  scroll-snap-align: start;
}

.collection-list-grid.is-carousel::-webkit-scrollbar {
  height: 12px;
}

.collection-list-grid.is-carousel::-webkit-scrollbar-track {
  background: rgba(167, 139, 255, 0.1);
  border-radius: 999px;
}

.collection-list-grid.is-carousel::-webkit-scrollbar-thumb {
  background: linear-gradient(
    90deg,
    rgba(167, 139, 255, 0.65),
    rgba(111, 91, 255, 0.55)
  );
  border-radius: 999px;
}

.collection-list-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.product-list-card,
.collection-list-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-list-grid.view-list .product-list-card {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.product-list-grid.view-list .product-list-body {
  flex: 1;
  min-width: 0;
}

.product-list-card:hover,
.collection-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.product-list-media,
.collection-list-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-list-grid.view-list .product-list-media {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.product-list-media img,
.collection-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.product-list-body,
.collection-list-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-list-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-list-variants span {
  padding: 4px 8px;
  background: rgba(167, 139, 255, 0.15);
  border-radius: 999px;
}

.product-list-variants span.is-out-of-stock {
  text-decoration: line-through;
  opacity: 0.6;
}

.product-list-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-list-extra {
  margin-top: 6px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.product-list-extra p {
  margin: 0;
  word-break: break-word;
}

.product-list-grid.view-list .product-list-extra {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.product-list-extra-item strong {
  display: block;
  color: var(--text-color);
  margin-bottom: 2px;
}

.product-list-title,
.collection-list-title {
  margin: 0;
}

.product-list-price {
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.collection-list-description {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .products-list-layout {
    grid-template-columns: 1fr;
  }

  .products-filters {
    position: static;
    order: 2;
  }

  .product-list-grid.columns-4,
  .collection-list-grid.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collection-list-grid.is-carousel.columns-3,
  .collection-list-grid.is-carousel.columns-4 {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 900px) {
  .product-list-grid.columns-3,
  .product-list-grid.columns-4,
  .collection-list-grid.columns-3,
  .collection-list-grid.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-list-grid.view-list .product-list-card {
    flex-direction: column;
  }

  .product-list-grid.view-list .product-list-media {
    width: 100%;
  }

  .product-list-grid.columns-2,
  .product-list-grid.columns-3,
  .product-list-grid.columns-4,
  .collection-list-grid.columns-2,
  .collection-list-grid.columns-3,
  .collection-list-grid.columns-4 {
    grid-template-columns: 1fr;
  }

  .collection-list-grid.is-carousel.columns-2,
  .collection-list-grid.is-carousel.columns-3,
  .collection-list-grid.is-carousel.columns-4 {
    grid-auto-columns: 100%;
  }
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-section {
  padding: var(--section-padding, 60px) 0;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.contact-header h1 {
  margin-bottom: 10px;
}

.contact-email {
  margin-top: 10px;
  color: var(--text-muted);
}

.contact-alert {
  margin: 20px 0;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  font-weight: 500;
}

.contact-alert-success {
  background: #17392a;
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #d8ffec;
}

.contact-alert-error {
  background: #4f1f26;
  border: 1px solid rgba(255, 77, 79, 0.35);
  color: #ffe7e8;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-family: var(--font-family);
  transition: var(--transition);
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--glow-primary);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-form input[type="file"] {
  padding: 10px 12px;
}

.contact-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(167, 139, 255, 0.3);
  border-radius: 8px;
  background: rgba(167, 139, 255, 0.15);
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.contact-form input[type="file"]::file-selector-button:hover {
  background: rgba(167, 139, 255, 0.3);
  box-shadow: var(--glow-primary);
}

.contact-form input[type="file"]::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(167, 139, 255, 0.3);
  border-radius: 8px;
  background: rgba(167, 139, 255, 0.15);
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.contact-form input[type="file"]::-webkit-file-upload-button:hover {
  background: rgba(167, 139, 255, 0.3);
  box-shadow: var(--glow-primary);
}

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

.contact-actions {
  display: flex;
  justify-content: flex-end;
}

.is-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.product-action-row .is-hidden,
.product-qty.is-hidden {
  display: none;
  position: static;
  width: auto;
  height: auto;
}

.product-download-btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}

@media (max-width: 768px) {
  .contact-card {
    padding: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: stretch;
  }

  .contact-actions .btn {
    width: 100%;
  }
}

/* ===================================
   SECTIONS - SPLIT SLIDESHOW
   =================================== */

.section-split-slideshow {
  position: relative;
  height: var(--section-height, 75vh);
  max-height: 900px;
  max-width: 2200px;
  margin-left: auto;
  margin-right: 0;
  display: flex;
  overflow: hidden;
}

.split-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.split-slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.split-slide.active {
  opacity: 1;
}

/* Content overlays on top-left of the media */
.split-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 30px;
  z-index: 3;
  overflow: hidden;
  box-sizing: border-box;
}

/* Lila background strip — fades from solid on the left to transparent */
.split-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 100%);
  z-index: -1;
}

.split-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Media fills the entire section */
.split-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.split-media iframe,
.split-media video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

/* YouTube iframes: force 16:9 oversized to fill with no gaps */
.split-media iframe {
  width: 177.78vh;
  height: 56.25vw;
}

.split-media .split-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.split-image-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay on media: thin fade from lila into transparent */
.split-image::before,
.split-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 40%);
  z-index: 2;
  pointer-events: none;
}

.split-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  width: 100%;
  min-width: 0;
}

.split-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  width: 100%;
  min-width: 0;
}

.split-content .btn {
  padding-left: 10em;
  padding-right: 10em;
  white-space: nowrap;
  align-self: flex-start;
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
  max-height: calc(100% - 80px);
}

.slideshow-dot {
  width: var(--dot-size, 50px);
  height: var(--dot-size, 50px);
  min-width: 20px;
  min-height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  background-color: var(--bg-secondary);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.slideshow-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.slideshow-dot.active::after,
.slideshow-dot:hover::after {
  background: transparent;
}

.slideshow-dot.active {
  border-color: var(--primary-color);
  box-shadow: var(--glow-primary);
}

/* Make the current slide's dot stand out the same way as hover */
.slideshow-dot.active,
.slideshow-dot:hover,
.slideshow-dot:focus-visible {
  transform: scale(1.3);
  z-index: 100;
  border-width: 3px;
}

.slideshow-arrows {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slideshow-arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  background: transparent;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.slideshow-arrow:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  box-shadow: var(--glow-primary);
}

@media (max-width: 768px) {
  .split-slide {
    flex-direction: column-reverse;
  }

  .split-content,
  .split-image {
    flex: none;
    height: 50%;
  }

  .split-content {
    padding: 30px;
  }

  .split-image::before {
    background: linear-gradient(0deg, var(--bg-secondary) 0%, transparent 30%);
  }

  .slideshow-nav {
    right: 15px;
    gap: 10px;
    max-height: calc(100% - 40px);
  }

  .slideshow-dot {
    width: var(--dot-size, 25px);
    height: var(--dot-size, 25px);
    min-width: 18px;
    min-height: 18px;
    border-width: 2px;
  }

  .slideshow-arrows {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 100%;
    top: 50%;
  }
}

/* ===================================
   IMAGE BANNER SECTION
   =================================== */

.section-image-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image-banner.is-clickable {
  cursor: pointer;
}

.section-image-banner.is-clickable:hover .banner-overlay {
  opacity: 0.85;
}

.banner-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.banner-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--banner-overlay, rgba(0, 0, 0, 0.5));
  z-index: 1;
  transition: opacity 0.3s ease;
}

.banner-content {
  position: relative;
  z-index: 5;
  max-width: var(--content-max-width, 1400px);
  width: 100%;
  height: 100%;
  padding: 20px 40px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.banner-title {
  color: var(--text-color);
  margin: 0 0 10px 0;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.banner-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 8;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.banner-dot:hover {
  border-color: var(--primary-color);
}

.banner-dot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

@media (max-width: 768px) {
  .section-image-banner {
    min-height: 200px;
  }

  .banner-content {
    padding: 15px 20px;
  }

  .banner-title {
    font-size: clamp(24px, 6vw, 36px) !important;
  }

  .banner-subtitle {
    font-size: clamp(14px, 3vw, 16px) !important;
  }
}

.product-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99998;
}

.product-lightbox.is-open {
  display: flex;
}

.product-lightbox-stage {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.12s ease;
  cursor: zoom-in;
}

.product-lightbox-media {
  display: block;
}

.product-lightbox-video {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #000;
}

.product-lightbox-iframe {
  width: min(90vw, 160vh);
  max-height: 90vh;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.product-lightbox-youtube {
  position: relative;
  width: min(90vw, 160vh);
  max-height: 90vh;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.product-lightbox-youtube .product-lightbox-iframe {
  width: 100%;
  height: 100%;
  max-height: none;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.product-lightbox-youtube-cover {
  position: absolute;
  left: 0;
  right: 0;
  background: #000;
  z-index: 2;
}

.product-lightbox-youtube-cover--top {
  top: 0;
  height: min(64px, 10%);
}

.product-lightbox-youtube-cover--bottom {
  bottom: 0;
  height: min(54px, 9%);
}

.product-lightbox-youtube-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.72);
  color: #ff0033;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  z-index: 3;
}

.product-lightbox-youtube-link:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.86);
  border-color: rgba(255, 255, 255, 0.4);
}

.product-lightbox-youtube-link svg {
  width: 24px;
  height: 24px;
}

.product-lightbox.is-zoomed .product-lightbox-img {
  cursor: zoom-out;
}

.product-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 18, 0.78);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-lightbox-close:hover {
  background: rgba(10, 12, 18, 0.92);
}

.product-lightbox-close svg {
  width: 18px;
  height: 18px;
}

.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 18, 0.78);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.product-lightbox.is-multi .product-lightbox-nav {
  display: flex;
}

.product-lightbox-nav:hover {
  background: rgba(10, 12, 18, 0.92);
}

.product-lightbox-prev {
  left: 20px;
}

.product-lightbox-next {
  right: 20px;
}

.product-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

body.product-lightbox-open {
  overflow: hidden;
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  padding: 60px 0 0;
}

.footer-container {
  max-width: var(--content-max-width, 1400px);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand .logo-text {
  display: inline-block;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-menu {
  display: flex;
  list-style: none;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-menu-item {
  position: relative;
}

.footer-menu-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.footer-menu-item > a:hover {
  color: var(--primary-color);
  background: rgba(167, 139, 255, 0.1);
}

/* Footer submenu dropdown indicator */
.footer-menu-item.has-submenu > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid currentColor;
  transition: transform 0.3s ease;
}

.footer-menu-item.has-submenu:hover > a::after {
  transform: rotate(180deg);
}

/* Footer submenu - opens upward */
.footer-submenu {
  position: absolute;
  bottom: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 5px;
}

.footer-menu-item.has-submenu:hover .footer-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-submenu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-submenu li a:hover {
  color: var(--primary-color);
  background: rgba(167, 139, 255, 0.1);
  padding-left: 25px;
}

/* Nav icons for header and footer */
.nav-item > a .nav-icon,
.footer-menu-item > a .nav-icon,
.footer-submenu li a .nav-icon {
  font-size: 1.1rem;
  margin-right: 6px;
}

.cart-nav-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 6px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4d6d;
  color: #2b060e;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(255, 77, 109, 0.35);
}

.cart-badge.is-hidden {
  display: none;
}

.cart-nav-item.is-hidden {
  display: none;
}

body.header-sidebar .cart-nav-link .cart-badge {
  top: 16px;
  right: auto;
  left: calc(var(--sidebar-width) / 2 + 8px);
}

/* Legacy footer menu group styles (keeping for backward compatibility) */
.footer-menu-group h4 {
  font-family: var(--font-family);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-menu-group ul {
  list-style: none;
}

.footer-menu-group li {
  margin-bottom: 10px;
}

.footer-menu-group a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-menu-group a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    gap: 30px;
  }

  .footer-menu {
    flex-direction: column;
    gap: 0;
  }

  .footer-menu-item > a {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(167, 139, 255, 0.1);
  }

  .footer-submenu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    background: rgba(167, 139, 255, 0.05);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .footer-menu-item.has-submenu.submenu-open .footer-submenu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: 10px 0;
  }

  .footer-menu-item.has-submenu.submenu-open > a::after {
    transform: rotate(180deg);
  }

  .footer-submenu li a {
    padding: 12px 20px 12px 40px;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* Dynamic Font Size Utility Classes */
[data-font-size] {
  font-size: var(--dynamic-font-size, inherit);
}
.font-size-18 {
  font-size: 18px;
}
.font-size-20 {
  font-size: 20px;
}
.font-size-22 {
  font-size: 22px;
}
.font-size-24 {
  font-size: 24px;
}
.font-size-26 {
  font-size: 26px;
}
.font-size-28 {
  font-size: 28px;
}
.font-size-30 {
  font-size: 30px;
}
.font-size-32 {
  font-size: 32px;
}
.font-size-36 {
  font-size: 36px;
}
.font-size-40 {
  font-size: 40px;
}
.font-size-48 {
  font-size: 48px;
}
.font-size-56 {
  font-size: 56px;
}
.font-size-64 {
  font-size: 64px;
}
.font-size-12 {
  font-size: 12px;
}
.font-size-14 {
  font-size: 14px;
}
.font-size-16 {
  font-size: 16px;
}

/* Dynamic Logo Height Utility Classes */
.logo-height-30 {
  height: 30px;
}
.logo-height-40 {
  height: 40px;
}
.logo-height-50 {
  height: 50px;
}
.logo-height-60 {
  height: 60px;
}
.logo-height-70 {
  height: 70px;
}
.logo-height-80 {
  height: 80px;
}
.logo-height-90 {
  height: 90px;
}
.logo-height-100 {
  height: 100px;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.hidden {
  display: none;
}
.visible {
  display: block;
}

/* Neon glow effects */
.glow-text {
  text-shadow: var(--glow-primary);
}

.glow-box {
  box-shadow: var(--glow-primary);
}

/* Animated border */
.neon-border {
  position: relative;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
}

.neon-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color),
    var(--primary-color)
  );
  background-size: 400% 400%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: gradientShift 3s ease infinite;
}

.neon-border:hover::before {
  opacity: 1;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Pulse animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Float animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 16, 34, 0.95);
  border-top: 1px solid rgba(167, 139, 255, 0.35);
  box-shadow: 0 -12px 30px rgba(7, 6, 12, 0.45);
  padding: 18px 24px;
  z-index: 12000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.cookie-consent__text h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.cookie-consent__text p {
  margin: 0;
  color: var(--text-muted);
  max-width: 560px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 12010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 12, 0.7);
}

.cookie-modal__content {
  position: relative;
  z-index: 1;
  width: min(520px, 92vw);
  background: var(--bg-secondary);
  border: 1px solid rgba(167, 139, 255, 0.35);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(4, 4, 8, 0.6);
}

.cookie-modal__subtitle {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.cookie-modal__option {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-modal__option:last-of-type {
  border-bottom: none;
}

.cookie-modal__option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
}

.cookie-modal__option p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cookie-toggle {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-toggle.is-disabled {
  opacity: 0.7;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 46px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.cookie-switch__slider::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch__slider {
  background: rgba(167, 139, 255, 0.7);
}

.cookie-switch input:checked + .cookie-switch__slider::before {
  transform: translateX(20px);
}

.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* ===================================
   INLINE STYLE REPLACEMENTS
   =================================== */

.is-hidden-display {
  display: none !important;
}

.btn.is-action-pending {
  opacity: 0.5;
}

.inline-spinner {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

.messenger-empty {
  padding: 20px;
}

.messenger-empty.messenger-empty--compact {
  padding: 16px;
}

.messenger-badge.is-hidden-display {
  display: none;
}

.messenger-badge--inline {
  display: inline-flex;
  position: static;
  top: auto;
  right: auto;
  margin-left: 10px;
}

.zoom-100 {
  transform: scale(1);
}
.zoom-120 {
  transform: scale(1.2);
}
.zoom-140 {
  transform: scale(1.4);
}
.zoom-160 {
  transform: scale(1.6);
}
.zoom-180 {
  transform: scale(1.8);
}
.zoom-200 {
  transform: scale(2);
}
.zoom-250 {
  transform: scale(2.5);
}
.zoom-300 {
  transform: scale(3);
}
.zoom-350 {
  transform: scale(3.5);
}
.zoom-400 {
  transform: scale(4);
}

.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-indicator.status-online {
  background: #2ecc71;
}

.status-indicator.status-offline {
  background: #95a5a6;
}

.status-indicator.status-dnd {
  background: #e74c3c;
}

/* Setup complete banner */
.setup-complete-banner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #072418;
  padding: 12px 20px;
  position: relative;
  z-index: 10000;
}

.setup-complete-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.setup-complete-icon {
  font-size: 24px;
}

.setup-complete-text {
  flex: 1;
  min-width: 200px;
}

.setup-complete-text strong {
  display: block;
  font-size: 16px;
}

.setup-complete-text span {
  font-size: 14px;
  opacity: 0.9;
}

.setup-complete-note {
  opacity: 0.8;
}

.setup-complete-btn {
  background: rgba(255, 255, 255, 0.88);
  color: #0f2b1f;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.setup-complete-btn:hover {
  background: rgba(255, 255, 255, 0.96);
}

.setup-complete-close {
  background: none;
  border: none;
  color: #0f2b1f;
  font-size: 24px;
  cursor: pointer;
  padding: 0 5px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.setup-complete-close:hover {
  opacity: 1;
}
