/* ============================================================
   SMART PACKAGING PLATFORM — DESIGN SYSTEM
   Premium dark theme with amber/orange accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  /* Primary palette — Warm amber/orange */
  --primary: #f59e0b;
  --primary-light: #fbbf24;
  --primary-dark: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.15);
  --primary-subtle: rgba(245, 158, 11, 0.08);

  /* Accent */
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.1);

  /* Success/Error */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Light backgrounds (Modern SaaS) */
  --bg-primary: #f0f4f5;
  --bg-secondary: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-input: #FFFFFF;
  --bg-elevated: #F8FAFC;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: #E2E8F0;
  --glass-border-hover: #CBD5E1;

  /* Text (Dark for light theme) */
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --text-accent: #d97706;

  /* Borders */
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-input: #CBD5E1;

  /* Radii */
  --radius-sm: 8px;
  --radius: 18px; /* Increased for modern card look */
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows (Soft SaaS floating shadows) */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.025);
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 0 3px rgba(245, 158, 11, 0.2);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input,
select,
textarea {
  font-family: inherit;
  outline: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility Classes ── */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

/* ── Background Patterns ── */
.bg-grid {
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-alternate {
  background-color: var(--bg-secondary);
}

.bg-radial {
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #1c1210;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #efac29;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--primary-glow);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease);
}

.card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s var(--ease);
}

.card-glass:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

/* ── Input Fields ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.form-input::placeholder {
  color: var(--text-muted);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s var(--ease);
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}

/* Legacy logo-icon (kept for compatibility) */
.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-logo span {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--primary-subtle);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: all 0.2s var(--ease);
}

.cart-btn:hover {
  border-color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge:empty {
  display: none;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a0e17;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s var(--ease);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s var(--ease) 0.1s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  animation: fadeInUp 0.6s var(--ease) 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--ease) 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.6s var(--ease) 0.4s both;
}

.hero-stat h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-light);
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s var(--ease) 0.5s both;
}

.hero-box-3d {
  width: 360px;
  height: 360px;
  position: relative;
  perspective: 1000px;
}

.box-cube {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  animation: rotateCube 15s linear infinite;
  transform: translate(-50%, -50%) rotateX(-20deg) rotateY(30deg);
}

.box-face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--primary);
  background: rgba(245, 158, 11, 0.05);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.box-face.front {
  transform: translateZ(100px);
}

.box-face.back {
  transform: rotateY(180deg) translateZ(100px);
}

.box-face.right {
  transform: rotateY(90deg) translateZ(100px);
}

.box-face.left {
  transform: rotateY(-90deg) translateZ(100px);
}

.box-face.top {
  transform: rotateX(90deg) translateZ(100px);
}

.box-face.bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

.hero-floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  padding: 12px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-secondary);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.floating-card .fc-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #02154f;
}

.floating-card:nth-child(1) {
  top: 10%;
  right: 0;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  bottom: 25%;
  left: 0;
  animation-delay: 1s;
}

.floating-card:nth-child(3) {
  top: 40%;
  right: -30px;
  animation-delay: 2s;
}

/* ── Tool Widget (Homepage) ── */
.tool-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tool-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.tool-widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.tool-widget-header .tw-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.tool-widget-header h3 {
  font-size: 1.2rem;
}

.tool-widget-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.tool-result {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: none;
}

.tool-result.active {
  display: block;
  animation: slideUp 0.4s var(--ease);
}

.tool-result h4 {
  font-size: 1rem;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.result-row:last-child {
  border-bottom: none;
}

.result-label {
  color: var(--text-secondary);
}

.result-value {
  font-weight: 600;
  color: var(--text-primary);
}

.result-highlight {
  color: var(--primary-light);
  font-size: 1.2rem;
  font-weight: 700;
}

/* ── Categories Grid ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.category-card {
  cursor: pointer;
  text-align: center;
  padding: 32px 20px;
}

.category-card .cat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: transform 0.3s var(--ease-spring);
}

.category-card:hover .cat-icon {
  transform: scale(1.15);
}

.category-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ── Tools Section ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.tool-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.tool-card .tool-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(245, 158, 11, 0.06);
  font-family: var(--font-heading);
}

.tool-card .tool-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.tool-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.tool-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ── Testimonials ── */
#homeTestimonials {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
}

