:root {
  --primary-color: #2f2560;
  --accent-color: #f03400;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --white: #ffffff;
  --gray-light: #f4f6f8;
  --transition-speed: 0.3s;
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Outfit", sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.text-center {
  text-align: center;
}
.text-primary {
  color: var(--primary-color);
}
.text-accent {
  color: var(--accent-color);
}
.text-white {
  color: var(--white);
}

.section-padding {
  padding: 4rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: #d82e00;
  border-color: #d82e00;
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border-color: #ccc;
}

.btn-outline:hover {
  background-color: #ccc;
  color: var(--white);
  border-color: #ccc;
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

/* Button Modifiers */
/* .btn.uppercase {
  text-transform: uppercase;
} */

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-tagline {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.top-bar-info {
  display: inline-flex;
  align-items: center;
  position: relative;
  gap: 10px; /* Reliable spacing between icon and text */
}

.top-bar-info:not(:last-child) {
  margin-right: 2rem;
}

.top-bar-info::after {
  content: "|";
  position: absolute;
  right: -1rem;
  opacity: 0.4;
  font-weight: 300;
  color: var(--white);
}

.top-bar-info i,
.top-bar-info svg {
  color: var(--accent-color);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  color: #25d366 !important;
  font-weight: 700;
  gap: 10px;
}

.whatsapp-link i,
.whatsapp-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.whatsapp-link:hover {
  text-decoration: none !important;
  opacity: 0.8;
}

/* Header */
.header {
  background-color: var(--white);
  color: var(--text-dark);
  padding: 1rem 0;
  position: relative;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-icons {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.header-icons a {
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.header-icons a:hover {
  color: var(--accent-color);
}

/* Featured Bar (Slim Text Layout) */
.features-bar {
  background-color: var(--gray-light);
  padding: 0.8rem 0;
  margin-top: 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.9rem;
}

.features-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0; /* Gap handled by padding/borders */
  flex-wrap: wrap; /* Allow wrap on small screens */
}

.feature-item {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0 2rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: none; /* Remove card shadow */
  background: transparent; /* Remove card bg */
  border-radius: 0;
  min-width: auto;
  flex: initial; /* Don't stretch */
}

.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background-color: #ccc;
}

.feature-item:hover {
  transform: none; /* Remove hover lift */
}

.feature-item svg {
  color: var(--primary-color);
  width: 14px;
  height: 14px;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-menu .menu-list {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-menu .menu-list li a {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition-speed);
}

.nav-menu .menu-list li a:hover {
  color: var(--accent-color);
}

/* Dropdown */
.nav-menu li.menu-item-has-children {
  position: relative;
}

.nav-menu li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  vertical-align: 3px;
  opacity: 0.7;
}

.nav-menu li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  color: var(--text-dark);
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  padding: 0.5rem 0;
  z-index: 100;
  list-style: none;
}

.nav-menu .sub-menu li {
  width: 100%;
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  border-bottom: 1px solid var(--gray-light);
  font-weight: 500;
}

.nav-menu .sub-menu li:last-child a {
  border-bottom: none;
}

.nav-menu .sub-menu li a:hover {
  background-color: var(--gray-light);
  color: var(--accent-color);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  color: var(--text-dark);
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  padding: 0.5rem 0;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  border-bottom: 1px solid var(--gray-light);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: var(--gray-light);
  color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section (Split) */
.hero-split {
  display: flex;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.hero-box {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 5rem 4rem;
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
  overflow: hidden;
}

.hero-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.ram-repairs {
  flex: 6; /* 60% width */
  background-image: url("../images/hydraulicr-ram-repair.webp");
}

.hose-creator {
  flex: 4; /* 40% width */
  background-image: url("../images/hydraulic-hoses.webp");
  border-left: 4px solid var(--white);
}

.hero-box-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-transform: none;
}

.hero-title {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hose-creator .hero-title {
  font-size: 2.8rem;
}

.hero-box:hover .hero-box-content {
  transform: translateY(-10px);
}

/* Hero Section (Legacy/Fallback) */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

/* Categories Section (Hoses & Fittings) */
.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.category-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(47, 37, 96, 0.7);
  transition: background var(--transition-speed);
}

.category-card:hover::before {
  background: rgba(47, 37, 96, 0.5);
}

/* Background images for categories */
.cat-fittings {
  background-image: url("../images/hydraulic_fitting.webp");
}

.cat-hoses {
  background-image: url("../images/hydraulic_hose.jpg");
}

.category-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
}

.category-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Services Overview */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

.services-grid .service-card {
  flex: 0 1 calc(33.333% - 2rem);
  min-width: 300px;
}

@media (max-width: 991px) {
  .services-grid .service-card {
    flex: 0 1 calc(50% - 2rem);
  }
}

@media (max-width: 768px) {
  .services-grid .service-card {
    flex: 0 1 100%;
  }
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 1rem;
}

.more-info {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.more-info:hover {
  color: var(--primary-color);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.75rem;
  text-transform: none;
  font-weight: 700;
}

/* Workshop Banner */
.workshop-banner {
  background-color: var(--gray-light);
  color: var(--text-dark);
  padding: 4rem 0;
}

.workshop-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Configurator Page Styles (Split Layout) */
.config-split-section {
  display: flex;
  min-height: calc(100vh - 140px);
  align-items: flex-start;
}

/* Left Panel */
.config-left-panel {
  flex: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--gray-light);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  color: var(--text-dark);
  padding: 3rem 0;
  text-align: left;
}
.config-left-panel::-webkit-scrollbar {
  display: none;
}

/* New inner wrapper for precise grid alignment */
.split-inner-content {
  width: 100%;
  max-width: 600px; /* Half of 1200px container */
  padding: 0 40px; /* Match or approximate .container padding visual */
  box-sizing: border-box;
}

.overlay-content {
  width: 100%;
}

.overlay-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.overlay-content h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.overlay-content .subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-bottom: 3rem;
  display: inline-block;
  text-align: left;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.check-list li svg {
  width: 20px;
  height: 20px;
}

.register-hint {
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1.5rem;
  max-width: 400px;
  margin: 0;
}

/* Right Panel */
.config-right-panel {
  flex: 1;
  background-color: var(--white);
  padding: 3rem 0;
  display: flex;
  justify-content: flex-start; /* Align content to center line */
  align-items: start;
}

/* Centered variant for landing page */
.config-right-panel.config-right-panel--centered {
  align-items: center;
}

/* ── Configurator skeleton / shimmer loading ─────────────────────────── */

@keyframes cfg-shimmer {
  0% {
    background-position: -600px 0;
  }
  100% {
    background-position: 600px 0;
  }
}

.cfg-skel {
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: cfg-shimmer 1.3s infinite linear;
  border-radius: 6px;
  display: block;
}

/* Fade-in for freshly loaded panel content */
@keyframes cfg-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cfg-content-in {
  animation: cfg-fade-in 0.22s ease forwards;
}

/* Pointer-events guard while skeleton is showing */
.cfg-skeleton-active {
  pointer-events: none;
}

/* Welcome/landing variant — purple gradient over photo */
.config-left-panel--welcome {
  background:
    linear-gradient(rgba(47, 37, 96, 0.85), rgba(47, 37, 96, 0.85)),
    url("../images/hydraulic_hose.jpg") center/cover no-repeat;
  color: var(--white);
}
.config-left-panel--welcome .overlay-content h2,
.config-left-panel--welcome .overlay-content h3,
.config-left-panel--welcome .overlay-content p,
.config-left-panel--welcome .overlay-content li,
.config-left-panel--welcome .register-hint {
  color: var(--white);
}

/* Light variant for summary panel */
.config-left-panel--light {
  background: var(--gray-light) !important;
  color: var(--text-dark) !important;
  position: sticky;
  top: 82px;
  height: calc(100vh - 82px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.config-left-panel--light::-webkit-scrollbar {
  display: none;
}

.config-left-panel--light .overlay-content {
  color: var(--text-dark);
  align-items: flex-start;
  text-align: left;
  padding: 0;
  width: 100%;
}

.summary-page-title {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.summary-image-container {
  width: 80px;
  height: 80px;
  background: #f9f9f9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.summary-image-container img {
  width: 100%;
  height: auto;
  display: none;
}

.summary-image-container img.loaded {
  display: block;
}

.summary-product-info {
  flex: 1;
}

.summary-product-label {
  color: #999;
  display: block;
  font-size: 0.85rem;
}

.summary-product-name {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.summary-flex-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
}

.summary-item-label {
  color: #666;
  font-size: 0.9rem;
}

.summary-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  margin-bottom: 1rem;
}

.summary-block:last-child {
  margin-bottom: 0 !important;
}

.summary-block h4 {
  margin: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.summary-block h4:hover {
  color: var(--primary-color);
}

.summary-block h4 svg {
  transition: transform 0.3s ease;
}

.summary-block.collapsed h4 {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.summary-block.collapsed h4 svg {
  transform: rotate(180deg);
}

.summary-block h4 {
  margin-bottom: 1rem;
}

.summary-content {
  max-height: 1000px;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  opacity: 1;
  margin-top: 1rem;
}

.summary-block.collapsed .summary-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.summary-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.summary-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.summary-item-compact {
  margin-bottom: 0.5rem;
}

.summary-chevron-icon {
  width: 16px;
  color: #666;
}

/* Step 4 specific styles */
.overlay-content--step4 {
  padding: 2rem 0;
}

.illustration-wrapper {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.illustration-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.illustration-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.illustration-diagram {
  flex-shrink: 0;
}

.illustration-text {
  flex: 1;
  min-width: 250px;
}

.angle-description-no-margin {
  margin-top: 0;
}

.rotating-fitting-label {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
}

.config-right-content-wrapper {
  width: 100%;
}

.config-right-panel h1 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.config-right-panel .main-desc {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

.login-area {
  margin-top: 4rem;
}

.login-area h5 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.login-area p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Contact Page Styles */
.page-header {
  background-color: var(--gray-light);
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.page-header p {
  color: #666;
  font-size: 1.1rem;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-info-card {
  margin-bottom: 2rem;
}

.contact-info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-detail-item .contact-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-detail-item .contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-item h5 {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.contact-detail-item p {
  font-weight: 500;
  color: var(--text-dark);
}

.contact-detail-item p a {
  transition: color var(--transition-speed);
}

.contact-detail-item p a:hover {
  color: var(--accent-color);
}

.map-container-page iframe {
  border-radius: 8px;
  box-shadow: none;
  border: 0;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
  color: #666;
  margin-bottom: 2rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.input-wrapper {
  position: relative;
}

.input-wrapper svg {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  width: 20px;
  height: 20px;
}

.input-wrapper .input-unit {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  background-color: var(--gray-light);
  color: var(--text-dark);
  transition: all var(--transition-speed);
  box-shadow: none;
}

.input-wrapper .form-control {
  padding-right: 3rem;
}

.input-wrapper .form-control[type="number"] {
  padding-right: 60px;
}

.form-control::placeholder {
  color: #ccc;
  font-weight: 400;
}

.form-control:focus {
  outline: none;
  background-color: var(--white);
  border-color: #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-control[readonly] {
  cursor: pointer;
  background-color: var(--gray-light);
}

textarea.form-control {
  resize: vertical;
}

/* Action Buttons Layout */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.action-buttons .btn {
  flex: 1;
  text-align: center;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.custom-chk-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.custom-chk-box svg {
  width: 12px;
  height: 12px;
  stroke: transparent;
  transition: stroke 0.15s;
}

.custom-checkbox:hover .custom-chk-box {
  border-color: var(--primary-color);
}

.custom-checkbox input[type="checkbox"]:checked + .custom-chk-box {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-checkbox input[type="checkbox"]:checked + .custom-chk-box svg {
  stroke: var(--white);
}

.custom-checkbox label {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .config-split-section {
    flex-direction: column;
    align-items: stretch;
  }

  .config-left-panel,
  .config-left-panel--light {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow-y: visible !important;
  }

  .split-inner-content {
    padding: 0 20px;
  }

  /* Hide the live summary panel on mobile for steps 1–5; show only on step 6 */
  .cfg-summary-mobile-hidden {
    display: none !important;
  }

  /* Mobile: edge-to-edge */
  .step-toolbar {
    padding: 11px 20px;
    margin: -20px -20px 24px;
    border-radius: 0;
  }

  .step-toolbar .shc-button,
  .step-toolbar .shc-ghost-button {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}

/* ── Step toolbar button base styles ────────────────────────────────── */

.shc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  background: var(--brand-purple, #2e2a61);
  color: #fff;
  border: 2px solid var(--brand-purple, #2e2a61);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s,
    opacity 0.15s;
  line-height: 1;
}

.shc-button:hover {
  background: #231c52;
  border-color: #231c52;
  color: #fff;
  text-decoration: none;
}

.shc-button.disabled,
.shc-button[disabled],
.shc-button[aria-disabled="true"] {
  opacity: 0.32;
  pointer-events: none;
  cursor: not-allowed;
}

.shc-ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  background: transparent;
  color: var(--brand-purple, #2e2a61);
  border: 2px solid #d4cfe8;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    color 0.15s;
  line-height: 1;
}

.shc-ghost-button:hover {
  border-color: var(--brand-purple, #2e2a61);
  color: var(--brand-purple, #2e2a61);
  text-decoration: none;
}

/* ── Step navigation bar — sticky on all screen sizes ────────────────── */

.step-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0 16px;
  margin-bottom: 28px;
  border-bottom: 2px solid #f0eef8;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.step-toolbar-copy {
  text-align: center;
}

.step-toolbar-index {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-orange, #f15c22);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.step-toolbar-copy strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-purple, #2e2a61);
  letter-spacing: -0.01em;
}

/* Hide the old circle-step progress indicator — toolbar covers this */
.steps-container {
  display: none !important;
}

/* Contact Section */
.contact-info {
  padding: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon-wrapper {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.contact-item p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #333;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid rgba(47, 37, 96, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.address-link {
  color: inherit;
  transition: color 0.3s ease;
}

.address-link:hover {
  color: var(--accent-color);
}

.contact-item p {
  color: #555;
  font-size: 0.95rem;
}

.contact-item p a:hover {
  color: var(--accent-color);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 450px;
}

.map-container iframe {
  display: block;
  height: 100%;
}

#contact {
  padding-bottom: 0;
}
.footer {
  background-color: var(--gray-light);
  color: var(--text-dark);
  padding: 3rem 0 0;
  font-size: 0.9rem;
  border-top: 1px solid #e5e5e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  padding: 3rem 0 2rem;
  background-color: #4a4a4a; /* Dark gray from screenshot */
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 2rem;
}

.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.payment-icons img {
  height: 40px;
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1); /* Keep them white */
}

.footer-bottom-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

.copyright {
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--white);
  font-size: 0.85rem;
}

.acknowledgment {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 0.75rem;
  opacity: 0.8;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }
  .payment-icons {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Hide specific steps on desktop only */
@media (min-width: 769px) {
  .step.hide-on-desktop {
    display: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  /* Steps carousel for mobile */
  .steps-container {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    gap: 1rem;
    padding-right: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .step {
    min-width: 40%;
    flex-shrink: 0;
  }

  /* Hide finished steps on mobile - only show active and upcoming */
  .step.finished {
    display: none;
  }

  /* Hide scrollbar but keep functionality */
  .steps-container::-webkit-scrollbar {
    display: none;
  }

  .steps-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .header .container {
    /* Ensure flex row for mobile header */
    flex-direction: row;
    align-items: center;
  }

  .hero-content .btn {
    display: block;
    width: 100%;
    margin: 0 0 1rem 0 !important;
  }

  .nav-menu {
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .categories,
  .workshop-content {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }

  .category-content h2 {
    font-size: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .features-bar {
    margin-top: 0;
  }

  /* Mobile Redesign Overrides */
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
  .top-bar-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .top-bar-right a {
    padding: 0;
  }
  .top-bar-right a::after {
    display: none;
  }
  .top-bar-left {
    width: 100%;
    text-align: center;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
  .top-bar-info {
    margin-right: 0;
  }
  /* Ensure header flex layout on mobile */
  /* Header Layout */
  .header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-menu-toggle {
    display: block !important;
    background: none;
    border: none;
    padding: 5px;
    flex: 1;
    text-align: left;
  }
  .logo-link {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
  }
  .header .mobile-only.header-icons {
    display: flex !important;
    justify-content: flex-end;
    flex: 1;
    margin-top: 0;
  }
  .mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
  }
  /* .logo {
    height: 32px;
  } */
}

/* Global Utilities */
.mobile-only {
  display: none;
}
/* desktop-only visible by default, hidden in media query */
.mobile-menu-toggle {
  display: none;
}

/* Mobile Drawer Styles (Global) */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-drawer-overlay.active {
  visibility: visible;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  max-width: 90%;
  height: 100%;
  background-color: var(--white);
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}
.drawer-title {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}
.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close svg {
  width: 24px;
  height: 24px;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.drawer-content .input-wrapper {
  margin-bottom: 1.5rem;
}

.drawer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.drawer-nav li a {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  font-weight: 500;
  font-size: 1.05rem;
  display: block;
}

.drawer-nav li.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-nav li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.drawer-nav li.menu-item-has-children.active > a::after {
  transform: rotate(-135deg);
}

.drawer-nav .sub-menu {
  display: none;
  padding-left: 1rem;
  background-color: var(--gray-light);
  margin-top: 0;
  border-radius: 4px;
  list-style: none;
}

.drawer-nav li.menu-item-has-children.active > .sub-menu {
  display: block;
}

.drawer-actions {
  margin-top: auto;
  padding-top: 2rem;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90%;
  height: 100%;
  background-color: var(--white);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.active {
  transform: translateX(0);
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.cart-drawer-items {
  flex: 1;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.cart-item-meta {
  font-size: 0.85rem;
  color: #777;
}
.cart-item-price {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 0.95rem;
}
.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #999;
}
.cart-empty-state svg {
  width: 48px;
  height: 48px;
  stroke: #ccc;
}
.cart-empty-state p {
  font-size: 1rem;
  color: #777;
}
.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.cart-subtotal strong {
  font-size: 1.1rem;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .features-bar .container {
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .features-bar .feature-item {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    width: 100%;
    justify-content: center;
    border-bottom: 1px solid #eee; /* Horizontal dividers on mobile */
  }

  .features-bar .feature-item:last-child {
    border-bottom: none;
  }

  .features-bar .feature-item:not(:last-child)::after {
    display: none; /* Remove vertical dividers on mobile */
  }

  .header-icons {
    margin-top: 1rem;
  }

  .contact-grid {
    gap: 2rem;
    text-align: left;
  }

  .contact-item {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-split {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .hero-box {
    flex: none;
    width: 100%;
    height: 400px;
    padding: 3rem 1.5rem;
    border-left: none;
  }
  .ram-repairs {
    border-bottom: 2px solid var(--white);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hose-creator .hero-title {
    font-size: 2rem;
  }
}

/* Utilities */
.icon-sm {
  width: 14px;
  vertical-align: middle;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.section-intro-text {
  max-width: 600px;
  margin: 0 auto;
  color: #666;
}

.btn-gap-left {
  margin-left: 10px;
}

.map-container iframe {
  border: 0;
}

/* =========================================
   Configurator Styles
   ========================================= */

/* Steps Indicator */
.steps-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ccc;
  font-weight: 500;
}

.step.active {
  color: var(--primary-color);
}

.step.finished {
  color: var(--primary-color);
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.step.active .step-circle,
.step.finished .step-circle {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Form Sections */
.form-section {
  margin-bottom: 2rem;
}

.section-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

/* Search Box / Input Groups */
.search-box {
  position: relative;
  margin-bottom: 2rem;
}

.search-box input {
  width: 100%;
  padding: 16px 20px;
  padding-right: 3rem;
  border: 1px solid transparent;
  font-family: var(--font-main);
  font-size: 1rem;
  border-radius: 4px;
  background-color: var(--gray-light);
  color: var(--text-dark);
  transition: all var(--transition-speed);
  box-shadow: none;
}

.search-box input::placeholder {
  color: #ccc;
  font-size: 1rem;
  font-weight: 400;
}

.search-box input:focus {
  outline: none;
  background-color: var(--white);
  border-color: #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-box input[readonly] {
  background-color: var(--gray-light);
  cursor: pointer;
}

.search-box input[readonly]:hover {
  background-color: #e8eaed;
  border-color: #ddd;
}

.search-box svg {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  width: 20px;
  height: 20px;
}
.search-box button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
}
.search-box button svg {
  position: static;
  transform: none;
}

/* Input Suffix (Degree) */
.input-suffix {
  background: #f4f4f4;
  padding: 1rem;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 4px 4px 0;
  color: #666;
  font-weight: 500;
}

.search-box input.with-suffix {
  border-radius: 4px 0 0 4px;
}

/* Number Inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.search-box input[type="number"] {
  padding-right: 60px; /* Extra space for unit label */
}

/* Side Panel (Drawer) */
.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.side-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-panel {
  position: fixed;
  top: 0;
  right: -600px;
  width: 500px;
  max-width: 90%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.side-panel.active {
  right: 0;
}

.side-panel-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-panel-header h3 {
  margin: 0;
  color: var(--primary-color);
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
}

.close-panel {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-color);
  font-size: 0.8rem;
}

.side-panel-content {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.side-panel-content .input-wrapper {
  margin-bottom: 1.5rem;
}

/* Selection List */
.selection-list {
  list-style: none;
  padding: 0;
}

.selection-item {
  padding: 1rem;
  border: 1px solid #eee;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1em;
}

.selection-item:hover {
  border-color: var(--primary-color);
  background: #f9f9f9;
}

.selection-item.selected {
  border-color: var(--accent-color);
  background: #fff5f2;
}

/* Variant Grid */
.variant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.variant-card {
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.variant-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.variant-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  background: #f4f4f4;
  border-radius: 4px;
}

.variant-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.variant-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

/* Summary Block */
.summary-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  margin-bottom: 1rem;
}

.summary-block:last-child {
  margin-bottom: 0 !important;
}

.summary-block h4 {
  margin: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.summary-block h4:hover {
  color: var(--primary-color);
}

.summary-block h4 svg {
  transition: transform 0.3s ease;
}

.summary-block.collapsed h4 {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.summary-block.collapsed h4 svg {
  transform: rotate(180deg);
}

.summary-content {
  max-height: 1000px;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  opacity: 1;
  margin-top: 1rem;
}

.summary-block.collapsed .summary-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.summary-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.summary-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Offset Angle Visualizer */
.c-twist-angle {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.c-twist-angle__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hand 1 (Fixed) */
.c-twist-angle__hand--primary {
  z-index: 2;
}

/* Hand 2 (Rotating) */
.js-twist-angle-hand {
  z-index: 1;
  transform-origin: center center;
  transition: transform 0.3s ease-out;
}

/* Labels */
.c-twist-angle__label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.c-twist-angle__label--primary {
  align-items: flex-end;
  padding-bottom: 40px;
}

.c-twist-angle__circle {
  background: #fff;
  border: 2px solid #ccc;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.c-twist-angle__label--primary .c-twist-angle__circle {
  background-color: #eee;
}

.js-twist-angle-circle {
  transform-origin: center center;
  transition: transform 0.3s ease-out;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 40px;
  height: 100%;
}

.js-twist-angle-number {
  transition: transform 0.3s ease-out;
  display: block;
}

.angle-description {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  text-align: left;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .side-panel {
    width: 100%;
    max-width: 100%;
  }
}

/* Utility Classes for Configurator */
.mb-0 {
  margin-bottom: 0 !important;
}

.input-select {
  cursor: pointer;
  height: auto !important;
}

.input-unit {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  font-weight: 500;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.text-bold-mb {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* 
 * About Page Styles 
 */

.about-text-block {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: center;
}

.about-hero-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem;
  display: block;
  height: auto;
}

.about-text-block p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #4a4a4a;
}

.font-bold {
  font-weight: 700;
}

/* Team Section */
.bg-gray-light {
  background-color: var(--gray-light);
}

.mb-5 {
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform var(--transition-speed),
    box-shadow var(--transition-speed);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #eee;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0;
}

/* 
 * FAQ Page Styles 
 */

.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
  background-color: var(--white);
  overflow: hidden;
  transition: box-shadow var(--transition-speed);
}

.accordion-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--white);
  transition: background-color var(--transition-speed);
}

.accordion-header:hover {
  background-color: var(--gray-light);
}

.accordion-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: #999;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease;
  background-color: var(--white);
}

.accordion-content p {
  padding: 1.5rem;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Active State */
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.accordion-item.active .accordion-header {
  background-color: #f9f9f9;
}

.accordion-item.active .accordion-content {
  max-height: 200px; /* Approximate max height */
}

/* 
 * Services Page Styles 
 */

.service-page-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
}

.service-card {
  flex: 0 1 calc(33.333% - 2rem); /* 3 items per row */
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-text-wrapper {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-text-wrapper h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.service-text-wrapper p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.6;
  flex: 1; /* Push button to bottom */
  transition: margin-bottom 0.3s ease;
}

.service-card:hover .service-text-wrapper p {
  margin-bottom: 1rem;
}

.service-link {
  display: inline-block;
  margin-top: 0;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card:hover .service-link {
  opacity: 1;
  max-height: 24px;
  transform: translateY(0);
}

.service-link:hover {
  text-decoration: underline;
}

/* Mobile Responsive for Services */
@media (max-width: 900px) {
  .service-card {
    flex: 0 1 calc(50% - 2rem); /* 2 items per row on tablets/small laptops */
  }
}

@media (max-width: 600px) {
  .service-card {
    flex: 0 1 100%; /* 1 item per row on mobile */
  }
}
/* 
 * Single Service Page Styles (Hydraulic Ram etc) 
 */
.ram-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.ram-hero-img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ram-intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.ram-intro-text p {
  margin-bottom: 1.5rem;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-card-content {
  padding: 1.5rem;
  flex: 1;
}

.feature-card h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ram-hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ram-hero-img {
    height: 300px;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Feature Card Icon */
.feature-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 1rem 0;
}

/* Workshop Gallery */
.workshop-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .workshop-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-img {
    height: 200px;
  }
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 37, 96, 0.95);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center; /* Center Vertically */
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.search-overlay.active {
  visibility: visible;
  opacity: 1;
}

.search-container {
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-overlay.active .search-container {
  transform: translateY(0);
}

.search-close {
  position: fixed;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2100;
}

.search-close:hover {
  color: var(--accent-color);
}

.search-close svg {
  width: 32px;
  height: 32px;
}

.search-box-large {
  display: flex;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.search-box-large input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  font-family: var(--font-heading);
  outline: none;
}

.search-box-large input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-box-large button {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0 10px;
}

.search-box-large button svg {
  width: 30px;
  height: 30px;
}

.search-results {
  margin-top: 30px;
  color: var(--white);
  display: none;
}

.search-results.active {
  display: block;
}

.result-placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

.search-result-item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-item a {
  display: block;
}

.search-result-item h4 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.search-result-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.search-result-item:hover h4 {
  text-decoration: underline;
}

/* Auth Modal */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 37, 96, 0.85); /* Deep purple overlay */
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.auth-modal.active {
  visibility: visible;
  opacity: 1;
}

.auth-container {
  background: var(--white);
  width: 100%;
  max-width: 450px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.auth-modal.active .auth-container {
  transform: translateY(0);
}

.auth-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.auth-close:hover {
  color: var(--accent-color);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  background: #f9f9f9;
}

.auth-tab {
  flex: 1;
  padding: 15px;
  border: none;
  background: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.auth-tab.active {
  color: var(--primary-color);
  background: var(--white);
}

.auth-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

.auth-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.auth-form {
  display: none;
  animation: fadeIn 0.3s ease;
}

.auth-form.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-title {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.auth-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.5;
}

#auth-modal .auth-form .form-group {
  margin-bottom: 20px;
}

#auth-modal .auth-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

#auth-modal .auth-form .form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  background-color: var(--gray-light);
  color: var(--text-dark);
  transition: all var(--transition-speed);
  box-shadow: none;
}

#auth-modal .auth-form .form-group input:focus {
  outline: none;
  background-color: var(--white);
  border-color: #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#auth-modal .auth-form .form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

#auth-modal .auth-form .checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

#auth-modal .auth-form .checkbox-container input {
  margin-right: 8px;
  cursor: pointer;
}

.auth-link {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.auth-link:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

.auth-footer {
  text-align: center;
  margin-top: 15px;
}

.auth-msg {
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.auth-msg--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.auth-msg--success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ============================================================
   CONFIGURATOR — inline option cards & rendering
   ============================================================ */

.cfg-section {
  margin-bottom: 1.75rem;
  scroll-margin-top: 80px;
}

.cfg-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

/* Grids */
.cfg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.cfg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.cfg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

@media (max-width: 600px) {
  .cfg-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Text-only option cards — Connection Type, Connection Size (no image area) */
.cfg-text-card {
  justify-content: center;
  min-height: 54px;
  padding: 12px 8px;
}

.cfg-text-card .cfg-option-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 0;
  line-height: 1.35;
}

@media (max-width: 600px) {
  .cfg-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Option cards (hose size, form, type, size, bend, accessory) */
.cfg-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 0.6rem 0.7rem;
  background: var(--white);
  border: 2px solid #e2e4ea;
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s,
    box-shadow 0.18s;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  width: 100%;
  line-height: 1.3;
}

.cfg-option-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(47, 37, 96, 0.12);
}

.cfg-option-card.selected {
  border-color: var(--primary-color);
  background: rgba(47, 37, 96, 0.05);
  /* box-shadow: 0 2px 8px rgba(47, 37, 96, 0.14); */
}

.cfg-option-art {
  width: 100%;
  height: 60px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.cfg-option-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cfg-option-label {
  font-weight: 600;
  font-size: 0.82rem;
  /* margin-bottom: 0.25rem; */
  color: var(--primary-color);
}

/* Tags */
.cfg-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-top: 0.25rem;
}

.cfg-tag {
  display: inline-block;
  background: #f0f0f5;
  color: #555;
  font-size: 0.68rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cfg-tag.accent {
  background: rgba(240, 52, 0, 0.1);
  color: var(--accent-color);
}

/* Result cards (matching part numbers) */
.cfg-result-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.cfg-result-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  border: 2px solid #e2e4ea;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: var(--font-main);
  transition:
    border-color 0.18s,
    background 0.18s;
}

.cfg-result-card:hover {
  border-color: var(--primary-color);
}

.cfg-result-card.selected {
  border-color: var(--primary-color);
  background: rgba(47, 37, 96, 0.04);
}

.cfg-result-art {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f6f8;
}

.cfg-result-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cfg-result-art svg {
  width: 100%;
  height: 100%;
}

.cfg-result-copy h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.18rem;
  font-family: var(--font-heading);
}

.cfg-result-copy p {
  font-size: 0.76rem;
  color: #555;
  margin: 0 0 0.3rem;
}

.cfg-result-copy .cfg-tag-row {
  justify-content: flex-start;
}

/* Status messages */
.cfg-empty {
  color: #888;
  font-size: 0.82rem;
  padding: 0.9rem 1rem;
  background: #f8f8f8;
  border-radius: 8px;
  text-align: center;
}

.cfg-notice {
  background: rgba(47, 37, 96, 0.07);
  border-left: 3px solid var(--primary-color);
  padding: 0.65rem 0.9rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.5;
}

.cfg-warning {
  background: rgba(240, 52, 0, 0.07);
  border-left: 3px solid var(--accent-color);
  padding: 0.65rem 0.9rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
  margin: 0.5rem 0 0.75rem;
}

.cfg-error {
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 500;
  min-height: 1.2em;
  margin-bottom: 0.25rem;
}

/* Or divider */
.cfg-or-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #aaa;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 1.25rem 0;
}

.cfg-or-divider::before,
.cfg-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

/* Offset angle presets */
.cfg-offset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .cfg-offset-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cfg-offset-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.4rem;
  background: var(--white);
  border: 2px solid #e2e4ea;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  transition:
    border-color 0.18s,
    background 0.18s;
  width: 100%;
}

.cfg-offset-card:hover {
  border-color: var(--primary-color);
}

.cfg-offset-card.selected {
  border-color: var(--primary-color);
  background: rgba(47, 37, 96, 0.05);
}

.cfg-offset-art {
  width: 100%;
  height: 40px;
  margin-bottom: 0.2rem;
}

/* Assembly code block */
.cfg-assembly-code {
  background: var(--primary-color);
  color: var(--white);
  padding: 1.1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.cfg-assembly-code small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.65;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cfg-assembly-code strong {
  font-size: 1rem;
  word-break: break-all;
  font-family: monospace;
  letter-spacing: 0.02em;
}

/* Review grid (final summary) */
.cfg-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .cfg-review-grid {
    grid-template-columns: 1fr;
  }
}

.cfg-review-card {
  background: #f7f8fb;
  border: 1px solid #e2e4ea;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.cfg-review-card small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.cfg-review-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.2rem;
}

.cfg-review-card p {
  font-size: 0.78rem;
  color: #555;
  margin: 0.1rem 0;
}

.cfg-review-card img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  background: #fff;
}

/* ── Configurator: Fitting Detail Panel ──────────────────────────────────────── */
.cfg-field-hint {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.3rem;
  line-height: 1.4;
}
.cfg-field-hint a {
  color: var(--accent-color);
}

.cfg-fitting-detail {
  display: flex;
  gap: 1.25rem;
  background: var(--gray-light);
  border: 1.5px solid rgba(47, 37, 96, 0.12);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.cfg-fitting-detail-img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.cfg-fitting-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cfg-fitting-detail-body {
  flex: 1;
  min-width: 0;
}
.cfg-fitting-detail-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  flex-wrap: wrap;
}
.cfg-fitting-detail-id {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
}
.cfg-fitting-detail-desc {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}
.cfg-fitting-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.75rem;
  font-size: 0.8rem;
}
.cfg-fitting-specs dt {
  color: #888;
  white-space: nowrap;
}
.cfg-fitting-specs dd {
  color: var(--text-dark);
  font-weight: 500;
}
.cfg-fitting-specs a {
  color: var(--accent-color);
  text-decoration: underline;
}
@media (max-width: 500px) {
  .cfg-fitting-detail {
    flex-direction: column;
  }
  .cfg-fitting-detail-img {
    width: 100%;
    height: 140px;
  }
}

/* ── Price Breakdown ──────────────────────────────────────────────────────────── */
.cfg-price-breakdown {
  border: 1.5px solid rgba(47, 37, 96, 0.12);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.cfg-price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.4rem 0.85rem;
  align-items: center;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.82rem;
}
.cfg-price-row:last-child {
  border-bottom: none;
}
.cfg-price-label {
  font-weight: 500;
  color: var(--text-dark);
}
.cfg-price-detail {
  color: #888;
  font-size: 0.77rem;
  text-align: right;
}
.cfg-price-value {
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  white-space: nowrap;
}
.cfg-price-row--total {
  background: rgba(47, 37, 96, 0.04);
}
.cfg-price-row--total .cfg-price-label,
.cfg-price-row--total .cfg-price-value {
  color: var(--primary-color);
  font-size: 0.88rem;
}
.cfg-price-row--grand {
  background: var(--primary-color);
}
.cfg-price-row--grand .cfg-price-label,
.cfg-price-row--grand .cfg-price-value {
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-heading);
}
.cfg-price-row--grand .cfg-price-detail {
  color: rgba(255, 255, 255, 0.65);
}

/* ── Quantity Stepper ─────────────────────────────────────────────────────────── */
.cfg-qty-form {
  display: inline-block;
}
.cfg-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(47, 37, 96, 0.2);
  border-radius: 6px;
  overflow: hidden;
  height: 44px;
}
.cfg-qty-btn {
  width: 44px;
  height: 44px;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  padding: 0;
}
.cfg-qty-btn:hover {
  background: rgba(47, 37, 96, 0.12);
}
.cfg-qty-value {
  min-width: 52px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(47, 37, 96, 0.15);
  border-right: 1px solid rgba(47, 37, 96, 0.15);
}

/* ── Auth Gate ────────────────────────────────────────────────────────────────── */
.cfg-auth-gate {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a1445 100%);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.cfg-auth-gate .cfg-tag.accent {
  background: var(--accent-color);
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.6rem;
}
.cfg-auth-gate h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #fff !important;
}
.cfg-auth-gate p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.cfg-auth-gate-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cfg-auth-gate .btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}
.cfg-auth-gate .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.cfg-auth-gate .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Banjo Bolt Toggle ────────────────────────────────────────────────────────── */
.cfg-banjo-toggle {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(47, 37, 96, 0.15);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  color: var(--text-dark);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.cfg-banjo-toggle:hover {
  border-color: var(--primary-color);
}
.cfg-banjo-toggle.active {
  border-color: var(--primary-color);
  background: rgba(47, 37, 96, 0.04);
}
.cfg-banjo-toggle-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(47, 37, 96, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.cfg-banjo-toggle.active .cfg-banjo-toggle-icon {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.cfg-banjo-toggle.active .cfg-banjo-toggle-icon::after {
  content: "";
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  position: absolute;
}
.cfg-banjo-toggle-text {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.4;
}
.cfg-banjo-toggle-text strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}

/* ── Live Summary (left panel) ───────────────────────────────────────────────── */
.ls-shell {
  width: 100%;
}

.ls-intro {
  margin-bottom: 1.25rem;
}
.ls-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 5px;
}
.ls-intro h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 5px;
}
.ls-intro p {
  font-size: 0.76rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* Accordion */
.ls-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 7px;
  overflow: hidden;
}
.ls-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.ls-toggle::-webkit-details-marker {
  display: none;
}
.ls-toggle:hover {
  background: rgba(0, 0, 0, 0.03);
}
.ls-section[open] > .ls-toggle {
  background: rgba(0, 0, 0, 0.02);
}
.ls-toggle-copy {
  flex: 1;
  min-width: 0;
}
.ls-toggle-title {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #aaa;
  margin-bottom: 2px;
}
.ls-toggle-copy strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-toggle-copy small {
  display: block;
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-chevron {
  color: #bbb;
  flex-shrink: 0;
  transition: transform 0.2s;
  margin-top: 2px;
}
.ls-chevron svg {
  width: 16px;
  height: 16px;
  stroke: #bbb;
}
.ls-section[open] > .ls-toggle .ls-chevron {
  transform: rotate(180deg);
}

/* Body */
.ls-body {
  padding: 0 13px 13px;
  border-top: 1px solid #f0f0f0;
}

/* Spotlight card */
.ls-spotlight {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  padding-top: 10px;
}
.ls-spot-media {
  width: 48px;
  height: 48px;
  background: var(--gray-light);
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.ls-spot-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ls-spot-copy {
  flex: 1;
  min-width: 0;
}
.ls-spot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 3px;
}
.ls-spot-copy h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.ls-spot-copy > p {
  font-size: 0.7rem;
  color: #888;
  margin: 0 0 5px;
}

/* Tags */
.ls-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
}
.ls-tag {
  display: inline-block;
  background: rgba(0, 0, 0, 0.06);
  color: #555;
  font-size: 0.63rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
}
.ls-tag--positive {
  background: rgba(240, 52, 0, 0.1);
  color: var(--accent-color);
}

/* Data rows */
.ls-data-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
}
.ls-data-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}
.ls-data-row:last-child {
  border-bottom: none;
}
.ls-data-row span {
  color: #888;
  flex-shrink: 0;
}
.ls-data-row strong {
  color: var(--text-dark);
  font-weight: 600;
  text-align: right;
}

/* Angle card */
.ls-angle-card {
  text-align: center;
  padding: 12px 0 4px;
}
.ls-angle-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 5px;
}
.ls-angle-card p {
  font-size: 0.73rem;
  color: #888;
  margin: 0;
}

/* Mini stack (accessories) */
.ls-mini-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}
.ls-mini-card {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ls-mini-media {
  width: 34px;
  height: 34px;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.ls-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ls-mini-copy strong {
  display: block;
  font-size: 0.76rem;
  color: var(--text-dark);
}
.ls-mini-copy p {
  font-size: 0.68rem;
  color: #888;
  margin: 0;
}

/* Empty state */
.ls-empty {
  padding-top: 8px;
}
.ls-empty p {
  font-size: 0.76rem;
  color: #bbb;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

/* Support callout */
.ls-support {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}
.ls-support strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.82rem;
  margin-bottom: 3px;
}
.ls-support p {
  font-size: 0.75rem;
  color: #888;
  margin: 0;
}

/* ── Step 6 summary cards ────────────────────────────────────────────────────── */
.cfg-summary-callout {
  background: #f0f4ff;
  border: 1.5px solid rgba(47, 37, 96, 0.15);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 1.5rem;
}
.cfg-summary-callout h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 6px;
}
.cfg-summary-callout p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}
.cfg-pricing-card {
  background: #fff;
  border: 1.5px solid rgba(47, 37, 96, 0.15);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 1.5rem;
}
.cfg-pricing-card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  margin: 0 0 14px;
}
.cfg-price-totals {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .cfg-price-totals {
    flex-direction: column;
    gap: 8px;
  }
}
.cfg-price-totals > div {
  flex: 1;
  min-width: 120px;
  background: rgba(47, 37, 96, 0.04);
  border-radius: 6px;
  padding: 10px 14px;
  border-bottom: none;
}
.cfg-price-totals > div span {
  display: block;
  font-size: 0.72rem;
  color: #888;
  /* margin-bottom: 3px; */
}
.cfg-price-totals > div strong {
  display: block;
  font-size: 1.15rem !important;
  font-weight: 700;
  color: var(--primary-color);
}
.cfg-order-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.cfg-order-qty-row label {
  font-size: 0.8rem;
  color: #666;
  margin-right: 4px;
  white-space: nowrap;
}
.cfg-qty-stepper-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(47, 37, 96, 0.2);
  border-radius: 6px;
  overflow: hidden;
  height: 42px;
}
.cfg-qty-step-btn {
  width: 42px;
  height: 42px;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
  padding: 0;
}
.cfg-qty-step-btn:hover {
  background: rgba(47, 37, 96, 0.1);
}
.cfg-qty-display {
  min-width: 48px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  border-left: 1px solid rgba(47, 37, 96, 0.15);
  border-right: 1px solid rgba(47, 37, 96, 0.15);
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

/* =========================================
   CPT Archive & Single Pages
   ========================================= */

/* Archive grid */
.cpt-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Archive card */
.cpt-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e8eaed;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition:
    box-shadow var(--transition-speed),
    transform var(--transition-speed);
}
.cpt-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.cpt-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-light);
}
.cpt-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cpt-card-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}
.cpt-card-no-image svg {
  width: 48px;
  height: 48px;
}
.cpt-card-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.cpt-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}
.cpt-card-sku {
  font-size: 0.8rem;
  color: #888;
}
.cpt-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.4rem;
}
.cpt-card-meta span {
  font-size: 0.85rem;
  color: #555;
}
.cpt-empty {
  text-align: center;
  color: #888;
  font-size: 1.1rem;
  padding: 3rem 0;
}

/* Single layout */
.cpt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.cpt-breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}
.cpt-breadcrumb a:hover {
  color: var(--accent-color);
}
.cpt-single-sku {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.25rem;
}
.cpt-single-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.cpt-single-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.cpt-single-no-image {
  aspect-ratio: 1;
  background: var(--gray-light);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #bbb;
  font-size: 0.9rem;
}
.cpt-single-no-image svg {
  width: 64px;
  height: 64px;
}
.cpt-single-heading {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.cpt-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.cpt-spec-table th,
.cpt-spec-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-light);
}
.cpt-spec-table tr:last-child th,
.cpt-spec-table tr:last-child td {
  border-bottom: none;
}
.cpt-spec-table th {
  color: #555;
  font-weight: 600;
  width: 40%;
  background: var(--gray-light);
}
.cpt-spec-table td {
  color: var(--text-dark);
  font-weight: 500;
}
.cpt-single-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cpt-back-link {
  margin-top: 1rem;
}
.cpt-back-link a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}
.cpt-back-link a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .cpt-single-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cpt-archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
}

/* =========================================
   Pagination
   ========================================= */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.archive-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.archive-count {
  font-size: 0.9rem;
  color: #777;
  white-space: nowrap;
}

.navigation.pagination {
  margin: 0;
}

.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-speed);
  border: 1px solid #e0e0e0;
  color: var(--primary-color);
  background: var(--white);
}

.navigation.pagination .nav-links a:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.navigation.pagination .nav-links span.current {
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
}

.navigation.pagination .nav-links .dots {
  border: none;
  background: none;
  color: #999;
  min-width: auto;
  padding: 0 0.25rem;
}

/* =========================================
   Shop Page
   ========================================= */
.shop-section {
  background: var(--white);
}
.shop-section--alt {
  background: var(--gray-light);
}
.shop-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.shop-section-header h2 {
  margin: 0;
}
.shop-view-all {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
  white-space: nowrap;
}
.shop-view-all:hover {
  text-decoration: underline;
}
.cpt-card-price {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}
.cpt-card-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #888;
}

.shop-categories {
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
}

.shop-section--no-top {
  padding-top: 0;
}

.shop-section .cpt-archive-grid {
  margin-bottom: 0;
}

.shop-section--no-bottom {
  padding-bottom: 0;
}

/* =========================================
   Configurator – Shared
   ========================================= */
:root {
  --brand-purple: #2e2a61;
  --brand-orange: #f15c22;
}

.cfg-section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 4px;
}
.cfg-section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2e2a61;
  margin: 0 0 6px;
}
.cfg-section-desc {
  font-size: 0.875rem;
  color: #666;
  margin: 0 0 16px;
}
.cfg-section-title {
  color: var(--brand-purple);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.cfg-notice {
  background: #eef6ff;
  border-left: 3px solid #3b82f6;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: #1e4d8c;
  margin: 12px 0;
}
.cfg-warning {
  background: #fff4f0;
  border-left: 3px solid var(--brand-orange);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: #7a2a0d;
  margin: 12px 0;
}
.summary-page-title {
  color: white;
}

/* Option cards */
.cfg-option-card.selected {
  border-color: var(--brand-orange) !important;
  /* box-shadow: 0 0 0 2px var(--brand-orange); */
  background: #fffcf5;
}
.cfg-option-art img {
  max-height: 100%;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.cfg-size-label {
  font-size: 0.82rem !important;
  font-weight: 600;
}

/* Badge */
.cfg-badge-pressure {
  background-color: var(--brand-orange);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  white-space: nowrap;
}

/* Variant cards (step 1) */
.cfg-variant-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.cfg-variant-card:hover {
  border-color: #f15c22;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.cfg-variant-card.selected {
  border-color: #f15c22;
  background-color: #fff9f7;
  box-shadow: 0 0 0 2px #f15c22;
}
.cfg-variant-series {
  font-size: 0.75rem;
  color: #999;
  margin-top: 6px;
}
.cfg-option-card .cfg-tag-row,
.cfg-variant-card .cfg-tag-row {
  justify-content: flex-start;
}

/* Length validation messages (step 1) */
.cfg-length-row {
  margin-bottom: 8px;
}
.cfg-length-input {
  width: 100%;
}
#cfg-msg-empty,
#cfg-msg-short,
#cfg-msg-long,
#cfg-msg-valid,
#cfg-msg-filtered {
  display: none;
}

/* Search (steps 2–3) */
.cfg-search-input {
  width: 100%;
}
.cfg-search-clear {
  font-size: 0.8rem;
  color: #888;
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
}
.cfg-search-clear:hover {
  color: var(--brand-orange);
}

/* OR divider */
.cfg-or-row {
  text-align: center;
  color: #aaa;
  font-weight: 600;
  margin: 24px 0;
  font-size: 0.85rem;
  letter-spacing: 1px;
  position: relative;
}
.cfg-or-row::before,
.cfg-or-row::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44%;
  height: 1px;
  background: #e5e5e5;
}
.cfg-or-row::before {
  left: 0;
}
.cfg-or-row::after {
  right: 0;
}

