/*
Theme Name: Uniform Shirt B2B
Author: Windel Solutions
Author URI: https://windelsolutions.com
Description: Production-ready custom B2B WordPress theme for uniformshirt.net.
Version: 2.0.0
Text Domain: uniform-shirt-b2b
*/

:root {
  --navy: #0B1D35;
  --navy2: #0F2848;
  --blue: #0D3C70;
  --blue2: #1459A8;
  --gold: #C8972A;
  --gold2: #DDA83C;
  --cream: #FAFAF8;
  --off: #F2F4F8;
  --white: #FFFFFF;
  --text: #1A2733;
  --muted: #5C6E80;
  --border: #D5DCE6;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(11, 29, 53, 0.06);
  --shadow: 0 4px 12px rgba(11, 29, 53, 0.08);
  --shadow-lg: 0 8px 24px rgba(11, 29, 53, 0.12);
  --container-max: 1240px;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s ease-in-out;
}

/* 1. Global Reset and Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.nav-locked {
  overflow: hidden;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue2);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--gold);
}

ul, ol {
  list-style: none;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 20px;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 18px;
  font-weight: 700;
  z-index: 99999;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 20px;
}

/* 2. Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.25rem;
}

p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 151, 42, 0.12);
  color: var(--gold);
  border: 1px solid rgba(200, 151, 42, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* 3. Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-main {
  flex: 1 0 auto;
}

.section-padding {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(30px, 4vw, 50px);
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* 4. Global Header and Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--navy);
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  background: rgba(11, 29, 53, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.site-logo .gold-txt {
  color: var(--gold);
}

.site-logo:hover {
  color: var(--white);
  opacity: 0.95;
}

/* Primary Desktop Navigation */
.nav-primary {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  color: #E2E8F0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 28px 0;
  display: inline-block;
  transition: color 0.2s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a,
.nav-menu > li.current-menu-item > a {
  color: var(--gold);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.nav-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 9px 18px;
  color: #CBD5E1;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-menu .sub-menu li a:hover {
  background: rgba(200, 151, 42, 0.15);
  color: var(--gold);
  padding-left: 22px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Slide-Out Drawer */
.mobile-navigation-drawer,
#mobile-drawer,
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--navy);
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
  padding: 30px 24px;
  overflow-y: auto;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-navigation-drawer.is-open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-menu li {
  position: relative;
}

.mobile-nav-menu li a {
  display: block;
  color: #E2E8F0;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 0;
}

.mobile-nav-menu li a:hover {
  color: var(--gold);
}

.mobile-nav-menu .sub-menu {
  padding-left: 16px;
  display: none;
  border-left: 2px solid rgba(200, 151, 42, 0.4);
  margin-top: 6px;
  margin-bottom: 6px;
}

.mobile-nav-menu .sub-menu.is-open {
  display: block;
}

.mobile-nav-menu .sub-menu-toggle {
  position: absolute;
  right: 0;
  top: 8px;
  background: transparent;
  border: none;
  color: #94A3B8;
  padding: 6px;
  cursor: pointer;
}

.sub-menu-toggle .arrow-icon::after {
  content: '▼';
  font-size: 0.75rem;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* 4.1 Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
  padding: clamp(50px, 7vw, 90px) 0;
  border-bottom: 3px solid var(--gold);
  position: relative;
}

.hero-section h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-section .lead {
  color: #CBD5E1;
  margin-bottom: 28px;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hero-metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 16px;
}

.hero-metric-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}

.hero-metric-label {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

/* 5. Buttons and Call to Actions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--gold2);
  color: var(--navy);
  border-color: var(--gold2);
  box-shadow: 0 4px 12px rgba(200, 151, 42, 0.3);
}

.btn-secondary {
  background-color: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--blue2);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover, .btn-outline-dark:focus {
  background-color: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* 6. B2B Specification Tables & Spec Grids */
.spec-table-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background-color: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.spec-table tbody tr:nth-child(even) {
  background-color: var(--off);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table td.param-name {
  font-weight: 600;
  color: var(--navy);
  width: 32%;
}

.spec-table td.param-value {
  color: var(--text);
}

/* Tabs for Spec Matrices */
.spec-tabs-wrapper {
  margin: 2rem 0;
}

.spec-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}

.spec-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.spec-tab-btn:hover {
  color: var(--navy);
}

.spec-tab-btn.is-active {
  background: var(--navy);
  color: var(--white);
}

.spec-tab-pane {
  display: none;
}

.spec-tab-pane.is-active {
  display: block;
}

/* 7. Product Cards and Grids */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--off);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .card-image-wrap img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-chip {
  background: var(--off);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(213, 220, 230, 0.8);
}

/* 8. Certifications Showcase & Badges */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-badge-wrapper {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
}

