/**
 * FCUTSTORE Theme
 * Dark, premium aesthetic with blacks, greys, and whites
 */

:root {
  /* FCUTSTORE Color Palette */
  --fcutstore-black: #000000;
  --fcutstore-near-black: #0a0a0a;
  --fcutstore-dark-grey: #1a1a1a;
  --fcutstore-mid-grey: #2a2a2a;
  --fcutstore-light-grey: #3a3a3a;
  --fcutstore-border-grey: #2d2d2d;
  --fcutstore-text-white: #ffffff;
  --fcutstore-text-grey: #cccccc;
  --fcutstore-text-muted: #999999;
  --fcutstore-accent: #f0f0f0; /* Chalk white accent */
  --fcutstore-success: #22c55e; /* Success green */
  --fcutstore-error: #ff4444;
}

/* Override main theme colors for FCUTSTORE - DARK THEME (default) */
body:not([data-theme="light"]) {
  --bg: var(--fcutstore-near-black);
  --card: var(--fcutstore-dark-grey);
  --card-bg: var(--fcutstore-dark-grey);
  --text-primary: var(--fcutstore-text-white);
  --text-secondary: var(--fcutstore-text-grey);
  --border-color: var(--fcutstore-border-grey);
  --primary: var(--fcutstore-text-white);
  --primary-600: var(--fcutstore-light-grey);
  --primary-color: var(--fcutstore-text-white);
  --success-color: var(--fcutstore-success);
  --error-color: var(--fcutstore-error);
  --text: var(--fcutstore-text-white);
  --muted: var(--fcutstore-text-muted);
  --border: var(--fcutstore-border-grey);
  --accent: var(--fcutstore-accent);
}

/* LIGHT THEME for FCUTSTORE */
[data-theme="light"] {
  --bg: #ffffff;
  --card: #f8fafc;
  --card-bg: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-color: #e2e8f0;
  --primary: #3b82f6;
  --primary-600: #2563eb;
  --primary-color: #3b82f6;
  --success-color: #22c55e;
  --error-color: #ff4444;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #3b82f6;
  --fcutstore-success: #22c55e;
}

/* Header - responsive to theme */
body:not([data-theme="light"]) .site-header {
  background: var(--fcutstore-dark-grey) !important;
}

[data-theme="light"] .site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0;
}

/* Modal backgrounds - Dark theme */
body:not([data-theme="light"]) .modal-content,
body:not([data-theme="light"]) .customer-dashboard,
body:not([data-theme="light"]) #account-modal .modal-content,
body:not([data-theme="light"]) #contact-modal .modal-content,
body:not([data-theme="light"]) #faq-modal .modal-content,
body:not([data-theme="light"]) #cashback-modal .modal-content {
  background: var(--fcutstore-dark-grey) !important;
  border: 1px solid var(--fcutstore-border-grey);
  color: var(--fcutstore-text-white);
}

/* Modal backgrounds - Light theme */
[data-theme="light"] .modal-content,
[data-theme="light"] .customer-dashboard,
[data-theme="light"] #account-modal .modal-content,
[data-theme="light"] #contact-modal .modal-content,
[data-theme="light"] #faq-modal .modal-content,
[data-theme="light"] #cashback-modal .modal-content {
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

/* Modal titles - Dark theme */
body:not([data-theme="light"]) .modal-title,
body:not([data-theme="light"]) h2,
body:not([data-theme="light"]) h3 {
  color: var(--fcutstore-text-white) !important;
}

/* Modal titles - Light theme */
[data-theme="light"] .modal-title,
[data-theme="light"] h2,
[data-theme="light"] h3 {
  color: #0f172a !important;
}

