/* ============================================================
   TechieWise — Master Stylesheet
   Light, premium, corporate tech supplier
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================
   1. Custom Properties
   ========================================================== */
:root {
  --white: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-accent: #f0fdfa;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --text-heading: #0f172a;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-muted: #cbd5e1;

  --accent: #0891b2;
  --accent-light: #06b6d4;
  --accent-dark: #0e7490;
  --accent-bg: #ecfeff;

  --cta: #f59e0b;
  --cta-hover: #d97706;
  --cta-light: #fef3c7;

  --success: #059669;
  --success-bg: #ecfdf5;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --info: #2563eb;
  --info-bg: #eff6ff;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 8px 10px rgba(0,0,0,0.04);

  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', ui-monospace, monospace;

  --max-width: 80rem;

  --admin-bg: #f8fafc;
  --admin-sidebar: #0f172a;
  --admin-card: #ffffff;
  --admin-border: #e2e8f0;
  --admin-text: #0f172a;
  --admin-text-secondary: #475569;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
input, textarea, select { font: inherit; }
hr { border: none; border-top: 1px solid var(--border); }

/* ==========================================================
   3. Selection
   ========================================================== */
::selection { background: rgba(8,145,178,0.15); color: var(--text-heading); }

/* ==========================================================
   4. Scrollbar
   ========================================================== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }
* { scrollbar-width: thin; scrollbar-color: var(--text-muted) var(--bg-secondary); }

/* ==========================================================
   5. Typography
   ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}
h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
}

p { color: var(--text-primary); line-height: 1.7; }
p + p { margin-top: 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 40rem;
}

.section-subtitle.centered {
  margin-inline: auto;
}

/* Text sizes */
.text-xs  { font-size: 0.75rem;  line-height: 1rem; }
.text-sm  { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg  { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl  { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.line-through { text-decoration: line-through; }

/* ==========================================================
   6. Layout / Container
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2rem; } }

.section {
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}
@media (min-width: 1024px) {
  .section { padding-block: 6rem; }
}

.section-white { background-color: var(--bg-primary); }
.section-gray  { background-color: var(--bg-secondary); }
.section-accent { background-color: var(--bg-accent); }
.section-dark {
  background-color: var(--text-heading);
  color: var(--white);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark .section-title { color: var(--white); }
.section-dark p,
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section-dark .section-label { color: var(--accent-light); }

/* ==========================================================
   7. Flex / Grid Utilities
   ========================================================== */
.grid { display: grid; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.self-center { align-self: center; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }

.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-full { grid-column: 1 / -1; }

/* ==========================================================
   8. Positioning & Sizing
   ========================================================== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* ==========================================================
   9. Spacing Utilities
   ========================================================== */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-2 { padding-inline: 0.5rem; }
.px-3 { padding-inline: 0.75rem; }
.px-4 { padding-inline: 1rem; }
.px-5 { padding-inline: 1.25rem; }
.px-6 { padding-inline: 1.5rem; }
.px-8 { padding-inline: 2rem; }

.py-1 { padding-block: 0.25rem; }
.py-2 { padding-block: 0.5rem; }
.py-3 { padding-block: 0.75rem; }
.py-4 { padding-block: 1rem; }
.py-6 { padding-block: 1.5rem; }
.py-8 { padding-block: 2rem; }
.py-10 { padding-block: 2.5rem; }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-inline: auto; }
.my-auto { margin-block: auto; }

/* ==========================================================
   10. Text Alignment & Display
   ========================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-nowrap { white-space: nowrap; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

/* ==========================================================
   11. Color Utilities
   ========================================================== */
.text-heading { color: var(--text-heading); }
.text-primary-color { color: var(--text-primary); }
.text-secondary-color { color: var(--text-secondary); }
.text-tertiary-color { color: var(--text-tertiary); }
.text-muted-color { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-accent-light { color: var(--accent-light); }
.text-accent-dark { color: var(--accent-dark); }
.text-cta { color: var(--cta); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-white { color: var(--white); }

.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-tertiary { background-color: var(--bg-tertiary); }
.bg-accent-subtle { background-color: var(--accent-bg); }

/* ==========================================================
   12. Border & Radius Utilities
   ========================================================== */
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-l { border-left: 1px solid var(--border); }
.border-r { border-right: 1px solid var(--border); }
.border-light { border-color: var(--border-light); }
.border-accent { border-color: var(--accent); }

.rounded { border-radius: var(--radius); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-none { box-shadow: none; }

/* ==========================================================
   13. Transition Utilities
   ========================================================== */
.transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-shadow { transition: box-shadow 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }
.duration-300 { transition-duration: 0.3s; }

/* ==========================================================
   14. Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
  border-color: var(--cta);
}
.btn-primary:hover:not(:disabled) {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
  color: var(--text-heading);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover:not(:disabled) {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(8,145,178,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover:not(:disabled) {
  background: var(--accent);
  color: var(--white);
}

.btn-outline-secondary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-outline-secondary:hover:not(:disabled) {
  background: var(--bg-secondary);
  color: var(--text-heading);
  border-color: var(--text-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover:not(:disabled) {
  background: var(--bg-secondary);
  color: var(--text-heading);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}
.btn-danger:hover:not(:disabled) {
  background: #b91c1c;
  border-color: #b91c1c;
  color: var(--white);
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  border-radius: var(--radius);
}
.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}
.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-xl);
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-icon {
  padding: 0.625rem;
  width: 2.5rem;
  height: 2.5rem;
}
.btn-icon.btn-sm {
  padding: 0.375rem;
  width: 2rem;
  height: 2rem;
}
.btn-icon.btn-lg {
  padding: 0.75rem;
  width: 3rem;
  height: 3rem;
}

/* ==========================================================
   15. Form Elements
   ========================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
}
.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--text-muted);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}
.form-textarea {
  min-height: 6rem;
  resize: vertical;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-error {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--danger);
}

.form-hint {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.form-input-group {
  position: relative;
  display: flex;
}
.form-input-group .form-input {
  flex: 1;
}
.form-input-group .form-input-addon {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
}
.form-input-group .form-input-addon:first-child {
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.form-input-group .form-input-addon:last-child {
  border-left: none;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.form-input-group .form-input:first-child:not(:last-child) {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.form-input-group .form-input:last-child:not(:first-child) {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.form-checkbox,
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  cursor: pointer;
}
.form-checkbox input,
.form-radio input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ==========================================================
   16. Cards
   ========================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--text-muted);
}

.card-padded {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-padded:hover {
  box-shadow: var(--shadow-md);
}

.card-body { padding: 1.25rem; }
.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

/* ==========================================================
   17. Header — Premium Enterprise
   ========================================================== */

/* Top bar */
.top-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
}
.top-bar__left,
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.top-bar__right {
  display: none;
}
@media (min-width: 640px) {
  .top-bar__right { display: flex; }
}
.top-bar a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--accent); }
.top-bar__sep {
  width: 1px;
  height: 0.875rem;
  background: var(--border);
}

/* Promo bar (optional accent strip) */
.promo-bar {
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
}
.promo-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-block: 0.5rem;
  text-align: center;
}
.promo-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Main navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}

.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 2.25rem; width: auto; }

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--text-heading);
  background: var(--bg-secondary);
}
.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Nav dropdown */
.shop-dropdown-wrap { position: relative; }
.nav-dropdown,
.shop-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 14rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: 60;
}
.shop-dropdown-wrap:hover .nav-dropdown,
.shop-dropdown-wrap:hover .shop-dropdown,
.shop-dropdown-wrap.open .nav-dropdown,
.shop-dropdown-wrap.open .shop-dropdown { display: block; }

