/* =============================================================
   PRINTER CATALOGUE — Complete Stylesheet
   Paste into: Appearance → Customize → Additional CSS
   OR enqueue via your child theme's functions.php
   ============================================================= */

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
  --pc-font:        'DM Sans', sans-serif;
  --pc-font-mono:   'DM Mono', monospace;

  --pc-black:       #0f0f0f;
  --pc-white:       #ffffff;
  --pc-gray-50:     #f8f7f4;
  --pc-gray-100:    #eeecea;
  --pc-gray-200:    #d8d5d0;
  --pc-gray-400:    #9e9a94;
  --pc-gray-600:    #5c5955;
  --pc-gray-800:    #2a2826;

  --pc-blue:        #1a56db;
  --pc-blue-light:  #e8f0fe;
  --pc-blue-mid:    #3b82f6;

  --pc-green:       #0a7c4e;
  --pc-green-light: #e6f6ef;

  --pc-amber:       #b45309;
  --pc-amber-light: #fef3c7;

  --pc-red:         #b91c1c;
  --pc-red-light:   #fce8e8;

  --pc-radius-sm:   4px;
  --pc-radius:      8px;
  --pc-radius-lg:   12px;
  --pc-radius-xl:   16px;

  --pc-shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --pc-shadow:      0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --pc-shadow-lg:   0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);

  --pc-transition:  all 0.18s ease;
}


/* ─── Google Fonts Import ───────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');


/* ─── Base resets for catalogue elements ────────────────────── */
.printer-page *,
.printer-archive * {
  box-sizing: border-box;
}

.printer-page,
.printer-archive {
  font-family: var(--pc-font);
  color: var(--pc-black);
}


/* =============================================================
   BADGES
   ============================================================= */
.printer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--pc-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  line-height: 1;
}

.printer-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge--green {
  background: var(--pc-green-light);
  color: var(--pc-green);
}
.badge--green::before { background: var(--pc-green); }

.badge--amber {
  background: var(--pc-amber-light);
  color: var(--pc-amber);
}
.badge--amber::before { background: var(--pc-amber); }

.badge--red {
  background: var(--pc-red-light);
  color: var(--pc-red);
}
.badge--red::before { background: var(--pc-red); }

.badge--blue {
  background: var(--pc-blue-light);
  color: var(--pc-blue);
}
.badge--blue::before { background: var(--pc-blue); }

.badge--gray {
  background: var(--pc-gray-100);
  color: var(--pc-gray-600);
}
.badge--gray::before { background: var(--pc-gray-400); }

/* Badge row at top of product page */
.printer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}


/* =============================================================
   PRICE BLOCK
   ============================================================= */
.printer-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.price-current {
  font-family: var(--pc-font);
  font-size: 32px;
  font-weight: 600;
  color: var(--pc-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.price-vat {
  font-size: 12px;
  color: var(--pc-gray-400);
  font-weight: 400;
}

.price-original {
  font-size: 13px;
  color: var(--pc-gray-400);
  text-decoration: line-through;
  margin-top: 2px;
}

.price-saving {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  background: var(--pc-green-light);
  color: var(--pc-green);
  padding: 2px 8px;
  border-radius: 99px;
  margin-top: 2px;
  width: fit-content;
}

/* Price on request variant */
.printer-price--request {
  gap: 10px;
}

.price-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--pc-gray-600);
  font-style: italic;
}


/* =============================================================
   PHOTO GALLERY
   ============================================================= */
.printer-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  margin-bottom: 32px;
  border-radius: var(--pc-radius-xl);
  overflow: hidden;
}

.printer-gallery__main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: var(--pc-gray-50);
  border-radius: var(--pc-radius-lg);
  aspect-ratio: 4/3;
}

.printer-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

.printer-gallery__main img:hover {
  transform: scale(1.03);
}

.printer-gallery__thumb {
  position: relative;
  overflow: hidden;
  background: var(--pc-gray-50);
  border-radius: var(--pc-radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.printer-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--pc-transition);
}

