.catalog-refurbished-v2 {
  color: inherit;
  font-size: 16px;
  line-height: 1.6;
}

/* Repair hub: deliberately bounded to the canonical /reparatie/ page (ID 669). */
body.cp-repair-hub-page {
  --cp-accent: #00bbe6;
  --cp-accent-dark: #009fc4;
  --cp-text: #323232;
  --cp-muted: #677378;
  --cp-surface: #ffffff;
  --cp-soft: #f4f4f4;
  --cp-border: #d5d5d5;
}

body.cp-repair-hub-page #title-wrapper {
  background: var(--cp-soft) !important;
  padding: 0;
}

body.cp-repair-hub-page #title-wrapper .title-holder {
  padding: 28px 0 24px;
}

body.cp-repair-hub-page #title-wrapper .page-title {
  color: var(--cp-text) !important;
  font-size: 36px;
  line-height: 1.12;
}

body.cp-repair-hub-page #title-wrapper .breadcrumb,
body.cp-repair-hub-page #title-wrapper .breadcrumb a,
body.cp-repair-hub-page #title-wrapper .breadcrumb .active {
  color: var(--cp-muted) !important;
}

body.cp-repair-hub-page #content-wrapper.is-vc .post-content > .wpb-content-wrapper > .wpb_section:first-child {
  padding-top: 32px;
  padding-bottom: 20px;
}

body.cp-repair-hub-page .wpb_text_column h2.h3 {
  margin: 0 0 18px;
  color: var(--cp-text);
  font-size: 24px;
  text-align: left;
}

body.cp-repair-hub-page .reparatie-merken {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0 !important;
}

body.cp-repair-hub-page .reparatie-merken::before,
body.cp-repair-hub-page .reparatie-merken::after {
  display: none !important;
}

body.cp-repair-hub-page .reparatie-merken .reparatie-merk {
  float: none;
  width: auto;
  min-height: 0;
  padding: 0;
}

body.cp-repair-hub-page .reparatie-merk > .vc_column-inner,
body.cp-repair-hub-page .reparatie-merk .wpb_wrapper {
  height: 100%;
  padding: 0;
}

body.cp-repair-hub-page .cp-repair-category-card {
  display: flex;
  min-height: 126px;
  height: 100%;
  padding: 15px 10px 13px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--cp-border);
  border-radius: 8px;
  background: var(--cp-surface);
  color: var(--cp-text);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(50, 50, 50, 0.06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.cp-repair-hub-page .cp-repair-category-card:hover,
body.cp-repair-hub-page .cp-repair-category-card:focus-visible {
  border-color: var(--cp-accent);
  color: var(--cp-accent-dark);
  box-shadow: 0 6px 18px rgba(0, 187, 230, 0.14);
  transform: translateY(-2px);
}

body.cp-repair-hub-page .cp-repair-category-card img {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0;
  object-fit: contain;
}

body.cp-repair-hub-page .cp-repair-category-title {
  display: block;
  font-family: Sunflower, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

body.cp-repair-hub-page .cp-repair-usps {
  margin: 20px 0 18px;
}

body.cp-repair-hub-page .wpb_text_column.c > .wpb_wrapper > p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--cp-border);
  border-radius: 8px;
  background: var(--cp-soft);
  color: var(--cp-muted);
  text-align: left;
}

body.cp-repair-hub-page .wpb_text_column.c a {
  color: var(--cp-accent-dark);
}

body.cp-repair-hub-page .vc_custom_1640091664598 {
  margin-top: 12px !important;
  padding-top: 0;
}

body.cp-repair-hub-page .vc_custom_1640091664598 .wpb_single_image img {
  border-radius: 8px;
}