.testimonials-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0 20px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 360px;
  flex: 0 0 calc(33.333% - 16px); /* 3 cards on desktop */
  scroll-snap-align: start;
  padding: 28px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: none;
}

@media (max-width: 900px) {
  .testimonial-card {
    flex: 0 0 100%; /* 1 card on mobile */
    min-width: unset;
  }
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.testimonial-card .tc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-card .tc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonial-card .tc-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.testimonial-card .tc-role {
  font-size: 0.85rem;
  color: #64748B;
  margin-top: 2px;
}

.testimonial-card .tc-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card .tc-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

/* ── Articles ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.article-card:hover .ac-image {
  transform: scale(1.05); /* Zoom in image slightly */
}

.article-card .ac-image {
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: var(--bg-elevated);
  transition: transform 0.4s var(--ease);
}

.article-card .ac-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card .ac-category {
  display: inline-block;
  padding: 6px 14px;
  background: #FEF3C7; /* Soft yellow background */
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400E; /* Dark brown/orange text */
  margin-bottom: 14px;
  align-self: flex-start;
}

.article-card .ac-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card .ac-excerpt {
  font-size: 0.9rem;
  color: #64748B;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1; /* Pushes meta footer down */
}

.article-card .ac-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(59, 130, 246, 0.05));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-glow), transparent 60%);
  animation: rotate 20s linear infinite;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-section .cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ── */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-brand .fb-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Page Layout ── */
.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.page.active {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}