.printer-gallery__thumb:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.printer-gallery__more {
  position: relative;
  overflow: hidden;
  background: var(--pc-gray-800);
  border-radius: var(--pc-radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pc-white);
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
}

.printer-gallery__more:hover {
  background: var(--pc-black);
}

/* Counter screenshot badge in gallery */
.gallery-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}


/* =============================================================
   PAGE COUNTERS BLOCK
   ============================================================= */
.printer-counters {
  background: var(--pc-gray-50);
  border: 1px solid var(--pc-gray-100);
  border-radius: var(--pc-radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.counters-title {
  font-family: var(--pc-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pc-gray-400);
  margin: 0 0 16px 0;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.counter-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px 0 0;
  border-right: 1px solid var(--pc-gray-200);
}

.counter-cell:last-child {
  border-right: none;
  padding-left: 16px;
  padding-right: 0;
}

.counter-cell:not(:first-child) {
  padding-left: 16px;
}

.counter-value {
  font-family: var(--pc-font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--pc-black);
  letter-spacing: -0.02em;
  line-height: 1;
}

.counter--color .counter-value { color: var(--pc-blue); }
.counter--drum .counter-value   { color: var(--pc-green); }

.counter-label {
  font-size: 11px;
  color: var(--pc-gray-400);
  font-weight: 400;
}

/* Screenshot proof link below counters */
.counter-proof {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pc-blue);
  margin-top: 14px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--pc-font);
}

.counter-proof:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .counter-cell {
    border-right: none;
    padding: 0;
  }
  .counter-cell:nth-child(odd) {
    border-right: 1px solid var(--pc-gray-200);
    padding-right: 16px;
  }
}


/* =============================================================
   SPECIFICATIONS TABLE
   ============================================================= */
.printer-specs {
  border: 1px solid var(--pc-gray-100);
  border-radius: var(--pc-radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.specs-title {
  font-family: var(--pc-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pc-gray-400);
  margin: 0;
  padding: 14px 20px;
  background: var(--pc-gray-50);
  border-bottom: 1px solid var(--pc-gray-100);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table tr:nth-child(even) {
  background: var(--pc-gray-50);
}

.specs-table tr:hover {
  background: var(--pc-blue-light);
  transition: background 0.12s ease;
}

.spec-label {
  padding: 11px 20px;
  color: var(--pc-gray-600);
  font-weight: 400;
  width: 44%;
  border-bottom: 1px solid var(--pc-gray-100);
  vertical-align: top;
}

.spec-value {
  padding: 11px 20px;
  color: var(--pc-black);
  font-weight: 500;
  border-bottom: 1px solid var(--pc-gray-100);
  vertical-align: top;
}

.specs-table tr:last-child .spec-label,
.specs-table tr:last-child .spec-value {
  border-bottom: none;
}


/* =============================================================
   CTA BUTTONS
   ============================================================= */
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--pc-blue);
  color: var(--pc-white) !important;
  font-family: var(--pc-font);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--pc-radius);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--pc-transition);
  width: 100%;
  text-align: center;
  box-shadow: 0 1px 3px rgba(26,86,219,0.3);
}

.btn-contact:hover {
  background: #1547c0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,86,219,0.35);
}

.btn-contact:active {
  transform: translateY(0);
}

.btn-datasheet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--pc-white);
  color: var(--pc-black) !important;
  font-family: var(--pc-font);
  font-size: 14px;
  font-weight: 400;
  padding: 13px 24px;
  border-radius: var(--pc-radius);
  border: 1px solid var(--pc-gray-200);
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--pc-transition);
  width: 100%;
  text-align: center;
}

.btn-datasheet::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 16px;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M8 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6L8 0zm4 14H2V2h5.5L12 6.5V14zM7 9l-3 3h2v3h2v-3h2l-3-3z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  opacity: 0.5;
}

.btn-datasheet:hover {
  border-color: var(--pc-gray-400);
  background: var(--pc-gray-50);
}