@media (max-width: 991px) {
  body.cp-repair-hub-page .reparatie-merken {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.cp-repair-hub-page #title-wrapper .title-holder {
    padding: 20px 0 17px;
  }

  body.cp-repair-hub-page #title-wrapper .page-title {
    font-size: 28px;
  }

  body.cp-repair-hub-page #content-wrapper.is-vc .post-content > .wpb-content-wrapper > .wpb_section:first-child {
    padding-top: 20px;
  }

  body.cp-repair-hub-page .wpb_text_column h2.h3 {
    font-size: 21px;
  }

  body.cp-repair-hub-page .reparatie-merken {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.cp-repair-hub-page .cp-repair-category-card {
    min-height: 92px;
    padding: 10px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  body.cp-repair-hub-page .cp-repair-category-card img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  body.cp-repair-hub-page .cp-repair-usps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cp-repair-hub-page .vc_custom_1640091664598 {
    display: none;
  }
}

/* Phone repair brand hub: bounded to page ID 4349 only. */
body.cp-phone-repair-brands-page {
  --cp-accent: #00bbe6;
  --cp-accent-dark: #009fc4;
  --cp-text: #323232;
  --cp-muted: #677378;
  --cp-surface: #ffffff;
  --cp-soft: #f4f4f4;
  --cp-border: #d5d5d5;
}

body.cp-phone-repair-brands-page #title-wrapper {
  background: var(--cp-soft) !important;
}

body.cp-phone-repair-brands-page #title-wrapper .title-holder {
  padding: 28px 0 24px;
}

body.cp-phone-repair-brands-page #title-wrapper .page-title {
  color: var(--cp-text) !important;
  font-size: 36px;
  line-height: 1.12;
}

body.cp-phone-repair-brands-page #title-wrapper .breadcrumb,
body.cp-phone-repair-brands-page #title-wrapper .breadcrumb a,
body.cp-phone-repair-brands-page #title-wrapper .breadcrumb .active {
  color: var(--cp-muted) !important;
}

body.cp-phone-repair-brands-page article > .post-thumb {
  display: none;
}

body.cp-phone-repair-brands-page #content-wrapper.is-vc .post-content > .wpb-content-wrapper > .wpb_section:first-child {
  padding-top: 32px;
  padding-bottom: 28px;
}

body.cp-phone-repair-brands-page .wpb_text_column h2.h3 {
  margin: 0 0 18px;
  color: var(--cp-text);
  font-size: 24px;
  text-align: left;
}

body.cp-phone-repair-brands-page .reparatie-toestellen {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0 !important;
}

body.cp-phone-repair-brands-page .reparatie-toestellen::before,
body.cp-phone-repair-brands-page .reparatie-toestellen::after {
  display: none !important;
}

body.cp-phone-repair-brands-page .reparatie-toestel {
  float: none;
  width: auto;
  min-height: 0;
  padding: 0;
}

body.cp-phone-repair-brands-page .reparatie-toestel > .vc_column-inner,
body.cp-phone-repair-brands-page .reparatie-toestel .wpb_wrapper {
  height: 100%;
  padding: 0;
}

body.cp-phone-repair-brands-page .reparatie-toestel a {
  display: block;
  height: 100%;
  color: var(--cp-text);
  text-decoration: none;
}

