:root {
  /* ========================================================
     FRESH LIGHT THEME - MODERN MINIMAL
     ======================================================== */

  /* Colors - Backgrounds */
  --fx-bg-canvas: #fdfdfd; /* Main application background */
  --fx-bg-surface: #ffffff; /* Cards, modals, and containers */
  --fx-bg-muted: #f1f5f9; /* Secondary/Highlight backgrounds */

  /* Colors - Typography */
  --fx-text-heading: #0f172a; /* Crisp, high-contrast headers */
  --fx-text-body: #334155; /* Highly readable paragraph text */
  --fx-text-muted: #94a3b8; /* Subtle helper/placeholder text */

  /* Colors - Accents (Vibrant Indigo) */
  --fx-primary: #6366f1;
  --fx-primary-hover: #4f46e5;
  --fx-primary-alpha: rgba(99, 102, 241, 0.1);

  /* Structure & Borders */
  --fx-border-subtle: #e2e8f0;
  --fx-radius-sm: 8px;
  --fx-radius-md: 16px;
  --fx-radius-lg: 24px;

  /* Depth & Elevation */
  --fx-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --fx-shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);

  /* Typography & Motion */
  --fx-font-sans: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --fx-transition-fast: 150ms ease;
  --fx-transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================
   BASE RESET & GLOBAL STYLES
   ======================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--fx-bg-canvas);
  color: var(--fx-text-body);
  font-family: var(--fx-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Clean Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--fx-text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p,
span {
  /* Inherits from body directly; no hardcoded colors! */
  color: inherit;
}

/* ========================================================
   RESPONSIVE UTILITIES (Mobile-First)
   ======================================================== */
.fx-hidden {
  display: none !important;
}

/* Default to Mobile View */
.fx-show-mobile {
  display: flex !important;
}

.fx-show-desktop {
  display: none !important;
}

/* Breakpoint for Desktop/Tablet Landscape */
@media (min-width: 992px) {
  .fx-show-mobile {
    display: none !important;
  }

  .fx-show-desktop {
    display: flex !important;
  }
}

/* ========================================================
   LAYOUT & UTILITIES
   ======================================================== */
.fx-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.fx-icon-btn {
  background: none;
  border: none;
  color: var(--fx-text-body);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
  transition: color var(--fx-transition-fast);
}
.fx-icon-btn:hover {
  color: var(--fx-primary);
}

/* ========================================================
   TOPBAR
   ======================================================== */
.fx-topbar {
  background-color: var(--fx-bg-muted);
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--fx-border-subtle);
}
.fx-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.fx-topbar-links {
  display: flex;
  gap: 16px;
}
.fx-topbar-links a {
  text-decoration: none;
  color: var(--fx-text-body);
  transition: color var(--fx-transition-fast);
}
.fx-topbar-links a:hover {
  color: var(--fx-primary);
}

/* ========================================================
   HEADER MAIN
   ======================================================== */
.fx-header {
  background-color: var(--fx-bg-surface);
  box-shadow: var(--fx-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 40;
}
.fx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Brand */
.fx-brand img {
  height: 40px;
  width: auto;
  display: block;
}

/* Search Bar */
.fx-search {
  display: flex;
  flex: 1;
  max-width: 500px;
  position: relative;
}
.fx-search input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  background-color: var(--fx-bg-canvas);
  font-family: inherit;
  transition: border-color var(--fx-transition-fast);
}
.fx-search input:focus {
  outline: none;
  border-color: var(--fx-primary);
}
.fx-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--fx-text-muted);
  cursor: pointer;
}

/* User Actions */
.fx-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fx-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fx-text-heading);
  font-weight: 500;
  transition: color var(--fx-transition-fast);
}
.fx-action-link:hover {
  color: var(--fx-primary);
}

/* Cart Badge */
.fx-cart-icon {
  position: relative;
  display: flex;
}
.fx-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--fx-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  height: 18px;
  min-width: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ========================================================
   DESKTOP NAVIGATION
   ======================================================== */
.fx-nav-desktop {
  border-top: 1px solid var(--fx-border-subtle);
}
.fx-nav-inner {
  display: flex;
  gap: 32px;
  padding: 16px;
  justify-content: center;
}
.fx-nav-inner a {
  text-decoration: none;
  color: var(--fx-text-body);
  font-weight: 500;
  transition: color var(--fx-transition-fast);
}
.fx-nav-inner a:hover {
  color: var(--fx-primary);
}

/* ========================================================
   MOBILE SEARCH
   ======================================================== */
.fx-mobile-search {
  padding: 12px 0;
  border-top: 1px solid var(--fx-border-subtle);
  background-color: var(--fx-bg-canvas);
}
.fx-mobile-search .fx-search {
  max-width: 100%;
}

/* ========================================================
   MOBILE MENU (SLIDE OUT)
   ======================================================== */
.fx-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  visibility: hidden;
  transition: visibility var(--fx-transition-smooth);
}
.fx-mobile-menu[aria-hidden="false"] {
  visibility: visible;
}

.fx-menu-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4); /* Dark slate overlay */
  opacity: 0;
  transition: opacity var(--fx-transition-smooth);
}
.fx-mobile-menu[aria-hidden="false"] .fx-menu-backdrop {
  opacity: 1;
}

.fx-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background-color: var(--fx-bg-surface);
  box-shadow: var(--fx-shadow-md);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--fx-transition-smooth);
}
.fx-mobile-menu[aria-hidden="false"] .fx-menu-panel {
  transform: translateX(0);
}

.fx-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--fx-border-subtle);
}
.fx-menu-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fx-text-heading);
}

.fx-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  overflow-y: auto;
}
.fx-menu-nav a {
  padding: 16px 24px;
  text-decoration: none;
  color: var(--fx-text-body);
  font-weight: 500;
  border-bottom: 1px solid var(--fx-border-subtle);
}
.fx-menu-nav a:hover {
  background-color: var(--fx-bg-muted);
  color: var(--fx-primary);
}

/* ========================================================
   BASE COMPONENTS (Forms & Buttons)
   ======================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fx-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-sm);
  background-color: var(--fx-bg-surface);
  color: var(--fx-text-body);
  font-family: inherit;
  font-size: 1rem;
  transition:
    border-color var(--fx-transition-fast),
    box-shadow var(--fx-transition-fast);
}
.fx-input:focus {
  outline: none;
  border-color: var(--fx-primary);
  box-shadow: 0 0 0 3px var(--fx-primary-alpha);
}

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--fx-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--fx-transition-fast),
    transform var(--fx-transition-fast);
}
.fx-btn:active {
  transform: scale(0.98);
}
.fx-btn-primary {
  background-color: var(--fx-primary);
  color: #ffffff;
}
.fx-btn-primary:hover {
  background-color: var(--fx-primary-hover);
}

/* ========================================================
   NEWSLETTER SECTION
   ======================================================== */
.fx-newsletter {
  background-color: var(--fx-bg-muted);
  padding: 64px 0;
  border-top: 1px solid var(--fx-border-subtle);
  border-bottom: 1px solid var(--fx-border-subtle);
}
.fx-newsletter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .fx-newsletter-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.fx-newsletter-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.fx-newsletter-desc {
  color: var(--fx-text-muted);
  max-width: 400px;
}

.fx-newsletter-form {
  width: 100%;
  max-width: 450px;
}
.fx-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
}
.fx-input-group .fx-input {
  flex: 1;
}

/* ========================================================
   FOOTER SECTION
   ======================================================== */
.fx-footer {
  background-color: var(--fx-bg-surface);
  padding: 64px 0 32px;
}