.printer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}


/* =============================================================
   SINGLE PRODUCT PAGE LAYOUT
   ============================================================= */

/* Sticky sidebar wrapper for price/CTA on desktop */
.printer-sidebar-sticky {
  position: sticky;
  top: 100px;
}

/* Product header section */
.printer-header {
  margin-bottom: 8px;
}

.printer-title {
  font-family: var(--pc-font);
  font-size: 28px;
  font-weight: 600;
  color: var(--pc-black);
  line-height: 1.2;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.printer-meta {
  font-size: 13px;
  color: var(--pc-gray-400);
  margin-bottom: 20px;
}

.printer-meta span {
  display: inline-block;
}

.printer-meta span + span::before {
  content: ' · ';
  color: var(--pc-gray-200);
}

/* Divider */
.printer-divider {
  height: 1px;
  background: var(--pc-gray-100);
  margin: 24px 0;
  border: none;
}

/* Description area */
.printer-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pc-gray-600);
  margin-bottom: 24px;
}

/* Sold overlay */
.printer-sold-overlay {
  position: relative;
}

.printer-sold-overlay::after {
  content: 'SOLD';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-family: var(--pc-font-mono);
  font-size: 64px;
  font-weight: 600;
  color: var(--pc-red);
  opacity: 0.18;
  pointer-events: none;
  letter-spacing: 0.1em;
  white-space: nowrap;
}


/* =============================================================
   ARCHIVE PAGE — PRODUCT CARD GRID
   ============================================================= */
.printer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (min-width: 1400px) {
  .printer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

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

/* Product Card */
.printer-card {
  background: var(--pc-white);
  border: 1px solid var(--pc-gray-100);
  border-radius: var(--pc-radius-xl);
  overflow: hidden;
  transition: var(--pc-transition);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  position: relative;
}

.printer-card:hover {
  border-color: var(--pc-gray-200);
  box-shadow: var(--pc-shadow-lg);
  transform: translateY(-2px);
}

/* Card image area */
.printer-card__image {
  position: relative;
  overflow: hidden;
  background: var(--pc-gray-50);
  aspect-ratio: 4/3;
}

.printer-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.printer-card:hover .printer-card__image img {
  transform: scale(1.04);
}

/* No image placeholder */
.printer-card__no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pc-gray-100);
  color: var(--pc-gray-400);
  font-size: 40px;
}

/* Availability overlay badge on image */
.printer-card__status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

/* Featured star badge */
.printer-card__featured {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #fbbf24;
  color: #78350f;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Card body */
.printer-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.printer-card__brand {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pc-gray-400);
}

.printer-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--pc-black);
  line-height: 1.3;
  margin: 0;
}

.printer-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.printer-card__tag {
  font-size: 10px;
  color: var(--pc-gray-600);
  background: var(--pc-gray-100);
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 400;
}

.printer-card__counters {
  font-size: 12px;
  color: var(--pc-gray-400);
  margin-top: 2px;
  font-family: var(--pc-font-mono);
}

.printer-card__footer {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--pc-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.printer-card__price {
  font-size: 20px;
  font-weight: 600;
  color: var(--pc-blue);
  font-family: var(--pc-font);
  letter-spacing: -0.02em;
}

.printer-card__price-request {
  font-size: 13px;
  font-style: italic;
  color: var(--pc-gray-400);
}

.printer-card__vat {
  font-size: 10px;
  color: var(--pc-gray-400);
  font-weight: 400;
  display: block;
  margin-top: 1px;
}

.printer-card__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pc-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc-gray-600);
  transition: var(--pc-transition);
  flex-shrink: 0;
  font-size: 14px;
}

.printer-card:hover .printer-card__arrow {
  background: var(--pc-blue);
  color: var(--pc-white);
}

/* Sold state */
.printer-card--sold {
  opacity: 0.65;
  pointer-events: none;
}

.printer-card--sold .printer-card__image::after {
  content: 'SOLD';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pc-font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--pc-red);
  letter-spacing: 0.15em;
}