body.cp-phone-repair-brands-page .reparatie-toestel figure {
  display: flex;
  min-height: 142px;
  height: 100%;
  margin: 0;
  padding: 16px 10px 13px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  border: 1px solid var(--cp-border);
  border-radius: 8px;
  background: var(--cp-surface);
  box-shadow: 0 2px 8px rgba(50, 50, 50, 0.06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.cp-phone-repair-brands-page .reparatie-toestel a:hover figure,
body.cp-phone-repair-brands-page .reparatie-toestel a:focus-visible figure {
  border-color: var(--cp-accent);
  box-shadow: 0 6px 18px rgba(0, 187, 230, 0.14);
  transform: translateY(-2px);
}

body.cp-phone-repair-brands-page .reparatie-toestel img {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0;
  object-fit: contain;
}

body.cp-phone-repair-brands-page .reparatie-toestel figcaption.button {
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cp-text);
  font-family: Sunflower, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
  text-transform: none;
}

body.cp-phone-repair-brands-page .reparatie-toestel a:hover figcaption.button,
body.cp-phone-repair-brands-page .reparatie-toestel a:focus-visible figcaption.button {
  background: transparent;
  color: var(--cp-accent-dark);
}

body.cp-phone-repair-brands-page .cp-repair-usps {
  margin: 20px 0 0;
}

@media (max-width: 991px) {
  body.cp-phone-repair-brands-page .reparatie-toestellen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.cp-phone-repair-brands-page #title-wrapper .title-holder {
    padding: 20px 0 17px;
  }

  body.cp-phone-repair-brands-page #title-wrapper .page-title {
    font-size: 28px;
  }

  body.cp-phone-repair-brands-page #content-wrapper.is-vc .post-content > .wpb-content-wrapper > .wpb_section:first-child {
    padding-top: 20px;
  }

  body.cp-phone-repair-brands-page .wpb_text_column h2.h3 {
    font-size: 21px;
  }

  body.cp-phone-repair-brands-page .reparatie-toestellen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.cp-phone-repair-brands-page .reparatie-toestel figure {
    min-height: 96px;
    padding: 10px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  body.cp-phone-repair-brands-page .reparatie-toestel img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
  }

  body.cp-phone-repair-brands-page .cp-repair-usps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.catalog-refurbished-v2 > p {
  margin: 0 0 24px;
}

.catalog-refurbished-v2 section {
  margin: 0 0 28px;
}

.catalog-refurbished-v2 h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.catalog-refurbished-v2 h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.catalog-refurbished-v2 p {
  line-height: 1.6;
}

.catalog-refurbished-v2 .catalog-v4-current {
  padding: 18px 20px;
  border: 1px solid #dfe5eb;
  border-left: 4px solid #1d4f7a;
  border-radius: 8px;
  background: #f7f9fb;
}

.catalog-refurbished-v2 .catalog-v4-current article,
.catalog-refurbished-v2 .catalog-v4-current p {
  margin-bottom: 0;
}

.catalog-refurbished-v2 .catalog-v4-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.catalog-refurbished-v2 .catalog-v4-benefit {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e2e7ec;
  border-radius: 8px;
  background: #ffffff;
}

.catalog-refurbished-v2 .catalog-v4-benefit strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
}

.catalog-refurbished-v2 .catalog-v4-details {
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
}

.catalog-refurbished-v2 .catalog-v4-details summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.4;
}

.catalog-refurbished-v2 .catalog-v4-conditions {
  margin-top: 18px;
}

.catalog-refurbished-v2 .catalog-v4-condition {
  padding: 16px 0;
  border-top: 1px solid #e2e7ec;
}

.catalog-refurbished-v2 .catalog-v4-condition h3 {
  font-size: 17px;
}

.catalog-refurbished-v2 .catalog-v4-condition p {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .catalog-refurbished-v2 {
    font-size: 15px;
  }

  .catalog-refurbished-v2 .catalog-v4-benefit-grid {
    grid-template-columns: 1fr;
  }

  .catalog-refurbished-v2 .catalog-v4-current,
  .catalog-refurbished-v2 .catalog-v4-benefit,
  .catalog-refurbished-v2 .catalog-v4-details {
    padding: 14px;
  }
}

