/* ================================================
   FdsX – Homepage Stylesheet
   Font: Cal Sans (headings), Open Sans (body)
   Theme: Dark (#0a0a0f) with navy accents
   ================================================ */

/* ===== CAL SANS FONT ===== */
@font-face {
  font-family: 'Cal Sans';
  src: url('../fonts/CalSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-card: #111119;
  --bg-card-alt: #14141e;
  --border: #22222e;
  --accent: #3284AC;
  --accent-hover: #276b8e;
  --white: #ffffff;
  --gray: #8c8c99;
  --light-gray: #ccccdd;
  /* Semantic tokens (theme-aware) */
  --text-primary: #ffffff;
  --text-inverse: #0a0a0f;
  --header-bg: rgba(10, 10, 15, 0.88);
  --subtle-hover: rgba(255, 255, 255, 0.05);
  --subtle-surface: rgba(255, 255, 255, 0.04);
  --subtle-surface-strong: rgba(255, 255, 255, 0.06);
  --texture-opacity: 1;
  --font-heading: 'Cal Sans', 'Inter', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ===== LIGHT THEME OVERRIDES ===== */
html[data-theme="light"] {
  --bg-primary: #f6f7fb;
  --bg-card: #ffffff;
  --bg-card-alt: #eef0f5;
  --border: #d9dbe2;
  --gray: #5f6273;
  --light-gray: #37394a;
  --text-primary: #0e0e14;
  --text-inverse: #ffffff;
  --header-bg: rgba(246, 247, 251, 0.88);
  --subtle-hover: rgba(14, 14, 20, 0.05);
  --subtle-surface: rgba(14, 14, 20, 0.04);
  --subtle-surface-strong: rgba(14, 14, 20, 0.06);
  --texture-opacity: 0.25;
}

/* ===== THEME-TOGGLE ICON VISIBILITY ===== */
.theme-toggle-icon { display: none; color: var(--text-primary); }
html[data-theme="dark"] .theme-toggle-icon--moon,
html:not([data-theme="light"]) .theme-toggle-icon--moon { display: inline-block; }
html[data-theme="light"] .theme-toggle-icon--sun { display: inline-block; }

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--text-primary);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* ===== SECTION HEADING ===== */
.section-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  line-height: 1.15;
}


/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Override parent theme hello-elementor header-footer.css */
  display: block;
  padding-block-start: 0;
  padding-block-end: 0;
}

/* Add this class to .site-header on inner pages that need the border */
.site-header.has-border {
  border-bottom: 1px solid var(--border);
}

.site-header .header-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

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

.logo-img {
  height: 36px;
  width: auto;
}

.main-nav-desktop {
  display: flex;
  gap: 36px;
}

.main-nav-desktop a {
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--text-primary);
  transition: opacity 0.2s;
}

.main-nav-desktop a:hover {
  opacity: 0.7;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  padding: 0;
  color: var(--text-primary);
}

.theme-toggle:hover {
  opacity: 1;
}

/* ===== SIGN IN DROPDOWN ===== */
.sign-in-dropdown {
  position: relative;
}

.sign-in-toggle {
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--text-primary);
  transition: opacity 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sign-in-toggle:hover {
  opacity: 0.7;
}

.sign-in-arrow {
  margin-left: 2px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.sign-in-dropdown:hover .sign-in-arrow {
  transform: rotate(180deg);
}

/* Sign in dropdown menu */
.sign-in-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
}

.sign-in-dropdown:hover .sign-in-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sign-in-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  color: #111111;
  font-family: var(--font-heading);
  font-size: 16px;
  transition: background 0.2s ease;
}

.sign-in-menu-item:hover {
  background: #f5f5f5;
}

.sign-in-menu-item svg {
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}

.sign-in-menu-item:hover svg {
  opacity: 0.8;
  transform: translateX(2px);
}

/* ===== CART DROPDOWN ===== */
.cart-dropdown {
  position: relative;
}

.cart-toggle {
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s;
  cursor: pointer;
}

.cart-toggle:hover {
  opacity: 1;
}

.cart-count {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-left: 4px;
  color: var(--text-primary);
}

/* Cart dropdown menu */
.cart-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
}

/* Cart opens on click via JS — .is-open class */
.cart-dropdown.is-open .cart-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cart-empty {
  padding: 28px 24px;
  text-align: center;
}

.cart-empty-icon {
  margin: 0 auto 12px;
  opacity: 0.5;
}

.cart-empty p {
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  line-height: 1.4;
}


/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture — replace with your background if needed */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 690px;
  /* bg-texture-wave.png: The dark wavy mesh/grid texture at the bottom of hero */
  background: url('../images/bg-texture-wave.png') center bottom / cover no-repeat;
  pointer-events: none;
  opacity: var(--texture-opacity);
}

.hero-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 65px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--gray);
  margin-bottom: 48px;
}

.hero-image-wrap {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.hero-image {
  width: 100%;
  border-radius: 12px;
}

.hero-cta-text {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
}


/* ========================================
   SMART 3D MODELLING SECTION
   ======================================== */
.modelling-section {
  padding: 100px 0;
}

.modelling-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.modelling-left {
  flex: 0 0 300px;
}

.modelling-left .section-heading {
  font-size: 45px;
  margin-bottom: 20px;
}

.modelling-desc {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modelling-cards {
  flex: 1;
  display: flex;
  gap: 24px;
}

.model-card {
  flex: 1;
  display: block;
}

.model-card-image {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
  background: var(--bg-primary);
  transition: border-color 0.4s ease;
}

/* Wave/mesh background image — fills the card */
.model-card-image .model-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 3D model — sits on top, no color dodge applied to this */
.model-card-image .model-3d {
  position: relative;
  z-index: 2;
  width: 50%;
  margin: 0 auto;
  top: 85px;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s ease;
}

/* Color dodge gradient overlay — only affects the wave bg behind the 3D model
   Sits between bg (z-index auto) and 3D model (z-index 2) */
.model-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(50, 132, 172, 0.95) 100%);
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

/* Hover: show overlay, shift 3D model up, change border to accent */
.model-card:hover .model-card-image {
  border-color: var(--accent);
}

.model-card:hover .model-card-overlay {
  opacity: 0.7;
}

.model-card:hover .model-3d {
  transform: translateY(-12px);
}

.model-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.model-card-label {
  font-family: var(--font-heading);
  font-size: 25px;
}

/* Arrow: right → default, diagonal ↗ on hover */
.model-card-arrow {
  color: var(--gray);
  display: flex;
  align-items: center;
  position: relative;
  width: 20px;
  height: 20px;
  transition: color 0.4s ease;
}

.model-card-arrow .arrow-default,
.model-card-arrow .arrow-hover {
  position: absolute;
  right: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.model-card-arrow .arrow-default {
  opacity: 1;
  transform: translate(0, 0);
}

.model-card-arrow .arrow-hover {
  opacity: 0;
  transform: translate(-2px, 2px);
}

/* Hover: crossfade to diagonal arrow */
.model-card:hover .model-card-arrow {
  color: var(--text-primary);
}

.model-card:hover .model-card-arrow .arrow-default {
  opacity: 0;
  transform: translate(2px, -2px);
}

.model-card:hover .model-card-arrow .arrow-hover {
  opacity: 1;
  transform: translate(0, 0);
}


/* ========================================
   FLEXIBLE PAYMENTS SECTION
   ======================================== */
.payments-section {
  padding: 80px 0 100px;
  position: relative;
}

.payments-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 330px;
}

.payments-content {
  flex: 0 0 500px;
}

.payments-content .section-heading {
  font-size: 45px;
  margin-bottom: 16px;
}

.payments-desc {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.payments-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.payments-image img {
  max-width: 420px;
  width: 100%;
}


/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: 80px 0 100px;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.faq-title {
  font-size: 45px;
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-primary);
  text-align: left;
  transition: opacity 0.2s;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.35s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
}


/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 60px 0 200px;
  position: relative;
  border-top: 1px solid var(--border);
}