/* =============================================================
   FILTER SIDEBAR
   ============================================================= */
.printer-filter-sidebar {
  background: var(--pc-white);
  border: 1px solid var(--pc-gray-100);
  border-radius: var(--pc-radius-xl);
  padding: 0;
  overflow: hidden;
  position: sticky;
  top: 24px;
}

.filter-sidebar__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--pc-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-sidebar__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.filter-sidebar__reset {
  font-size: 12px;
  color: var(--pc-blue);
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: none;
  font-family: var(--pc-font);
  padding: 0;
}

.filter-sidebar__reset:hover {
  text-decoration: underline;
}

.filter-group {
  border-bottom: 1px solid var(--pc-gray-100);
  padding: 16px 20px;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pc-gray-400);
  margin-bottom: 10px;
  display: block;
}

/* FacetWP checkbox styles */
.facetwp-checkbox,
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--pc-gray-600);
  transition: color 0.12s;
}

.facetwp-checkbox:hover,
.filter-option:hover {
  color: var(--pc-black);
}

.facetwp-checkbox input,
.filter-option input {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--pc-gray-200);
  border-radius: var(--pc-radius-sm);
  accent-color: var(--pc-blue);
  flex-shrink: 0;
  cursor: pointer;
}

.facetwp-count,
.filter-option__count {
  margin-left: auto;
  font-size: 11px;
  color: var(--pc-gray-400);
  background: var(--pc-gray-100);
  padding: 1px 6px;
  border-radius: 99px;
}

/* Price range slider (FacetWP) */
.facetwp-slider-wrap {
  padding: 8px 4px 4px;
}

.facetwp-slider {
  width: 100%;
  accent-color: var(--pc-blue);
}

.facetwp-pager-label {
  font-size: 12px;
  color: var(--pc-gray-600);
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

/* Active filter chips at top of results */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--pc-blue-light);
  color: var(--pc-blue);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 99px;
  cursor: pointer;
}

.active-filter-chip:hover {
  background: #c7d9fd;
}

.active-filter-chip__remove {
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  opacity: 0.7;
}


/* =============================================================
   ARCHIVE PAGE LAYOUT
   ============================================================= */
.printer-archive-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .printer-archive-layout {
    grid-template-columns: 1fr;
  }
  .printer-filter-sidebar {
    position: static;
  }
}

/* Archive header bar */
.archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-header__count {
  font-size: 14px;
  color: var(--pc-gray-400);
}

.archive-header__count strong {
  color: var(--pc-black);
  font-weight: 600;
}

/* Sort dropdown */
.archive-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pc-gray-600);
}

.archive-sort select {
  font-family: var(--pc-font);
  font-size: 13px;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--pc-gray-200);
  border-radius: var(--pc-radius);
  color: var(--pc-black);
  background: var(--pc-white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239e9a94'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.archive-sort select:focus {
  outline: none;
  border-color: var(--pc-blue);
}

/* Search box */
.printer-search {
  position: relative;
  margin-bottom: 20px;
}

.printer-search input {
  width: 100%;
  font-family: var(--pc-font);
  font-size: 14px;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--pc-gray-200);
  border-radius: var(--pc-radius-lg);
  color: var(--pc-black);
  background: var(--pc-white);
  transition: var(--pc-transition);
}

.printer-search input:focus {
  outline: none;
  border-color: var(--pc-blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.printer-search input::placeholder {
  color: var(--pc-gray-400);
}

.printer-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pc-gray-400);
  pointer-events: none;
  font-size: 16px;
}

/* No results */
.printer-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--pc-gray-400);
}

.printer-no-results__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--pc-gray-600);
  margin-bottom: 8px;
}

.printer-no-results__text {
  font-size: 14px;
}


/* =============================================================
   CONTACT FORM SECTION (below product details)
   ============================================================= */
.printer-contact-section {
  background: var(--pc-gray-50);
  border: 1px solid var(--pc-gray-100);
  border-radius: var(--pc-radius-xl);
  padding: 28px 32px;
  margin-top: 32px;
}