.shop-dropdown__item,
.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
  text-decoration: none;
}
.shop-dropdown__item:hover,
.nav-dropdown__item:hover {
  color: var(--text-heading);
  background: var(--bg-secondary);
}

.shop-dropdown__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.shop-dropdown__icon--all {
  background: var(--cta-light);
  color: var(--cta-hover);
}
.shop-dropdown__icon--cat {
  background: var(--accent-bg);
  color: var(--accent);
}
.shop-dropdown__sep {
  margin: 0.25rem 0;
  border-top: 1px solid var(--border-light);
}

/* Nav search */
.nav-search {
  display: none;
  flex: 1;
  max-width: 28rem;
  margin-inline: 1rem;
}
@media (min-width: 768px) { .nav-search { display: flex; } }

.nav-search__wrap { position: relative; width: 100%; }
.nav-search__input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.nav-search__input::placeholder { color: var(--text-tertiary); }
.nav-search__input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}
.nav-search__icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Cart button */
.nav-cart,
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius-lg);
  transition: background-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.nav-cart:hover,
.cart-btn:hover {
  background: var(--accent-dark);
  color: var(--white);
}
.nav-cart__label { display: none; }
@media (min-width: 640px) { .nav-cart__label { display: inline; } }

.nav-cart__badge,
.cart-btn__badge {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--white);
  background: var(--cta);
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  padding: 0.5rem;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
}
.nav-hamburger:hover {
  color: var(--text-heading);
  background: var(--bg-secondary);
}
@media (min-width: 1024px) { .nav-hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

.mobile-menu__search { margin-bottom: 0.75rem; }
.mobile-menu__search input {
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  outline: none;
}
.mobile-menu__search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}

.mobile-menu__link {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
  text-decoration: none;
}
.mobile-menu__link:hover {
  color: var(--text-heading);
  background: var(--bg-secondary);
}
.mobile-menu__link--sub {
  padding-left: 1.5rem;
  color: var(--text-tertiary);
  font-weight: 400;
}
.mobile-menu__link.active {
  color: var(--accent);
  background: var(--accent-bg);
}

/* ==========================================================
   18. Footer
   ========================================================== */