@media (min-width: 769px) {
  body.single-product .product.product_cat-refurbished:has(.catalog-refurbished-v2) div.images { width: 42% !important; margin-bottom: 12px; }
  body.single-product .product.product_cat-refurbished:has(.catalog-refurbished-v2) div.summary { width: 54% !important; margin-bottom: 12px; }
  body.single-product .product.product_cat-refurbished:has(.catalog-refurbished-v2) .woocommerce-tabs { padding-top: 12px; }
}
.catalog-refurbished-v2 .catalog-v4-details { padding: 0; overflow: hidden; }
.catalog-refurbished-v2 .catalog-v4-details summary { position: relative; padding: 12px 44px 12px 14px; border: 1px solid #c9e8f3; border-radius: 8px; background: #f3f9fd; cursor: pointer; font-weight: 600; line-height: 1.4; list-style: none; transition: background-color 160ms ease, border-color 160ms ease; }
.catalog-refurbished-v2 .catalog-v4-details summary::-webkit-details-marker { display: none; }
.catalog-refurbished-v2 .catalog-v4-details summary::after { content: "›"; position: absolute; top: 50%; right: 16px; font-size: 22px; line-height: 1; transform: translateY(-50%); transition: transform 160ms ease; }
.catalog-refurbished-v2 .catalog-v4-details summary:hover { border-color: #85cce3; background: #eaf6fb; }
.catalog-refurbished-v2 .catalog-v4-details summary:focus-visible { outline: 2px solid #167fa6; outline-offset: 2px; }
.catalog-refurbished-v2 .catalog-v4-details[open] summary::after { transform: translateY(-50%) rotate(90deg); }
.catalog-refurbished-v2 .catalog-v4-details[open] .catalog-v4-conditions { padding: 0 16px 8px; }
@media (max-width: 768px) {
  body.single-product .product.product_cat-refurbished:has(.catalog-refurbished-v2) div.images,
  body.single-product .product.product_cat-refurbished:has(.catalog-refurbished-v2) div.summary { width: 100% !important; float: none !important; }
}

/* Bounded refurbished product-category experience. */
body.cp-refurb-archive-page {
  --cp-primary: #00bbe6;
  --cp-logo-gray: #677378;
  --cp-text: #323232;
  --cp-text-soft: #5e5d5d;
  --cp-surface: #ffffff;
  --cp-surface-soft: #f4f4f4;
  --cp-border: #d5d5d5;
  --cp-border-soft: #c9c9c9;
  --cp-hover: #f3b11a;
  --cp-primary-soft: #e8faff;
}

body.cp-refurb-archive-page #title-wrapper {
  display: none;
}

body.cp-refurb-archive-page #content-wrapper {
  padding-top: 34px;
}

body.cp-refurb-archive-page #main-wrapper {
  width: 100%;
  float: none;
}

body.cp-refurb-archive-page #sidebar-wrapper {
  display: none;
}

.cp-refurb-archive {
  color: var(--cp-text);
}

.cp-refurb-archive .cp-refurb-hero {
  margin: 0 0 24px;
  padding: 22px 26px;
  border: 1px solid var(--cp-border);
  border-radius: 10px;
  background: var(--cp-surface);
}

.cp-refurb-archive .cp-refurb-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--cp-logo-gray);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cp-refurb-archive .cp-refurb-hero h1 {
  margin: 0 0 6px;
  color: var(--cp-text);
  font-size: 30px;
  line-height: 1.2;
}

.cp-refurb-archive .cp-refurb-hero p {
  margin: 0;
  color: var(--cp-logo-gray);
}

.cp-refurb-archive .cp-refurb-categories {
  margin-bottom: 20px;
}

.cp-refurb-back {
  margin: -8px 0 20px;
}

.cp-refurb-back a {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 14px;
  align-items: center;
  border: 1px solid var(--cp-border);
  border-radius: 9px;
  background: var(--cp-surface);
  color: var(--cp-text);
  font-weight: 600;
}

.cp-refurb-back a:hover,
.cp-refurb-back a:focus-visible {
  border-color: var(--cp-primary);
  background: var(--cp-primary-soft);
  color: var(--cp-text);
  text-decoration: none;
}

.cp-refurb-archive .cp-refurb-categories h2,
.cp-refurb-archive .cp-refurb-shop-heading h2 {
  margin: 0 0 12px;
  color: var(--cp-text);
  font-size: 18px;
}