.fx-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .fx-footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Brand Column */
.fx-footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}
.fx-footer-about {
  color: var(--fx-text-muted);
  margin-bottom: 24px;
  max-width: 400px;
}
.fx-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fx-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fx-text-heading);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--fx-transition-fast);
}
.fx-footer-contact a:hover {
  color: var(--fx-primary);
}

/* Navigation Columns */
.fx-footer-heading {
  font-size: 1.125rem;
  margin-bottom: 24px;
}
.fx-footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fx-footer-nav a {
  color: var(--fx-text-muted);
  text-decoration: none;
  transition: color var(--fx-transition-fast);
}
.fx-footer-nav a:hover {
  color: var(--fx-primary);
}

/* Footer Bottom */
.fx-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--fx-border-subtle);
  color: var(--fx-text-muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .fx-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.fx-footer-address {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   PAGE HEADER & BREADCRUMBS
   ======================================================== */
.fx-page-header {
  background-color: var(--fx-bg-muted);
  padding: 48px 0;
  border-bottom: 1px solid var(--fx-border-subtle);
}

/* Breadcrumbs */
.fx-breadcrumb {
  margin-bottom: 24px;
}

.fx-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.fx-breadcrumb-item a {
  color: var(--fx-text-muted);
  text-decoration: none;
  transition: color var(--fx-transition-fast);
}

.fx-breadcrumb-item a:hover {
  color: var(--fx-primary);
}

.fx-breadcrumb-separator {
  color: var(--fx-border-subtle);
  font-size: 0.75rem;
}

.fx-breadcrumb-item.fx-active {
  color: var(--fx-text-heading);
}

/* Header Content */
.fx-page-header-content {
  max-width: 800px; /* Constrains line length for better readability */
}

.fx-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fx-text-heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Accent Badge (Pill Style) */
.fx-badge-accent {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fx-primary);
  background-color: var(--fx-primary-alpha);
  padding: 6px 14px;
  border-radius: 999px; /* Creates the pill shape */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fx-page-desc {
  font-size: 1.125rem;
  color: var(--fx-text-muted);
  line-height: 1.7;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .fx-page-header {
    padding: 32px 0;
  }

  .fx-page-title {
    font-size: 2rem;
  }
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.fx-hero {
  padding: 64px 0;
  background-image: url(../../assets/images/bgbanner.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  overflow: hidden; /* Prevents floating elements from causing scrollbars */
}

.fx-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .fx-hero {
    padding: 96px 0 120px;
  }
  .fx-hero-inner {
    grid-template-columns: 1.1fr 0.9fr; /* Gives slightly more room to text */
  }
}

/* Trust Badge */
.fx-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fx-text-muted);
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.fx-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981; /* Success Green */
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: fx-pulse 2s infinite;
}

@keyframes fx-pulse {
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Typography & Content */
.fx-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--fx-text-heading);
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .fx-hero-title {
    font-size: 4rem;
  }
}

.fx-text-highlight {
  color: var(--fx-primary);
}

.fx-hero-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  max-width: 540px;
  margin-bottom: 40px;
}

/* Action Buttons */
.fx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.fx-btn-secondary {
  background-color: var(--fx-bg-muted);
  color: var(--fx-text-heading);
}
.fx-btn-secondary:hover {
  background-color: var(--fx-border-subtle);
}

/* Perks List */
.fx-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--fx-border-subtle);
  padding-top: 32px;
}
.fx-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fx-text-body);
}
.fx-perk i {
  color: var(--fx-primary);
  font-size: 1.125rem;
}

/* ========================================================
   HERO VISUAL (RIGHT COLUMN)
   ======================================================== */
.fx-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.fx-hero-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  /* Optional: Adds a soft, modern shadow to the main product image */
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
}

/* Floating Stat Card */
.fx-floating-card {
  position: absolute;
  bottom: 10%;
  left: -5%;
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  padding: 16px;
  border-radius: var(--fx-radius-md);
  box-shadow: var(--fx-shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fx-float 6s ease-in-out infinite;
}

.fx-card-icon {
  font-size: 1.5rem;
  background-color: var(--fx-bg-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.fx-card-text {
  display: flex;
  flex-direction: column;
}
.fx-card-text strong {
  font-size: 0.9rem;
  color: var(--fx-text-heading);
}
.fx-card-text span {
  font-size: 0.75rem;
  color: var(--fx-text-muted);
}

@keyframes fx-float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ========================================================
   CATEGORY SECTION
   ======================================================== */
.fx-category-section {
  padding: 80px 0;
  background-color: var(--fx-bg-canvas);
}

.fx-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.fx-section-title {
  font-size: 2.25rem;
  color: var(--fx-text-heading);
  margin-bottom: 12px;
}

.fx-section-desc {
  font-size: 1.125rem;
  color: var(--fx-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Category Grid */
.fx-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

/* Responsive Breakpoints */
@media (min-width: 576px) {
  .fx-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .fx-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Category Cards */
.fx-category-card {
  display: flex;
  flex-direction: column;
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  text-decoration: none;
  transition:
    transform var(--fx-transition-smooth),
    box-shadow var(--fx-transition-smooth);
}

.fx-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow-md);
}

/* Image Media Area */
.fx-category-media {
  background-color: var(--fx-bg-muted);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.fx-category-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 400ms ease;
}

/* Image Zoom Effect on Hover */
.fx-category-card:hover .fx-category-img {
  transform: scale(1.08);
}

/* Card Info Area */
.fx-category-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.fx-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fx-text-heading);
}

.fx-category-action {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fx-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--fx-transition-fast);
}

/* Slide arrow to the right on hover */
.fx-category-card:hover .fx-category-action {
  gap: 12px;
}

/* Category Footer & Outline Button */
.fx-category-footer {
  text-align: center;
}

.fx-btn-outline {
  background-color: transparent;
  color: var(--fx-text-heading);
  border: 2px solid var(--fx-border-subtle);
}

.fx-btn-outline:hover {
  border-color: var(--fx-primary);
  color: var(--fx-primary);
  background-color: var(--fx-primary-alpha);
}

/* ========================================================
   PRODUCT SHOWCASE SECTION
   ======================================================== */
.fx-product-showcase {
  padding: 80px 0;
  background-color: var(--fx-bg-canvas);
}

.fx-showcase-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  text-align: center;
}

@media (min-width: 768px) {
  .fx-showcase-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-end;
  }
}

/* Filter Tabs */
.fx-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background-color: var(--fx-bg-muted);
  padding: 6px;
  border-radius: 999px;
}

.fx-tab {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fx-text-muted);
  cursor: pointer;
  transition: all var(--fx-transition-fast);
}

.fx-tab:hover {
  color: var(--fx-text-heading);
}

.fx-tab.fx-active {
  background-color: var(--fx-bg-surface);
  color: var(--fx-text-heading);
  box-shadow: var(--fx-shadow-sm);
}

/* Product Grid */
.fx-product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  transition: opacity 300ms ease;
}

.fx-product-grid.is-fading {
  opacity: 0;
}

@media (min-width: 576px) {
  .fx-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .fx-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.fx-product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  text-decoration: none;
  transition:
    transform var(--fx-transition-smooth),
    box-shadow var(--fx-transition-smooth);
}

.fx-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow-md);
}

/* Disabled state for Out of Stock */
.fx-product-card.fx-out-of-stock {
  opacity: 0.7;
}
.fx-product-card.fx-out-of-stock:hover {
  transform: none;
  box-shadow: none;
}

/* Media Area */
.fx-product-media {
  position: relative;
  background-color: var(--fx-bg-muted);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.fx-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 500ms ease;
}