.site-footer {
  background: var(--text-heading);
  color: rgba(255,255,255,0.8);
}
.site-footer .container {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer-brand img {
  height: 2.25rem;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4ade80;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-lg);
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}
.footer-whatsapp:hover {
  background: rgba(34,197,94,0.2);
  color: #86efac;
}

.footer-heading {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-link,
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-link:hover,
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-top: 0.125rem;
  border-radius: var(--radius);
  background: rgba(8,145,178,0.15);
  color: var(--accent-light);
}
.footer-contact-icon svg { width: 0.875rem; height: 0.875rem; }
.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ==========================================================
   19. Hero Section
   ========================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--white) 50%, var(--accent-bg) 100%);
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-block: 3rem;
}
@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    padding-block: 4rem;
  }
}
@media (min-width: 1024px) {
  .hero .container { padding-block: 5rem; }
}

.hero__content {
  flex: 1;
}
.hero__content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .hero__content h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero__content h1 { font-size: 3.5rem; }
}
.hero__content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.hero__badge svg,
.hero__badge i {
  color: var(--accent);
  flex-shrink: 0;
}

.hero__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
}
.hero__visual img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

/* ==========================================================
   20. Product Card — Premium Redesign
   ========================================================== */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
  border-color: var(--text-muted);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-card__badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 0.35rem;
  pointer-events: none;
}

.product-card__badges .badge {
  pointer-events: auto;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  justify-content: center;
}

.product-card__image,
.product-card__image-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tertiary);
}
.product-card__image-inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image-inner {
  transform: scale(1.03);
}
.product-card__image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image-placeholder {
  text-align: center;
  padding: 1.5rem;
}
.product-card__image-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-xl);
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 1.25rem;
}
.product-card__image-cat {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
}

.product-card__title,
.product-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
  text-decoration: none;
}
.product-card__title:hover,
.product-card__name:hover,
.product-card:hover .product-card__title,
.product-card:hover .product-card__name {
  color: var(--accent);
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.625rem;
}
.product-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.product-card__grade {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}
.product-card__grade--a {
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgba(5,150,105,0.2);
}
.product-card__grade--b {
  color: var(--warning);
  background: var(--warning-bg);
  border: 1px solid rgba(217,119,6,0.2);
}
.product-card__grade--new {
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(8,145,178,0.2);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
}
.product-card__stars { display: flex; gap: 1px; }
.product-card__star {
  width: 0.875rem;
  height: 0.875rem;
}
.product-card__star--filled { color: var(--cta); }
.product-card__star--empty  { color: var(--text-muted); }
.product-card__review-count {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}
.product-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
}
.product-card__original-price {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
}
.product-card__savings {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  border-radius: var(--radius-full);
}

.product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.625rem;
}
.product-card__warranty,
.product-card__delivery {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}
.product-card__warranty svg,
.product-card__delivery svg,
.product-card__warranty i,
.product-card__delivery i {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  color: var(--accent);
}

.product-card__cta,
.product-card__add-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--cta);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.product-card__cta:hover,
.product-card__add-btn:hover {
  background: var(--cta-hover);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(245,158,11,0.25);
}

.product-card__out-of-stock {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: not-allowed;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

/* ==========================================================
   21. Product Grid
   ========================================================== */
.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================
   22. Badges
   ========================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 0.01em;
}

.badge-new {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(5,150,105,0.2);
}
.badge-refurbished {
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid rgba(8,145,178,0.2);
}
.badge-refurbished-alt {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid rgba(124,58,237,0.2);
}

.badge-grade-a {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(5,150,105,0.25);
}
.badge-grade-b {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(217,119,6,0.25);
}

.badge-discount {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(220,38,38,0.15);
  font-weight: 700;
}
.badge-deal {
  background: linear-gradient(135deg, var(--cta), #ef4444);
  color: var(--white);
}

.badge-stock,
.badge-in-stock {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(5,150,105,0.2);
}
.badge-low-stock {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(217,119,6,0.2);
}
.badge-out-of-stock {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(220,38,38,0.15);
}

.badge-featured {
  background: var(--cta-light);
  color: var(--cta-hover);
  border: 1px solid rgba(245,158,11,0.2);
  font-weight: 700;
}

/* ==========================================================
   23. Rating Stars (generic)
   ========================================================== */
.stars { display: inline-flex; gap: 1px; }
.star-icon { width: 1rem; height: 1rem; }
.star-icon--filled { color: var(--cta); }
.star-icon--half   { color: var(--cta); }
.star-icon--empty  { color: var(--text-muted); }

/* ==========================================================
   24. Trust Strip
   ========================================================== */
.trust-strip,
.trust-bar {
  background: var(--bg-accent);
  border-top: 1px solid rgba(8,145,178,0.08);
  border-bottom: 1px solid rgba(8,145,178,0.08);
  padding: 2rem 0;
}
.trust-strip .container,
.trust-bar .container {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .trust-strip .container,
  .trust-bar .container { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
}
.trust-item--row {
  flex-direction: row;
  text-align: left;
  gap: 0.75rem;
}
.trust-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--accent-bg);
  color: var(--accent);
  flex-shrink: 0;
}
.trust-item__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
}
.trust-item__desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================
   25. Brand Strip
   ========================================================== */