/* ── Selected fitting panel — mirrors SHC selected-product ─────────────── */
.selected-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: #f8f9fb;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}

.selected-product-gallery {
  display: grid;
  gap: 12px;
}

.product-gallery {
  position: relative;
}

.product-gallery .art-frame {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery .art-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0;
}
.gallery-control.prev {
  left: 8px;
}
.gallery-control.next {
  right: 8px;
}
.gallery-control:hover {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.gallery-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
}

.selected-product-copy {
  display: grid;
  gap: 12px;
}

.selected-product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.selected-product-header h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--brand-purple, #2e2a61);
}

.selected-product-header p {
  margin: 0;
  font-size: 0.84rem;
  color: #555;
  line-height: 1.4;
}

/* Spec grid — mirrors SHC spec-grid / spec-item */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.spec-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(16, 33, 45, 0.045);
  border: 1px solid rgba(16, 33, 45, 0.06);
}

.spec-item span {
  display: block;
  color: #888;
  font-size: 0.76rem;
  margin-bottom: 5px;
}

.spec-item strong {
  display: block;
  font-size: 0.9rem;
  word-break: break-word;
  color: var(--brand-purple, #2e2a61);
}

@media (max-width: 600px) {
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .product-gallery .art-frame {
    height: 200px;
  }
}

/* Spec panel (steps 2–3) */
.cfg-spec-panel {
  background: #f8f9fb;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
}
.cfg-spec-panel-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.cfg-spec-panel-img {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.cfg-spec-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cfg-spec-panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-purple);
  margin: 0 0 4px;
}
.cfg-spec-panel-desc {
  font-size: 0.82rem;
  color: #666;
  margin: 0 0 8px;
  line-height: 1.4;
}
.cfg-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px 16px;
}
.cfg-spec-item {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}
.cfg-spec-item span {
  color: #888;
  margin-bottom: 1px;
}
.cfg-spec-item strong {
  color: #2e2a61;
}

