.ev-customers .our-distributors--title--container { margin-bottom: clamp(1.35rem, 3vw, 2.8rem); }

.ev-customer-grid {
  display: grid;
  gap: .85rem;
}

.ev-customer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ev-customer-grid > li {
  min-width: 0;
  border: 1px solid #dce6f0;
  border-radius: 12px;
  background: white;
}

.ev-customer-grid > li {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .35rem;
  padding: .7rem;
  text-align: center;
  font-size: .95rem;
  line-height: 1.32;
}

.ev-customer-grid img { width: 100%; max-width: 210px; height: 100px; object-fit: contain; }
@media (min-width: 768px) {
  .our-team-v1--item--container .content { flex: 1; min-width: 0; }
}

.ev-executive-photo-slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #eef5fc;
  color: #425469;
  font-size: .9rem;
}

.our-team-v1--item--container .button--mobile {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.space-ev-catalog .product-title a { color: inherit; font: inherit; }
.space-ev-catalog .product-title a:hover { text-decoration: underline; }
.space-ev-catalog .ev-reference-cover { display: block; width: 100%; height: 100%; background: white; }
.space-ev-catalog .ev-reference-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.space-ev-catalog :is(.box-img, .product-img-grid) { position: relative; }

.ev-reference-label {
  position: absolute;
  left: .3rem;
  bottom: .3rem;
  padding: .23rem .35rem;
  border-radius: .2rem;
  background: rgba(255, 255, 255, .92);
  color: #425469;
  font-size: .66rem;
  line-height: 1.2;
  pointer-events: none;
}

.space-ev-catalog .ev-catalog-pending { cursor: default; }
.space-ev-catalog [aria-disabled="true"] { cursor: default; }


.space-ev-catalog .ev-key-specs {
  align-items: flex-start;
  gap: .65rem;
}
.space-ev-catalog .bottom-product-info .div-block-3 { margin-top: 4px; }
.space-ev-catalog .ev-key-specs.thickness {
  flex-direction: column;
  gap: .16rem;
  min-width: 0;
}
.space-ev-catalog .ev-key-specs .thick-title { flex: none; }
.space-ev-catalog .ev-key-specs .thickness-number {
  display: grid;
  gap: .23em;
  min-width: 0;
  margin-left: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.space-ev-catalog .ev-key-specs.line-info-grid dl { text-align: right; }
.space-ev-catalog .ev-key-specs dt,
.space-ev-catalog .ev-key-specs dd { display: inline; }
.space-ev-catalog .ev-key-specs dt { color: #425469; }
.space-ev-catalog .ev-key-specs dd { margin-left: .35em; }

.ev-product-category {
  display: inline-block;
  background: var(--space-ev-accent);
  color: var(--space-ev-on-accent);
  line-height: 1.25;
  border-radius: .25rem;
  padding: .42rem .55rem;
  font-size: .77rem;
  font-weight: 650;
}
.ev-photo-caption { color: #425469; font-size: .78rem; line-height: 1.5; }

.ev-product-detail { padding: clamp(100px,11vw,165px) 0 clamp(3rem,6vw,6rem); }
.ev-back { display: inline-block; color: var(--space-ev-accent-ink); margin-bottom: 1.5rem; font-size: .9rem; }
.ev-detail-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.ev-detail-copy { padding-top: 1rem; }
.ev-detail-copy h1 { margin: .65rem 0 1rem; font-size: clamp(2rem, 4.45vw, 4.4rem); }
.ev-detail-copy .btn { display: inline-flex; margin-top: .65rem; max-width: 100%; }
.ev-gallery-frame { position: relative; border: 1px solid #dce6f0; border-radius: .8rem; overflow: hidden; background: white; }
.ev-gallery-frame img { display: block; width: 100%; height: auto; max-height: min(64vh, 590px); aspect-ratio: 1; object-fit: contain; }
.ev-gallery--landscape .ev-gallery-frame img { aspect-ratio: 4 / 3; }
.ev-gallery-nav { position: absolute; display: flex; align-items: center; gap: .4rem; right: .65rem; bottom: .65rem; padding: .25rem; background: #111e2d; color: white; border-radius: .3rem; font-size: .84rem; }
.ev-gallery button { cursor: pointer; }
.ev-gallery-nav button { border: 0; color: white; background: none; width: 2rem; height: 2rem; font-size: 1.2rem; }
.ev-thumbnails { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .35rem; margin: .8rem 0 0; }
.ev-thumbnails button { width: 100%; padding: 0; border: 2px solid #dce6f0; border-radius: .35rem; overflow: hidden; background: white; display: block; }
.ev-thumbnails [aria-pressed="true"] { border-color: var(--space-ev-accent-ink); }
.ev-thumbnails img { width: 100%; height: auto; display: block; }

[data-enquiry-status]:not([hidden]) {
  margin-top: 1rem;
  color: #7c2830;
}

.ev-detail-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-top: 1rem;
}
.ev-detail-shortcuts a, .ev-technical-resources a {
  color: var(--space-ev-accent-ink);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.ev-detail-specs {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: clamp(2rem, 5vw, 4.5rem);
}
.ev-detail-resources { display: grid; gap: clamp(1rem, 2vw, 2rem); }
.ev-spec-panel {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid #dce6f0;
  border-radius: .8rem;
  background: white;
  scroll-margin-top: 7rem;
  overflow-wrap: anywhere;
}
.ev-spec-panel .h4 { margin-bottom: 1rem; }
.ev-spec-panel p { line-height: 1.55; }
.ev-spec-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-size: .95rem;
  line-height: 1.35;
}
.ev-spec-table tr + tr, .ev-technical-resources div + div { border-top: 1px solid #dce6f0; }
.ev-product-detail .ev-spec-table :is(th, td) {
  border: 0;
  padding: .65rem .5rem;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
  vertical-align: top;
}
.ev-spec-table th { width: 51%; font-weight: 600; }
.ev-spec-table td { color: #101d2b; }
.ev-spec-table .ev-spec-pending, .ev-technical-resources .ev-spec-pending { color: #50627a; }
.ev-technical-resources, .ev-technical-resources dd { margin: 0; }
.ev-technical-resources div {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: .75rem;
  padding: .7rem 0;
  line-height: 1.4;
}
.ev-technical-resources dt { font-weight: 600; }

.ev-download-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(1.25rem, 5vw, 2.5rem);
  overflow: auto;
  border: none;
  border-radius: 1rem;
  background: white;
  color: #101d2b;
}

.ev-download-dialog::backdrop { background: rgb(10 25 43 / .65); }
.ev-download-dialog h2 { margin: 0 1.75rem .6rem 0; font-size: clamp(1.45rem, 5vw, 2rem); }
.ev-download-dialog [data-download-product] { font-weight: 650; }
.ev-download-dialog [data-download-note] { margin: .4rem 0 1rem; font-size: .9rem; }
.ev-download-dialog form, .ev-download-dialog label { display: grid; gap: .35rem; }
.ev-download-dialog form { gap: .85rem; }
.ev-download-dialog input {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #b8c8d9;
  border-radius: .3rem;
  background: white;
  color: #101d2b;
  font: inherit;
}
.ev-download-dialog .btn { justify-self: start; }
.ev-download-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.55rem;
  cursor: pointer;
}

.ev-contact-details address, .ev-location address { font-style: normal; line-height: 1.55; }
.ev-contact-links { display: grid; gap: .4rem; }
.ev-contact-links a:hover, .ev-contact-details .ev-email { color: var(--space-ev-accent-ink); }
.ev-email { overflow-wrap: anywhere; }
.ev-location-panel { padding: clamp(1.25rem,4vw,3.5rem); border-radius: 1rem; background: #f8f7f7; }
.ev-location-panel .h3 { margin-bottom: .55rem; }

.ev-enquiry .ev-interest-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.ev-enquiry .ev-interest-field .label {
  color: #554f4f;
  font-size: 14px;
}

.ev-interest-field .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

.ev-enquiry .ev-interest-select {
  display: block;
  appearance: none;
  width: 100%;
  height: 46px;
  border: 1px solid #bfbaba;
  border-radius: 4px;
  padding: 0 40px 0 16px;
  background: #fff url("/_assets/carbo.tech/wp-content/themes/carbo/images/icons/arrow-down-input.svg") no-repeat right 16px center / 16px;
  color: #554f4f;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ev-enquiry .ev-interest-select:hover {
  border-color: #554f4f;
}

.ev-enquiry .ev-interest-select[hidden] {
  display: none;
}

.ev-interest-select[aria-expanded="true"] {
  border-radius: 4px 4px 0 0;
}

.ev-interest-options {
  position: absolute;
  z-index: 2;
  inset: 100% 0 auto;
  max-height: min(18rem, 38vh);
  overflow: auto;
  border: 1px solid #bfbaba;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  background: #fff;
}

.ev-interest-options button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  color: #3f3b3c;
  text-align: left;
  cursor: pointer;
}

.ev-interest-options button:is(:hover, :focus, [aria-selected="true"]) {
  background: #edf5fd;
  outline-offset: -2px;
}

.ev-gallery button:focus-visible, .ev-download-dialog :is(input,button):focus-visible, .ev-enquiry :is(input,select,textarea,button):focus-visible {
  /* Restore the keyboard ring after the captured site's global outline reset. */
  outline: 2px solid var(--space-ev-accent-ink) !important;
  outline-offset: 3px;
}

@media (max-width: 850px) {
  .ev-customer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev-thumbnails { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ev-detail-specs { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .ev-customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-customer-grid img { height: 80px; }
  .ev-detail-grid { grid-template-columns: 1fr; }
  .ev-product-detail { padding-top: 100px; }
  .ev-detail-copy { grid-row: 1; padding-top: 0; }
  .ev-spec-table { font-size: .88rem; }
}

.post-type-archive-newsroom .header-right--search,
.post-type-archive-newsroom .header--search,
.post-type-archive-newsroom .header--mob--search { display: none; }

.post-type-archive-newsroom a[aria-disabled="true"] { cursor: default; }
.newsroom-page .ev-newsroom-source { margin-top: .5rem; }