.brand-strip {
  background: var(--bg-secondary);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.brand-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
@media (min-width: 768px) {
  .brand-strip .container {
    justify-content: space-between;
    gap: 2.5rem;
  }
}
.brand-strip__logo {
  height: 1.75rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.brand-strip__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================
   26. Use Case Cards
   ========================================================== */
.use-case-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .use-case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .use-case-grid { grid-template-columns: repeat(3, 1fr); } }

.use-case-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.use-case-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.use-case-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: var(--accent-bg);
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.use-case-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.use-case-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.use-case-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}
.use-case-card:hover .use-case-card__arrow {
  gap: 0.625rem;
}

/* ==========================================================
   27. Testimonial Card
   ========================================================== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: box-shadow 0.3s ease, border-color 0.2s ease;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.12);
  border-color: #e2e8f0;
}
.testimonial-card__quote {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent-bg);
}
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}
.testimonial-card__star {
  width: 1.0625rem;
  height: 1.0625rem;
  flex-shrink: 0;
}
.testimonial-card__star--filled {
  fill: #d97706;
  stroke: #b45309;
  stroke-width: 0.5;
}
.testimonial-card__star--empty {
  fill: #e2e8f0;
  stroke: #cbd5e1;
  stroke-width: 0.5;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
}
.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ==========================================================
   28. Breadcrumbs
   ========================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}
.breadcrumbs a {
  color: var(--text-tertiary);
  transition: color 0.2s;
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__sep { color: var(--text-muted); }
.breadcrumbs__current { color: var(--text-heading); font-weight: 500; }

/* ==========================================================
   29. Tables
   ========================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.table {
  width: 100%;
  font-size: 0.875rem;
  text-align: left;
}
.table thead {
  background: var(--bg-secondary);
}
.table th {
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.table td {
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  border-top: 1px solid var(--border-light);
  vertical-align: middle;
}
.table tbody tr {
  transition: background-color 0.15s;
}
.table tbody tr:hover {
  background: var(--bg-secondary);
}
.table--striped tbody tr:nth-child(even) {
  background: var(--bg-secondary);
}
.table--striped tbody tr:nth-child(even):hover {
  background: var(--bg-tertiary);
}

/* ==========================================================
   30. Alerts
   ========================================================== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border-color: rgba(5,150,105,0.2);
}
.alert-error,
.alert-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: rgba(220,38,38,0.2);
}
.alert-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: rgba(217,119,6,0.2);
}
.alert-info {
  background: var(--info-bg);
  color: var(--info);
  border-color: rgba(37,99,235,0.2);
}

/* ==========================================================
   31. Pagination
   ========================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.5rem 0;
}
.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
}
.pagination__btn:hover {
  background: var(--bg-secondary);
  border-color: var(--border);
  color: var(--text-heading);
}
.pagination__btn--active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.pagination__btn--active:hover {
  background: var(--accent-dark);
}
.pagination__btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ==========================================================
   32. Order Summary Sidebar
   ========================================================== */
.order-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.order-summary__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.order-summary__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.order-summary__item-img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  flex-shrink: 0;
  overflow: hidden;
}
.order-summary__item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-summary__item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-heading);
  flex: 1;
}
.order-summary__item-qty { font-size: 0.75rem; color: var(--text-tertiary); }
.order-summary__item-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
}
.order-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}
.order-summary__row--label { color: var(--text-secondary); }
.order-summary__row--value { font-weight: 600; color: var(--text-heading); }
.order-summary__row--total {
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--text-heading);
  font-size: 1.125rem;
}
.order-summary__row--total .order-summary__row--value {
  color: var(--text-heading);
  font-weight: 700;
}
.order-summary__free-delivery {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgba(5,150,105,0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}

/* ==========================================================
   33. Empty State
   ========================================================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
}
.empty-state__icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.empty-state__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.empty-state__desc {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  max-width: 24rem;
  line-height: 1.6;
}

/* ==========================================================
   34. Animations
   ========================================================== */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 0.6s linear infinite; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fade-in 0.3s ease forwards; }

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fade-in-up 0.5s ease forwards; }

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(1rem); }
  to   { opacity: 1; transform: translateX(0); }
}
.slide-in-right { animation: slide-in-right 0.3s ease forwards; }

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.pulse-subtle { animation: pulse-subtle 2s ease-in-out infinite; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, var(--bg-tertiary), var(--bg-secondary), var(--bg-tertiary));
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.spinner--sm { width: 1rem; height: 1rem; border-width: 2px; }
.spinner--lg { width: 2.5rem; height: 2.5rem; border-width: 3px; }

/* ==========================================================
   35. Product Image Placeholder
   ========================================================== */
.product-image-placeholder {
  background: var(--bg-tertiary);
}

/* ==========================================================
   36. Admin Panel — Light Theme
   ========================================================== */