.fx-product-card:hover .fx-product-img {
  transform: scale(1.05);
}

/* Badges & Overlays */
.fx-product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.fx-badge-alert {
  background-color: #ef4444; /* Clean Red */
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fx-product-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--fx-bg-surface);
  color: var(--fx-text-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--fx-shadow-sm);
  z-index: 2;
}
.fx-product-rating i {
  color: #f59e0b; /* Golden Yellow */
}

/* Quick View Overlay */
.fx-product-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--fx-transition-fast);
}

.fx-product-card:hover .fx-product-overlay {
  opacity: 1;
}

.fx-btn-quickview {
  background-color: var(--fx-bg-surface);
  color: var(--fx-text-heading);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--fx-shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(10px);
  transition: transform var(--fx-transition-smooth);
}

.fx-product-card:hover .fx-btn-quickview {
  transform: translateY(0);
}

/* Info Area */
.fx-product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fx-product-category {
  font-size: 0.75rem;
  color: var(--fx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.fx-product-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fx-text-heading);
  line-height: 1.4;
}

.fx-product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fx-primary);
  margin-top: 4px;
}

/* ========================================================
   ABOUT SECTION
   ======================================================== */
.fx-about {
  padding: 80px 0;
  background-color: var(--fx-bg-canvas);
  overflow: hidden;
}

.fx-about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 992px) {
  .fx-about {
    padding: 120px 0;
  }
  .fx-about-inner {
    /* Reverses layout: Image Left (1fr), Text Right (1fr) */
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================================
   VISUAL COLUMN (Image Composition)
   ======================================================== */
.fx-about-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.fx-image-composition {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Main Image */
.fx-img-main {
  width: 100%;
  height: auto;
  border-radius: var(--fx-radius-lg);
  box-shadow: var(--fx-shadow-md);
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* Sub Image (Overlapping bottom right) */
.fx-img-sub {
  position: absolute;
  bottom: -30px;
  right: -40px;
  width: 55%;
  border-radius: var(--fx-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 6px solid var(--fx-bg-canvas); /* Creates a cutout effect */
  object-fit: cover;
  aspect-ratio: 1/1;
}

/* Floating Stat Card (Overlapping top left) */
.fx-stat-card {
  position: absolute;
  top: 40px;
  left: -20px;
  background-color: var(--fx-bg-surface);
  padding: 16px 24px;
  border-radius: var(--fx-radius-md);
  box-shadow: var(--fx-shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--fx-border-subtle);
  animation: fx-float 5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .fx-stat-card {
    left: 10px;
    top: 20px;
  }
}

.fx-stat-icon {
  background-color: var(--fx-primary-alpha);
  color: var(--fx-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fx-stat-info {
  display: flex;
  flex-direction: column;
}

.fx-stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fx-text-heading);
}

.fx-stat-label {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
  font-weight: 500;
}

/* ========================================================
   CONTENT COLUMN
   ======================================================== */
.fx-badge-subtle {
  display: inline-block;
  background-color: var(--fx-bg-muted);
  color: var(--fx-text-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fx-about-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--fx-text-heading);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .fx-about-title {
    font-size: 3rem;
  }
}

.fx-about-prose {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  margin-bottom: 40px;
}
.fx-about-prose p {
  margin-bottom: 16px;
}

/* Features List */
.fx-feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.fx-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fx-feature-icon {
  background-color: var(--fx-bg-muted);
  color: var(--fx-primary);
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--fx-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.fx-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-feature-text strong {
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-feature-text span {
  font-size: 0.95rem;
  color: var(--fx-text-muted);
  line-height: 1.5;
}

/* Buttons */
.fx-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================================
   FEATURES SECTION
   ======================================================== */
.fx-features {
  padding: 80px 0;
  background-color: var(--fx-bg-canvas);
}

.fx-features .fx-section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* Features Grid Layout */
.fx-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Tablet */
@media (min-width: 576px) {
  .fx-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 992px) {
  .fx-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Feature Cards */
.fx-feature-card {
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform var(--fx-transition-smooth),
    box-shadow var(--fx-transition-smooth);
}

.fx-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow-md);
}

/* Icon Styling */
.fx-feature-icon {
  width: 56px;
  height: 56px;
  background-color: var(--fx-primary-alpha); /* Soft tinted background */
  color: var(--fx-primary);
  border-radius: var(--fx-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition:
    transform var(--fx-transition-smooth),
    background-color var(--fx-transition-fast);
}

.fx-feature-card:hover .fx-feature-icon {
  transform: scale(1.05);
  background-color: var(--fx-primary);
  color: #ffffff;
}

/* Typography */
.fx-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 12px;
}

.fx-feature-desc {
  font-size: 1rem;
  color: var(--fx-text-body);
  line-height: 1.6;
}

/* ========================================================
   RECENT HISTORY SECTION
   ======================================================== */
.fx-recent-history {
  padding: 80px 0;
  background-color: var(--fx-bg-canvas);
  border-top: 1px solid var(--fx-border-subtle);
  transition: opacity 300ms ease; /* Smooth fade for JS removal */
}

/* Ghost Button (Text Only, no background until hover) */
.fx-btn-ghost {
  background: transparent;
  border: none;
  color: var(--fx-text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--fx-radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--fx-transition-fast);
}

.fx-btn-ghost:hover {
  color: #ef4444; /* Soft Red for destructive actions */
  background-color: rgba(239, 68, 68, 0.1);
}

/* ========================================================
   ABOUT - ALTERNATIVE (ORIGINS)
   ======================================================== */
.fx-about-alt {
  padding: 80px 0;
  background-color: var(
    --fx-bg-surface
  ); /* Uses surface color to alternate sections */
  overflow: hidden;
}

.fx-about-alt-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 992px) {
  .fx-about-alt {
    padding: 120px 0;
  }
  .fx-about-alt-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================================
   VISUAL COLUMN (Left)
   ======================================================== */
.fx-about-alt-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px; /* Space for the offset backdrop */
}

.fx-image-wrapper-alt {
  position: relative;
  width: 100%;
  max-width: 500px;
  z-index: 1;
}

/* Offset Background Shape */
.fx-shape-backdrop {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--fx-bg-muted);
  border-radius: var(--fx-radius-lg);
  z-index: -1;
  transition: transform var(--fx-transition-smooth);
}

.fx-image-wrapper-alt:hover .fx-shape-backdrop {
  transform: translate(10px, 10px);
}

.fx-about-alt-img {
  width: 100%;
  height: auto;
  border-radius: var(--fx-radius-lg);
  box-shadow: var(--fx-shadow-sm);
  display: block;
}

/* Floating Origin Badge */
.fx-floating-origin {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background-color: var(--fx-bg-canvas);
  border: 1px solid var(--fx-border-subtle);
  padding: 12px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fx-text-heading);
  box-shadow: var(--fx-shadow-md);
}

/* Reuse the pulse dot from the Hero section */
.fx-floating-origin .fx-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--fx-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--fx-primary-alpha);
  animation: fx-pulse-blue 2s infinite;
}

@keyframes fx-pulse-blue {
  70% {
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0);
  } /* Will inherit the alpha color implicitly through JS/CSS engine limits, but explicitly safer to use variable if possible. Using transparent fallback here. */
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* ========================================================
   CONTENT COLUMN (Right)
   ======================================================== */
.fx-about-alt-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--fx-text-heading);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .fx-about-alt-title {
    font-size: 3rem;
  }
}

.fx-about-alt-prose {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  margin-bottom: 32px;
  line-height: 1.7;
}