/* bg-footer-texture.png: The dark wavy/mesh texture behind the footer */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/bg-footer-texture.png') center / cover no-repeat;
  pointer-events: none;
  opacity: var(--texture-opacity);
}

.footer-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-logo {
  margin-bottom: 70px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-payment-icons img {
  height: 30px;
  width: auto;
  padding: 0px 4px;
  background: var(--bg-card);
}

.footer-copyright {
  font-size: 12px;
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 16px;
  color: var(--text-primary);
  transition: color 0.25s ease, padding-left 0.25s ease;
  position: relative;
  padding-left: 0;
}

/* Hover arrow appears on the left */
.footer-col a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  font-size: 14px;
  transition: opacity 0.25s ease, left 0.25s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
  padding-left: 20px;
}

.footer-col a:hover::before {
  opacity: 1;
  left: 0;
}


/* ========================================
   ACTIVE NAV STATE (for inner pages)
   ======================================== */
.nav-active {
  text-decoration: underline;
  text-underline-offset: 6px;
}


/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
  max-width: 1330px;
  margin: 0 auto;
  padding: 20px 40px;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--gray);
  transition: color 0.2s;
}

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

.breadcrumb-sep {
  color: var(--gray);
  font-size: 12px;
}

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


/* ========================================
   CATEGORY HERO
   ======================================== */
.category-hero {
  padding: 20px 0 48px;
}

.category-hero-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
}

.category-title {
  font-size: 45px;
  margin-bottom: 16px;
}

.category-desc {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 600px;
}


/* ========================================
   PRODUCT GRID
   ======================================== */
.product-grid-section {
  padding: 0 0 80px;
}

.product-grid-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Empty state */
.product-grid-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}

.product-grid-empty svg {
  opacity: 0.4;
  margin-bottom: 20px;
}

.product-grid-empty-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.product-grid-empty-text {
  font-size: 15px;
  color: var(--gray);
  margin: 0 0 24px;
}

.product-grid-empty-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.product-grid-empty-btn:hover {
  opacity: 0.85;
}

/* Product card — same hover behavior as homepage model cards */
.product-card {
  display: block;
}

.product-card-image {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 1/1;
  background: var(--bg-primary);
  transition: border-color 0.4s ease;
}

.product-card-image .model-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-image .model-3d {
  position: relative;
  z-index: 2;
  width: 55%;
  margin: 0 auto;
  top: 20%;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s ease;
}

/* Color dodge overlay */
.product-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(50, 132, 172, 0.95) 100%);
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

/* Hover effects */
.product-card:hover .product-card-image {
  border-color: var(--accent);
}

.product-card:hover .product-card-overlay {
  opacity: 0.7;
}

.product-card:hover .model-3d {
  transform: translateY(-12px);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-label {
  font-family: var(--font-heading);
  font-size: 18px;
}

/* Arrow: right → default, diagonal ↗ on hover */
.product-card-arrow {
  color: var(--gray);
  display: flex;
  align-items: center;
  position: relative;
  width: 20px;
  height: 20px;
  transition: color 0.4s ease;
}

.product-card-arrow .arrow-default,
.product-card-arrow .arrow-hover {
  position: absolute;
  right: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-card-arrow .arrow-default {
  opacity: 1;
  transform: translate(0, 0);
}

.product-card-arrow .arrow-hover {
  opacity: 0;
  transform: translate(-2px, 2px);
}

.product-card:hover .product-card-arrow {
  color: var(--text-primary);
}

.product-card:hover .product-card-arrow .arrow-default {
  opacity: 0;
  transform: translate(2px, -2px);
}

.product-card:hover .product-card-arrow .arrow-hover {
  opacity: 1;
  transform: translate(0, 0);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--gray);
  transition: all 0.25s ease;
}

.pagination-num:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.pagination-num.active {
  background: var(--accent);
  color: var(--text-primary);
}

.pagination-dots {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray);
  cursor: default;
}

.pagination-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--gray);
  transition: all 0.25s ease;
}

.pagination-arrow:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.pagination-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}


/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */
.product-detail {
  padding: 32px 0 80px;
}

.product-detail-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 570px 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== Gallery ===== */
.product-gallery-main {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg-primary);
  margin-bottom: 16px;
}

.product-gallery-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-3d {
  position: absolute;
  z-index: 2;
  display: block;
  max-width: 85%;
  max-height: 75%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.product-gallery-thumbs {
  display: flex;
  gap: 12px;
}

.product-thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--accent);
}

/* ===== Product Info ===== */
.product-title {
  font-family: var(--font-heading);
  font-size: 42px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.product-short-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Price + Configure row */
.product-price-row {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.product-price {
  flex: 1;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 22px;
  display: flex;
  align-items: center;
  background: var(--bg-card);
}

.product-configure-btn {
  padding: 16px 48px;
  background: var(--gray);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.product-configure-btn:hover {
  background: var(--text-primary);
}

/* Buy Points link */
.product-buy-points {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text-primary);
  padding-bottom: 20px;
  transition: opacity 0.2s;
}

.product-buy-points:hover {
  opacity: 0.7;
}

/* Divider */
.product-divider {
  height: 1px;
  background: var(--border);
}

/* Wishlist + Share */
.product-actions {
  display: flex;
  gap: 32px;
  padding: 20px 0;
}

.product-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 0;
}

.product-action-btn:hover {
  opacity: 0.6;
}

/* Payment Methods */
.product-payment-methods {
  padding: 20px 0;
}

.product-payment-label {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.product-payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-payment-icons img {
  height: 28px;
  width: auto;
}

.product-payment-points {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-primary);
  margin-left: 8px;
}

/* Description */
.product-description {
  padding-top: 20px;
}

.product-desc-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 16px;
}

.product-description p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
}


/* ========================================
   CREDITS PRODUCT PAGE
   ======================================== */
/* Single image (no wave bg overlay, no thumbs) */
.credits-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}