.admin-panel {
  background: var(--admin-bg);
  color: var(--admin-text);
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 16rem;
  height: 100vh;
  background: var(--admin-sidebar);
  color: var(--white);
  display: flex;
  flex-direction: column;
  z-index: 40;
  overflow-y: auto;
  transition: transform 0.3s ease;
}
@media (max-width: 1023px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
}
.admin-sidebar__logo {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar__logo img { height: 2rem; width: auto; }
.admin-sidebar__nav { flex: 1; padding: 1rem 0; }
.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  text-decoration: none;
}
.admin-sidebar__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.admin-sidebar__link--active {
  color: var(--white);
  background: rgba(8,145,178,0.2);
  border-right: 3px solid var(--accent);
}
.admin-sidebar__link svg,
.admin-sidebar__link i {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Admin main content */
.admin-main {
  margin-left: 16rem;
  min-height: 100vh;
}
@media (max-width: 1023px) { .admin-main { margin-left: 0; } }

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--admin-card);
  border-bottom: 1px solid var(--admin-border);
}
.admin-topbar__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--admin-text);
}

.admin-content { padding: 1.5rem; }

.admin-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.admin-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--admin-border);
}
.admin-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--admin-text);
}
.admin-card__body { padding: 1.5rem; }

/* Admin tables */
.admin-panel .table thead { background: var(--bg-tertiary); }
.admin-panel .table th { color: var(--text-secondary); }
.admin-panel .table td { color: var(--admin-text); border-top-color: var(--admin-border); }
.admin-panel .table tbody tr:hover { background: var(--bg-secondary); }

/* Admin forms */
.admin-panel .form-input,
.admin-panel .form-select,
.admin-panel .form-textarea {
  color: var(--admin-text);
  background: var(--white);
  border-color: var(--admin-border);
}
.admin-panel .form-input::placeholder,
.admin-panel .form-textarea::placeholder { color: var(--text-tertiary); }
.admin-panel .form-input:focus,
.admin-panel .form-select:focus,
.admin-panel .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}

/* Admin stats */
.admin-stat {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}
.admin-stat__label {
  font-size: 0.75rem;
  color: var(--admin-text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-stat__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--admin-text);
  margin-top: 0.25rem;
}
.admin-stat__change { font-size: 0.75rem; margin-top: 0.25rem; }
.admin-stat__change--up { color: var(--success); }
.admin-stat__change--down { color: var(--danger); }

.admin-sidebar-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--admin-text);
  border-radius: var(--radius);
}
@media (max-width: 1023px) { .admin-sidebar-toggle { display: flex; } }

/* ==========================================================
   37. Responsive Visibility Helpers
   ========================================================== */
.sm\:block  { display: none; }
.md\:block  { display: none; }
.lg\:block  { display: none; }
.sm\:hidden {}
.md\:hidden {}
.lg\:hidden {}

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:flex { display: flex; }
  .sm\:grid { display: grid; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
  .xl\:block { display: block; }
  .xl\:hidden { display: none; }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ==========================================================
   38. Aspect Ratio & Object Utilities
   ========================================================== */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }

/* ==========================================================
   39. Dividers
   ========================================================== */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-block: 1.5rem;
}
.divider--light {
  background: var(--border-light);
}
.divider--thick {
  height: 2px;
}

/* ==========================================================
   40. Tooltips (CSS-only)
   ========================================================== */
[data-tooltip] {
  position: relative;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white);
  background: var(--text-heading);
  border-radius: var(--radius);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 100;
}
[data-tooltip]:hover::after {
  opacity: 1;
}

/* ==========================================================
   41. Modal / Overlay
   ========================================================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.modal__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
}
.modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  color: var(--text-tertiary);
  transition: background-color 0.2s, color 0.2s;
}
.modal__close:hover {
  background: var(--bg-secondary);
  color: var(--text-heading);
}
.modal__body { padding: 1.5rem; }
.modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

/* ==========================================================
   42. Tabs
   ========================================================== */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
}
.tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab:hover {
  color: var(--text-heading);
}
.tab.active,
.tab--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.tab-content {
  padding-top: 1.5rem;
}

/* ==========================================================
   43. Dropdown Menu
   ========================================================== */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  min-width: 12rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.375rem;
  z-index: 50;
}
.dropdown.open .dropdown__menu,
.dropdown:focus-within .dropdown__menu { display: block; }
.dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: background-color 0.15s, color 0.15s;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  background: none;
  border: none;
}
.dropdown__item:hover {
  background: var(--bg-secondary);
  color: var(--text-heading);
}
.dropdown__item--danger:hover {
  background: var(--danger-bg);
  color: var(--danger);
}
.dropdown__divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.25rem 0;
}