.cert-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.cert-validity {
  display: inline-block;
  background: rgba(14, 143, 14, 0.1);
  color: #0E8F0E;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.cert-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* 9. B2B Workflow Stepper */
.workflow-grid,
.stepper,
.workflow-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.workflow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.workflow-step h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.workflow-step p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 10. RFQ Form Styles */
.rfq-form-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.b2b-rfq-form {
  display: block;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-grid .form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group label .required-asterisk {
  color: #DC2626;
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue2);
  box-shadow: 0 0 0 3px rgba(20, 89, 168, 0.15);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-status-message {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 18px;
  display: none;
}

.form-status-message.is-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status-message.is-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* 11. FAQ Accordions */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-header {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 18px 24px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-header::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}

.faq-accordion-item.is-open .faq-header::after {
  content: '-';
}

.faq-content {
  padding: 0 24px 20px;
  display: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-accordion-item.is-open .faq-content {
  display: block;
}

/* 12. Global Footer */
.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding-top: clamp(50px, 6vw, 80px);
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 44px);
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-col p {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.footer-contact-list li {
  color: #94A3B8;
  line-height: 1.5;
}

.footer-contact-list strong {
  color: var(--white);
}

.footer-contact-list a {
  color: #CBD5E1;
}

.footer-contact-list a:hover {
  color: var(--gold);
}

.footer-cert-badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  background: #071526;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: #64748B;
}

.footer-bottom-inner a {
  color: #94A3B8;
}

.footer-bottom-inner a:hover {
  color: var(--gold);
}

.footer-bottom .attribution {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.footer-bottom .attribution a {
  color: var(--gold);
  font-weight: 600;
}

.footer-bottom .attribution a:hover {
  color: var(--gold2);
  text-decoration: underline;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

/* 13. Blog, Standard Page & Single Post Templates */
.page-header-banner {
  background: var(--navy);
  color: var(--white);
  padding: clamp(40px, 6vw, 70px) 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header-banner h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-header-banner p {
  color: #94A3B8;
  max-width: 680px;
  margin: 0 auto;
}

.standard-content-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.standard-content-wrapper h2,
.standard-content-wrapper h3,
.standard-content-wrapper h4 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.standard-content-wrapper ul,
.standard-content-wrapper ol {
  padding-left: 24px;
  margin-bottom: 1.5rem;
}

.standard-content-wrapper ul {
  list-style: disc;
}

.standard-content-wrapper ol {
  list-style: decimal;
}

.standard-content-wrapper li {
  margin-bottom: 6px;
}

/* Blog Single Layout with Sidebar */
.post-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
}

.post-main-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.post-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--off);
}

.sidebar-widget ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-widget ul li a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
}

.sidebar-widget ul li a:hover {
  color: var(--gold);
}

.sidebar-rfq-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}

.sidebar-rfq-card h4 {
  color: var(--white);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
}

.sidebar-rfq-card p {
  color: #94A3B8;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.pagination .page-numbers.current {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.pagination .page-numbers:hover:not(.current) {
  background: var(--off);
  color: var(--blue2);
}