.credits-image img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

/* Downloads + additional price meta */
.credits-meta {
  margin-bottom: 28px;
}

.credits-downloads {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 2px;
}

.credits-additional {
  font-size: 16px;
  color: var(--gray);
}

/* What's included label */
.credits-whats-included {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

/* Feature checklist with green checkmarks */
.credits-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credits-features li {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
}

.credits-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #3284AC;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}


/* ========================================
   LOGGED-IN USER DROPDOWN
   ======================================== */
.user-dropdown {
  position: relative;
}

.user-toggle {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.user-toggle:hover { opacity: 0.7; }

.user-dropdown:hover .sign-in-arrow { transform: rotate(180deg); }

.user-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: #f5f5f5;
  border-radius: 14px;
  padding: 0;
  min-width: 280px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
  overflow: hidden;
}

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

.user-menu-points {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
}

.user-menu-points-label {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #111;
  font-weight: 700;
}

.user-menu-points-value {
  font-family: var(--font-body);
  font-size: 12px;
  color: #111;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: #111;
  font-family: var(--font-heading);
  font-size: 16px;
  transition: background 0.2s;
}

.user-menu-item:hover { background: #e8e8e8; }

.user-menu-divider {
  height: 1px;
  background: #ddd;
  margin: 4px 0;
}

/* ========================================
   CART DROPDOWN WITH ITEMS
   ======================================== */
.cart-menu-items {
  min-width: 440px;
  padding: 24px;
}

.cart-dd-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: start;
}

.cart-dd-thumb {
  grid-row: 1 / 3;
  width: 90px;
  height: 90px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-dd-thumb img { width: 50%; height: auto; object-fit: contain; }

.cart-dd-preview {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 700;
  color: #3284AC;
  background: rgba(255,255,255,0.85);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.cart-dd-name {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #111;
}

.cart-dd-qty {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.cart-dd-id {
  font-size: 12px;
  color: #888;
  background: #eee;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}

.cart-dd-remove {
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-dd-remove:hover { background: #eee; }

.cart-dd-pricing {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-dd-price {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #111;
}

.cart-dd-original {
  font-size: 14px;
  color: #aaa;
  text-decoration: line-through;
}

.cart-dd-save {
  font-size: 12px;
  font-weight: 600;
  color: #3284AC;
  background: #e6f2f7;
  padding: 3px 10px;
  border-radius: 4px;
}

.cart-dd-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 16px 0;
}

.cart-dd-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 18px;
  color: #111;
  margin-bottom: 16px;
}

.cart-dd-total-price {
  font-size: 24px;
}

.cart-dd-buttons {
  display: flex;
  gap: 10px;
}

.cart-dd-btn-checkout {
  flex: 1;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  text-align: center;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.cart-dd-btn-checkout:hover { opacity: 0.85; }

.cart-dd-btn-view {
  flex: 1;
  padding: 12px;
  background: #111;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  text-align: center;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.cart-dd-btn-view:hover { opacity: 0.85; }


/* ========================================
   CART PAGE
   ======================================== */
.cart-page {
  padding: 20px 0 80px;
}

.cart-page-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.cart-heading {
  font-family: var(--font-heading);
  font-size: 45px;
  margin-bottom: 8px;
}

.cart-subtext {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 28px;
}

/* Table header */
.cart-table-header {
  display: grid;
  grid-template-columns: 1fr 140px 120px;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cart-th-qty { text-align: center; }
.cart-th-total { text-align: right; }

/* Cart item */
.cart-item {
  display: grid;
  grid-template-columns: 1fr 140px 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
  align-items: start;
}

.cart-item-left {
  display: flex;
  gap: 16px;
}

.cart-item-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: #c4c4c4;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-thumb img { width: 50%; height: auto; object-fit: contain; }

.cart-item-preview-label {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 17px;
  margin-bottom: 6px;
}

.cart-item-id {
  font-size: 12px;
  color: var(--gray);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}

.cart-item-files {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 10px;
}

.cart-item-view-model {
  font-family: var(--font-heading);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #e8f4fb;
  background: rgba(50, 132, 172, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(50, 132, 172, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.cart-item-view-model::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233284AC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/><polyline points='3.27 6.96 12 12.01 20.73 6.96'/><line x1='12' y1='22.08' x2='12' y2='12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-item-view-model::after {
  content: "→";
  margin-left: 2px;
  font-size: 14px;
  font-weight: 400;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-item-view-model:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(50, 132, 172, 0.2) 0%, rgba(50, 132, 172, 0.35) 100%);
  border-color: rgba(91, 169, 209, 0.7);
  box-shadow: 0 0 0 3px rgba(50, 132, 172, 0.12), 0 8px 24px -8px rgba(50, 132, 172, 0.5);
  transform: translateY(-1px);
}

.cart-item-view-model:hover::before {
  transform: rotate(-12deg) scale(1.1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/><polyline points='3.27 6.96 12 12.01 20.73 6.96'/><line x1='12' y1='22.08' x2='12' y2='12'/></svg>");
}

.cart-item-view-model:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.cart-item-view-model:active {
  transform: translateY(0);
  box-shadow: 0 0 0 3px rgba(50, 132, 172, 0.08), 0 4px 12px -6px rgba(50, 132, 172, 0.4);
}

/* Qty controls */
.cart-item-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover { background: var(--bg-card-alt); }

.cart-qty-value {
  width: 36px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 14px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 6px 0;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.cart-item-remove:hover { color: #ef4444; }

/* Price column */
.cart-item-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-original-price {
  font-size: 14px;
  color: var(--gray);
  text-decoration: line-through;
}

.cart-item-current-price {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-primary);
}

.cart-item-save {
  font-size: 12px;
  font-weight: 600;
  color: #3284AC;
  background: rgba(50, 132, 172, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-end;
}

.cart-continue-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: #3284AC;
  transition: opacity 0.2s;
}

.cart-continue-link:hover { opacity: 0.7; }

/* ===== Order Summary Card ===== */
.cart-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 16px;
}

.cart-summary-title {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 20px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 12px;
}

.cart-summary-discount span:last-child {
  color: #3284AC;
}

.cart-summary-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Coupon */
.cart-coupon-label {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 10px;
}

.cart-coupon-row {
  display: flex;
  gap: 8px;
}

.cart-coupon-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.cart-coupon-input:focus { border-color: var(--accent); }

.cart-coupon-input::placeholder { color: var(--gray); }

.cart-coupon-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid #3284AC;
  border-radius: 6px;
  color: #3284AC;
  font-family: var(--font-heading);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-coupon-btn:hover {
  background: #3284AC;
  color: #fff;
}

/* Estimated Total */
.cart-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-summary-total-label {
  font-family: var(--font-heading);
  font-size: 18px;
}

.cart-summary-total-value {
  text-align: right;
}

.cart-summary-total-amount {
  font-family: var(--font-heading);
  font-size: 28px;
  display: block;
}

.cart-summary-total-gst {
  font-size: 12px;
  color: var(--gray);
}

/* Checkout button */
.cart-checkout-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  margin-top: 20px;
  transition: opacity 0.2s;
}

.cart-checkout-btn:hover { opacity: 0.85; }

/* Secure Checkout box */
.cart-secure-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.cart-secure-title {
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 6px;
}

.cart-secure-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}


/* ========================================
   PRICING PAGE
   ======================================== */

/* ===== Plans Section ===== */
.pricing-section {
  padding: 60px 0 80px;
}

.pricing-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
}

.pricing-heading {
  font-size: 45px;
  text-align: center;
  margin-bottom: 16px;
}

.pricing-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  position: relative;
}

.pricing-card--popular {
  border-color: var(--accent);
  border-width: 2px;
}

.pricing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-plan-category {
  font-size: 13px;
  color: var(--gray);
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--text-primary);
}

.pricing-suffix {
  font-size: 13px;
  color: var(--gray);
}

.pricing-downloads {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}

.pricing-additional {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  margin-bottom: 20px;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1.5px solid var(--text-primary);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 15px;
  text-align: center;
  transition: background 0.25s, color 0.25s;
  margin-bottom: 28px;
}

.pricing-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.pricing-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.pricing-btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.pricing-card--current {
  border-color: #22c55e;
  border-width: 2px;
}

.pricing-badge--current {
  background: #22c55e;
}

.pricing-btn--current {
  display: block;
  width: 100%;
  padding: 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid #22c55e;
  border-radius: 8px;
  color: #22c55e;
  font-family: var(--font-heading);
  font-size: 15px;
  text-align: center;
  margin-bottom: 28px;
  cursor: default;
}

.pricing-btn--muted {
  border-color: var(--gray);
  color: var(--gray);
  opacity: 0.7;
}

.pricing-btn--muted:hover {
  background: var(--subtle-hover);
  color: var(--text-primary);
  opacity: 1;
}

.pricing-features-label {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 12px;
}

.pricing-features-list li:last-child {
  margin-bottom: 0;
}

.pricing-check {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Compare Plans Section ===== */
.compare-section {
  padding: 60px 0 80px;
}

.compare-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.compare-heading {
  font-size: 40px;
  text-align: center;
  margin-bottom: 12px;
}

.compare-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 40px;
}

.compare-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.compare-table thead th {
  padding: 24px 20px;
  vertical-align: bottom;
}

.compare-feature-col {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.5px;
  width: 34%;
}

.compare-plan-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text-primary);
}

.compare-plan-sub {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.compare-col--active .compare-plan-name {
  color: var(--accent);
}

.compare-table td.compare-feature-name {
  text-align: left;
  color: var(--text-primary);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.compare-badge--check {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.compare-badge--cross {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.compare-table tfoot td {
  border-bottom: none;
  padding: 24px 20px;
}

.compare-btn {
  display: inline-block;
  padding: 10px 28px;
  border: 1.5px solid var(--text-primary);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 14px;
  transition: background 0.25s, color 0.25s;
}

.compare-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.compare-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.compare-btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}


/* ========================================
   AUTH PAGES (LOGIN / REGISTER)
   ======================================== */
.fdsx-auth {
  padding: 60px 0 80px;
  text-align: center;
}

.fdsx-auth-page-title {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 32px;
}

.fdsx-auth-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  text-align: left;
}

.fdsx-auth-title {
  font-family: var(--font-heading);
  font-size: 26px;
  margin-bottom: 6px;
}

.fdsx-auth-subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 28px;
}

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

.fdsx-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.fdsx-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
}

.fdsx-input:focus {
  border-color: var(--accent);
  outline: none;
}

.fdsx-input::placeholder {
  color: #555;
}

.fdsx-form-row {
  display: flex;
  gap: 16px;
}

.fdsx-form-row--half > * {
  flex: 1;
}

.fdsx-form-row--between {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.fdsx-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
}

.fdsx-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent);
}

.fdsx-link {
  color: var(--accent);
  font-size: 13px;
  transition: opacity 0.2s;
}

.fdsx-link:hover {
  opacity: 0.7;
}

.fdsx-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s;
}

.fdsx-btn:hover {
  opacity: 0.85;
}

/* ================================================
   Themed SVG variants
   Output by fdsx_render_themed_svg() — each asset
   ships a dark and a light <svg>; CSS shows one.
   ================================================ */
.fdsx-themed-svg { display: inline-flex; align-items: center; line-height: 0; }
.fdsx-svg { display: inline-flex; line-height: 0; }
.fdsx-svg svg { display: block; }
.fdsx-svg--light { display: none; }
html[data-theme="light"] .fdsx-svg--dark { display: none; }
html[data-theme="light"] .fdsx-svg--light { display: inline-flex; }

/* Size inline svgs to match the sizes the original <img> tags used. */
.logo-img .fdsx-svg svg { height: 36px; width: auto; }
.footer-logo-img .fdsx-svg svg { height: 48px; width: auto; }
.footer-payment-icons .footer-payment-icon {
  padding: 0 4px;
  background: var(--bg-card);
  border-radius: 4px;
}
.footer-payment-icon .fdsx-svg svg { height: 30px; width: auto; }

/* Light theme: swap to the white-variant texture PNGs, and invert the
   still-white header cart icon until it gets its own themed variant. */
html[data-theme="light"] .hero::before {
  background-image: url('../images/bg-texture-wave-white.png');
  opacity: 1;
}
html[data-theme="light"] .site-footer::before {
  background-image: url('../images/bg-footer-texture-white.png');
  opacity: 1;
}
html[data-theme="light"] .cart-toggle img,
html[data-theme="light"] .mobile-cart-link img { filter: invert(1); }
html[data-theme="light"] .footer-payment-icons .footer-payment-icon { background: transparent; }

.fdsx-btn--primary {
  background: var(--accent);
  color: #fff;
}

.fdsx-btn--accent {
  background: var(--accent);
  color: #fff;
}

.fdsx-btn--outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
}