/* ==========================================================
   44. Tag / Chip
   ========================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}
.tag--accent {
  color: var(--accent);
  background: var(--accent-bg);
  border-color: rgba(8,145,178,0.2);
}
.tag--removable {
  padding-right: 0.375rem;
}
.tag__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  cursor: pointer;
  transition: background-color 0.15s;
}
.tag__remove:hover {
  background: rgba(0,0,0,0.1);
}

/* ==========================================================
   45. Progress Bar
   ========================================================== */
.progress {
  width: 100%;
  height: 0.5rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}
.progress__bar--success { background: var(--success); }
.progress__bar--warning { background: var(--warning); }
.progress__bar--danger { background: var(--danger); }

/* ==========================================================
   46. Skeleton Loading
   ========================================================== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
.skeleton--text { height: 1rem; width: 80%; }
.skeleton--title { height: 1.5rem; width: 60%; }
.skeleton--avatar { height: 2.5rem; width: 2.5rem; border-radius: var(--radius-full); }
.skeleton--image { height: 12rem; width: 100%; border-radius: var(--radius-lg); }
.skeleton--card { height: 20rem; width: 100%; border-radius: var(--radius-xl); }

/* ==========================================================
   47. Quantity Selector
   ========================================================== */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.qty-selector__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.qty-selector__btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-heading);
}
.qty-selector__value {
  width: 3rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--white);
  padding: 0.375rem 0;
}

/* ==========================================================
   48. Cart / Checkout Specific
   ========================================================== */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item__image {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__details { flex: 1; }
.cart-item__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}
.cart-item__meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
}
.cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.cart-item__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}
.cart-item__remove {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}
.cart-item__remove:hover { color: var(--danger); }

/* ==========================================================
   49. Notification Dot
   ========================================================== */
.notification-dot {
  position: relative;
}
.notification-dot::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--danger);
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
}

/* ==========================================================
   50. Stat Cards
   ========================================================== */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.stat-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
}
.stat-card__change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
}
.stat-card__change--up { color: var(--success); }
.stat-card__change--down { color: var(--danger); }

/* ==========================================================
   51. Avatar
   ========================================================== */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 2rem; height: 2rem; font-size: 0.75rem; }
.avatar--lg { width: 3.5rem; height: 3.5rem; font-size: 1.125rem; }
.avatar--xl { width: 5rem; height: 5rem; font-size: 1.5rem; }

.avatar-group {
  display: flex;
}
.avatar-group .avatar {
  margin-left: -0.5rem;
  border: 2px solid var(--white);
}
.avatar-group .avatar:first-child { margin-left: 0; }

/* ==========================================================
   52. Status Indicator
   ========================================================== */
.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.status-dot--active { background: var(--success); }
.status-dot--inactive { background: var(--text-muted); }
.status-dot--warning { background: var(--warning); }
.status-dot--danger { background: var(--danger); }

/* ==========================================================
   53. Feature / Spec List
   ========================================================== */
.spec-list {
  display: grid;
  gap: 0;
}
.spec-list__item {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}
.spec-list__item:last-child { border-bottom: none; }
.spec-list__label { color: var(--text-secondary); }
.spec-list__value { font-weight: 600; color: var(--text-heading); text-align: right; }

/* ==========================================================
   54. Accordion
   ========================================================== */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-heading);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--accent); }
.accordion-trigger svg,
.accordion-trigger i {
  transition: transform 0.2s;
  flex-shrink: 0;
  color: var(--text-tertiary);
}
.accordion-item.open .accordion-trigger svg,
.accordion-item.open .accordion-trigger i {
  transform: rotate(180deg);
}
.accordion-content {
  display: none;
  padding-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.accordion-item.open .accordion-content { display: block; }

/* ==========================================================
   55. Toast Notification
   ========================================================== */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  color: var(--text-primary);
  animation: slide-in-right 0.3s ease;
  min-width: 18rem;
}
.toast--success { border-left: 3px solid var(--success); }
.toast--error   { border-left: 3px solid var(--danger); }
.toast--warning { border-left: 3px solid var(--warning); }
.toast--info    { border-left: 3px solid var(--info); }

/* ==========================================================
   56. Back to Top Button
   ========================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 40;
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================
   57. Price Display
   ========================================================== */
.price {
  font-weight: 700;
  color: var(--text-heading);
}
.price--lg {
  font-size: 1.75rem;
}
.price--accent {
  color: var(--accent);
}
.price__currency {
  font-size: 0.75em;
  font-weight: 600;
  vertical-align: super;
  margin-right: 0.125rem;
}
.price__original {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tertiary);
  text-decoration: line-through;
  margin-left: 0.5rem;
}
.price__save {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  border-radius: var(--radius-full);
  margin-left: 0.5rem;
}

/* ==========================================================
   58. Filter Sidebar
   ========================================================== */