.fx-about-alt-prose p {
  margin-bottom: 16px;
}

/* Quick Features Row */
.fx-about-alt-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  border-top: 1px solid var(--fx-border-subtle);
  padding-top: 24px;
}

@media (min-width: 576px) {
  .fx-about-alt-features {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

.fx-alt-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fx-text-heading);
}

.fx-alt-icon {
  background-color: var(--fx-bg-canvas);
  color: var(--fx-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fx-border-subtle);
}

/* ========================================================
   VALUE PROPOSITION (STICKY LAYOUT)
   ======================================================== */
.fx-value-section {
  padding: 80px 0;
  background-color: var(--fx-bg-canvas);
}

.fx-value-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .fx-value-section {
    padding: 120px 0;
  }
  .fx-value-inner {
    grid-template-columns: 0.8fr 1.2fr; /* Left column slightly smaller */
    gap: 80px;
    align-items: flex-start; /* Required for sticky to work properly */
  }
}

/* Sticky Header Wrapper */
.fx-value-header-wrapper {
  position: sticky;
  top: 100px; /* Adjust this value based on your main header's height */
}

.fx-value-header .fx-section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--fx-text-heading);
}

.fx-value-header .fx-section-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Staggered Cards Grid */
.fx-value-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .fx-value-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pushes specific cards down to create a staggered, modern look */
  .fx-card-offset {
    transform: translateY(40px);
  }
}

/* Card Styling */
.fx-value-card {
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--fx-transition-smooth);
}

.fx-value-card:hover {
  box-shadow: var(--fx-shadow-md);
}

.fx-value-icon {
  width: 48px;
  height: 48px;
  background-color: var(--fx-bg-muted);
  color: var(--fx-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 24px;
  border: 1px solid var(--fx-border-subtle);
  transition:
    background-color var(--fx-transition-fast),
    color var(--fx-transition-fast);
}

/* Invert icon colors on card hover for a premium feel */
.fx-value-card:hover .fx-value-icon {
  background-color: var(--fx-primary);
  color: #ffffff;
  border-color: var(--fx-primary);
}

.fx-value-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 12px;
}

.fx-value-desc {
  font-size: 0.95rem;
  color: var(--fx-text-body);
  line-height: 1.6;
}

/* ========================================================
   CART SECTION
   ======================================================== */
.fx-cart-section {
  padding: 64px 0 120px;
  background-color: var(--fx-bg-canvas);
  min-height: 60vh;
}

/* ========================================================
   EMPTY STATE
   ======================================================== */
.fx-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  background-color: var(--fx-bg-surface);
  border: 1px dashed var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.fx-cart-empty-icon {
  font-size: 3rem;
  color: var(--fx-text-muted);
  background-color: var(--fx-bg-muted);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.fx-cart-empty-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 12px;
}

.fx-cart-empty-desc {
  color: var(--fx-text-body);
  margin-bottom: 32px;
}

/* ========================================================
   CART LAYOUT & MAIN AREA
   ======================================================== */
.fx-cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .fx-cart-layout {
    grid-template-columns: 1.8fr 1fr;
    align-items: flex-start; /* Required for sticky sidebar */
  }
}

.fx-cart-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--fx-border-subtle);
  margin-bottom: 24px;
}

.fx-cart-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fx-text-heading);
}

/* ========================================================
   CART ITEMS
   ======================================================== */
.fx-cart-item {
  display: grid;
  grid-template-columns: 80px 1fr; /* Mobile default */
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--fx-border-subtle);
  align-items: center;
}

@media (min-width: 768px) {
  .fx-cart-item {
    /* Desktop layout: Image | Info | Controls | Total */
    grid-template-columns: 100px 2fr 1.5fr 1fr;
    gap: 24px;
  }
}

.fx-cart-item-media {
  background-color: var(--fx-bg-muted);
  border-radius: var(--fx-radius-sm);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.fx-cart-item-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fx-cart-item-name a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fx-text-heading);
  text-decoration: none;
  transition: color var(--fx-transition-fast);
}

.fx-cart-item-name a:hover {
  color: var(--fx-primary);
}

.fx-cart-item-price {
  display: block;
  font-weight: 600;
  margin-top: 4px;
  color: var(--fx-text-body);
}

/* Controls */
.fx-cart-item-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: 1 / -1; /* Spans full width on mobile */
  margin-top: 12px;
}

@media (min-width: 768px) {
  .fx-cart-item-controls {
    grid-column: auto;
    margin-top: 0;
    align-items: flex-start;
  }
}

/* Quantity Input Group */
.fx-qty-group {
  display: inline-flex;
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-sm);
  overflow: hidden;
  background-color: var(--fx-bg-surface);
}

.fx-qty-input {
  width: 60px;
  padding: 8px;
  text-align: center;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-qty-input:focus {
  outline: none;
  background-color: var(--fx-bg-muted);
}

.fx-qty-update-btn {
  background-color: transparent;
  border: none;
  border-left: 1px solid var(--fx-border-subtle);
  padding: 0 12px;
  cursor: pointer;
  color: var(--fx-text-muted);
  transition:
    color var(--fx-transition-fast),
    background-color var(--fx-transition-fast);
}

.fx-qty-update-btn:hover {
  color: var(--fx-primary);
  background-color: var(--fx-primary-alpha);
}

/* Remove Button */
.fx-btn-remove {
  background: transparent;
  border: none;
  color: var(--fx-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color var(--fx-transition-fast);
}

.fx-btn-remove:hover {
  color: #ef4444; /* Soft Red */
  text-decoration: underline;
}

.fx-cart-item-total {
  font-size: 1.25rem;
  color: var(--fx-text-heading);
  text-align: right;
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .fx-cart-item-total {
    grid-column: auto;
  }
}

/* ========================================================
   ORDER SUMMARY SIDEBAR (Right Column)
   ======================================================== */
.fx-cart-sidebar {
  position: sticky;
  top: 100px;
}

.fx-summary-card {
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  padding: 32px;
  box-shadow: var(--fx-shadow-md);
}

.fx-summary-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 24px;
}

.fx-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--fx-text-body);
}

.fx-summary-divider {
  height: 1px;
  background-color: var(--fx-border-subtle);
  margin: 24px 0;
}

.fx-summary-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 32px;
}

.fx-total-amount {
  color: var(--fx-primary);
  font-size: 1.5rem;
}

.fx-btn-block {
  width: 100%;
  display: flex;
  gap: 8px;
}

/* Trust Signals */
.fx-trust-signals {
  margin-top: 32px;
  text-align: center;
}

.fx-trust-note {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fx-payment-methods img {
  height: 24px;
  width: auto;
  opacity: 0.6; /* Softens the logos to match the minimal theme */
  filter: grayscale(100%);
  transition:
    opacity var(--fx-transition-fast),
    filter var(--fx-transition-fast);
}

.fx-payment-methods img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ========================================================
   SHOP / INVENTORY SECTION
   ======================================================== */
.fx-shop-section {
  padding: 64px 0 120px;
  background-color: var(--fx-bg-canvas);
  min-height: 60vh;
}

/* Empty State */
.fx-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background-color: var(--fx-bg-surface);
  border: 1px dashed var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.fx-empty-icon {
  font-size: 3rem;
  color: var(--fx-text-muted);
  background-color: var(--fx-bg-muted);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.fx-empty-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 12px;
}

.fx-empty-desc {
  color: var(--fx-text-body);
  margin-bottom: 32px;
}

/* Shop Grid */
.fx-shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .fx-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .fx-shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .fx-shop-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Shop Card */
.fx-shop-card {
  display: flex;
  flex-direction: column;
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  transition:
    transform var(--fx-transition-smooth),
    box-shadow var(--fx-transition-smooth);
}

.fx-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow-md);
}