.cp-refurb-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cp-refurb-category-card {
  display: flex;
  min-width: 0;
  min-height: 82px;
  padding: 10px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 7px;
  border: 1px solid var(--cp-border);
  border-radius: 10px;
  background: var(--cp-surface);
  color: var(--cp-text);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.cp-refurb-category-card:hover,
.cp-refurb-category-card:focus-visible {
  border-color: var(--cp-primary);
  background: var(--cp-primary-soft);
  color: var(--cp-text);
  text-decoration: none;
}

.cp-refurb-category-card:focus-visible,
.cp-refurb-filter-toggle:focus-visible {
  outline: 2px solid var(--cp-primary);
  outline-offset: 2px;
}

.cp-refurb-category-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--cp-primary-soft);
  overflow: hidden;
}

.cp-refurb-category-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cp-refurb-usps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 18px;
  padding: 15px 18px;
  border-radius: 9px;
  background: var(--cp-text);
  color: var(--cp-surface);
  list-style: none;
}

.cp-refurb-usps li {
  margin: 0;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.cp-refurb-usps li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--cp-primary);
}

.cp-refurb-archive.catalog-refurbished-v2 .catalog-v4-details {
  margin: 0 0 26px;
  border: 0;
  background: var(--cp-surface);
}

.cp-refurb-archive.catalog-refurbished-v2 .catalog-v4-details summary {
  border-color: var(--cp-border-soft);
  background: var(--cp-surface);
}

.cp-refurb-archive.catalog-refurbished-v2 .catalog-v4-details summary:hover {
  border-color: var(--cp-primary);
  background: var(--cp-primary-soft);
}