.filter-group {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.filter-group__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.filter-option:hover { color: var(--text-heading); }
.filter-option input {
  accent-color: var(--accent);
}
.filter-option__count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ==========================================================
   59. Sort Bar
   ========================================================== */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
}
.sort-bar__count {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.sort-bar__count strong {
  color: var(--text-heading);
  font-weight: 600;
}
.sort-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sort-bar__select {
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  cursor: pointer;
}

/* ==========================================================
   60. Countdown / Flash Sale
   ========================================================== */
.countdown {
  display: inline-flex;
  gap: 0.375rem;
  align-items: center;
}
.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.375rem 0.5rem;
  background: var(--text-heading);
  color: var(--white);
  border-radius: var(--radius);
  min-width: 2.5rem;
}
.countdown__value {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}
.countdown__label {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
}
.countdown__sep {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

/* ==========================================================
   61. CTA Banner
   ========================================================== */
.cta-banner {
  background: var(--text-heading);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
}
.cta-banner h2,
.cta-banner h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
}

/* ==========================================================
   62. Step / Process Indicator
   ========================================================== */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}
.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.step--active .step__number {
  background: var(--accent);
  color: var(--white);
}
.step--active { color: var(--text-heading); font-weight: 600; }
.step--completed .step__number {
  background: var(--success);
  color: var(--white);
}
.step--completed { color: var(--success); }
.step__connector {
  width: 2rem;
  height: 2px;
  background: var(--border);
  margin-inline: 0.5rem;
}
.step--completed + .step__connector,
.step--completed ~ .step__connector {
  background: var(--success);
}

/* ==========================================================
   63. Misc Utilities
   ========================================================== */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.list-disc { list-style: disc; padding-left: 1.25rem; }
.list-decimal { list-style: decimal; padding-left: 1.25rem; }
.list-disc li,
.list-decimal li {
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

.select-none { user-select: none; }
.select-all { user-select: all; }

/* ==========================================================
   64. Section Header (centered title/subtitle blocks)
   ========================================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .section-label {
  margin-bottom: 0.625rem;
}
.section-header .section-title {
  margin-bottom: 0.5rem;
}
.section-header .section-subtitle {
  margin-inline: auto;
}

/* ==========================================================
   65. Hero V2 — Corporate split layout (premium)
   ========================================================== */
.hero-v2 {
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 45%, #ecfeff 100%);
  overflow: hidden;
  position: relative;
}
.hero-v2--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(8, 145, 178, 0.08), transparent 55%);
  pointer-events: none;
}
.hero-v2__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: 2.75rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-v2__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    padding-block: 4rem;
  }
}
@media (min-width: 1024px) {
  .hero-v2__grid { padding-block: 5rem; gap: 3rem; }
}
.hero-v2__content {
  max-width: 36rem;
}
.hero-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(8, 145, 178, 0.07);
  border: 1px solid rgba(8, 145, 178, 0.14);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-v2__title {
  font-size: clamp(1.875rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-heading);
  margin-bottom: 1.125rem;
}
.hero-v2__title span {
  color: var(--accent);
}
.hero-v2__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 32rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) {
  .hero-v2__desc { font-size: 1.125rem; }
}
.hero-v2__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-v2__cta-secondary.btn-outline {
  border-width: 1.5px;
  border-color: rgba(13, 148, 136, 0.45);
  color: #0f766e;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}
.hero-v2__cta-secondary.btn-outline:hover {
  border-color: #0d9488;
  background: #0d9488;
  color: #fff;
}
.hero-v2__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.hero-v2__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.hero-v2__badge svg {
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.9;
}
.hero-v2__visual {
  display: none;
  align-items: stretch;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-v2__visual { display: flex; }
}
.hero-v2__visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 48px -12px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  background: #0f172a;
}
.hero-v2__picture {
  position: absolute;
  inset: 0;
  margin: 0;
  display: block;
}
.hero-v2__picture-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.hero-v2__picture-img--missing {
  display: none;
}
.hero-v2__visual-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-v2__visual-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-v2__visual-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.35) 100%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.2) 0%, transparent 35%);
}

/* ==========================================================
   66. Use Case Tile V2
   ========================================================== */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .uc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .uc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.uc-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.uc-tile:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.uc-tile__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  background: rgba(8,145,178,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}
.uc-tile__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}
.uc-tile__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.uc-tile__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}
.uc-tile:hover .uc-tile__arrow { gap: 0.625rem; }

/* ==========================================================
   67. Category Card V2
   ========================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.cat-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.cat-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: rgba(8,145,178,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  color: var(--accent);
}
.cat-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}
.cat-card__count {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* ==========================================================
   68. Refurbishment Process Steps
   ========================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
.process-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  transition: box-shadow 0.3s;
}
.process-card:hover {
  box-shadow: var(--shadow-md);
}
.process-card__step {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.process-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.process-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================
   69. Grade Explainer
   ========================================================== */
.grade-strip {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.grade-strip__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 1.5rem;
}
.grade-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grade-strip__grid { grid-template-columns: repeat(3, 1fr); }
}
.grade-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.grade-strip__item p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   70. Business CTA Banner
   ========================================================== */