.fx-shop-card.fx-out-of-stock {
  opacity: 0.6;
}
.fx-shop-card.fx-out-of-stock:hover {
  transform: none;
  box-shadow: none;
}

/* Media Area */
.fx-shop-media {
  position: relative;
  background-color: var(--fx-bg-muted);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.fx-shop-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.fx-shop-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  text-decoration: none;
}

.fx-shop-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 500ms ease;
}

.fx-shop-card:hover .fx-shop-img {
  transform: scale(1.05);
}

/* Overlay Quick View */
.fx-shop-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--fx-transition-fast);
}

.fx-shop-card:hover .fx-shop-overlay {
  opacity: 1;
}

/* Details Area */
.fx-shop-info {
  padding: 24px 20px 16px;
  display: flex;
  flex-direction: column;
  flex: 1; /* Pushes the footer to the bottom */
}

.fx-shop-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  margin-bottom: 12px;
}
.fx-stars {
  color: #f59e0b;
}
.fx-rating-count {
  color: var(--fx-text-muted);
}

.fx-shop-title-link {
  text-decoration: none;
  color: var(--fx-text-heading);
  margin-bottom: 8px;
}
.fx-shop-title-link:hover {
  color: var(--fx-primary);
  text-decoration: underline;
}

.fx-shop-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.fx-shop-desc {
  font-size: 0.875rem;
  color: var(--fx-text-body);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1; /* Fills empty space if description is short */
}

.fx-shop-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fx-text-heading);
  margin-top: auto;
}

/* Footer / Action Area */
.fx-shop-footer {
  padding: 0 20px 20px;
}

.fx-btn-block {
  width: 100%;
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Disabled Button Style */
.fx-btn-disabled {
  background-color: var(--fx-bg-muted);
  color: var(--fx-text-muted);
  border: 1px solid var(--fx-border-subtle);
  cursor: not-allowed;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  border-radius: var(--fx-radius-sm);
  display: inline-block;
}

/* ========================================================
   CHECKOUT SECTION
   ======================================================== */
.fx-checkout-section {
  padding: 64px 0 120px;
  background-color: var(--fx-bg-canvas);
}

.fx-checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .fx-checkout-layout {
    grid-template-columns: 1.6fr 1fr;
    align-items: flex-start;
  }
}

/* Error Alert */
.fx-alert-danger {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #fef2f2;
  border: 1px solid #f87171;
  color: #991b1b;
  padding: 16px;
  border-radius: var(--fx-radius-sm);
  margin-bottom: 32px;
}
.fx-alert-icon {
  font-size: 1.5rem;
}
.fx-alert-content strong {
  display: block;
  margin-bottom: 4px;
}
.fx-alert-content p {
  margin: 0;
  font-size: 0.875rem;
}

/* Panels (Form Containers) */
.fx-panel {
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  margin-bottom: 32px;
  box-shadow: var(--fx-shadow-sm);
  overflow: hidden;
}

.fx-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background-color: var(--fx-bg-muted);
  border-bottom: 1px solid var(--fx-border-subtle);
}

.fx-panel-icon {
  color: var(--fx-primary);
  font-size: 1.25rem;
}

.fx-panel-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fx-text-heading);
  margin: 0;
}

.fx-panel-body {
  padding: 24px;
}

/* Form Layouts */
.fx-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 576px) {
  .fx-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.fx-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fx-text-heading);
  margin-bottom: 8px;
}
.fx-required {
  color: #ef4444;
}

.fx-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-sm);
  background-color: var(--fx-bg-surface);
  color: var(--fx-text-body);
  font-family: inherit;
  resize: vertical;
  transition:
    border-color var(--fx-transition-fast),
    box-shadow var(--fx-transition-fast);
}
.fx-textarea:focus {
  outline: none;
  border-color: var(--fx-primary);
  box-shadow: 0 0 0 3px var(--fx-primary-alpha);
}

/* Payment Grid Options */
.fx-payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.fx-payment-option {
  border: 2px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all var(--fx-transition-fast);
  background-color: var(--fx-bg-surface);
}

.fx-payment-option:hover {
  border-color: #cbd5e1;
}

.fx-payment-option.fx-active {
  border-color: var(--fx-primary);
  background-color: var(--fx-primary-alpha);
}

.fx-payment-option-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fx-payment-icon {
  font-size: 1.5rem;
  color: var(--fx-text-muted);
}
.paypal-blue {
  color: #00457c;
} /* Official PayPal Blue */

.fx-payment-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fx-payment-info strong {
  font-size: 1rem;
  color: var(--fx-text-heading);
}
.fx-payment-info span {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
}

/* Custom Radio Indicator */
.fx-payment-radio {
  font-size: 1.25rem;
  color: var(--fx-border-subtle);
  transition: color var(--fx-transition-fast);
}
.fx-payment-option.fx-active .fx-payment-radio {
  color: var(--fx-primary);
}

.fx-paypal-wrapper {
  margin-top: 24px;
  animation: fx-fade-in 300ms ease;
}

@keyframes fx-fade-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sidebar Order Summary */
.fx-checkout-sidebar {
  position: sticky;
  top: 100px;
}

.fx-summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.fx-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.875rem;
}

.fx-summary-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-summary-item-name {
  font-weight: 500;
  color: var(--fx-text-heading);
}

.fx-summary-item-qty {
  color: var(--fx-text-muted);
}

.fx-summary-item-price {
  font-weight: 600;
  color: var(--fx-text-heading);
}

.fx-summary-totals {
  background-color: var(--fx-bg-muted);
  padding: 16px;
  border-radius: var(--fx-radius-sm);
  margin-bottom: 24px;
}

.fx-text-success {
  color: #10b981;
  font-weight: 600;
}

.fx-summary-grand-total {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fx-text-heading);
}

.fx-total-price {
  font-size: 1.5rem;
  color: var(--fx-primary);
}

.fx-btn-lg {
  padding: 16px 24px;
  font-size: 1.125rem;
}

.fx-trust-badge {
  text-align: center;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--fx-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ========================================================
   CONTACT SECTION
   ======================================================== */
.fx-contact-section {
  padding: 80px 0 120px;
  background-color: var(--fx-bg-canvas);
}

.fx-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 992px) {
  .fx-contact-layout {
    grid-template-columns: 1fr 1.2fr; /* Form column slightly wider */
    gap: 80px;
  }
}

/* ========================================================
   LEFT COLUMN: INFO
   ======================================================== */
.fx-contact-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--fx-text-heading);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .fx-contact-title {
    font-size: 3rem;
  }
}

.fx-contact-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  margin-bottom: 40px;
  line-height: 1.7;
}

.fx-contact-divider {
  height: 1px;
  background-color: var(--fx-border-subtle);
  margin-bottom: 40px;
}

.fx-contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 576px) {
  .fx-contact-methods {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid on medium screens */
  }
}