.printer-contact-section__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--pc-black);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.printer-contact-section__subtitle {
  font-size: 14px;
  color: var(--pc-gray-400);
  margin-bottom: 24px;
}


/* =============================================================
   RELATED PRODUCTS ROW
   ============================================================= */
.related-printers {
  margin-top: 48px;
}

.related-printers__title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pc-gray-400);
  margin-bottom: 20px;
}

.related-printers .printer-grid {
  grid-template-columns: repeat(1, 1fr);
}

@media (max-width: 768px) {
  .related-printers .printer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =============================================================
   LOADING STATE (for FacetWP AJAX)
   ============================================================= */
.facetwp-loading .printer-grid {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* FacetWP built-in loading spinner override */
.fwpl-res.loading::before {
  border-top-color: var(--pc-blue);
}


/* =============================================================
   UTILITY
   ============================================================= */
.pc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.pc-text-muted { color: var(--pc-gray-400); }
.pc-text-small { font-size: 12px; }
.pc-mt-0 { margin-top: 0; }
.pc-mb-0 { margin-bottom: 0; }

/* =============================================================
   MOBILE FIXES
   ============================================================= */

/* Fix archive page header overlap */
.post-type-archive-printer .printer-archive {
    padding-top: 90px !important;
}

/* Mobile menu text - force dark on white background */
#ast-mobile-header,
#ast-mobile-header .ast-mobile-header-content,
.ast-mobile-header-wrap,
.ast-mobile-header-content {
    background: #ffffff !important;
}

#ast-mobile-header .menu-link,
#ast-mobile-header .main-header-menu a,
#ast-mobile-header .ast-nav-menu a,
.ast-mobile-header-content a,
.ast-mobile-header-content .menu-link,
#ast-hf-mobile-menu .menu-link,
#ast-hf-mobile-menu a {
    color: #0f0f0f !important;
}

#ast-mobile-header .menu-item.current-menu-item > .menu-link,
.ast-mobile-header-content .menu-item.current-menu-item > a {
    color: #1a56db !important;
}

/* =============================================================
   RESPONSIVE — all pages
   ============================================================= */

@media (max-width: 920px) {

    /* Archive layout - stack sidebar above grid */
    .printer-archive-layout {
        grid-template-columns: 1fr !important;
    }

    .printer-filter-sidebar {
        position: static !important;
    }

    /* 2 columns on tablet */
    .printer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Homepage printers grid */
    div[style*="grid-template-columns:repeat(3,1fr)"],
    .printer-archive div[style*="repeat(3,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {

    /* Single column on mobile */
    .printer-grid {
        grid-template-columns: 1fr !important;
    }

    /* Homepage grid single column */
    div[style*="grid-template-columns:repeat(3,1fr)"],
    .printer-archive div[style*="repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* Single printer page - stack columns */
    .printer-main-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .printer-sidebar-sticky {
        position: static !important;
    }

    /* Gallery thumbnails - single column */
    .printer-gallery {
        grid-template-columns: 1fr !important;
    }

    /* Counters - 2 per row */
    .counters-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .counter-cell {
        border-right: none !important;
        padding: 0 !important;
    }

    .counter-cell:nth-child(odd) {
        border-right: 1px solid var(--pc-gray-200) !important;
        padding-right: 12px !important;
    }

    /* Page padding on mobile */
    .single-printer .printer-page {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .printer-archive {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Contact form padding */
    .printer-contact-section {
        padding: 20px !important;
    }

    /* Title size */
    .printer-title {
        font-size: 22px !important;
    }

    /* Price size */
    .price-current {
        font-size: 26px !important;
    }

    /* Breadcrumb wrap */
    nav[style*="font-size:13px"] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Homepage printers grid responsive */
@media (max-width: 920px) {
    .pc-homepage-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .pc-homepage-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Homepage printer grid - push below transparent header */
.home .printer-archive {
    padding-top: 100px !important;
}