.biz-cta {
  background: var(--text-heading);
  color: var(--white);
}
.biz-cta .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .biz-cta .container { grid-template-columns: 1.2fr 0.8fr; }
}
.biz-cta__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.biz-cta__desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.biz-cta__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.biz-cta__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #cbd5e1;
}
.biz-cta__list svg {
  flex-shrink: 0;
  color: var(--accent);
}
.biz-cta__panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}
.biz-cta__panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.biz-cta__panel p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ==========================================================
   71. Testimonial Grid
   ========================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================
   72. FAQ Section
   ========================================================== */
.faq-list {
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-heading);
  gap: 1rem;
  transition: color 0.2s;
}
.faq-toggle:hover { color: var(--accent); }
.faq-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--text-tertiary);
}
.faq-open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-open .faq-answer { max-height: 20rem; }
.faq-answer__inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================
   73. Brand Pill Strip
   ========================================================== */
.brand-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 768px) { .brand-pills { gap: 1.25rem; } }
.brand-pill {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: border-color 0.2s, color 0.2s;
}
.brand-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================
   74. Newsletter Bar
   ========================================================== */
.newsletter-bar {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}
.newsletter-bar__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.newsletter-bar__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.newsletter-bar__form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-bar__form .form-input {
  flex: 1;
  min-width: 14rem;
}

/* ==========================================================
   75. Product Card V2 — cleaner class-based
   ========================================================== */
.product-card__category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.product-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  background: var(--bg-secondary);
}
.product-card__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 12rem;
}
.product-card__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.product-card__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.product-card__trust-item svg {
  width: 0.8125rem;
  height: 0.8125rem;
  flex-shrink: 0;
  color: var(--accent);
}
.chip {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  font-size: 0.6875rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ==========================================================
   76. Page Hero (slim hero for inner pages)
   ========================================================== */
.page-hero {
  background: var(--bg-secondary);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}
.page-hero__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.7;
}
.page-hero--quote {
  padding: 3rem 0 3.25rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.page-hero__desc--narrow {
  max-width: 40rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-input--lg,
.form-select--lg,
.form-textarea--lg {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.45;
}
.form-input--invalid,
.form-select.form-input--invalid {
  border-color: var(--danger);
}
.form-input--invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.biz-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.biz-cta__btn-secondary {
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
  background: transparent;
}
.biz-cta__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
}
.biz-cta__panel-btn {
  width: 100%;
  justify-content: center;
}

.testimonials-section__intro {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.reviews-widget-slot {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px dashed #cbd5e1;
  background: var(--white);
  text-align: center;
}
.reviews-widget-slot__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 0 0 0.35rem;
}
.reviews-widget-slot__hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.quote-page__section {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}
.quote-page__layout {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.quote-page__form-col {
  flex: 1;
  min-width: min(100%, 22rem);
}
.quote-page__aside {
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 960px) {
  .quote-page__aside {
    flex: 0 0 34%;
    max-width: 380px;
    min-width: 16rem;
  }
}
.quote-page__form-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.quote-page__form-lead {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.quote-page__aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.quote-page__aside-list li {
  padding-left: 1.25rem;
  position: relative;
}
.quote-page__aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.quote-page__success {
  text-align: center;
  padding: 2rem 0 1rem;
}
.quote-page__success-icon {
  margin: 0 auto 1rem;
}
.quote-page__success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 0.75rem;
}
.quote-page__success-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 26rem;
  margin: 0 auto;
}

/* ==========================================================
   77. Icon Feature Block
   ========================================================== */
.icon-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.icon-feature:hover {
  box-shadow: var(--shadow-md);
}
.icon-feature__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: rgba(8,145,178,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}
.icon-feature__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}
.icon-feature__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   78. Focus visible (accessibility)
   ========================================================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ==========================================================
   79. For Business page components
   ========================================================== */
.biz-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 5rem 0;
}
.biz-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.biz-hero__desc {
  font-size: 1.0625rem;
  color: #94a3b8;
  max-width: 40rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.biz-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .biz-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .biz-service-grid { grid-template-columns: repeat(3, 1fr); } }

.biz-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.biz-service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.biz-service-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: rgba(8,145,178,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.biz-service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.biz-service-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.biz-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .biz-process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .biz-process-grid { grid-template-columns: repeat(4, 1fr); } }
.biz-process-step {
  text-align: center;
  padding: 1.5rem;
}
.biz-process-step__num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.biz-process-step__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}
.biz-process-step__desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   80. Quote page form
   ========================================================== */
.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .quote-form-grid { grid-template-columns: 1fr 1fr; }
}
.quote-form-grid .form-group--full {
  grid-column: 1 / -1;
}

/* ==========================================================
   99. Print
   ========================================================== */
@media print {
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  .site-header,
  .site-footer,
  .top-bar,
  .promo-bar,
  .back-to-top,
  .toast-container,
  .nav-cart,
  .cart-btn,
  .mobile-menu,
  .nav-hamburger {
    display: none !important;
  }
  .container {
    max-width: 100%;
    padding: 0;
  }
  .card,
  .product-card,
  .admin-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  a { color: inherit; text-decoration: underline; }
  .btn { display: none; }
}