/* Shortcut toggle (steps 2–3) */
.cfg-shortcut-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  margin-top: 8px;
}
.cfg-shortcut-toggle:hover,
.cfg-shortcut-toggle.selected {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 1px var(--brand-orange);
  background: #fffcf5;
}
.cfg-shortcut-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand-purple);
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.cfg-shortcut-box svg {
  width: 12px;
  height: 12px;
  stroke: transparent;
  transition: stroke 0.15s;
}
.cfg-shortcut-toggle:hover .cfg-shortcut-box {
  border-color: var(--brand-orange);
}
.cfg-shortcut-toggle.selected .cfg-shortcut-box {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
}
.cfg-shortcut-toggle.selected .cfg-shortcut-box svg {
  stroke: #fff;
}
.cfg-shortcut-toggle-img {
  width: 50px;
  height: 50px;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.cfg-shortcut-toggle-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cfg-shortcut-copy strong {
  display: block;
  font-size: 0.9rem;
  color: #2e2a61;
  margin-bottom: 3px;
}
.cfg-shortcut-copy span {
  font-size: 0.8rem;
  color: #777;
}
.cfg-shortcut-copy .cfg-tag-row {
  justify-content: flex-start;
}

/* Same-as-first card (step 3) */
.cfg-same-as-card {
  border: 2px solid var(--brand-orange);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 12px;
  background: #fffcf5;
}
.cfg-same-as-card .cfg-option-label {
  text-align: left;
  margin-bottom: 8px;
}

/* ── Offset angle (step 4) ─────────────────────────────────────────────── */

/* Entry card: input + checkmark side by side */
.offset-entry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.offset-entry-field {
  display: grid;
  gap: 8px;
}

.offset-degree-input {
  display: flex;
  align-items: center;
  gap: 6px;
}

.offset-degree-input input {
  width: 100px;
}

.offset-degree-input span {
  font-size: 1.1rem;
  color: #555;
}

.offset-status {
  font-size: 1.4rem;
  color: #2e2a61;
  font-weight: 700;
}

/* Visual panel: diagram left, copy+chips right */
.offset-visual-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.offset-diagram-card h4 {
  margin: 0 0 14px;
  color: #2e2a61;
  font-size: 1rem;
}

.offset-diagram-wrap {
  min-height: 220px;
  display: grid;
  place-items: center;
}

/* SVG diagram — class names match shc_render_offset_diagram() output */
.shc-offset-diagram {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.shc-offset-guides circle,
.shc-offset-guides line {
  fill: none;
  stroke: rgba(16, 33, 45, 0.16);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
}

.shc-offset-labels text {
  fill: #7d8b95;
  font-size: 10px;
  font-weight: 600;
}

.shc-offset-base rect,
.shc-offset-base circle {
  fill: #2f2f31;
}

.shc-offset-base .shc-offset-core {
  fill: #a0a3a8;
}

.shc-offset-arm line {
  stroke: #5a5d62;
  stroke-width: 14;
  stroke-linecap: round;
}

.shc-offset-arm circle {
  fill: #d51f2a;
}

.shc-offset-index {
  fill: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* Copy card: readout + chips */
.offset-copy-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.offset-copy-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.offset-readout {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.offset-readout span {
  color: #888;
  font-weight: 600;
  font-size: 0.85rem;
}

.offset-readout strong {
  font-size: 2rem;
  line-height: 1;
  color: #2e2a61;
}

/* Preset chips */
.offset-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shc-chip-button {
  padding: 6px 14px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.shc-chip-button:hover {
  background: #ece9f8;
  border-color: #2e2a61;
  color: #2e2a61;
}

.shc-chip-button.offset-chip-selected {
  background: linear-gradient(135deg, #2e2a61 0%, #1a1640 100%);
  border-color: #1a1640;
  color: #fff;
}

/* Angle preset chips (anchor variant of shc-chip-button) */
.cfg-offset-chip {
  display: inline-block;
  padding: 6px 14px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #2e2a61;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.cfg-offset-chip:hover {
  background: #ece9f8;
  border-color: #2e2a61;
  color: #2e2a61;
}
.cfg-offset-chip.offset-chip-selected {
  background: linear-gradient(135deg, #2e2a61 0%, #1a1640 100%);
  border-color: #1a1640;
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .offset-visual-panel {
    grid-template-columns: 1fr;
  }

  .offset-entry-card {
    grid-template-columns: 1fr;
  }
}
.cfg-offset-number::-webkit-outer-spin-button,
.cfg-offset-number::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Accessories (step 5) */
.cfg-acc-family {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 4px;
  color: #2e2a61;
}
.cfg-acc-desc {
  font-size: 0.75rem;
  color: #777;
  text-align: center;
  padding: 0 6px;
  line-height: 1.4;
}

/* Assembly code (step 6) */
.shc-assembly-code {
  background: #f8f9fb;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
  font-family:
    ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  word-break: break-all;
  line-height: 1.8;
}
.shc-assembly-code-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
  display: block;
  margin-bottom: 6px;
}
.shc-asm-part {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-purple);
}
.shc-asm-sep {
  font-size: 1rem;
  color: #aaa;
  margin: 0 2px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   WooCommerce Cart & Checkout – Theme Sync
   ══════════════════════════════════════════════════════════════════════════════ */

/* Hide auto-generated product description in cart */
.woocommerce-cart .product-name .product-short-description,
.woocommerce-cart .product-name p:not(.assembly-code) {
  display: none;
}

/* Page title */
.woocommerce-cart h1.entry-title,
.woocommerce-cart .page-title {
  font-family: var(--font-heading);
  color: var(--brand-purple);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Cart table */
.woocommerce-cart table.shop_table {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-cart table.shop_table thead th {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-purple);
  padding: 10px 14px;
  border-bottom: 2px solid rgba(47, 37, 96, 0.12);
  background: transparent;
}
.woocommerce-cart table.shop_table tbody td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: middle;
}
.woocommerce-cart table.shop_table .product-name a {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-purple);
  text-decoration: none;
  font-size: 1rem;
}
.woocommerce-cart table.shop_table .product-name a:hover {
  color: var(--accent-color);
}
/* Assembly code meta */
.woocommerce-cart table.shop_table .wc-item-meta {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #666;
  list-style: none;
  padding: 0;
}
.woocommerce-cart table.shop_table .wc-item-meta strong {
  color: var(--brand-purple);
  font-weight: 600;
}
/* Price */
.woocommerce-cart table.shop_table .product-price,
.woocommerce-cart table.shop_table .product-total {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-purple);
  font-size: 1rem;
}

/* Quantity input */
.woocommerce-cart .woocommerce-cart-form .quantity input.qty {
  border: 1.5px solid rgba(47, 37, 96, 0.2);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-purple);
  text-align: center;
  padding: 6px 10px;
  width: 60px;
  font-size: 0.95rem;
}
.woocommerce-cart .woocommerce-cart-form .quantity input.qty:focus {
  outline: none;
  border-color: var(--brand-purple);
}

/* Remove item icon */
.woocommerce-cart table.shop_table .product-remove a {
  color: #aaa;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
}
.woocommerce-cart table.shop_table .product-remove a:hover {
  color: var(--accent-color);
}

/* Coupon + Update row */
.woocommerce-cart .woocommerce-cart-form .actions {
  padding: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.woocommerce-cart .woocommerce-cart-form .coupon {
  display: flex;
  gap: 8px;
  flex: 1;
}
.woocommerce-cart .woocommerce-cart-form .coupon input#coupon_code {
  flex: 1;
  border: 1.5px solid rgba(47, 37, 96, 0.2);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.15s;
}
.woocommerce-cart .woocommerce-cart-form .coupon input#coupon_code:focus {
  outline: none;
  border-color: var(--brand-purple);
}
.woocommerce-cart .woocommerce-cart-form .coupon button[name="apply_coupon"],
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  background: var(--brand-purple);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.15s,
    opacity 0.15s;
  white-space: nowrap;
}
.woocommerce-cart
  .woocommerce-cart-form
  .coupon
  button[name="apply_coupon"]:hover,
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:hover {
  opacity: 0.85;
}

/* Cart totals box */
.woocommerce-cart .cart-collaterals .cart_totals {
  background: rgba(47, 37, 96, 0.03);
  border: 1px solid rgba(47, 37, 96, 0.1);
  border-radius: 10px;
  padding: 24px;
}
.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 16px;
}
.woocommerce-cart .cart-collaterals .cart_totals table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(47, 37, 96, 0.08);
  font-size: 0.88rem;
  color: var(--text-dark);
}
.woocommerce-cart .cart-collaterals .cart_totals table tr:last-child th,
.woocommerce-cart .cart-collaterals .cart_totals table tr:last-child td {
  border-bottom: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-purple);
}
.woocommerce-cart
  .cart-collaterals
  .cart_totals
  table
  .woocommerce-Price-amount {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-purple);
}

/* Proceed to Checkout button */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  background: var(--accent-color);
  color: var(--white) !important;
  border: none;
  border-radius: 6px;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
  margin-top: 16px;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  opacity: 0.88;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  background-color: #25D366 !important;
  color: white !important;
  padding: 12px 20px !important;
  border-radius: 50px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  z-index: 99999 !important;
  transition: all 0.3s ease !important;
}

.floating-whatsapp:hover {
  transform: scale(1.05) !important;
  background-color: #20ba5a !important;
}

.floating-whatsapp svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

@media (max-width: 768px) {
  .floating-whatsapp span {
    display: none !important;
  }
  .floating-whatsapp {
    padding: 12px !important;
    border-radius: 50% !important;
    bottom: 20px !important;
    right: 20px !important;
  }
}