.fdsx-btn--sm {
  display: inline-block;
  width: auto;
  padding: 8px 20px;
  font-size: 14px;
}

.fdsx-btn--google {
  margin-bottom: 0;
}

.fdsx-auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--gray);
  font-size: 13px;
}

.fdsx-auth-divider::before,
.fdsx-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.fdsx-auth-footer {
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  margin-top: 20px;
}


/* ========================================
   MY ACCOUNT PAGES
   ======================================== */
.fdsx-account {
  padding: 0 0 80px;
}

.fdsx-account-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
}

.fdsx-account-page-title {
  font-family: var(--font-heading);
  font-size: 40px;
  margin-bottom: 8px;
}

.fdsx-account-page-subtitle {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 32px;
}

.fdsx-account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* ===== Sidebar ===== */
.fdsx-account-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px;
  position: sticky;
  top: 80px;
}

.fdsx-account-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.fdsx-account-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fdsx-account-user-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text-primary);
}

.fdsx-account-user-email {
  display: block;
  font-size: 12px;
  color: var(--gray);
}

.fdsx-account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.fdsx-account-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--gray);
  transition: background 0.2s, color 0.2s;
}

.fdsx-account-nav-item:hover {
  background: var(--subtle-surface);
  color: var(--text-primary);
}

.fdsx-account-nav-item.is-active {
  background: var(--accent);
  color: #fff;
}

