
/* Miller Gadgets v1.200 — product-family specifications */

body.page-product .product-left-rail-v200,
body.page-product .product-right-rail-v200 {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: clamp(18px, 2.2vw, 28px);
}

body.page-product .product-detail-grid.product-detail-grid-v39 {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr) !important;
  align-items: start !important;
}

body.page-product .product-family-specs-card {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid rgba(17, 9, 51, .11);
  border-radius: 24px;
  padding: clamp(18px, 2.2vw, 26px);
  background:
    radial-gradient(circle at top right, rgba(252, 101, 1, .12), transparent 34%),
    #ffffff;
  box-shadow: 0 16px 44px rgba(17, 9, 51, .085);
  overflow: visible;
}

body.page-product .product-family-specs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

body.page-product .product-family-specs-head h2 {
  margin: 3px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

body.page-product .product-family-specs-category {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  max-width: 44%;
  padding: 6px 11px;
  border: 1px solid rgba(252, 101, 1, .24);
  border-radius: 999px;
  background: rgba(252, 101, 1, .085);
  color: #b54800;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

body.page-product .product-family-specs-intro {
  margin: 0 0 16px;
  color: var(--muted, #625b72);
  font-size: .92rem;
  line-height: 1.55;
}

body.page-product .product-family-specs-grid {
  display: grid;
  gap: 9px;
}

body.page-product .product-family-spec-item {
  display: grid;
  grid-template-columns: minmax(94px, .72fr) minmax(0, 1.28fr);
  gap: 12px;
  align-items: start;
  padding: 11px 12px;
  border: 1px solid rgba(17, 9, 51, .085);
  border-radius: 15px;
  background: rgba(248, 247, 251, .82);
}

body.page-product .product-family-spec-item dt,
body.page-product .product-family-spec-item dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

body.page-product .product-family-spec-item dt {
  color: #21183f;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.35;
}

body.page-product .product-family-spec-item dd {
  color: #625b72;
  font-size: .79rem;
  line-height: 1.48;
}

body.page-product .product-family-specs-note {
  margin: 14px 0 0;
  padding: 12px 13px;
  border-left: 3px solid #fc6501;
  border-radius: 0 12px 12px 0;
  background: rgba(252, 101, 1, .07);
  color: #625b72;
  font-size: .76rem;
  line-height: 1.5;
}

html[data-theme="dark"] body.page-product .product-family-specs-card {
  border-color: rgba(255,255,255,.11);
  background:
    radial-gradient(circle at top right, rgba(252, 101, 1, .16), transparent 34%),
    rgba(26, 18, 58, .95);
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
}

html[data-theme="dark"] body.page-product .product-family-spec-item {
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
}

html[data-theme="dark"] body.page-product .product-family-spec-item dt {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

html[data-theme="dark"] body.page-product .product-family-spec-item dd,
html[data-theme="dark"] body.page-product .product-family-specs-intro,
html[data-theme="dark"] body.page-product .product-family-specs-note {
  color: rgba(255,255,255,.73);
  -webkit-text-fill-color: rgba(255,255,255,.73);
}

html[data-theme="dark"] body.page-product .product-family-specs-category {
  color: #ffb17f;
  -webkit-text-fill-color: #ffb17f;
  border-color: rgba(252,101,1,.34);
  background: rgba(252,101,1,.12);
}

/* Keep each desktop rail independent, so specifications occupy the blank space
   directly below the product image instead of waiting for the taller picker. */
@media (min-width: 981px) {
  body.page-product .product-left-rail-v200 {
    grid-column: 1;
  }

  body.page-product .product-right-rail-v200 {
    grid-column: 2;
  }

  body.page-product .product-right-rail-v200 .purchase-summary-card {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* On smaller screens, flatten both rails and put specifications last. */
@media (max-width: 980px) {
  body.page-product .product-detail-grid.product-detail-grid-v39 {
    grid-template-columns: 1fr !important;
  }

  body.page-product .product-left-rail-v200,
  body.page-product .product-right-rail-v200 {
    display: contents;
  }

  body.page-product .product-config-card {
    order: 1 !important;
  }

  body.page-product .product-media-card {
    order: 2 !important;
  }

  body.page-product .purchase-summary-card {
    order: 3 !important;
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.page-product .product-family-specs-card {
    order: 4 !important;
  }
}

@media (max-width: 560px) {
  body.page-product .product-family-specs-card {
    padding: 17px;
    border-radius: 20px;
  }

  body.page-product .product-family-specs-head {
    align-items: center;
  }

  body.page-product .product-family-spec-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 11px;
  }

  body.page-product .product-family-specs-category {
    max-width: 48%;
    font-size: .68rem;
  }
}
