/* Applied only to the storefront, product listing, and product detail templates. */
.dm-home-page, .dm-catalog-page, .dm-detail-page {
  background: #fff;
  color: #191a1d;
  --dm-rule: #d9dadd;
  --dm-ink: #1b1c20;
  --dm-muted: #52545c;
  --dm-paper: #f4f4f3;
}
.dm-home :is(h1,h2,h3), .dm-catalog-page h1, .dm-detail-page h1 {
  letter-spacing: -.045em;
  text-wrap: balance;
}
.dm-home h2 {font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.05; margin: 0;}
.dm-home h3 {font-size: 1.15rem; line-height: 1.22;}
.dm-home p {color: var(--dm-muted);}
.dm-home .container {width: min(calc(100% - 64px), 1200px);}
.dm-block {padding-block: clamp(38px, 5vw, 76px);}
.dm-actions, .dm-heading {display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap;}
.dm-heading {justify-content: space-between; margin-bottom: 24px;}
.dm-link {font-weight: 700; text-decoration: underline; text-underline-offset: .25em;}
.dm-link:hover, .dm-categories a:hover, .dm-pick:hover h3 {color: var(--brand);}
.dm-button, .dm-detail-page .store-buttons .btn, .dm-catalog-page main .btn {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 46px; padding: 11px 20px; border: 0; border-radius: 5px;
  background: var(--brand); color: white; line-height: 1.25; font-weight: 700;
}
.dm-button:hover, .dm-detail-page .store-buttons .btn:hover {background: var(--brand-dark);}
.dm-button-dark {background: var(--dm-ink);}
.dm-button-light, .dm-button-light:hover {background: white; color: var(--dm-ink);}
.dm-button-light:hover {text-decoration: underline;}
.dm-home :is(a,summary):focus-visible, .dm-catalog-page main :focus-visible, .dm-detail-page main :focus-visible {
  outline: 3px solid #236ccb; outline-offset: 3px;
}
.dm-hero {background: linear-gradient(90deg, #1b1c20 0 50%, #f4f4f3 50% 100%);}
.dm-hero-grid, .dm-cable-grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center;}
.dm-hero-copy {padding: clamp(38px,5vw,78px) 24px clamp(38px,5vw,78px) 0; color: white;}
.dm-hero h1 {font-size: clamp(2rem,4vw,3.7rem); line-height: 1.03; margin: 0 0 12px;}
.dm-hero h1 strong {display: block; font-size: clamp(4rem,8vw,7.7rem); line-height: .98; letter-spacing: -.065em;}
.dm-hero p {color: white; font-size: clamp(1.05rem,1.7vw,1.45rem);}
.dm-hero .dm-actions, .dm-help .dm-actions {margin-top: 26px;}
.dm-hero .dm-link:hover, .dm-business .dm-link:hover {color: white;}
.dm-hero-photo, .dm-cable-photo {background: var(--dm-paper);}
.dm-hero-photo img {display: block; width: 100%; height: clamp(320px,38vw,490px); object-fit: contain; padding: 6%;}
.dm-home .dm-categories {padding-bottom: 0;}
.dm-categories nav {display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 20px; border-block: 1px solid var(--dm-rule);}
.dm-categories a {padding: 16px 8px; font-weight: 700;}
.dm-picks-grid {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,2vw,28px);}
.dm-pick-image {background: var(--dm-paper); border-radius: 4px; overflow: hidden;}
.dm-pick-image img {width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 6%;}
.dm-line {display: block; color: var(--dm-muted); font-size: .875rem; font-weight: 700;}
.dm-pick .dm-line {margin: 12px 0 5px;}
.dm-pick h3 {margin: 0;}
.dm-pick p {font-size: .94rem; margin-top: 4px;}
.dm-cable {background: #eeefee;}
.dm-cable-grid {gap: 22px;}
.dm-cable-grid > div {padding: clamp(32px,5vw,64px) 0;}
.dm-cable h2 strong {display: block;}
.dm-cable p {margin: 15px 0 20px;}
.dm-cable-photo {width: 100%; height: clamp(260px,32vw,380px); background: transparent; object-fit: contain; align-self: end;}
.dm-retail .dm-heading {margin-bottom: 10px;}
.dm-store-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-block: 1px solid #d9dadd;
  background: white;
}
.dm-store-logos li {min-width: 0;}
.dm-store-logos a {
  display: grid; place-items: center;
  min-height: 108px; padding: 20px clamp(8px, 2.6vw, 32px);
}
.dm-store-logos a:hover {background: #f7f7f7;}
.dm-store-logos a:focus-visible {outline: 3px solid #236ccb; outline-offset: -3px;}
.dm-store-logos img {
  display: block;
  width: min(100%, 156px); height: 48px;
  object-fit: contain;
}
.dm-store-quote {margin-top: 28px;}
.dm-store-quote .retailer-card--helper {min-height: auto;}
@media (max-width: 600px) {
  .dm-store-logos a {min-height: 76px; padding: 12px 7px;}
  .dm-store-logos img {height: 36px;}
}
@media (max-width: 360px) {
  .dm-store-logos {grid-template-columns: 1fr;}
  .dm-store-logos a {min-height: 62px;}
  .dm-store-logos img {width: 124px;}
}
.dm-business {background: var(--dm-ink); color: white; padding: clamp(38px,5vw,76px) 0;}
.dm-business-grid, .dm-help {display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px,6vw,84px);}
.dm-business .dm-line {color: #d8d8dc; margin-bottom: 14px;}
.dm-business h2 {font-size: clamp(2.6rem,5.4vw,4.7rem);}
.dm-business h3 {font-size: 1.45rem; margin: 0 0 6px;}
.dm-business-offers p {color: #e5e5e7; margin: 0 0 14px;}
.dm-business-offers > div + div {margin-top: 22px; padding-top: 22px; border-top: 1px solid #636368;}
.dm-help > div > p {margin-top: 12px;}
.dm-faq h2 {font-size: clamp(1.5rem,2vw,1.9rem); margin-bottom: 20px;}
.dm-faq details {border-top: 1px solid var(--dm-rule);}
.dm-faq details:last-child {border-bottom: 1px solid var(--dm-rule);}
.dm-faq summary {cursor: pointer; padding: 15px 0; font-weight: 700;}
.dm-faq details p {padding: 0 0 16px;}
.dm-faq p a {text-decoration: underline;}

.dm-catalog-page main .section, .dm-detail-page .section-product {padding-block: clamp(28px,4vw,56px);}
.dm-catalog-page .page-head--catalog {margin: 0 0 22px;}
.dm-catalog-page .filters--catalog {
  padding: 20px 0 14px; background: white; border: 0; border-block: 1px solid var(--dm-rule);
  border-radius: 0; box-shadow: none; margin-bottom: 24px;
}
.dm-catalog-page .filters__controls {display: grid; grid-template-columns: minmax(200px,2fr) repeat(2,minmax(130px,1fr)) auto; align-items: end;}
.dm-catalog-page .filter-field, .dm-catalog-page .filter-actions {width: auto; grid-column: auto;}
.dm-catalog-page .filters :is(input,select), .dm-catalog-page .filter-actions .btn {border-radius: 4px; min-height: 46px; height: auto;}
.dm-catalog-page main .btn-secondary {color: var(--dm-ink); background: white; border: 1px solid var(--dm-rule);}
.dm-catalog-page .filters__status {min-height: 32px; display: flex; align-items: center; justify-content: space-between;}
.dm-catalog-page .catalog-results {padding: 0; min-height: 28px; background: none; width: auto;}
.dm-catalog-page #products-list {gap: 26px 20px; align-items: stretch;}
.dm-catalog-page .product-card {box-shadow: none; border: 0; border-radius: 0; background: none; overflow: visible;}
.dm-catalog-page .product-card:hover {transform: none;}
.dm-catalog-page .product-card:hover h3 {text-decoration: underline; text-underline-offset: 3px;}
.dm-catalog-page .product-card__image {border: 0; background: var(--dm-paper); border-radius: 4px;}
.dm-catalog-page .product-card__image img {padding: 7%;}
.dm-catalog-page #products-list .product-card__body {min-height: 0; padding: 12px 0 4px;}
.dm-catalog-page #products-list .product-card__top {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; margin: 0 0 6px;}
.dm-catalog-page #products-list :is(.product-card__linea,.product-card__code) {
  padding: 0; max-width: 100%; font-size: .8125rem; font-weight: 600; line-height: 1.35;
  white-space: normal; color: var(--dm-muted); background: transparent; letter-spacing: normal;
}
.dm-catalog-page #products-list .product-card h3 {font-size: clamp(1rem,1.5vw,1.18rem); line-height: 1.2; margin: 0;}
.dm-catalog-page .product-card .dm-card-facts {display: block; color: var(--dm-muted); font-size: .9rem; line-height: 1.4; margin: 5px 0 0; overflow-wrap: anywhere;}
.dm-catalog-page .support-banner {background: var(--dm-paper);}
.dm-catalog-page .support-banner__wrap {background: transparent; border: 0; box-shadow: none; padding: 0;}
.dm-catalog-page #products-list.is-loading {min-height: 180px;}
.dm-catalog-page #products-list .empty-state {grid-column: 1/-1;}

.dm-detail-page .product-layout {grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(26px,5vw,78px);}
.dm-detail-page :is(.product-summary-card,.product-info,.product-gallery,.specs-card) {background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0;}
.dm-detail-page .product-main-image-wrap {background: var(--dm-paper); border: 0; border-radius: 4px; box-shadow: none;}
.dm-detail-page .product-main-image {width: 100%; height: auto; max-height: 480px; object-fit: contain; padding: 6%; border-radius: 0;}
.dm-detail-page .product-thumb {width: 60px; height: 60px; border-radius: 4px;}
.dm-detail-page .product-thumb.is-active {border: 2px solid var(--brand); box-shadow: none;}
.dm-detail-page .product-head-meta {margin: 0 0 14px;}
.dm-detail-page .product-chip {padding: 0; min-height: 0; border: 0; background: none; color: var(--dm-ink); font-size: .92rem;}
.dm-detail-page .product-chip--code {color: var(--dm-muted); font-weight: 400;}
.dm-detail-page .product-info h1 {font-size: clamp(2.1rem,4vw,3.8rem); line-height: 1.02;}
.dm-detail-page .product-desc {color: var(--dm-muted);}
.dm-highlights:not([hidden]) {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,100px),1fr)); gap: 12px; border-block: 1px solid var(--dm-rule); margin: 20px 0; padding: 15px 0;}
.dm-highlights dt {font-size: .875rem; color: var(--dm-muted);}
.dm-highlights dd {margin: 4px 0 0; font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere;}
.dm-detail-page .product-links {margin-top: 12px; border: 0; padding: 0; gap: 12px 22px;}
.dm-detail-page .product-links a {padding-block: 6px; color: var(--dm-muted);}
.dm-detail-page .specs-card {margin-top: clamp(30px,5vw,66px); padding-top: 24px; border-top: 1px solid var(--dm-rule);}
.dm-detail-page .specs-grid {gap: 0 28px;}
.dm-detail-page .spec-item {display: grid; grid-template-columns: minmax(95px,.8fr) minmax(0,1.2fr); align-items: baseline; gap: 8px; background: none; border: 0; border-bottom: 1px solid var(--dm-rule); padding: 12px 0; border-radius: 0;}
.dm-detail-page .spec-item__label {text-transform: none; font-size: .94rem; font-weight: 400; margin: 0;}
.dm-detail-page .spec-item__value {font-size: 1rem;}
@media (max-width: 780px) {
  .dm-home .container {width: min(calc(100% - 36px),1200px);}
  .dm-catalog-page .filters__controls {grid-template-columns: repeat(2,minmax(0,1fr));}
  .dm-catalog-page .filter-field--search {grid-column: 1/-1;}
  .dm-catalog-page .filter-actions {grid-column: 1/-1; justify-self: start;}
  .dm-catalog-page .filters__active {flex: 0 1 auto;}
  .dm-detail-page .product-layout, .dm-business-grid, .dm-help {grid-template-columns: 1fr;}
  .dm-detail-page .specs-grid {grid-template-columns: 1fr;}
  .dm-detail-page .product-main-image {max-height: 360px;}
  .dm-business h2 br {display: none;}
  .dm-picks-grid {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 14px;}
}
@media (max-width: 600px) {
  .dm-hero {background: #1b1c20;}
  .dm-hero .dm-hero-grid {width: 100%; grid-template-columns: 1fr;}
  .dm-hero-copy {padding: 28px 18px 26px;}
  .dm-hero h1 strong {font-size: 4.35rem;}
  .dm-hero .dm-actions {margin-top: 18px;}
  .dm-hero-photo img {height: clamp(225px,66vw,300px); padding: 12px;}
  .dm-categories nav {grid-template-columns: repeat(3,minmax(0,1fr));}
  .dm-categories a {padding: 12px 4px; font-size: .95rem;}
  .dm-heading {gap: 12px; margin-bottom: 18px;}
  .dm-pick h3 {font-size: 1.025rem;}
  .dm-cable-grid {grid-template-columns: 1fr; gap: 0;}
  .dm-cable-grid > div {padding-bottom: 0;}
  .dm-cable-photo {height: 220px;}
  .dm-detail-page .product-main-image {max-height: 300px;}
  .dm-catalog-page #products-list {gap: 20px 12px;}
  .dm-catalog-page .product-card__code {display: none;}
}