.cp-refurb-shop-heading {
  display: flex;
  margin: 0 0 14px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cp-refurb-shop-heading h2 {
  margin-bottom: 2px !important;
  font-size: 23px !important;
}

.cp-refurb-filter-toggle {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 7px;
  background: var(--cp-primary);
  color: var(--cp-surface);
  font-weight: 600;
}

.cp-refurb-filter-toggle:hover,
.cp-refurb-filter-toggle[aria-expanded="true"] {
  background: var(--cp-text);
  color: var(--cp-surface);
}

.cp-refurb-filter-panel {
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid var(--cp-border);
  border-radius: 9px;
  background: var(--cp-surface-soft);
}

.cp-refurb-filter-panel[hidden] {
  display: none !important;
}

.cp-refurb-filter-panel .widget {
  margin: 0;
}

body.cp-refurb-archive-page .woocommerce-result-count {
  float: none;
  margin: 0;
  color: var(--cp-logo-gray);
}

body.cp-refurb-archive-page .woocommerce-ordering {
  float: right;
  margin: -58px 150px 18px 0;
}

body.cp-refurb-archive-page .woocommerce-ordering select {
  min-height: 44px;
  border: 1px solid var(--cp-border-soft);
  border-radius: 7px;
  background: var(--cp-surface);
  color: var(--cp-text);
}

body.cp-refurb-archive-page ul.products {
  clear: both;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0;
}

body.cp-refurb-archive-page ul.products::before,
body.cp-refurb-archive-page ul.products::after {
  display: none !important;
  content: none !important;
}

body.cp-refurb-archive-page.woocommerce ul.products li.product {
  position: relative;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 12px 12px 16px;
  border: 1px solid var(--cp-border);
  border-radius: 10px;
  background: var(--cp-surface);
}

body.cp-refurb-archive-page ul.products li.product .product-afbeelding {
  display: grid;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 8px;
  background: var(--cp-surface-soft);
  overflow: hidden;
}

body.cp-refurb-archive-page ul.products li.product .product-afbeelding img,
body.cp-refurb-archive-page ul.products li.product > a img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

/* Category 273: show every complete image inside one equal white safety frame. */
body.term-game-consoles.cp-refurb-archive-page ul.products li.product .product-afbeelding {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: #ffffff;
  box-sizing: border-box;
}

body.term-game-consoles.cp-refurb-archive-page ul.products li.product .product-afbeelding img {
  position: static !important;
  width: calc(100% - 36px) !important;
  height: calc(100% - 36px) !important;
  object-fit: contain !important;
  object-position: center center;
}

.cp-refurb-condition-badge {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  padding: 4px 9px;
  border: 1px solid var(--cp-primary);
  border-radius: 999px;
  background: var(--cp-primary-soft);
  color: var(--cp-text);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.cp-refurb-stock {
  display: block;
  margin: 7px 0 10px;
  color: var(--cp-logo-gray);
  font-size: 12px;
}

.cp-refurb-stock::before {
  content: "•";
  margin-right: 5px;
  color: var(--cp-primary);
  font-size: 18px;
  line-height: 0;
}

body.cp-refurb-archive-page.woocommerce ul.products li.product .price {
  float: none;
  color: var(--cp-text);
  font-size: 19px;
  font-weight: 600;
}

body.cp-refurb-archive-page.woocommerce ul.products li.product .button {
  background: var(--cp-primary);
  color: var(--cp-surface);
}

body.cp-refurb-archive-page.woocommerce ul.products li.product .button:hover {
  background: var(--cp-text);
}

/* Accessoires: same shop language, while preserving the existing product imagery. */
body.cp-accessories-archive-page .cp-refurb-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.cp-accessories-archive-page ul.products li.product .product-afbeelding {
  display: block;
  height: auto;
  aspect-ratio: auto;
  background: transparent;
  overflow: visible;
}

body.cp-accessories-archive-page ul.products li.product .product-afbeelding img,
body.cp-accessories-archive-page ul.products li.product > a img {
  width: 100%;
  height: auto;
  object-fit: initial;
}

/* The complete supplied A57 photo has less built-in whitespace than the
   A17/A27 sources; normalize only its visible scale in the product grid. */
body.term-nieuwe-toestellen ul.products li.product.post-5702 img {
  transform: scale(.75);
  transform-origin: center center;
}

@media (max-width: 991px) {
  .cp-refurb-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cp-refurb-archive-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.cp-accessories-archive-page .cp-refurb-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.cp-refurb-archive-page #content-wrapper {
    padding-top: 20px;
  }

  .cp-refurb-archive .cp-refurb-hero {
    padding: 17px 18px;
  }

  .cp-refurb-archive .cp-refurb-hero h1 {
    font-size: 25px;
  }

  .cp-refurb-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.cp-accessories-archive-page .cp-refurb-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-refurb-category-card {
    min-height: 82px;
    padding: 10px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .cp-refurb-category-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .cp-refurb-category-icon img {
    width: 34px;
    height: 34px;
  }

  .cp-refurb-usps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
  }

  .cp-refurb-usps li {
    padding: 0 4px;
    font-size: 11px;
    text-align: left;
  }

  .cp-refurb-shop-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .cp-refurb-filter-toggle {
    width: 100%;
  }

  body.cp-refurb-archive-page .woocommerce-ordering {
    float: none;
    width: 100%;
    margin: 0 0 16px;
  }

  body.cp-refurb-archive-page .woocommerce-ordering select {
    width: 100%;
  }

  body.cp-refurb-archive-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.cp-refurb-archive-page.woocommerce ul.products li.product {
    padding: 8px 8px 12px;
  }

  body.term-game-consoles.cp-refurb-archive-page ul.products li.product .product-afbeelding {
    padding: 0;
  }

  body.term-game-consoles.cp-refurb-archive-page ul.products li.product .product-afbeelding img {
    width: calc(100% - 24px) !important;
    height: calc(100% - 24px) !important;
  }

  .cp-refurb-condition-badge {
    top: 15px;
    left: 15px;
    padding: 3px 6px;
    font-size: 8px;
  }
}