.fx-contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fx-method-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: var(--fx-primary-alpha);
  color: var(--fx-primary);
  border-radius: var(--fx-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fx-method-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-method-text strong {
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-method-text span {
  font-size: 0.95rem;
  color: var(--fx-text-muted);
}

/* ========================================================
   RIGHT COLUMN: FORM & SUCCESS STATE
   ======================================================== */
/* Reuses .fx-panel, .fx-form-row, .fx-input-group, etc., from Checkout */

/* Success State Styling */
.fx-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 32px;
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  box-shadow: var(--fx-shadow-md);
}

.fx-success-icon {
  width: 80px;
  height: 80px;
  background-color: #d1fae5; /* Emerald 100 */
  color: #10b981; /* Emerald 500 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
  animation: fx-pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes fx-pop-in {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.fx-success-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 12px;
}

.fx-success-desc {
  color: var(--fx-text-body);
  max-width: 400px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ========================================================
   FAQ SECTION
   ======================================================== */
.fx-faq-section {
  padding: 80px 0 120px;
  background-color: var(--fx-bg-canvas);
}

.fx-faq-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.fx-faq-header .fx-section-title {
  font-size: 2.25rem;
  color: var(--fx-text-heading);
  margin-bottom: 16px;
}

.fx-faq-header .fx-section-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
}

/* Grid Layout */
.fx-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .fx-faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
  }
}

/* Category Containers */
.fx-faq-category {
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--fx-shadow-sm);
}

.fx-faq-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--fx-border-subtle);
}

.fx-faq-icon {
  width: 40px;
  height: 40px;
  background-color: var(--fx-bg-muted);
  color: var(--fx-primary);
  border-radius: var(--fx-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fx-faq-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin: 0;
}

/* Accordion Items */
.fx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fx-faq-item {
  border: 1px solid transparent;
  border-radius: var(--fx-radius-sm);
  transition:
    background-color var(--fx-transition-fast),
    border-color var(--fx-transition-fast);
}

.fx-faq-item.fx-active {
  background-color: var(--fx-bg-muted);
  border-color: var(--fx-border-subtle);
}

.fx-faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 16px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fx-text-heading);
  text-align: left;
  cursor: pointer;
  border-radius: var(--fx-radius-sm);
}

.fx-chevron {
  color: var(--fx-text-muted);
  transition: transform var(--fx-transition-smooth);
}

.fx-faq-item.fx-active .fx-chevron {
  transform: rotate(180deg);
  color: var(--fx-primary);
}

/* Smooth Accordion Animation using Grid */
.fx-faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--fx-transition-smooth);
}

.fx-faq-item.fx-active .fx-faq-content {
  grid-template-rows: 1fr;
}

.fx-faq-inner {
  overflow: hidden;
  padding: 0 16px; /* Horizontal padding, no vertical padding to prevent jumpiness */
}

/* A pseudo-element to add bottom padding only when expanded without breaking the animation */
.fx-faq-inner::after {
  content: "";
  display: block;
  height: 16px;
}
.fx-faq-inner {
  color: var(--fx-text-body);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ========================================================
   AUTHENTICATION (LOGIN) SECTION
   ======================================================== */
.fx-auth-section {
  padding: 80px 0 120px;
  background-color: var(--fx-bg-canvas);
}

.fx-auth-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 992px) {
  .fx-auth-layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

/* ========================================================
   LEFT COLUMN: BENEFITS
   ======================================================== */
.fx-auth-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--fx-text-heading);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .fx-auth-title {
    font-size: 3rem;
  }
}

.fx-auth-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 90%;
}

/* Perks List */
.fx-perk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fx-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fx-perk-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: var(--fx-primary-alpha);
  color: var(--fx-primary);
  border-radius: var(--fx-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fx-perk-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-perk-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fx-text-heading);
}

.fx-perk-text span {
  font-size: 0.95rem;
  color: var(--fx-text-muted);
  line-height: 1.5;
}

/* ========================================================
   RIGHT COLUMN: LOGIN CARD
   ======================================================== */
/* Reuses .fx-panel from Checkout */

.fx-label-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.fx-link {
  font-size: 0.875rem;
  color: var(--fx-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--fx-transition-fast);
}

.fx-link:hover {
  color: var(--fx-primary-hover);
  text-decoration: underline;
}

/* Divider with text in the middle */
.fx-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 32px 0;
}

.fx-auth-divider::before,
.fx-auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--fx-border-subtle);
}

.fx-auth-divider span {
  padding: 0 16px;
  color: var(--fx-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.fx-auth-register {
  margin-top: 24px;
}

/* ========================================================
   DASHBOARD SECTION
   ======================================================== */
.fx-dashboard-section {
  padding: 48px 0 120px;
  background-color: var(--fx-bg-canvas);
  min-height: 70vh;
}

.fx-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .fx-dashboard-layout {
    grid-template-columns: 280px 1fr; /* Sidebar width vs Main content */
    gap: 64px;
    align-items: flex-start;
  }
}

/* ========================================================
   SIDEBAR & NAVIGATION
   ======================================================== */
.fx-dashboard-sidebar {
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  padding: 24px;
  box-shadow: var(--fx-shadow-sm);
  position: sticky;
  top: 100px;
}

/* User Profile Block */
.fx-user-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--fx-border-subtle);
}

.fx-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--fx-primary-alpha);
  color: var(--fx-primary);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-user-info {
  display: flex;
  flex-direction: column;
}

.fx-user-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-text-muted);
  font-weight: 600;
}

.fx-user-name {
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-user-email {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
}

/* Nav Menu */
.fx-dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fx-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--fx-text-body);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--fx-radius-sm);
  transition: all var(--fx-transition-fast);
}

.fx-nav-link i {
  font-size: 1.125rem;
  color: var(--fx-text-muted);
  transition: color var(--fx-transition-fast);
  width: 20px;
  text-align: center;
}

.fx-nav-link:hover {
  background-color: var(--fx-bg-muted);
  color: var(--fx-text-heading);
}

.fx-nav-link:hover i {
  color: var(--fx-primary);
}

.fx-nav-link.fx-active {
  background-color: var(--fx-primary-alpha);
  color: var(--fx-primary);
  font-weight: 600;
}

.fx-nav-link.fx-active i {
  color: var(--fx-primary);
}

.fx-nav-divider {
  height: 1px;
  background-color: var(--fx-border-subtle);
  margin: 8px 0;
}

.fx-text-danger {
  color: #ef4444;
}
.fx-text-danger i {
  color: #ef4444;
}
.fx-text-danger:hover {
  background-color: #fef2f2;
  color: #b91c1c;
}

/* ========================================================
   MAIN DASHBOARD CONTENT
   ======================================================== */
.fx-dashboard-header {
  margin-bottom: 40px;
}

.fx-dashboard-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fx-text-heading);
  margin-bottom: 12px;
}

.fx-dashboard-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  max-width: 600px;
}

/* Grid for Panels */
.fx-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .fx-dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Panel Data Rows */
.fx-data-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-data-label {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
}

.fx-data-val {
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-divider {
  border: none;
  border-top: 1px solid var(--fx-border-subtle);
  margin: 16px 0;
}

/* Action Rows (Clickable lists) */
.fx-panel-body-flush {
  padding: 0;
}

.fx-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-decoration: none;
  border-bottom: 1px solid var(--fx-border-subtle);
  transition: background-color var(--fx-transition-fast);
}

.fx-action-row:last-child {
  border-bottom: none;
}

.fx-action-row:hover {
  background-color: var(--fx-bg-muted);
}

.fx-action-icon {
  width: 40px;
  height: 40px;
  background-color: var(--fx-bg-canvas);
  color: var(--fx-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fx-border-subtle);
}

.fx-action-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fx-action-text strong {
  color: var(--fx-text-heading);
  font-size: 1rem;
}

.fx-action-text span {
  color: var(--fx-text-muted);
  font-size: 0.875rem;
}

.fx-action-arrow {
  color: var(--fx-border-subtle);
  transition:
    transform var(--fx-transition-fast),
    color var(--fx-transition-fast);
}

.fx-action-row:hover .fx-action-arrow {
  color: var(--fx-primary);
  transform: translateX(4px);
}