.fdsx-account-nav-icon {
  display: flex;
  align-items: center;
  opacity: 0.7;
}

.fdsx-account-nav-item.is-active .fdsx-account-nav-icon {
  opacity: 1;
}

.fdsx-account-balance {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(50, 132, 172, 0.15);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--accent);
}

/* ===== Content area ===== */
.fdsx-content-title {
  font-family: var(--font-heading);
  font-size: 26px;
  margin-bottom: 6px;
}

.fdsx-content-subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
}

.fdsx-empty-state {
  text-align: center;
  padding: 60px 0;
  color: var(--gray);
}

.fdsx-empty-state .fdsx-btn {
  display: inline-block;
  width: auto;
  margin-top: 16px;
}

/* ===== Downloads ===== */
.fdsx-downloads-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.fdsx-downloads-search {
  flex: 1;
}

.fdsx-downloads-sort {
  width: 160px;
}

.fdsx-downloads-all {
  white-space: nowrap;
}

.fdsx-downloads-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fdsx-download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.fdsx-download-item.is-highlighted {
  animation: fdsx-download-flash 2s ease;
}

@keyframes fdsx-download-flash {
  0%   { border-color: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25); background-color: rgba(34, 197, 94, 0.08); }
  60%  { border-color: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); background-color: rgba(34, 197, 94, 0.04); }
  100% { border-color: var(--border); box-shadow: none; background-color: var(--bg-card); }
}

.fdsx-download-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--bg-card-alt);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fdsx-download-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fdsx-download-info {
  flex: 1;
  min-width: 0;
}

.fdsx-download-name {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.fdsx-download-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 10px;
}

.fdsx-download-id {
  background: var(--bg-card-alt);
  padding: 3px 10px;
  border-radius: 4px;
}

.fdsx-download-files {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fdsx-file-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(50, 132, 172, 0.12);
  color: var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.fdsx-file-tag--desc {
  background: var(--subtle-surface-strong);
  color: var(--gray);
}

.fdsx-download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.fdsx-download-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #22c55e;
}

.fdsx-download-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

/* ===== Available Points ===== */
.fdsx-points-stats {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.fdsx-points-balance {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fdsx-points-balance-label {
  font-size: 14px;
  color: var(--gray);
  display: block;
  margin-bottom: 12px;
}

.fdsx-points-balance-number {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--text-primary);
}

.fdsx-points-balance-unit {
  font-size: 18px;
  color: var(--gray);
  margin-left: 6px;
}

.fdsx-points-balance-icon svg {
  width: 60px;
  height: 60px;
  opacity: 0.3;
}

.fdsx-points-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fdsx-points-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.fdsx-stat-plan {
  grid-column: 1 / -1;
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, rgba(50, 132, 172, 0.10) 0%, var(--bg-card) 60%);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.fdsx-stat-plan .fdsx-points-stat-value {
  color: var(--accent);
  margin-right: auto;
}
.fdsx-stat-plan-link {
  font-size: 12px;
  color: var(--gray);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.fdsx-stat-plan-link:hover { color: var(--accent); }
.fdsx-stat-plan-link svg { width: 12px; height: 12px; }

.fdsx-points-stat-label {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 8px;
}
.fdsx-stat-plan .fdsx-points-stat-label {
  width: 100%;
  margin-bottom: 0;
}

.fdsx-points-stat-value {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-primary);
}

.fdsx-points-txn-title {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 16px;
}

.fdsx-points-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.fdsx-points-table {
  width: 100%;
  border-collapse: collapse;
}

.fdsx-points-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.fdsx-points-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.fdsx-points-table tr:last-child td {
  border-bottom: none;
}

.fdsx-txn-date {
  color: var(--gray);
}

.fdsx-txn-type {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.fdsx-txn-type--debit {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.fdsx-txn-type--credit {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.fdsx-txn-points--credit {
  color: #22c55e;
}

/* Order status pills (dashboard recent orders) */
.fdsx-txn-type--completed,
.fdsx-txn-type--processing {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.fdsx-txn-type--pending,
.fdsx-txn-type--on-hold {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}
.fdsx-txn-type--cancelled,
.fdsx-txn-type--failed,
.fdsx-txn-type--refunded {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ========================================
   Dashboard — Quick Actions
   ======================================== */

.fdsx-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.fdsx-dashboard-action {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.fdsx-dashboard-action:hover {
  border-color: var(--primary, #3b82f6);
  transform: translateY(-1px);
}

.fdsx-dashboard-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--subtle-surface);
  flex-shrink: 0;
}

.fdsx-dashboard-action-icon svg {
  width: 20px;
  height: 20px;
}

.fdsx-dashboard-action-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.fdsx-dashboard-action-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.fdsx-dashboard-action-text small {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.fdsx-dashboard-action-arrow {
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  transition: transform 0.18s ease, color 0.18s ease;
}

.fdsx-dashboard-action:hover .fdsx-dashboard-action-arrow {
  color: var(--primary, #3b82f6);
  transform: translateX(2px);
}

/* ========================================
   My Plan page
   ======================================== */

.fdsx-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.fdsx-plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.fdsx-plan-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fdsx-plan-card-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.fdsx-plan-card-badge--explore {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
}

.fdsx-plan-card-badge--standard {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.fdsx-plan-card-badge--pro {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.fdsx-plan-card-renewal {
  font-size: 13px;
  color: var(--gray);
}

.fdsx-plan-card-price {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-primary);
}

.fdsx-plan-card-price small {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
}

.fdsx-dashboard-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #3b82f6);
  text-decoration: none;
}

.fdsx-dashboard-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .fdsx-dashboard-actions {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.fdsx-contact {
  padding: 40px 0 80px;
  text-align: center;
}

.fdsx-contact-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
}

.fdsx-contact-heading {
  font-family: var(--font-heading);
  font-size: 42px;
  margin-bottom: 12px;
}

.fdsx-contact-subtitle {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 16px;
}

.fdsx-contact-accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 40px;
  border-radius: 2px;
}

.fdsx-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  text-align: left;
}

.fdsx-contact-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 6px;
}

.fdsx-contact-card-subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 28px;
}

/* CF7 form inside contact card */
.fdsx-contact-card .wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.fdsx-contact-card .wpcf7-form input[type="text"],
.fdsx-contact-card .wpcf7-form input[type="email"],
.fdsx-contact-card .wpcf7-form select,
.fdsx-contact-card .wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  margin-top: 6px;
  transition: border-color 0.2s;
}

.fdsx-contact-card .wpcf7-form input:focus,
.fdsx-contact-card .wpcf7-form select:focus,
.fdsx-contact-card .wpcf7-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.fdsx-contact-card .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.fdsx-contact-card .wpcf7-form select {
  appearance: auto;
}

.fdsx-contact-card .wpcf7-form input::placeholder,
.fdsx-contact-card .wpcf7-form textarea::placeholder {
  color: #555;
}

.fdsx-contact-card .wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}

.fdsx-contact-card .wpcf7-form input[type="submit"]:hover {
  opacity: 0.85;
}

/* CF7 two-column row */
.fdsx-cf7-row {
  display: flex;
  gap: 16px;
}

.fdsx-cf7-half {
  flex: 1;
}

/* CF7 validation */
.fdsx-contact-card .wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
}

.fdsx-contact-card .wpcf7-response-output {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 16px;
}


/* ========================================
   ABOUT PAGE
   ======================================== */

/* ========================================
   Legal Pages (Privacy Policy, Terms)
   ======================================== */

.legal-page {
  padding: 48px 0 80px;
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.legal-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--gray);
  margin: 0 0 40px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 36px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin: 0 0 16px;
}