/* 14. 404 Error Template */
.error-404-container {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 20px;
  max-width: 720px;
  margin: 0 auto;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 7.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.error-404-container h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.error-404-container p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.error-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* 14a. Page Editorial Content Styling (Rank Math & Dynamic Content) */
.page-editorial-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.page-editorial-section:has(.page-editorial-content:empty) {
  display: none;
}

.page-editorial-content:empty {
  display: none;
}

.page-editorial-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-editorial-content h1 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.page-editorial-content h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.3;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.page-editorial-content h2:first-child,
.page-editorial-content h1:first-child {
  margin-top: 0;
}

.page-editorial-content h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.35;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.page-editorial-content h4 {
  font-family: var(--font-body);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-editorial-content p {
  margin-bottom: 1.25rem;
}

.page-editorial-content ul {
  list-style: disc;
  margin-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.page-editorial-content ol {
  list-style: decimal;
  margin-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.page-editorial-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.page-editorial-content a {
  color: var(--blue2);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: var(--transition);
}

.page-editorial-content a:hover,
.page-editorial-content a:focus {
  color: var(--gold);
}

.page-editorial-content blockquote {
  border-left: 4px solid var(--gold);
  background-color: var(--off);
  padding: 16px 22px;
  margin: 1.75rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
}

.page-editorial-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}

.page-editorial-content th,
.page-editorial-content td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.page-editorial-content th {
  background-color: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-editorial-content tbody tr:nth-child(even) {
  background-color: var(--off);
}

/* 15. Responsive Breakpoints */
@media (max-width: 1024px) {
  .nav-primary {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 70px;
  }

  .site-logo {
    font-size: 1.4rem;
  }

  .header-actions .btn-quote {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}


/* ==========================================================================
   Expandable SEO Detail Drawer
   ========================================================================== */
.seo-drawer-section {
    position: relative;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    margin-top: 0;
    z-index: 20;
}

.seo-drawer-trigger-bar {
    padding: 16px 20px;
    background: #FFFFFF;
    text-align: center;
}

.btn-detail-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    color: #0E2338;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(14, 35, 56, 0.05);
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-detail-toggle:hover,
.btn-detail-toggle:focus {
    border-color: #0E2338;
    color: #0E2338;
    box-shadow: 0 4px 12px rgba(14, 35, 56, 0.1);
    transform: translateY(-1px);
}

.btn-detail-toggle .chevron-icon {
    transition: transform 0.25s ease;
    stroke: #0E2338;
}

.btn-detail-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #F8FAFC;
    color: #0E2338;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-detail-close:hover {
    background: #EDF2F7;
    border-color: #CBD5E1;
    color: #0E2338;
}

.seo-drawer-panel {
    border-top: 1px solid #F1F5F9;
    background: #FAFCFE;
    padding: 24px 0 40px;
}

.seo-drawer-top-bar {
    text-align: center;
    margin-bottom: 24px;
}

.seo-drawer-header {
    text-align: left;
    max-width: 960px;
    margin: 0 auto 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.seo-drawer-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748B;
    margin-bottom: 6px;
}

.seo-drawer-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0E2338;
    line-height: 1.25;
    margin: 0;
}

.seo-drawer-body {
    max-width: 960px;
    margin: 0 auto;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.75;
}

.seo-drawer-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0E2338;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.seo-drawer-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0E2338;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.seo-drawer-body .specs-table-container {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.seo-drawer-body .b2b-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.seo-drawer-body .b2b-specs-table th,
.seo-drawer-body .b2b-specs-table td {
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    text-align: left;
}

.seo-drawer-body .b2b-specs-table th {
    background: #F8FAFC;
    color: #0E2338;
    font-weight: 700;
}

.seo-drawer-body .rank-math-toc {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 18px 24px;
    margin: 20px 0;
}

.seo-drawer-body .rank-math-toc h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #0E2338;
}

.seo-drawer-body .rank-math-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-drawer-body .rank-math-toc li {
    margin-bottom: 8px;
}

.seo-drawer-body .rank-math-toc a {
    color: #0284C7;
    text-decoration: none;
}

.seo-drawer-body .rank-math-toc a:hover {
    text-decoration: underline;
}

.seo-drawer-body .editorial-featured-media {
    margin: 24px 0;
    text-align: center;
}

.seo-drawer-body .editorial-featured-media img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(14, 35, 56, 0.08);
}

.seo-drawer-body .editorial-featured-media figcaption {
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 8px;
    font-style: italic;
}

.seo-drawer-body .b2b-cta-card {
    background: #0E2338;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 28px;
    margin: 32px 0;
    text-align: center;
}

.seo-drawer-body .b2b-cta-card h3 {
    color: #FFFFFF;
    font-size: 1.4rem;
    margin-top: 0;
}

.seo-drawer-body .b2b-cta-card p {
    color: #E2E8F0;
    max-width: 650px;
    margin: 10px auto 20px;
}

.seo-drawer-body .b2b-cta-card .btn {
    display: inline-block;
    background: #FF6A00;
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.seo-drawer-body .faq-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.seo-drawer-body .faq-item h3 {
    margin-top: 0;
    color: #0E2338;
    font-size: 1.05rem;
}

.seo-drawer-body .faq-item p {
    margin-bottom: 0;
    color: #475569;
}

.seo-drawer-bottom-bar {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
    text-align: center;
}


/* Collapsible Editorial Drawer Styles */
.ws-toggle-editorial-wrapper {
  text-align: center;
  margin: 20px 0 0;
}
.ws-toggle-editorial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 6px;
  background: var(--bg-secondary, #f8fafc);
  color: var(--accent-navy, #0e2338);
  font-family: var(--font-heading, inherit);
  font-weight: 700;
  font-size: 0.825rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ws-toggle-editorial-btn:hover {
  background: var(--bg-primary, #ffffff);
  border-color: var(--accent-orange, #ff6a00);
  color: var(--accent-orange, #ff6a00);
  box-shadow: 0 4px 10px rgba(255, 106, 0, 0.08);
}
.ws-toggle-editorial-btn .ws-arrow {
  transition: transform 0.2s ease;
}
.ws-toggle-editorial-btn.active .ws-arrow {
  transform: rotate(180deg);
}
.ws-editorial-drawer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  text-align: left;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.2s ease;
}
.ws-editorial-drawer.open {
  max-height: 8000px;
  opacity: 1;
  transition: max-height 0.6s cubic-bezier(0.9, 0, 0.1, 1), opacity 0.3s ease;
  margin-top: 24px;
}

.site-logo-img {
  max-height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}