/* Info Alert */
.fx-alert-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #f0fdf4; /* Soft Green */
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 16px 24px;
  border-radius: var(--fx-radius-md);
}

.fx-alert-info .fx-alert-icon {
  font-size: 1.5rem;
  color: #22c55e;
}

.fx-alert-info strong {
  display: block;
  margin-bottom: 4px;
}

.fx-alert-info p {
  margin: 0;
  font-size: 0.95rem;
}

/* ========================================================
   ORDER SUCCESS SECTION
   ======================================================== */
.fx-success-section {
  padding: 64px 0 120px;
  background-color: var(--fx-bg-canvas);
}

/* Header Elements */
.fx-success-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fx-success-icon-large {
  width: 80px;
  height: 80px;
  background-color: #d1fae5; /* Soft Emerald */
  color: #10b981; /* Emerald Primary */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
  animation: fx-pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fx-success-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fx-text-heading);
  margin-bottom: 16px;
}

.fx-success-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  line-height: 1.6;
}

.fx-success-desc strong {
  color: var(--fx-text-heading);
}

/* Layout Grid */
.fx-success-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .fx-success-layout {
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: flex-start;
  }
}

/* Payment Status Block */
.fx-payment-status {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fx-payment-status-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: var(--fx-bg-muted);
  color: var(--fx-primary);
  border-radius: var(--fx-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fx-payment-status-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-payment-status-text strong {
  font-size: 1.125rem;
  color: var(--fx-text-heading);
}

.fx-payment-status-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fx-text-muted);
  line-height: 1.5;
}

/* Stats Grid */
.fx-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .fx-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fx-stat-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-stat-label {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
}

.fx-stat-value {
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-text-success {
  color: #10b981;
}

/* Step List */
.fx-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fx-step-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fx-step-icon {
  color: var(--fx-primary);
  font-size: 1.25rem;
  width: 32px;
  text-align: center;
}

.fx-step-item span {
  font-size: 1rem;
  color: var(--fx-text-body);
}

/* Actions */
.fx-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ========================================================
   RIGHT COLUMN: TIMELINE & SUPPORT
   ======================================================== */
.fx-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
  position: relative;
}

/* The vertical connecting line */
.fx-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 30px;
  left: 15px; /* Centers the line under the 32px indicator */
  width: 2px;
  background-color: var(--fx-border-subtle);
  z-index: 1;
}

.fx-timeline-node {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.fx-timeline-indicator {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background-color: var(--fx-bg-canvas);
  border: 2px solid var(--fx-border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--fx-text-muted);
  transition: all var(--fx-transition-fast);
}

.fx-timeline-data {
  display: flex;
  flex-direction: column;
  padding-top: 4px; /* Aligns text perfectly with indicator */
}

.fx-timeline-data strong {
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-timeline-data span {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
}

/* Complete State */
.fx-timeline-node.fx-complete .fx-timeline-indicator {
  background-color: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* Active State */
.fx-timeline-node.fx-active .fx-timeline-indicator {
  border-color: var(--fx-primary);
}
.fx-timeline-node.fx-active .fx-timeline-data strong {
  color: var(--fx-primary);
}

/* Support Card */
.fx-support-card {
  background-color: var(--fx-bg-muted);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
}

.fx-support-icon {
  font-size: 1.5rem;
  color: var(--fx-primary);
}

.fx-support-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-support-content strong {
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-support-content p {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
  margin: 0 0 8px 0;
}

.fx-support-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fx-text-body);
  margin-top: 4px;
}

/* ========================================================
   PRODUCT DETAILS PAGE (PDP)
   ======================================================== */
.fx-pdp-section {
  padding: 64px 0 120px;
  background-color: var(--fx-bg-canvas);
}

.fx-pdp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

@media (min-width: 992px) {
  .fx-pdp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
  }
}

/* ========================================================
   LEFT COLUMN: IMAGE GALLERY
   ======================================================== */
.fx-pdp-gallery-wrapper {
  position: sticky;
  top: 100px;
}

.fx-pdp-gallery {
  position: relative;
  background-color: var(--fx-bg-muted);
  border-radius: var(--fx-radius-lg);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.fx-pdp-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
}

.fx-badge-floating {
  position: absolute;
  top: 24px;
  left: 24px;
  background-color: var(--fx-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--fx-shadow-sm);
}

/* ========================================================
   RIGHT COLUMN: PRODUCT INFO
   ======================================================== */
.fx-pdp-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.fx-meta-dot {
  width: 4px;
  height: 4px;
  background-color: var(--fx-border-subtle);
  border-radius: 50%;
}

.fx-category-label {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.fx-pdp-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--fx-text-heading);
  margin-bottom: 16px;
}

.fx-pdp-status-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.fx-stock-live {
  color: #10b981;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fx-stock-alert {
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fx-pdp-price-wrap {
  margin-bottom: 32px;
}

.fx-pdp-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fx-primary);
}

.fx-pdp-price-wrap .fx-text-muted {
  font-size: 0.875rem;
  margin-top: 4px;
}

.fx-pdp-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Highlights List */
.fx-pdp-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.fx-pdp-highlights li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--fx-text-heading);
  font-weight: 500;
}

.fx-highlight-icon {
  width: 32px;
  height: 32px;
  background-color: var(--fx-bg-muted);
  color: var(--fx-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

/* Actions */
.fx-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 576px) {
  .fx-action-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Trust Signals */
.fx-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--fx-border-subtle);
}

.fx-trust-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.fx-trust-node i {
  font-size: 1.5rem;
  color: var(--fx-text-muted);
}

.fx-trust-node span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fx-text-body);
}

/* ========================================================
   BOTTOM SECTION: CSS-ONLY TABS
   ======================================================== */
.fx-tabs-container {
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  box-shadow: var(--fx-shadow-sm);
}

.fx-tabs-header {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--fx-bg-muted);
  border-bottom: 1px solid var(--fx-border-subtle);
}

.fx-tab-label {
  flex: 1;
  text-align: center;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--fx-text-muted);
  cursor: pointer;
  transition: all var(--fx-transition-fast);
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.fx-tab-label:hover {
  color: var(--fx-text-heading);
  background-color: var(--fx-border-subtle);
}

.fx-tabs-body {
  padding: 40px;
}

.fx-panel-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 24px;
}

/* CSS-Only Tab Logic */
.fx-tab-panel {
  display: none;
}

#tab_overview:checked ~ .fx-tabs-header label[for="tab_overview"],
#tab_specs:checked ~ .fx-tabs-header label[for="tab_specs"],
#tab_network:checked ~ .fx-tabs-header label[for="tab_network"],
#tab_unboxing:checked ~ .fx-tabs-header label[for="tab_unboxing"] {
  color: var(--fx-primary);
  border-bottom-color: var(--fx-primary);
  background-color: var(--fx-bg-surface);
}

#tab_overview:checked ~ .fx-tabs-body #panel_overview,
#tab_specs:checked ~ .fx-tabs-body #panel_specs,
#tab_network:checked ~ .fx-tabs-body #panel_network,
#tab_unboxing:checked ~ .fx-tabs-body #panel_unboxing {
  display: block;
  animation: fx-fade-in 300ms ease;
}

/* Tab Content Specifics */
.fx-overview-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .fx-overview-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
  }
}

.fx-overview-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fx-perk-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--fx-bg-muted);
  padding: 20px;
  border-radius: var(--fx-radius-sm);
}

.fx-perk-card .fx-perk-icon {
  color: var(--fx-primary);
  font-size: 1.25rem;
  margin-top: 2px;
}