/* Buttons - Dark theme */
body:not([data-theme="light"]) .btn-primary {
  background: var(--fcutstore-text-white);
  color: var(--fcutstore-black);
  border: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

body:not([data-theme="light"]) .btn-primary:hover {
  background: var(--fcutstore-text-grey);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

body:not([data-theme="light"]) .btn-secondary {
  background: var(--fcutstore-mid-grey);
  color: var(--fcutstore-text-white);
  border: 1px solid var(--fcutstore-border-grey);
}

body:not([data-theme="light"]) .btn-secondary:hover {
  background: var(--fcutstore-light-grey);
  border-color: var(--fcutstore-light-grey);
}

/* Buttons - Light theme */
[data-theme="light"] .btn-primary {
  background: #3b82f6;
  color: #0f172a;
  border: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

[data-theme="light"] .btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

[data-theme="light"] .btn-secondary {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .btn-secondary:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* Form inputs - Dark theme */
body:not([data-theme="light"]) input[type="text"],
body:not([data-theme="light"]) input[type="email"],
body:not([data-theme="light"]) input[type="password"],
body:not([data-theme="light"]) input[type="tel"],
body:not([data-theme="light"]) textarea,
body:not([data-theme="light"]) select {
  background: var(--fcutstore-mid-grey) !important;
  border: 1px solid var(--fcutstore-border-grey) !important;
  color: var(--fcutstore-text-white) !important;
}

body:not([data-theme="light"]) input[type="text"]:focus,
body:not([data-theme="light"]) input[type="email"]:focus,
body:not([data-theme="light"]) input[type="password"]:focus,
body:not([data-theme="light"]) input[type="tel"]:focus,
body:not([data-theme="light"]) textarea:focus,
body:not([data-theme="light"]) select:focus {
  border-color: var(--fcutstore-light-grey) !important;
  background: var(--fcutstore-light-grey) !important;
  outline: none;
}

body:not([data-theme="light"]) input::placeholder,
body:not([data-theme="light"]) textarea::placeholder {
  color: var(--fcutstore-text-muted) !important;
}

/* Form inputs - Light theme */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] input[type="text"]:focus,
[data-theme="light"] input[type="email"]:focus,
[data-theme="light"] input[type="password"]:focus,
[data-theme="light"] input[type="tel"]:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
  border-color: #3b82f6 !important;
  background: #ffffff !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1) !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: #94a3b8 !important;
}

/* Cards and containers */
.platform-card {
  background: transparent !important;
  border: none !important;
}

.platform-card:hover {
  border: none !important;
  background: transparent !important;
}

/* Cards - Dark theme */
body:not([data-theme="light"]) .stat-card,
body:not([data-theme="light"]) .order-card {
  background: var(--fcutstore-dark-grey) !important;
  border: 1px solid var(--fcutstore-border-grey) !important;
}

/* Cards - Light theme */
[data-theme="light"] .stat-card,
[data-theme="light"] .order-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

/* Footer - Dark theme */
body:not([data-theme="light"]) .site-footer {
  background: var(--fcutstore-black) !important;
  border-top: 1px solid var(--fcutstore-border-grey);
  color: var(--fcutstore-text-grey);
}

/* Footer - Light theme */
[data-theme="light"] .site-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
  color: #475569;
}

.footer-logo {
  text-align: center;
  padding: 20px 0 15px;
}

.fcutstore-logo {
  height: 40px;
  width: auto;
  opacity: 0.9;
}

/* Smallprint - Dark theme */
body:not([data-theme="light"]) .smallprint {
  color: var(--fcutstore-text-muted);
}

/* Smallprint - Light theme */
[data-theme="light"] .smallprint {
  color: #64748b;
}

/* Language Dropdown */
.lang-dropdown, .currency-dropdown {
  position: relative;
  display: inline-block;
}

#lang-toggle, #currency-toggle {
  cursor: pointer;
}

/* Lang/Currency Menu - Dark theme */
body:not([data-theme="light"]) .lang-menu,
body:not([data-theme="light"]) .currency-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--fcutstore-dark-grey);
  border: 1px solid var(--fcutstore-border-grey);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 180px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Lang/Currency Menu - Light theme */
[data-theme="light"] .lang-menu,
[data-theme="light"] .currency-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 180px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lang-menu.active, .currency-menu.active {
  display: block;
}