.legal-content li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-content strong {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .legal-inner {
    padding: 0 20px;
  }

  .legal-title {
    font-size: 28px;
  }

  .legal-content h2 {
    font-size: 19px;
  }
}

/* ========================================
   About Page
   ======================================== */

/* Hero */
.fdsx-about-hero {
  padding: 48px 0 60px;
  text-align: center;
}

.fdsx-about-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.fdsx-about-hero-title {
  font-family: var(--font-heading);
  font-size: 45px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.fdsx-about-hero-subtitle {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}

.fdsx-about-video {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fdsx-about-video iframe {
  width: 100%;
  height: 100%;
}

.fdsx-about-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fdsx-about-video-label {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 1px;
}

/* Story */
.fdsx-about-story {
  padding: 0 0 80px;
}

.fdsx-about-story-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
}

.fdsx-about-story-title {
  font-family: var(--font-heading);
  font-size: 30px;
  margin-bottom: 24px;
}

.fdsx-about-story-content {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
}

.fdsx-about-story-content p {
  margin-bottom: 16px;
}

.fdsx-about-story-content strong {
  color: var(--text-primary);
}

.fdsx-about-story-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.fdsx-about-story-link:hover {
  opacity: 0.7;
}

/* Team */
.fdsx-about-team {
  padding: 60px 0 80px;
}

.fdsx-about-team-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.fdsx-about-team-title {
  font-family: var(--font-heading);
  font-size: 30px;
  margin-bottom: 8px;
}

.fdsx-about-team-subtitle {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 40px;
}

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

.fdsx-about-team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px 24px;
}

.fdsx-about-team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.fdsx-about-team-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.fdsx-about-team-name {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.fdsx-about-team-role {
  font-size: 13px;
  color: var(--gray);
}

/* CTA */
.fdsx-about-cta {
  padding: 60px 0 80px;
  text-align: center;
}

.fdsx-about-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
}

.fdsx-about-cta-title {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 12px;
}

.fdsx-about-cta-subtitle {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 28px;
}

.fdsx-about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.fdsx-about-cta-buttons .fdsx-btn {
  width: auto;
  display: inline-block;
  padding: 14px 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .fdsx-about-hero-title {
    font-size: 32px;
  }

  .fdsx-about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fdsx-about-cta-title {
    font-size: 28px;
  }

  .fdsx-about-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .fdsx-contact-heading {
    font-size: 32px;
  }

  .fdsx-contact-inner {
    padding: 0 20px;
  }

  .fdsx-contact-card {
    padding: 24px 20px;
  }

  .fdsx-cf7-row {
    flex-direction: column;
    gap: 0;
  }
}


/* ===== 404 Page ===== */
.fdsx-404 {
  padding: 100px 0 120px;
  text-align: center;
}

.fdsx-404-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 40px;
}

.fdsx-404-code {
  display: block;
  font-family: var(--font-heading);
  font-size: 120px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

.fdsx-404-title {
  font-family: var(--font-heading);
  font-size: 40px;
  margin-bottom: 16px;
}

.fdsx-404-text {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 32px;
}

.fdsx-404-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.fdsx-404-actions .fdsx-btn {
  width: auto;
  display: inline-block;
  padding: 14px 32px;
}

@media (max-width: 480px) {
  .fdsx-404-code {
    font-size: 80px;
  }

  .fdsx-404-title {
    font-size: 28px;
  }

  .fdsx-404-actions {
    flex-direction: column;
  }

  .fdsx-404-actions .fdsx-btn {
    width: 100%;
  }
}

/* ===== Order History Table ===== */
.fdsx-account-content .woocommerce-orders-table,
.fdsx-account-content .shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.fdsx-account-content .woocommerce-orders-table th,
.fdsx-account-content .shop_table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.fdsx-account-content .woocommerce-orders-table td,
.fdsx-account-content .shop_table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.fdsx-account-content .woocommerce-orders-table tr:last-child td,
.fdsx-account-content .shop_table tr:last-child td {
  border-bottom: none;
}

.fdsx-account-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
  color: var(--accent);
  font-family: var(--font-heading);
}

.fdsx-account-content .woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
  font-size: 13px;
}