.fx-perk-card strong {
  display: block;
  font-size: 1rem;
  color: var(--fx-text-heading);
  margin-bottom: 4px;
}

.fx-perk-card span {
  font-size: 0.875rem;
  color: var(--fx-text-body);
}

/* Tables for Specs & Network */
.fx-table-wrapper {
  overflow-x: auto;
}

.fx-spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.fx-spec-table th,
.fx-spec-table td {
  padding: 16px;
  border-bottom: 1px solid var(--fx-border-subtle);
}

.fx-spec-table th {
  font-weight: 600;
  color: var(--fx-text-heading);
  width: 30%;
  background-color: var(--fx-bg-muted);
}

.fx-spec-table td {
  color: var(--fx-text-body);
}

/* Included List */
.fx-included-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fx-included-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--fx-text-heading);
}

.fx-included-list i {
  color: #10b981;
}

/* ========================================================
   RETURNS & EXCHANGES SECTION
   ======================================================== */
.fx-return-section {
  padding: 80px 0 120px;
  background-color: var(--fx-bg-canvas);
}

.fx-return-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 992px) {
  .fx-return-layout {
    grid-template-columns: 1fr 1.2fr; /* Form side slightly larger */
    gap: 80px;
    align-items: flex-start;
  }
}

/* ========================================================
   LEFT COLUMN: INFO & STEPS
   ======================================================== */
.fx-return-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--fx-text-heading);
  margin-bottom: 16px;
}

.fx-return-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Vertical Steps Guide */
.fx-steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* The vertical connecting line */
.fx-steps-vertical::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 20px; /* Centers the line under the 40px circle */
  width: 2px;
  background-color: var(--fx-border-subtle);
  z-index: 1;
}

.fx-step-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.fx-step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: var(--fx-bg-surface);
  color: var(--fx-primary);
  border: 2px solid var(--fx-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 4px var(--fx-bg-canvas); /* Creates a gap in the line */
}

.fx-step-text {
  display: flex;
  flex-direction: column;
  padding-top: 8px; /* Aligns text perfectly with the circle */
}

.fx-step-text strong {
  font-size: 1.05rem;
  color: var(--fx-text-heading);
  margin-bottom: 4px;
}

.fx-step-text span {
  font-size: 0.95rem;
  color: var(--fx-text-muted);
  line-height: 1.5;
}

/* ========================================================
   RIGHT COLUMN & UTILITIES
   ======================================================== */
/* Dropdown specific styling */
.fx-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Success State Additions */
.fx-return-order-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--fx-bg-muted);
  padding: 12px 24px;
  border-radius: var(--fx-radius-sm);
  margin-bottom: 32px;
  border: 1px solid var(--fx-border-subtle);
}

.fx-return-order-badge span {
  color: var(--fx-text-muted);
  font-size: 0.95rem;
}

.fx-return-order-badge strong {
  color: var(--fx-text-heading);
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

/* ========================================================
   SHOP GRID (ALTERNATIVE VARIATION)
   ======================================================== */
.fx-shop-section {
  padding: 64px 0 120px;
  background-color: var(--fx-bg-canvas);
  min-height: 60vh;
}

/* Empty State */
.fx-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  background-color: var(--fx-bg-surface);
  border: 1px dashed var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.fx-empty-icon {
  font-size: 3rem;
  color: var(--fx-text-muted);
  background-color: var(--fx-bg-muted);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.fx-empty-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 12px;
}

.fx-empty-desc {
  color: var(--fx-text-body);
  margin-bottom: 32px;
}

/* Grid Layout */
.fx-shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .fx-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .fx-shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .fx-shop-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.fx-shop-card {
  display: flex;
  flex-direction: column;
  background-color: var(--fx-bg-surface);
  border: 1px solid var(--fx-border-subtle);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  transition:
    transform var(--fx-transition-smooth),
    box-shadow var(--fx-transition-smooth);
}

.fx-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fx-shadow-md);
}

.fx-shop-card.fx-out-of-stock {
  opacity: 0.6;
}
.fx-shop-card.fx-out-of-stock:hover {
  transform: none;
  box-shadow: none;
}

/* Media Area & Overlays */
.fx-shop-media {
  position: relative;
  background-color: var(--fx-bg-muted);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.fx-shop-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.fx-badge-alert {
  background-color: #ef4444; /* Clean Red */
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fx-shop-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
}

.fx-shop-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 500ms ease;
}

.fx-shop-card:hover .fx-shop-img {
  transform: scale(1.05);
}

/* Quick Add Overlay */
.fx-shop-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--fx-transition-fast);
  pointer-events: none; /* Let clicks pass through to image link unless on button */
}

.fx-shop-card:hover .fx-shop-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Circular Quick Add Button */
.fx-btn-quick-add {
  background-color: var(--fx-primary);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--fx-shadow-md);
  transform: translateY(15px);
  transition:
    transform var(--fx-transition-smooth),
    background-color var(--fx-transition-fast);
}

.fx-shop-card:hover .fx-btn-quick-add {
  transform: translateY(0);
}

.fx-btn-quick-add:hover {
  background-color: var(--fx-primary-hover);
  transform: scale(1.1) !important; /* Slight pop on hover */
}

/* Info Area */
.fx-shop-info {
  padding: 24px 20px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fx-shop-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  margin-bottom: 12px;
}
.fx-stars {
  color: #f59e0b;
}
.fx-rating-count {
  color: var(--fx-text-muted);
  font-weight: 500;
}

.fx-shop-title-link {
  text-decoration: none;
  color: var(--fx-text-heading);
  margin-bottom: 4px;
}

.fx-shop-title-link:hover {
  color: var(--fx-primary);
}

.fx-shop-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.fx-shop-category {
  font-size: 0.875rem;
  color: var(--fx-text-muted);
  margin-bottom: 16px;
  text-transform: capitalize;
}

.fx-shop-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fx-primary);
  margin-top: auto; /* Pushes price down */
}

/* Footer / Action Area */
.fx-shop-footer {
  padding: 0 20px 20px;
}

.fx-btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* ========================================================
   ORDER TRACKING SECTION
   ======================================================== */
.fx-track-section {
  padding: 80px 0 120px;
  background-color: var(--fx-bg-canvas);
  min-height: 70vh;
}

.fx-track-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 992px) {
  .fx-track-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
  }
}

/* ========================================================
   LEFT COLUMN (Search Form)
   ======================================================== */
.fx-track-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--fx-text-heading);
  margin-bottom: 16px;
}

.fx-track-desc {
  font-size: 1.125rem;
  color: var(--fx-text-body);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Input with Icon Wrapper */
.fx-input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.fx-input-with-icon i {
  position: absolute;
  left: 16px;
  color: var(--fx-text-muted);
  font-size: 1.125rem;
  pointer-events: none;
}

.fx-input-with-icon .fx-input {
  padding-left: 48px; /* Makes room for the icon */
}

/* ========================================================
   RIGHT COLUMN (Results & Status)
   ======================================================== */
/* Modifies the standard panel header to push items apart */
.fx-panel-header-flex {
  justify-content: space-between;
}

/* Status Badges */
.fx-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fx-status-processing {
  background-color: #fef3c7; /* Soft Amber */
  color: #d97706; /* Dark Amber */
  border: 1px solid #fde68a;
}

.fx-status-shipped {
  background-color: #d1fae5; /* Soft Emerald */
  color: #059669; /* Dark Emerald */
  border: 1px solid #a7f3d0;
}

/* Metadata Grid inside the Panel */
.fx-track-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 576px) {
  .fx-track-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fx-track-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fx-text-heading);
  margin-bottom: 24px;
}