/* Lang/Currency Options - Dark theme */
body:not([data-theme="light"]) .lang-option,
body:not([data-theme="light"]) .currency-option {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: var(--fcutstore-text-white);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

body:not([data-theme="light"]) .lang-option:hover,
body:not([data-theme="light"]) .currency-option:hover {
  background: var(--fcutstore-mid-grey);
}

/* Lang/Currency Options - Light theme */
[data-theme="light"] .lang-option,
[data-theme="light"] .currency-option {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

[data-theme="light"] .lang-option:hover,
[data-theme="light"] .currency-option:hover {
  background: #f8fafc;
}

/* Mobile language dropdown */
.lang-dropdown-mobile {
  position: relative;
}

/* Mobile language dropdown - Dark theme */
body:not([data-theme="light"]) .lang-menu-mobile {
  display: none;
  background: var(--fcutstore-mid-grey);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

/* Mobile language dropdown - Light theme */
[data-theme="light"] .lang-menu-mobile {
  display: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.lang-menu-mobile.active {
  display: block;
}

/* Mobile language options - Dark theme */
body:not([data-theme="light"]) .lang-option-mobile {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: var(--fcutstore-text-white);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

body:not([data-theme="light"]) .lang-option-mobile:hover {
  background: var(--fcutstore-light-grey);
}

/* Mobile language options - Light theme */
[data-theme="light"] .lang-option-mobile {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

[data-theme="light"] .lang-option-mobile:hover {
  background: #e2e8f0;
}

/* Footer Trust Signals */
.footer-trust-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid var(--fcutstore-border-grey);
  max-width: 1000px;
  margin: 0 auto;
}

.footer-trust-signals .trust-item {
  text-align: center;
  padding: 0.5rem;
}

.footer-trust-signals .trustpilot-badge .trust-stars {
  color: #00b67a;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 3px;
}

/* Footer Trust Signals - Dark theme */
body:not([data-theme="light"]) .footer-trust-signals .trust-rating {
  color: var(--fcutstore-text-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

body:not([data-theme="light"]) .footer-trust-signals .trust-number {
  color: var(--fcutstore-text-white);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

body:not([data-theme="light"]) .footer-trust-signals .trust-label {
  color: var(--fcutstore-text-grey);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer Trust Signals - Light theme */
[data-theme="light"] .footer-trust-signals .trust-rating {
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

[data-theme="light"] .footer-trust-signals .trust-number {
  color: #0f172a;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .footer-trust-signals .trust-label {
  color: #64748b;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer-trust-signals {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 1rem 1.5rem;
  }

  .footer-trust-signals .trust-number {
    font-size: 1.5rem;
  }
}

/* Payment method icons container */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 1.5rem;
  margin-bottom: 1rem;
}

.payment-icon-svg {
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
  .payment-methods {
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .payment-icon-svg {
    width: 60px !important;
    height: 36px !important;
  }
}

/* Trust Signals Section - Dark theme */
body:not([data-theme="light"]) .trust-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--fcutstore-dark-grey);
  border: 1px solid var(--fcutstore-border-grey);
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Trust Signals Section - Light theme */
[data-theme="light"] .trust-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.trust-item {
  text-align: center;
  padding: 0.5rem;
}

.trustpilot-badge .trust-stars {
  color: #00b67a;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

/* Trust ratings/numbers/labels - Dark theme */
body:not([data-theme="light"]) .trust-rating {
  color: var(--fcutstore-text-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

body:not([data-theme="light"]) .trust-number {
  color: var(--fcutstore-text-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

body:not([data-theme="light"]) .trust-label {
  color: var(--fcutstore-text-grey);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Trust ratings/numbers/labels - Light theme */
[data-theme="light"] .trust-rating {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

[data-theme="light"] .trust-number {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .trust-label {
  color: #64748b;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .trust-signals {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .trust-number {
    font-size: 1.25rem;
  }
}

/* Delivery Badge on Platform Cards */
.delivery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--fcutstore-success);
  color: var(--fcutstore-black);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 255, 136, 0.4);
}

/* Quantity Preset Buttons */
.quantity-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.preset-btn {
  background: var(--fcutstore-mid-grey);
  color: var(--fcutstore-text-white);
  border: 2px solid var(--fcutstore-border-grey);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 90px;
}

.preset-btn:hover {
  background: var(--fcutstore-light-grey);
  border-color: var(--fcutstore-text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.preset-btn.active {
  background: var(--fcutstore-text-white);
  color: var(--fcutstore-black);
  border-color: var(--fcutstore-text-white);
}

@media (max-width: 768px) {
  .quantity-presets {
    gap: 0.5rem;
  }

  .preset-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    min-width: 75px;
  }
}

/* Status badges */
.status-badge {
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.status-badge.active,
.status-badge.shipped,
.status-badge.completed {
  background: rgba(0, 255, 136, 0.15);
  color: var(--fcutstore-success);
  border: 1px solid var(--fcutstore-success);
}

.status-badge.pending,
.status-badge.processing {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fcutstore-text-white);
  border: 1px solid var(--fcutstore-border-grey);
}

/* Tabs - Dark theme */
body:not([data-theme="light"]) .tab {
  background: transparent;
  color: var(--fcutstore-text-grey);
  border-bottom: 2px solid transparent;
}

body:not([data-theme="light"]) .tab.is-active {
  color: var(--fcutstore-text-white);
  border-bottom-color: var(--fcutstore-text-white);
}

body:not([data-theme="light"]) .tab:hover {
  color: var(--fcutstore-text-white);
  background: var(--fcutstore-mid-grey);
}

/* Tabs - Light theme */
[data-theme="light"] .tab {
  background: transparent;
  color: #64748b;
  border-bottom: 2px solid transparent;
}

[data-theme="light"] .tab.is-active {
  color: #0f172a;
  border-bottom-color: #3b82f6;
}

[data-theme="light"] .tab:hover {
  color: #0f172a;
  background: #f8fafc;
}

/* Stats cards - Dark theme */
body:not([data-theme="light"]) .stat-value {
  color: var(--fcutstore-text-white);
  font-weight: 700;
}

body:not([data-theme="light"]) .stat-label {
  color: var(--fcutstore-text-grey);
}

/* Stats cards - Light theme */
[data-theme="light"] .stat-value {
  color: #0f172a;
  font-weight: 700;
}

[data-theme="light"] .stat-label {
  color: #64748b;
}

/* Links - Dark theme */
body:not([data-theme="light"]) a {
  color: var(--fcutstore-text-white);
}

body:not([data-theme="light"]) a:hover {
  color: var(--fcutstore-text-grey);
}

/* Links - Light theme */
[data-theme="light"] a {
  color: #0f172a;
}

[data-theme="light"] a:hover {
  color: #3b82f6;
}

/* Cashback section - Dark theme */
body:not([data-theme="light"]) #cashback-modal .modal-content {
  background: var(--fcutstore-dark-grey) !important;
}

body:not([data-theme="light"]) .cashback-balance {
  background: var(--fcutstore-mid-grey);
  border: 1px solid var(--fcutstore-border-grey);
}

/* Cashback section - Light theme */
[data-theme="light"] #cashback-modal .modal-content {
  background: #ffffff !important;
}

[data-theme="light"] .cashback-balance {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

/* FAQ items - Dark theme */
body:not([data-theme="light"]) .faq-item {
  background: var(--fcutstore-mid-grey);
  border: 1px solid var(--fcutstore-border-grey);
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-radius: 8px;
}

body:not([data-theme="light"]) .faq-item h3 {
  color: var(--fcutstore-text-white);
  margin-bottom: 0.5rem;
}

body:not([data-theme="light"]) .faq-item p {
  color: var(--fcutstore-text-grey);
  margin: 0;
}

/* FAQ items - Light theme */
[data-theme="light"] .faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-radius: 8px;
}

[data-theme="light"] .faq-item h3 {
  color: #0f172a;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .faq-item p {
  color: #475569;
  margin: 0;
}

/* Contact form */
#contact-modal textarea {
  min-height: 120px;
}

/* Success/Error states */
.success {
  color: var(--fcutstore-success);
}

.error {
  color: var(--fcutstore-error);
}

/* Table styling - Dark theme */
body:not([data-theme="light"]) table {
  background: var(--fcutstore-dark-grey);
  color: var(--fcutstore-text-white);
}

body:not([data-theme="light"]) th {
  background: var(--fcutstore-mid-grey);
  color: var(--fcutstore-text-white);
  border-bottom: 2px solid var(--fcutstore-border-grey);
}

body:not([data-theme="light"]) td {
  border-bottom: 1px solid var(--fcutstore-border-grey);
  color: var(--fcutstore-text-grey);
}

body:not([data-theme="light"]) tr:hover {
  background: var(--fcutstore-mid-grey);
}

/* Table styling - Light theme */
[data-theme="light"] table {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] th {
  background: #f8fafc;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
}

[data-theme="light"] td {
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

[data-theme="light"] tr:hover {
  background: #f8fafc;
}

/* Scrollbar styling - Dark theme */
body:not([data-theme="light"]) ::-webkit-scrollbar {
  width: 12px;
  background: var(--fcutstore-near-black);
}

body:not([data-theme="light"]) ::-webkit-scrollbar-track {
  background: var(--fcutstore-near-black);
}

body:not([data-theme="light"]) ::-webkit-scrollbar-thumb {
  background: var(--fcutstore-light-grey);
  border-radius: 6px;
}

body:not([data-theme="light"]) ::-webkit-scrollbar-thumb:hover {
  background: var(--fcutstore-text-grey);
}

/* Scrollbar styling - Light theme */
[data-theme="light"] ::-webkit-scrollbar {
  width: 12px;
  background: #f8fafc;
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f8fafc;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Override all blue elements to white/grey for FCUTSTORE */
input[type="range"]::-webkit-slider-thumb {
  background: var(--fcutstore-text-white) !important;
}

input[type="range"]::-moz-range-thumb {
  background: var(--fcutstore-text-white) !important;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(to right, var(--fcutstore-text-white) 0%, var(--fcutstore-text-white) var(--range-progress, 50%), var(--fcutstore-mid-grey) var(--range-progress, 50%), var(--fcutstore-mid-grey) 100%) !important;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--fcutstore-text-white) !important;
}

/* Override focus states from blue to white */
input:focus,
textarea:focus,
select:focus,
button:focus {
  border-color: var(--fcutstore-light-grey) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

/* Key Features Section - Dark theme */
body:not([data-theme="light"]) .key-features-section {
  padding: 30px 20px;
  background: var(--fcutstore-near-black);
  border-top: 1px solid var(--fcutstore-border-grey);
  border-bottom: 1px solid var(--fcutstore-border-grey);
}

/* Key Features Section - Light theme */
[data-theme="light"] .key-features-section {
  padding: 30px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.key-features-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Features heading - Dark theme */
body:not([data-theme="light"]) .features-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--fcutstore-text-white);
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

/* Features heading - Light theme */
[data-theme="light"] .features-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-box {
  background: transparent;
  border: none;
  padding: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feature-icon {
  font-size: 28px;
  line-height: 1;
  display: inline-block;
  background: transparent;
  text-shadow: none;
  filter: none;
}

/* Feature box h3 - Dark theme */
body:not([data-theme="light"]) .feature-box h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--fcutstore-text-white);
  margin: 0;
  line-height: 1.2;
  display: inline-block;
}

/* Feature box h3 - Light theme */
[data-theme="light"] .feature-box h3 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
  display: inline-block;
}

.feature-box p {
  display: none;
}

/* Platform icon in quantity section */
.platform-icon-small {
  height: 24px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block !important;
}

/* Responsive */
@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .key-features-section {
    padding: 20px 16px;
  }

  .features-heading {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-box {
    padding: 8px;
  }

  .feature-icon {
    font-size: 28px;
  }

  .feature-box h3 {
    font-size: 12px;
  }
}