.page-header {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Catalog Page ── */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.filter-chip {
  padding: 8px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.product-card .pc-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.product-card .pc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #000;
}

.product-card .pc-body {
  padding: 20px;
}

.product-card .pc-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-card .pc-size {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-card .pc-material {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-card .pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card .pc-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #02154f;
}

.product-card .pc-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ── Product Detail ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
}

.pd-image {
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}

.pd-info h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.pd-info .pd-sku {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pd-info .pd-price {
  font-size: 2rem;
  font-weight: 800;
  color: #02154f;
  margin-bottom: 24px;
}

.pd-specs {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.pd-specs .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.pd-specs .spec-row:last-child {
  border-bottom: none;
}

.pd-specs .spec-label {
  color: var(--text-secondary);
}

.pd-specs .spec-value {
  font-weight: 600;
}

.pd-quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-control button {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-control button:hover {
  background: var(--primary-subtle);
}

.qty-control input {
  width: 60px;
  height: 40px;
  border: none;
  background: var(--bg-input);
  color: var(--text-primary);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ── Dashboard ── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 32px 0;
  min-height: calc(100vh - var(--nav-height));
}

.dash-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.dash-user {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.dash-user .du-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  background: var(--primary-subtle);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.dash .pm-option .pmo-name {
     font-weight: 600;
     flex-grow: 1;
 }

/* ── MODERN MOTION & ANIMATIONS ── */

/* Smooth fade & slide up for staggered entrance */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Very subtle float for hero/decorative elements */
@keyframes floatSmooth {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.005);
  }
}

/* Image mask reveal effect */
@keyframes imageReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* ── Utilities for JS ── */
.reveal-stagger {
  opacity: 0;
}
.reveal-stagger.visible {
  animation: fadeSlideUp 0.6s var(--ease) forwards;
}

.float-slow {
  animation: floatSmooth 6s ease-in-out infinite;
}

.image-reveal-wrapper {
  overflow: hidden;
  position: relative;
}
.image-reveal-wrapper img {
  opacity: 0;
  transition: opacity 0.1s;
}
.image-reveal-wrapper.visible img {
  opacity: 1;
  animation: imageReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* ── Micro-interactions Overrides ── */

/* Product Cards */
.card, .product-card, .article-card {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.card:hover, .product-card:hover, .article-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04) !important;
  border-color: var(--primary-light) !important;
}
.card img, .product-card img {
  transition: transform 0.5s var(--ease);
}
.card:hover img, .product-card:hover img {
  transform: scale(1.03) rotate(0.5deg);
}

/* Buttons */
.btn {
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.btn:active {
  transform: scale(0.96) !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--primary-glow);
}
.btn:hover i {
  transform: translateX(2px);
  transition: transform 0.3s var(--ease);
}

/* Navbar */
.nav {
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  padding-top: 0; /* slight shrink effect if initial had padding */
}

/* Parallax helper */
.parallax-element {
  transition: transform 0.1s linear;
}

/* ── Reduced Motion Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.dash-user .du-name {
  font-weight: 600;
  font-size: 1rem;
}

.dash-user .du-email {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  transition: all 0.2s;
}

.dash-nav a:hover,
.dash-nav a.active {
  background: var(--primary-subtle);
  color: var(--primary-light);
}

.dash-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.dash-content h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

/* ── Order Table ── */
.order-table {
  width: 100%;
  border-collapse: collapse;
}

.order-table th,
.order-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}

.order-table th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.order-status {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.order-status.processing {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-light);
}

.order-status.shipped {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-light);
}

.order-status.delivered {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

/* ── Checkout ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  padding: 32px 0;
}

.checkout-form h3,
.checkout-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item .ci-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cart-item .ci-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item .ci-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item .ci-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #02154f;
  margin-left: auto;
  align-self: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 0;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 700;
}

.summary-total .st-amount {
  color: #02154f;
}

/* ── Auth Page ── */
.auth-container {
  max-width: 440px;
  margin: 60px auto;
  padding: 0 24px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
}

.auth-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.auth-tabs {
  display: flex;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.auth-tab.active {
  background: var(--primary);
  color: #000;
}

/* ── Admin Panel ── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.admin-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
}

.admin-sidebar h3 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding: 0 8px;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  transition: all 0.2s;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: var(--primary-subtle);
  color: var(--primary-light);
}

.admin-content {
  padding: 32px;
}

.admin-content h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.admin-stat-card .as-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.admin-stat-card .as-value {
  font-size: 1.6rem;
  font-weight: 700;
}

.admin-stat-card .as-change {
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 4px;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s var(--ease);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.2rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--error);
}

/* ── Cart Sidebar ── */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 10001;
  transition: right 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-sidebar-footer .csf-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.cart-sidebar-footer .csf-total span:last-child {
  color: var(--primary-light);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
}

.cart-overlay.open {
  display: block;
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state .es-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Toast Notification ── */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 16px);
  right: 24px;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  backdrop-filter: blur(10px);
  animation: slideInRight 0.3s var(--ease);
  box-shadow: var(--shadow);
}

.toast.success {
  border-left: 3px solid var(--success);
}

.toast.error {
  border-left: 3px solid var(--error);
}

.toast.info {
  border-left: 3px solid var(--info);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 16px 0;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

.breadcrumb .bc-sep {
  color: var(--text-muted);
}

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-elevated);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 10px 20px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--primary);
  color: #000;
}

/* ── Keyframes ── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes rotateCube {
  from {
    transform: translate(-50%, -50%) rotateX(-20deg) rotateY(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotateX(-20deg) rotateY(360deg);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: var(--primary-subtle);
  color: var(--primary-light);
  border: 1px solid var(--glass-border);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

/* ── Packaging Profile Card ── */
.profile-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.profile-card .pc-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.profile-card .pc-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.profile-card .pc-actions {
  display: flex;
  gap: 8px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bg-card-hover);
}

/* ── Article Detail ── */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.article-detail h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.article-detail .ad-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.article-detail .ad-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 16px;
  color: var(--primary-light);
}

.article-detail .ad-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
}