.fdsx-account-content .woocommerce-orders-table .woocommerce-button,
.fdsx-account-content .shop_table .woocommerce-button,
.fdsx-account-content .woocommerce-orders-table .button {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.fdsx-account-content .woocommerce-orders-table .woocommerce-button:hover,
.fdsx-account-content .shop_table .woocommerce-button:hover {
  opacity: 0.85;
  background: var(--accent);
  color: #fff;
}

/* Pagination */
.fdsx-account-content .woocommerce-pagination {
  margin-top: 20px;
}

.fdsx-account-content .woocommerce-pagination .woocommerce-button {
  display: inline-block;
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 14px;
  transition: border-color 0.2s;
}

.fdsx-account-content .woocommerce-pagination .woocommerce-button:hover {
  border-color: var(--accent);
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Account forms (edit account, change password) */
.fdsx-account-content .woocommerce-EditAccountForm p.form-row {
  margin-bottom: 20px;
}

.fdsx-account-content .woocommerce-EditAccountForm label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.fdsx-account-content .woocommerce-EditAccountForm input.input-text {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
}

.fdsx-account-content .woocommerce-EditAccountForm input.input-text:focus {
  border-color: var(--accent);
  outline: none;
}

.fdsx-account-content .woocommerce-EditAccountForm fieldset {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.fdsx-account-content .woocommerce-EditAccountForm fieldset legend {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--text-primary);
  padding: 0 8px;
}

.fdsx-account-content .woocommerce-EditAccountForm button[type="submit"] {
  margin-top: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.fdsx-account-content .woocommerce-EditAccountForm button[type="submit"]:hover {
  opacity: 0.85;
}


/* ========================================
   UTILITY: DESKTOP / MOBILE VISIBILITY
   ======================================== */
.mobile-only {
  display: none !important;
}

/* Mobile menu overlay — lives OUTSIDE header to avoid backdrop-filter stacking context */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  flex-direction: column;
  padding: 8px 0 120px;
  overflow-y: auto;
  z-index: 9999;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.is-open {
  display: flex;
}


/* ========================================
   HAMBURGER MENU (Linear-style: 2 lines → X)
   ======================================== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 28px;
  justify-content: center;
  align-items: center;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X */
.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Sign In link (like Linear's "Log in") */
.mobile-sign-in {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--gray);
  transition: color 0.2s;
}

.mobile-sign-in:hover {
  color: var(--text-primary);
}

/* Mobile Register button (like Linear's "Sign up" white button) */
.mobile-register-btn {
  font-family: var(--font-heading);
  font-size: 14px;
  padding: 8px 20px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.mobile-register-btn:hover {
  opacity: 0.85;
}


/* ========================================
   RESPONSIVE
   ======================================== */

/* ===== TABLET (1024px) ===== */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 24px;
  }

  .main-nav-desktop {
    gap: 24px;
  }

  .main-nav-desktop a {
    font-size: 16px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-inner,
  .modelling-inner,
  .payments-inner,
  .faq-inner,
  .footer-inner {
    padding: 0 24px;
  }

  .modelling-inner {
    flex-direction: column;
    gap: 40px;
  }

  .modelling-left {
    flex: none;
    width: 100%;
  }

  .modelling-left .section-heading {
    font-size: 38px;
  }

  .modelling-desc {
    font-size: 16px;
  }

  .payments-inner {
    gap: 60px;
  }

  .payments-content {
    flex: 0 0 auto;
  }

  .payments-content .section-heading {
    font-size: 38px;
  }

  .payments-desc {
    font-size: 16px;
  }

  .faq-title {
    font-size: 38px;
  }

  .faq-question {
    font-size: 20px;
  }

  .faq-answer p {
    font-size: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 48px;
  }

  .site-footer {
    padding: 60px 0 120px;
  }

  /* Product grid: 3 columns on tablet */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Product detail: reduce gap */
  .product-detail-inner {
    grid-template-columns: 360px 1fr;
    gap: 40px;
  }

  .product-title {
    font-size: 34px;
  }

  /* Cart page: reduce sidebar */
  .cart-page-inner {
    grid-template-columns: 1fr 300px;
    gap: 28px;
  }

  .category-title {
    font-size: 38px;
  }

  .category-desc {
    font-size: 16px;
  }

  /* Pricing – tablet */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pricing-heading {
    font-size: 38px;
  }

  .compare-heading {
    font-size: 34px;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 12px;
    font-size: 13px;
  }

  /* Account – tablet */
  .fdsx-points-stats {
    grid-template-columns: 1fr;
  }
}

/* ===== MOBILE MENU BREAKPOINT (768px) ===== */
@media (max-width: 768px) {
  /* Show mobile elements, hide desktop elements */
  .mobile-only {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .theme-toggle {
    display: none;
  }

  /* Hide desktop nav on mobile */
  .main-nav-desktop {
    display: none !important;
  }

  .mobile-nav-section {
    padding: 0 28px;
    margin-bottom: 12px;
  }

  .mobile-nav-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    padding: 20px 0 12px;
    border-top: 1px solid var(--border);
  }

  .mobile-nav-section:first-child .mobile-nav-label {
    border-top: none;
    padding-top: 12px;
  }

  .mobile-nav-section a {
    display: block;
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--text-primary);
    padding: 10px 0;
    transition: opacity 0.2s;
  }

  .mobile-nav-section a:hover {
    opacity: 0.6;
  }

  /* ===== MOBILE CART BOX (bottom of menu) ===== */
  .mobile-cart-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 28px 0;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
  }

  .mobile-cart-icon {
    opacity: 0.5;
    flex-shrink: 0;
  }

  .mobile-cart-info {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .mobile-cart-title {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--text-primary);
  }

  .mobile-cart-status {
    font-size: 12px;
    color: var(--gray);
  }

  .mobile-cart-link {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--accent);
    white-space: nowrap;
    transition: opacity 0.2s;
  }

  .mobile-cart-link:hover {
    opacity: 0.7;
  }

  /* ===== HEADER ADJUSTMENTS ===== */
  .header-inner {
    padding: 0 20px;
    gap: 12px;
  }

  .header-right {
    gap: 14px;
  }

  /* ===== HERO ===== */
  .hero {
    padding: 48px 0 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-image-wrap {
    max-width: 100%;
    margin: 0 auto 28px;
  }

  .hero-cta-text {
    font-size: 13px;
  }

  .btn {
    font-size: 14px;
    padding: 14px 28px;
  }

  /* ===== MODELLING ===== */
  .modelling-section {
    padding: 60px 0;
  }

  .modelling-inner {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .modelling-left .section-heading {
    font-size: 32px;
  }

  .modelling-desc {
    font-size: 15px;
  }

  .modelling-cards {
    flex-direction: column;
    gap: 20px;
  }

  .model-card-label {
    font-size: 20px;
  }

  .model-card-image .model-3d {
    top: 60px;
    width: 45%;
  }

  /* ===== PAYMENTS ===== */
  .payments-section {
    padding: 60px 0 80px;
  }

  .payments-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 0 20px;
  }

  .payments-content {
    flex: none;
    width: 100%;
  }

  .payments-content .section-heading {
    font-size: 32px;
  }

  .payments-desc {
    font-size: 15px;
  }

  .payments-image img {
    max-width: 300px;
  }

  /* ===== FAQ ===== */
  .faq-section {
    padding: 60px 0 80px;
  }

  .faq-inner {
    padding: 0 20px;
  }

  .faq-title {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .faq-question {
    font-size: 18px;
    padding: 18px 0;
  }

  .faq-answer p {
    font-size: 15px;
  }

  /* ===== FOOTER ===== */
  .site-footer {
    padding: 48px 0 80px;
  }

  .site-footer::before {
    opacity: 0.15;
    background-position: center bottom;
  }

  .footer-inner {
    padding: 0 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-col a {
    font-size: 14px;
  }

  .footer-logo-img {
    height: 36px;
  }

  /* Product grid: 2 columns on mobile */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Product detail: stack */
  .product-detail-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }

  .product-title {
    font-size: 30px;
  }

  .product-gallery-3d {
    width: 60%;
  }

  /* Cart page: stack */
  .cart-page-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .cart-heading {
    font-size: 32px;
  }

  .cart-table-header {
    display: none;
  }

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

  .cart-item-mid {
    flex-direction: row;
    justify-content: flex-start;
  }

  .cart-item-right {
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .cart-item-save {
    align-self: auto;
  }

  .category-title {
    font-size: 32px;
  }

  .category-desc {
    font-size: 15px;
  }

  .product-card-label {
    font-size: 15px;
  }

  .product-card-image .model-3d {
    width: 50%;
  }

  .breadcrumb {
    padding: 16px 20px;
  }

  .category-hero-inner,
  .product-grid-inner {
    padding: 0 20px;
  }

  /* Pricing – mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-inner,
  .compare-inner {
    padding: 0 20px;
  }

  .pricing-heading {
    font-size: 32px;
  }

  .pricing-section {
    padding: 40px 0 60px;
  }

  .compare-section {
    padding: 40px 0 60px;
  }

  .compare-heading {
    font-size: 28px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 8px;
    font-size: 12px;
  }

  .compare-feature-col {
    font-size: 10px;
    width: 28%;
  }

  .compare-plan-name {
    font-size: 13px;
  }

  .compare-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* Account – mobile */
  .fdsx-account-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fdsx-account-sidebar {
    position: static;
  }

  .fdsx-account-inner {
    padding: 0 20px;
  }

  .fdsx-account-page-title {
    font-size: 28px;
  }

  .fdsx-downloads-toolbar {
    flex-wrap: wrap;
  }

  .fdsx-downloads-search {
    width: 100%;
  }

  .fdsx-download-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .fdsx-download-actions {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  .fdsx-points-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fdsx-points-balance-number {
    font-size: 36px;
  }

  .fdsx-points-table-wrap {
    overflow-x: auto;
  }

  .fdsx-auth-card {
    margin: 0 20px;
    padding: 28px 20px;
  }
}

/* ===== SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-inner,
  .modelling-inner,
  .payments-inner,
  .faq-inner,
  .footer-inner {
    padding: 0 16px;
  }

  .modelling-left .section-heading,
  .payments-content .section-heading {
    font-size: 28px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-question {
    font-size: 16px;
  }

  .model-card-label {
    font-size: 18px;
  }

  .model-card-image .model-3d {
    top: 50px;
    width: 50%;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .mobile-nav-section a {
    font-size: 22px;
  }

  .mobile-register-btn {
    font-size: 13px;
    padding: 7px 16px;
  }

  /* Product grid: still 2 columns, tighter */
  .product-grid {
    gap: 12px;
  }

  .category-title {
    font-size: 28px;
  }

  .product-card-label {
    font-size: 14px;
  }

  .category-hero-inner,
  .product-grid-inner {
    padding: 0 16px;
  }

  .breadcrumb {
    padding: 12px 16px;
  }
}

/* ShapeDiver download format dropdown */
.fdsx-sd-download-wrap {
  position: relative;
  display: inline-block;
}

.fdsx-sd-format-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 260px;
  max-width: 340px;
  background: var(--bg-card);
  border: 1px solid rgba(50, 132, 172, 0.4);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 6px;
  z-index: 100;
  overflow: hidden;
  animation: fdsxSdMenuIn 0.15s ease-out;
}

@keyframes fdsxSdMenuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fdsx-sd-format-menu__loading,
.fdsx-sd-format-menu__empty,
.fdsx-sd-format-menu__error {
  padding: 14px 16px;
  font-size: 13px;
  color: #999;
  text-align: center;
}

.fdsx-sd-format-menu__error {
  color: #ff6b6b;
}

.fdsx-sd-format-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.fdsx-sd-format-option:hover {
  background: rgba(50, 132, 172, 0.18);
}

.fdsx-sd-format-option__name {
  font-size: 13px;
  font-weight: 600;
}

.fdsx-sd-format-option__file {
  font-size: 11px;
  color: #7a9bb0;
  font-family: monospace;
}

/* Checkout: credits expiry / renewal line */
.fdsx-pm-expiry-line {
  margin: 6px 0 0;
  font-size: 12px;
  color: #7a9bb0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fdsx-pm-expiry {
  color: #7a9bb0;
}
.fdsx-pm-expiry--warn {
  color: #f0a020;
  font-weight: 600;
}

/* ShapeDiver "From $X" price */
.fdsx-price-from {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.fdsx-price-from__label {
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7a9bb0;
  opacity: 0.85;
}
.fdsx-price-from__amount {
  font-size: 1em;
  font-weight: 700;
}

/* ========================================
   Default Page Template
   Used for any page/post not rendered by an Elementor theme template.
   ======================================== */
.fdsx-default-page {
  padding: 60px 0 80px;
}

.fdsx-default-page-inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 40px;
}

.fdsx-default-page-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 56px;
}

.fdsx-default-page-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.fdsx-default-page-title {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.15;
  margin: 0;
  color: var(--text-primary);
}

.fdsx-default-page-content {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.65;
}

.fdsx-default-page-content > * + * {
  margin-top: 18px;
}

.fdsx-default-page-content h2,
.fdsx-default-page-content h3,
.fdsx-default-page-content h4,
.fdsx-default-page-content h5,
.fdsx-default-page-content h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  margin-top: 32px;
  margin-bottom: 12px;
}