.article-detail .ad-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.article-detail .ad-content ul,
.article-detail .ad-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-detail .ad-content li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  list-style: disc;
  line-height: 1.6;
}

.article-detail .ad-content ol li {
  list-style: decimal;
}

.article-detail .ad-content strong {
  color: var(--text-primary);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-desc {
    margin: 0 auto 32px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .dash-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    margin-bottom: 16px;
  }
  
  .dash-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .dash-nav a {
    flex: 1 1 auto;
    text-align: center;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .dash-nav a.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary);
  }

  .admin-layout {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
  }

  .admin-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .admin-sidebar h3 {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .admin-sidebar a {
    flex: 1 1 auto;
    text-align: center;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
  }

  .admin-sidebar a.active {
    background: var(--primary);
    color: #000;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    animation: slideUp 0.3s var(--ease);
  }

  .nav-links.mobile-open a {
    padding: 12px 16px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .testimonial-card {
    min-width: 300px;
  }

  .hero-stats {
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 40px 24px;
  }

  .catalog-filters {
    flex-direction: column;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  .pd-image {
    font-size: 5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Invoice Modal Styles ── */
.invoice-modal {
  max-width: 600px;
}

.invoice-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.invoice-header h2 {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.invoice-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.invoice-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.invoice-details div span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.invoice-details div strong {
  display: block;
  color: var(--text-primary);
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.invoice-table th, .invoice-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.invoice-table th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.invoice-table .amount {
  text-align: right;
}

.invoice-summary {
  margin-left: auto;
  width: 250px;
}

.invoice-summary .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
}

.invoice-summary .summary-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 0;
  margin-top: 12px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.1rem;
}

.invoice-payment-info {
  margin-top: 32px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.invoice-payment-info h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--primary-light);
}

.invoice-payment-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   BOX GENERATOR 3D — Page Styles
   ============================================================ */

/* ── Layout ── */
.generator-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Controls Panel ── */
.generator-controls {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.generator-controls h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.slide-group {
  margin-bottom: 16px;
}

.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.slide-header label {
  margin-bottom: 0 !important;
}

.slide-header span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* ── Custom Range Slider ── */
.form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  cursor: grab;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease);
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
}

.form-range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.form-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  cursor: grab;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease);
}

.form-range::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.form-range::-moz-range-track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  border: none;
}

/* ── Preview Panel ── */
.generator-preview {
  border-radius: var(--radius-xl) !important;
  position: relative;
}

.preview-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
}

.preview-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ── 3D Scene ── */
.scene3d {
  width: 300px;
  height: 300px;
  perspective: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
}

.cube3d {
  --bx-l: 60px;
  --bx-w: 45px;
  --bx-h: 30px;
  --flap-angle: -20deg;

  width: var(--bx-l);
  height: var(--bx-h);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-25deg) rotateY(-35deg);
  animation: gentleRotate 20s ease-in-out infinite;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}

@keyframes gentleRotate {
  0%   { transform: rotateX(-25deg) rotateY(-35deg); }
  25%  { transform: rotateX(-20deg) rotateY(-15deg); }
  50%  { transform: rotateX(-25deg) rotateY(5deg);   }
  75%  { transform: rotateX(-30deg) rotateY(-15deg);  }
  100% { transform: rotateX(-25deg) rotateY(-35deg); }
}