.fdsx-default-page-content h2 { font-size: 28px; }
.fdsx-default-page-content h3 { font-size: 22px; }
.fdsx-default-page-content h4 { font-size: 18px; }

.fdsx-default-page-content p,
.fdsx-default-page-content ul,
.fdsx-default-page-content ol,
.fdsx-default-page-content blockquote,
.fdsx-default-page-content pre,
.fdsx-default-page-content table {
  margin: 0 0 16px;
}

.fdsx-default-page-content ul,
.fdsx-default-page-content ol {
  padding-left: 22px;
}

.fdsx-default-page-content li + li {
  margin-top: 6px;
}

.fdsx-default-page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fdsx-default-page-content a:hover {
  opacity: 0.85;
}

.fdsx-default-page-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 18px;
  color: var(--gray);
  font-style: italic;
}

.fdsx-default-page-content img,
.fdsx-default-page-content figure,
.fdsx-default-page-content video,
.fdsx-default-page-content iframe {
  max-width: 100%;
  border-radius: 10px;
}

.fdsx-default-page-content figure {
  margin: 20px 0;
}

.fdsx-default-page-content figcaption {
  font-size: 13px;
  color: var(--gray);
  margin-top: 6px;
}

.fdsx-default-page-content code {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.9em;
}

.fdsx-default-page-content pre {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

.fdsx-default-page-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.fdsx-default-page-content table {
  width: 100%;
  border-collapse: collapse;
}

.fdsx-default-page-content th,
.fdsx-default-page-content td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.fdsx-default-page-content th {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
}

.fdsx-default-page-tags {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray);
}

@media (max-width: 768px) {
  .fdsx-default-page {
    padding: 32px 0 60px;
  }

  .fdsx-default-page-inner {
    padding: 0 20px;
  }

  .fdsx-default-page-main {
    padding: 28px 22px;
    border-radius: 12px;
  }

  .fdsx-default-page-title {
    font-size: 30px;
  }

  .fdsx-default-page-content {
    font-size: 15px;
  }

  .fdsx-default-page-content h2 { font-size: 24px; }
  .fdsx-default-page-content h3 { font-size: 20px; }
}