/* ── Cube Faces ── */
.cube3d .face {
  position: absolute;
  border: 1.5px solid rgba(180, 130, 60, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(180, 130, 60, 0.7);
  letter-spacing: 1px;
  backface-visibility: visible;
}

/* Cardboard-like gradient for each face */
.cube3d .face.front {
  width: var(--bx-l);
  height: var(--bx-h);
  background: linear-gradient(145deg, #d4a853, #c99a45, #b8893a);
  transform: translateZ(calc(var(--bx-w) / 2));
}

.cube3d .face.back {
  width: var(--bx-l);
  height: var(--bx-h);
  background: linear-gradient(145deg, #c49640, #b88838);
  transform: rotateY(180deg) translateZ(calc(var(--bx-w) / 2));
}

.cube3d .face.right {
  width: var(--bx-w);
  height: var(--bx-h);
  background: linear-gradient(145deg, #bf9040, #a87d35);
  transform: rotateY(90deg) translateZ(calc(var(--bx-l) / 2));
}

.cube3d .face.left {
  width: var(--bx-w);
  height: var(--bx-h);
  background: linear-gradient(145deg, #c9983f, #b28838);
  transform: rotateY(-90deg) translateZ(calc(var(--bx-l) / 2));
}

.cube3d .face.top {
  width: var(--bx-l);
  height: var(--bx-w);
  background: linear-gradient(145deg, #ddb864, #d0a850);
  transform: rotateX(90deg) translateZ(calc(var(--bx-h) / 2));
  position: relative;
}

.cube3d .face.bottom {
  width: var(--bx-l);
  height: var(--bx-w);
  background: linear-gradient(145deg, #b8893a, #a67d30);
  transform: rotateX(-90deg) translateZ(calc(var(--bx-h) / 2));
}

/* ── Flap Panels ── */
.cube3d .flap {
  position: absolute;
  background: linear-gradient(145deg, #ddb864, #c9a04a);
  border: 1.5px solid rgba(180, 130, 60, 0.5);
  transform-origin: top center;
  backface-visibility: visible;
}

/* Flaps on the TOP face — two main flaps (front & back) and two side flaps */
.cube3d .flap.flap-top {
  width: var(--bx-l);
  height: calc(var(--bx-w) / 2);
  top: 0;
  left: 0;
  transform-origin: top center;
  transform: rotateX(var(--flap-angle));
  background: linear-gradient(to bottom, #e0bf6e, #d4a854);
}

.cube3d .flap.flap-bottom {
  width: var(--bx-l);
  height: calc(var(--bx-w) / 2);
  bottom: 0;
  left: 0;
  transform-origin: bottom center;
  transform: rotateX(calc(var(--flap-angle) * -1));
  background: linear-gradient(to top, #d4a854, #c99848);
}

.cube3d .flap.flap-left {
  width: calc(var(--bx-w) / 2);
  height: var(--bx-w);
  top: 0;
  left: 0;
  transform-origin: left center;
  transform: rotateY(calc(var(--flap-angle) * -1));
  background: linear-gradient(to right, #d8b05c, #cda252);
}

.cube3d .flap.flap-right {
  width: calc(var(--bx-w) / 2);
  height: var(--bx-w);
  top: 0;
  right: 0;
  transform-origin: right center;
  transform: rotateY(var(--flap-angle));
  background: linear-gradient(to left, #d8b05c, #cda252);
}

/* Subtle inner shadow on faces for realism */
.cube3d .face::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%, rgba(0,0,0,0.06) 100%);
  pointer-events: none;
}

/* ── Preview Info text ── */
.preview-info .text-muted {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Utility ── */
.mt-4 {
  margin-top: 16px;
}

.text-muted {
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .generator-layout {
    grid-template-columns: 1fr;
  }

  .generator-controls {
    position: static;
  }

  .generator-preview {
    min-height: 400px !important;
  }

  .scene3d {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 480px) {
  .generator-preview {
    min-height: 340px !important;
  }

  .scene3d {
    width: 200px;
    height: 200px;
    transform: scale(1.2) !important;
  }
}

/* Print Styles */
@media print {
  body * {
    visibility: hidden;
  }
  
  #invoiceModal, #invoiceModal * {
    visibility: visible;
  }
  
  #invoiceModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: white;
    color: black;
    box-shadow: none;
    border: none;
  }
  
  #invoiceModal {
    --bg-card: white;
    --bg-elevated: #f8f9fa;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --primary-light: #d97706; /* Darker for print */
    --border: #e5e7eb;
    --border-light: #f3f4f6;
  }

  .modal-close, .modal-footer {
    display: none !important;
  }
}
 
 / *    % %  P a y m e n t   M o d a l    % %  * / 
 . p a y m e n t - d i s p l a y   { 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     g a p :   1 6 p x ; 
     p a d d i n g :   1 6 p x ; 
     b a c k g r o u n d :   v a r ( - - b g - p r i m a r y ) ; 
     b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s ) ; 
     c u r s o r :   p o i n t e r ; 
     t r a n s i t i o n :   a l l   0 . 3 s   v a r ( - - e a s e ) ; 
 } 
 . p a y m e n t - d i s p l a y : h o v e r   { 
     b o r d e r - c o l o r :   v a r ( - - p r i m a r y ) ; 
     b a c k g r o u n d :   v a r ( - - b g - h o v e r ) ; 
 } 
 . p a y m e n t - d i s p l a y   . p d - i c o n   { 
     f o n t - s i z e :   1 . 8 r e m ; 
 } 
 . p a y m e n t - d i s p l a y   . p d - t e x t   { 
     f l e x - g r o w :   1 ; 
     d i s p l a y :   f l e x ; 
     f l e x - d i r e c t i o n :   c o l u m n ; 
 } 
 . p a y m e n t - d i s p l a y   . p d - t e x t   s t r o n g   { 
     f o n t - s i z e :   1 . 0 5 r e m ; 
     c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 } 
 . p a y m e n t - d i s p l a y   . p d - t e x t   s p a n   { 
     f o n t - s i z e :   0 . 8 5 r e m ; 
     c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 } 
 . p a y m e n t - d i s p l a y   . p d - c h e v r o n   { 
     f o n t - s i z e :   1 . 5 r e m ; 
     c o l o r :   v a r ( - - t e x t - m u t e d ) ; 
 } 
 
 . m o d a l - o v e r l a y   { 
     p o s i t i o n :   f i x e d ; 
     t o p :   0 ;   l e f t :   0 ;   r i g h t :   0 ;   b o t t o m :   0 ; 
     b a c k g r o u n d :   r g b a ( 0 , 0 , 0 , 0 . 6 ) ; 
     z - i n d e x :   9 9 9 8 ; 
     o p a c i t y :   0 ; 
     p o i n t e r - e v e n t s :   n o n e ; 
     t r a n s i t i o n :   o p a c i t y   0 . 3 s   v a r ( - - e a s e ) ; 
     b a c k d r o p - f i l t e r :   b l u r ( 4 p x ) ; 
 } 
 . m o d a l - o v e r l a y . a c t i v e   { 
     o p a c i t y :   1 ; 
     p o i n t e r - e v e n t s :   a u t o ; 
 } 
 
 . p a y m e n t - m o d a l   { 
     p o s i t i o n :   f i x e d ; 
     b o t t o m :   0 ; 
     l e f t :   0 ; 
     r i g h t :   0 ; 
     b a c k g r o u n d :   v a r ( - - b g - c a r d ) ; 
     b o r d e r - r a d i u s :   2 0 p x   2 0 p x   0   0 ; 
     z - i n d e x :   9 9 9 9 ; 
     t r a n s f o r m :   t r a n s l a t e Y ( 1 0 0 % ) ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 4 s   c u b i c - b e z i e r ( 0 . 1 6 ,   1 ,   0 . 3 ,   1 ) ; 
     m a x - h e i g h t :   8 5 v h ; 
     d i s p l a y :   f l e x ; 
     f l e x - d i r e c t i o n :   c o l u m n ; 
 } 
 @ m e d i a ( m i n - w i d t h :   6 0 0 p x )   { 
     . p a y m e n t - m o d a l   { 
         b o t t o m :   a u t o ; 
         t o p :   5 0 % ; 
         l e f t :   5 0 % ; 
         r i g h t :   a u t o ; 
         w i d t h :   4 5 0 p x ; 
         b o r d e r - r a d i u s :   v a r ( - - r a d i u s - l g ) ; 
         t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   5 0 % ) ; 
         o p a c i t y :   0 ; 
     } 
 } 
 . p a y m e n t - m o d a l . a c t i v e   { 
     t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
 } 
 @ m e d i a ( m i n - w i d t h :   6 0 0 p x )   { 
     . p a y m e n t - m o d a l . a c t i v e   { 
         t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % ) ; 
         o p a c i t y :   1 ; 
     } 
 } 
 
 . p m - h e a d e r   { 
     p a d d i n g :   2 0 p x   2 4 p x ; 
     b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r ) ; 
     d i s p l a y :   f l e x ; 
     j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
     a l i g n - i t e m s :   c e n t e r ; 
 } 
 . p m - h e a d e r   h 3   {   m a r g i n :   0 ;   f o n t - s i z e :   1 . 2 r e m ;   } 
 . p m - c l o s e   { 
     b a c k g r o u n d :   n o n e ;   b o r d e r :   n o n e ;   f o n t - s i z e :   1 . 2 r e m ;   c o l o r :   v a r ( - - t e x t - m u t e d ) ;   c u r s o r :   p o i n t e r ; 
     w i d t h :   3 2 p x ;   h e i g h t :   3 2 p x ;   d i s p l a y :   f l e x ;   a l i g n - i t e m s :   c e n t e r ;   j u s t i f y - c o n t e n t :   c e n t e r ; 
     b o r d e r - r a d i u s :   5 0 % ;   t r a n s i t i o n :   b a c k g r o u n d   0 . 3 s ; 
 } 
 . p m - c l o s e : h o v e r   {   b a c k g r o u n d :   v a r ( - - b g - h o v e r ) ;   c o l o r :   v a r ( - - t e x t - p r i m a r y ) ;   } 
 
 . p m - b o d y   { 
     p a d d i n g :   0   2 4 p x   2 4 p x ; 
     o v e r f l o w - y :   a u t o ; 
 } 
 . p m - g r o u p   { 
     m a r g i n - t o p :   2 4 p x ; 
 } 
 . p m - g r o u p   h 4   { 
     f o n t - s i z e :   0 . 8 5 r e m ; 
     c o l o r :   v a r ( - - t e x t - m u t e d ) ; 
     t e x t - t r a n s f o r m :   u p p e r c a s e ; 
     l e t t e r - s p a c i n g :   0 . 5 p x ; 
     m a r g i n - b o t t o m :   1 2 p x ; 
 } 
 . p m - o p t i o n   { 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     g a p :   1 6 p x ; 
     p a d d i n g :   1 6 p x ; 
     b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s ) ; 
     m a r g i n - b o t t o m :   8 p x ; 
     c u r s o r :   p o i n t e r ; 
     t r a n s i t i o n :   a l l   0 . 2 s ; 
 } 
 . p m - o p t i o n : h o v e r   { 
     b a c k g r o u n d :   v a r ( - - b g - h o v e r ) ; 
 } 
 . p m - o p t i o n . a c t i v e   { 
     b o r d e r - c o l o r :   v a r ( - - p r i m a r y ) ; 
     b a c k g r o u n d :   r g b a ( 2 4 5 ,   1 5 8 ,   1 1 ,   0 . 0 5 ) ;   / *   v e r y   s o f t   p r i m a r y   b a s e d   o n   b r a n d   * / 
     b o x - s h a d o w :   0   0   0   1 p x   v a r ( - - p r i m a r y ) ; 
 } 
 . p m - o p t i o n   . p m o - i c o n   { 
     f o n t - s i z e :   1 . 5 r e m ; 
     w i d t h :   4 0 p x ; 
     h e i g h t :   4 0 p x ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     b a c k g r o u n d :   v a r ( - - b g - p r i m a r y ) ; 
     b o r d e r - r a d i u s :   8 p x ; 
     b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ; 
 } 
 . p m - o p t i o n   . p m o - n a m e   { 
     f o n t - w e i g h t :   6 0 0 ; 
     f l e x - g r o w :   1 ; 
 } 
  
 