/* UGL commerce studio refinement.
   Presentation only: keep the inventory, form controls and local workflows intact.
   Load after studio.css and the existing commerce/contrast layers. */

:is(.commerce-head, .commerce-catalog, .commerce-product-detail,
    .commerce-cart-section, .commerce-checkout, .commerce-saved,
    .commerce-compare, .commerce-account, .commerce-tracking,
    .commerce-confirmation) {
  --commerce-surface: #f3f5f7;
  --commerce-blue-surface: #e8eef7;
  --commerce-divider: #dfe5eb;
  --commerce-radius: 14px;
}

/* A clear editorial opening, followed immediately by the useful tools. */
.commerce-head { padding-bottom: 38px; }
.commerce-head .breadcrumbs,
.commerce-product-detail > .breadcrumbs {
  padding-top: 22px;
  padding-bottom: 30px;
  font-size: 13px;
  letter-spacing: -.01em;
}
.commerce-title-row h1 {
  max-width: 1060px;
  margin: 12px 0 20px;
  font-size: clamp(42px, 4.3vw, 62px);
  font-weight: 520;
  line-height: 1.1;
  letter-spacing: -.055em;
}
.commerce-title-row p {
  max-width: 740px;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -.015em;
}
.commerce-catalog { padding-top: 0; padding-bottom: 112px; }
.commerce-cart-section,
.commerce-checkout,
.commerce-saved,
.commerce-compare,
.commerce-account,
.commerce-tracking { padding-top: 8px; padding-bottom: 112px; }
.commerce-product-detail { padding-bottom: 112px; }

/* The filters are an open workbench, not a second stack of product cards. */
.commerce-catalog-search {
  margin-bottom: 40px;
  padding: 20px 24px;
  gap: 30px;
  background: var(--commerce-surface);
  border-radius: var(--commerce-radius);
}
.commerce-catalog-search > label {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -.015em;
}
.commerce-search-input input {
  border-color: transparent;
  border-radius: 8px;
  background: #fff;
}
.commerce-catalog-layout {
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.commerce-filter-panel {
  padding: 3px 28px 0 0;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--commerce-divider);
  border-radius: 0;
}
.commerce-filter-header { margin-bottom: 22px; gap: 10px; }
.commerce-filter-header h2 { font-size: 22px; font-weight: 550; }
.commerce-filter-header > .commerce-text-button { font-size: 13px; }
.commerce-filter-panel fieldset { padding: 23px 0; }
.commerce-filter-panel legend {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 550;
}
.commerce-filter-panel .commerce-field {
  margin-bottom: 15px;
  font-size: 13px;
}
.commerce-filter-panel .commerce-field input,
.commerce-filter-panel .commerce-field select,
.commerce-filter-panel > form > fieldset > select {
  min-height: 50px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 15px;
  border-color: var(--commerce-divider);
  border-radius: 7px;
  background-color: #fff;
}
.commerce-checkbox { gap: 10px; color: #526170; }
.commerce-checkbox input { width: 18px; height: 18px; flex-shrink: 0; }
.commerce-checkbox small { margin-left: auto; }
.commerce-filter-panel .commerce-price-filter input {
  border-radius: 7px;
  font-size: 15px;
}
.commerce-filter-help { margin-top: 28px; padding-top: 28px; }
.commerce-filter-help > svg { width: 25px; height: 25px; }
.commerce-filter-help h3 { font-size: 21px; font-weight: 500; }
.commerce-filter-help p { font-size: 14px; line-height: 1.7; }
.commerce-results-toolbar {
  min-height: 50px;
  margin-bottom: 22px;
  gap: 18px;
}
.commerce-results-toolbar > p { font-size: 14px; }
.commerce-sort select { border-radius: 7px; }
.commerce-view-toggle { border-radius: 7px; }
.commerce-view-toggle button.active { background: var(--commerce-blue-surface); }
.commerce-active-filters { gap: 8px; }
.commerce-active-filters > button {
  border-radius: 6px;
  padding: 10px 13px;
  background: var(--commerce-blue-surface);
  color: #234f8c;
}
.commerce-demo-note {
  padding: 14px 0;
  margin-bottom: 22px;
  border-top: 1px solid var(--commerce-divider);
  border-bottom: 1px solid var(--commerce-divider);
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.65;
}
.commerce-demo-note svg { color: #627c98; }

/* Consistent photo stages keep the industrial parts themselves prominent. */
.commerce-product-grid { gap: 40px 24px; }
.commerce-product-grid .product-card { min-width: 0; }
.commerce-product-grid .product-image {
  height: 308px;
  border-radius: var(--commerce-radius);
  background: var(--commerce-surface);
  isolation: isolate;
}
.commerce-product-grid .product-image img {
  object-fit: contain;
  mix-blend-mode: multiply;
}
.commerce-product-grid .product-image > a { padding: 52px 27px 32px; }
.commerce-product-grid .condition-badge {
  left: 16px;
  top: 16px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.5;
  border-radius: 5px;
  box-shadow: none;
}
.commerce-product-grid .save-part { right: 14px; top: 13px; box-shadow: none; }
.commerce-product-grid .product-info { padding: 22px 1px 0; }
.commerce-product-grid .product-meta { font-size: 12px; color: var(--muted); }
.commerce-product-grid .product-name {
  margin-top: 11px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 520;
  letter-spacing: -.03em;
}
.commerce-product-grid .fit-line { margin-top: 10px; font-size: 14px; }
.commerce-product-grid .product-status { font-size: 12px; }
.commerce-product-grid .product-bottom { padding-top: 17px; }
.commerce-product-grid .product-price {
  font-size: 25px;
  line-height: 1.25;
  font-weight: 550;
  letter-spacing: -.04em;
}
.commerce-product-grid .compare-link { margin-top: 18px; border-color: var(--commerce-divider); }
.commerce-pagination { margin-top: 45px; padding-top: 28px; }
.commerce-pagination button { border-radius: 7px; background: var(--commerce-surface); }
.commerce-pagination button.active { background: var(--blue); color: #fff; }
.commerce-sourcing-banner {
  margin-top: 56px;
  padding: 42px;
  gap: 30px;
  border-radius: var(--commerce-radius);
  background: #11171d;
}
.commerce-sourcing-banner h2 {
  max-width: 560px;
  margin: 17px 0;
  font-size: clamp(29px, 2.65vw, 38px);
  font-weight: 500;
  letter-spacing: -.045em;
}
.commerce-sourcing-banner p { max-width: 580px; font-size: 16px; }
.commerce-product-grid.commerce-list-view { gap: 28px; }
.commerce-list-view .product-card {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--commerce-divider);
}
.commerce-list-view .product-card .product-image { height: 100%; min-height: 284px; }
.commerce-list-view .product-card .product-info { padding: 14px 0 0; }
.commerce-list-view .product-name { min-height: 0; }

/* Part detail balances an uncluttered object display with an open buying column. */
.commerce-detail-grid {
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  gap: 64px;
}
.commerce-product-info,
.commerce-product-visual { min-width: 0; }
.commerce-detail-image {
  aspect-ratio: 1.04;
  border-radius: 16px;
  background: var(--commerce-surface);
}
.commerce-detail-image > img {
  padding: 72px 42px 80px;
  background: transparent;
  mix-blend-mode: multiply;
}
.commerce-image-label { top: 24px; left: 24px; right: 24px; }
.commerce-image-label span:first-child { border-radius: 5px; font-size: 13px; font-weight: 450; }
.commerce-image-label span:last-child { font-size: 12px; letter-spacing: .04em; }
.commerce-detail-image .commerce-image-caption {
  padding: 18px 24px;
  border-top: 1px solid #dde3e9;
  background: #edf0f3;
  font-size: 12px;
}
.commerce-detail-promises { padding: 26px 0; gap: 18px; }
.commerce-detail-promises > div { font-size: 13px; font-weight: 450; }
.commerce-detail-promises svg { color: var(--blue); }
.commerce-part-note { padding-top: 22px; }
.commerce-part-note p { font-size: 14px; line-height: 1.7; }
.commerce-part-meta { margin: 3px 0 21px; }
.commerce-part-meta a { color: var(--blue); font-size: 13px; }
.commerce-part-meta > span { white-space: normal; overflow-wrap: anywhere; }
.commerce-product-info h1 {
  margin-bottom: 22px;
  font-size: clamp(33px, 2.9vw, 42px);
  font-weight: 520;
  letter-spacing: -.047em;
  line-height: 1.16;
  overflow-wrap: break-word;
}
.commerce-condition-line { font-size: 14px; gap: 15px; }
.commerce-part-description { margin: 23px 0 28px; font-size: 16px; line-height: 1.75; }
.commerce-detail-price { padding: 26px 0; }
.commerce-detail-price > strong { font-size: 38px; font-weight: 520; letter-spacing: -.045em; }
.commerce-detail-price > span { font-size: 13px; }
.commerce-quick-specs { padding: 28px 0 31px; gap: 22px 24px; }
.commerce-quick-specs > div { min-width: 0; }
.commerce-quick-specs strong { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.commerce-quantity { border-radius: 8px; }
.commerce-detail-secondary { padding-top: 17px; padding-bottom: 25px; }
.commerce-product-info > .commerce-demo-note { margin-bottom: 24px; }
.commerce-part-specialist {
  padding: 22px;
  gap: 16px;
  border: 0;
  border-radius: 10px;
  background: var(--commerce-blue-surface);
}
.commerce-specialist-icon { background: transparent; border-radius: 0; }
.commerce-part-specialist strong { font-size: 15px; font-weight: 550; }
.commerce-part-specialist > div > span { color: #52667e; font-size: 13px; }
.commerce-part-specialist > svg { flex: none; }
.commerce-detail-lower {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  margin-top: 92px;
  padding-top: 64px;
  gap: 72px;
}
.commerce-specifications > h2 {
  margin: 18px 0 30px;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.045em;
}
.commerce-accordion summary { padding: 25px 0; font-size: 17px; font-weight: 500; }
.commerce-spec-table > div {
  padding: 17px 16px;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.65;
}
.commerce-spec-table > div:nth-child(odd) { background: var(--commerce-surface); }
.commerce-fitment-card {
  padding: 38px;
  border-radius: 16px;
  background: #102b46;
}
.commerce-fitment-card h2 { margin: 18px 0 21px; font-size: 36px; font-weight: 500; }
.commerce-fitment-card > p { font-size: 16px; line-height: 1.75; }
.commerce-fitment-card .commerce-field input,
.commerce-fitment-card .commerce-field textarea {
  background: #f8fafc;
  border-color: #f8fafc;
  color: var(--ink);
}
.commerce-fitment-card .commerce-field input::placeholder,
.commerce-fitment-card .commerce-field textarea::placeholder { color: #697789; }
.commerce-fitment-card .btn-white {
  color: #11171d;
  border-color: #edf3fb;
  background: #edf3fb;
}
.commerce-fitment-card .btn-white:hover { color: #11171d; background: #fff; border-color: #fff; }
.commerce-fitment-card .btn-white svg { color: currentColor; }
.commerce-related { margin-top: 92px; }
.commerce-related .section-heading { align-items: end; margin-bottom: 34px; }
.commerce-related .section-heading h2 { font-weight: 500; }

/* Purchase and request screens are spacious ledgers, with one clear summary. */
.commerce-cart-grid { grid-template-columns: minmax(0, 1.65fr) minmax(340px, 1fr); gap: 58px; }
.commerce-checkout-grid { grid-template-columns: minmax(0, 1.5fr) minmax(350px, 1fr); gap: 64px; }
.commerce-cart-grid > *,
.commerce-checkout-grid > *,
.commerce-account-layout > *,
.commerce-tracking-grid > * { min-width: 0; }
.commerce-cart-header { margin-bottom: 26px; }
.commerce-cart-header h2 { font-size: 27px; font-weight: 500; }
.commerce-cart-line { padding: 30px 0; gap: 24px; }
.commerce-cart-image { width: 146px; height: 154px; border-radius: 10px; background: var(--commerce-surface); }
.commerce-cart-image img { padding: 14px; mix-blend-mode: multiply; }
.commerce-cart-part { min-width: 0; }
.commerce-cart-part h3 { font-size: 20px; font-weight: 520; letter-spacing: -.03em; }
.commerce-cart-part > p { overflow-wrap: anywhere; }
.commerce-cart-numbers > strong { font-size: 24px; font-weight: 520; }
.commerce-cart-numbers .commerce-quantity { border-radius: 7px; }
.commerce-summary {
  padding: 34px 30px 30px;
  border-top: 3px solid var(--blue);
  border-radius: 0 0 14px 14px;
  background: var(--commerce-surface);
}
.commerce-summary > h2 { margin: 14px 0 29px; font-size: 30px; font-weight: 500; }
.commerce-summary dl > div { margin: 19px 0; font-size: 14px; }
.commerce-summary dl > .commerce-total { padding-top: 25px; margin-top: 25px; }
.commerce-summary .commerce-total dd { font-size: 30px; font-weight: 550; }
.commerce-summary-trust { font-size: 13px; }
.commerce-cart-callout {
  padding: 28px 0 0;
  margin-top: 32px;
  gap: 19px;
  border-top: 1px solid var(--commerce-divider);
  border-radius: 0;
  background: transparent;
}
.commerce-cart-callout h3 { font-size: 24px; font-weight: 500; }
.commerce-cart-callout p { font-size: 15px; max-width: 620px; }
.commerce-checkout-notice {
  margin-bottom: 38px;
  padding: 24px;
  border-radius: 10px;
  background: var(--commerce-blue-surface);
}
.commerce-checkout-notice strong { font-weight: 550; }
.commerce-checkout-notice p { color: #52667e; }
.commerce-form-section { padding-bottom: 36px; margin-bottom: 36px; }
.commerce-form-section h2 { margin-bottom: 28px; gap: 15px; font-size: 28px; font-weight: 500; }
.commerce-form-section h2 > span {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--commerce-blue-surface);
  color: var(--blue);
}
.commerce-form-grid { gap: 5px 24px; }
.commerce-field { margin-bottom: 22px; font-size: 14px; font-weight: 500; }
.commerce-field input,
.commerce-field select,
.commerce-field textarea {
  margin-top: 9px;
  border-radius: 7px;
  border-color: #d4dce4;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.commerce-field input:hover,
.commerce-field select:hover,
.commerce-field textarea:hover { border-color: #aebbc8; }
.commerce-field input:focus,
.commerce-field select:focus,
.commerce-field textarea:focus,
.commerce-search-input input:focus {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.commerce-consent { font-size: 14px; }
.commerce-checkout-items { padding: 30px 0 0; }
.commerce-checkout-items h3 { font-weight: 500; }
.commerce-checkout-items img { border-radius: 8px; background: var(--commerce-surface); mix-blend-mode: multiply; }

/* Saved parts, comparison and the workspace retain one visual system. */
.commerce-local-notice {
  margin-bottom: 35px;
  padding: 18px 0;
  border-top: 1px solid var(--commerce-divider);
  border-bottom: 1px solid var(--commerce-divider);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}
.commerce-saved .commerce-product-grid { gap: 44px 28px; }
.commerce-saved-footer { margin-top: 40px; padding-top: 30px; }
.commerce-compare-toolbar { margin-top: 24px; margin-bottom: 24px; }
.commerce-compare-scroll { border-radius: 12px; border-color: var(--commerce-divider); }
.commerce-compare-table th,
.commerce-compare-table td { padding: 24px; border-color: var(--commerce-divider); }
.commerce-compare-table thead th { padding-top: 58px; }
.commerce-compare-table thead th:first-child { background: var(--commerce-blue-surface); }
.commerce-compare-table thead h2 { font-size: 30px; font-weight: 500; }
.commerce-compare-table thead img {
  height: 206px;
  padding: 22px;
  border-radius: 10px;
  background: var(--commerce-surface);
  mix-blend-mode: multiply;
}
.commerce-compare-table thead h3 { font-size: 18px; font-weight: 520; }
.commerce-compare-price { font-size: 26px; font-weight: 550; }
.commerce-compare-table tbody tr:nth-child(even) { background: #f7f8fa; }
.commerce-compare-table tbody th { font-size: 14px; }
.commerce-compare-table tbody td { font-size: 15px; }
.commerce-compare-remove { border-radius: 7px; background: var(--commerce-surface); }
.commerce-account-stats {
  gap: 0;
  margin-bottom: 48px;
  border-radius: var(--commerce-radius);
  background: var(--commerce-surface);
}
.commerce-account-stats > a {
  gap: 18px;
  padding: 30px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: background-color 180ms ease;
}
.commerce-account-stats > a + a { border-left: 1px solid var(--commerce-divider); }
.commerce-account-stats > a:first-child { border-radius: 14px 0 0 14px; }
.commerce-account-stats > a:last-child { border-radius: 0 14px 14px 0; }
.commerce-account-stats > a:hover { transform: none; background: #e8eef7; }
.commerce-account-stats > a > span { width: 42px; height: 42px; border-radius: 0; background: transparent; }
.commerce-account-stats strong { font-size: 41px; font-weight: 500; letter-spacing: -.05em; }
.commerce-account-stats p { font-size: 14px; color: #526170; }
.commerce-account-layout { grid-template-columns: minmax(0, 1.7fr) minmax(330px, 1fr); gap: 58px; }
.commerce-draft-card { padding: 28px 0; }
.commerce-draft-card > div:first-child { min-width: 0; }
.commerce-draft-status { padding: 7px 10px; border-radius: 5px; background: var(--commerce-blue-surface); color: #335879; }
.commerce-draft-card h3 { font-size: 18px; font-weight: 500; }
.commerce-draft-actions > a,
.commerce-draft-actions > button { font-size: 14px; }
.commerce-profile-card { padding: 32px; border-radius: 14px; background: var(--commerce-surface); }
.commerce-profile-card > h2 { font-size: 29px; font-weight: 500; }
.commerce-account-empty {
  padding: 40px 30px;
  border: 0;
  border-radius: 12px;
  background: var(--commerce-surface);
}
.commerce-account-empty h3 { font-size: 30px; font-weight: 500; }
.commerce-account-help {
  padding: 32px;
  border-radius: 12px;
  background: #11171d;
  color: #edf3fb;
}
.commerce-account-help h3 { color: #edf3fb; font-size: 25px; font-weight: 500; }
.commerce-account-help p { color: #b4c1cd; }
.commerce-account-help a { color: #91b5ff; }
.commerce-account-help a:hover { color: #fff; }
.commerce-account-enquiries,
.commerce-garage { margin-top: 46px; padding-top: 34px; }
.commerce-garage-list { gap: 0; margin-bottom: 24px; }
.commerce-garage-truck {
  padding: 25px 0;
  gap: 17px;
  border-bottom: 1px solid var(--commerce-divider);
  border-radius: 0;
  background: transparent;
}
.commerce-garage-icon { background: var(--commerce-blue-surface); border-radius: 8px; }
.commerce-garage-truck h3 { font-size: 21px; font-weight: 500; }
.commerce-garage-add { border-radius: 10px; background: var(--commerce-surface); border-color: transparent; }
.commerce-garage-add > summary { padding: 22px 24px; font-size: 15px; }
.commerce-garage-add > form { padding: 4px 24px 26px; }

/* Clear local request status and a consistent charcoal assistance area. */
.commerce-tracking-grid { gap: 56px; }
.commerce-track-form { padding: 32px; border-radius: 14px; background: var(--commerce-surface); }
.commerce-track-form .commerce-search-input input { font-size: 16px; }
.commerce-track-result { padding: 32px; border-radius: 12px; }
.commerce-track-result > h2 { font-size: 31px; font-weight: 500; overflow-wrap: anywhere; }
.commerce-track-empty > h2 { font-weight: 500; }
.commerce-tracking-help { padding: 36px; border-radius: 14px; background: #11171d; }
.commerce-tracking-help > h2 { font-size: 38px; font-weight: 500; }
.commerce-tracking-help > a:not(.btn) { color: #91b5ff; }
.commerce-tracking-help > a:not(.btn):hover { color: #fff; }
.commerce-request-timeline > div > span { border-radius: 6px; }
.commerce-confirmation-facts { padding: 30px 25px; border-radius: 12px; background: var(--commerce-surface); }
.commerce-confirmation > h2 { font-weight: 500; }
.commerce-empty { padding-top: 60px; padding-bottom: 70px; }
.commerce-empty > svg { color: #6f8cac; }
.commerce-empty h2 { font-weight: 500; }

@media (min-width: 1000px) {
  body[data-page="catalog"] .commerce-title-row h1 { font-size: clamp(48px, 3.7vw, 56px); margin-top: 14px; }
  body[data-page="catalog"] .commerce-head { padding-bottom: 31px; }
  body[data-page="catalog"] .commerce-catalog-search { margin-bottom: 38px; }
}

@media (min-width: 1600px) {
  .commerce-catalog-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; }
  .commerce-product-grid .product-image { height: 330px; }
  .commerce-detail-grid { gap: 80px; }
}

@media (max-width: 1279px) {
  .commerce-catalog-layout { grid-template-columns: 228px minmax(0, 1fr); gap: 30px; }
  .commerce-filter-panel { padding-right: 24px; }
  .commerce-product-grid { gap: 36px 24px; }
  .commerce-product-grid .product-image { height: 310px; }
  .commerce-list-view .product-card { grid-template-columns: 236px minmax(0, 1fr); gap: 24px; }
  .commerce-list-view .product-card .product-image { height: 100%; min-height: 275px; }
  .commerce-detail-grid { gap: 38px; }
  .commerce-detail-image { aspect-ratio: .95; }
  .commerce-detail-image > img { padding: 70px 28px 84px; }
  .commerce-product-info h1 { font-size: 35px; }
  .commerce-detail-lower { gap: 42px; }
  .commerce-fitment-card { padding: 30px; }
  .commerce-fitment-card h2 { font-size: 33px; }
  .commerce-cart-grid,
  .commerce-checkout-grid { gap: 36px; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); }
  .commerce-cart-line { gap: 18px; }
  .commerce-cart-image { width: 112px; height: 126px; }
  .commerce-cart-part h3 { font-size: 18px; }
  .commerce-cart-numbers > strong { font-size: 22px; }
  .commerce-summary { padding: 29px 25px; }
  .commerce-summary .commerce-total dd { font-size: 27px; }
  .commerce-account-layout { gap: 36px; }
  .commerce-account-stats > a { padding: 27px 22px; gap: 14px; }
  .commerce-account-stats > a > span { width: 35px; height: 35px; }
  .commerce-profile-card { padding: 28px; }
  .commerce-tracking-grid { gap: 36px; }
  .commerce-tracking-help { padding: 30px; }
}

@media (max-width: 991px) {
  .commerce-catalog-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
  .commerce-filter-panel { padding-right: 20px; }
  .commerce-product-grid { gap: 34px 18px; }
  .commerce-product-grid .product-image { height: 265px; }
  .commerce-product-grid .product-image > a { padding: 55px 19px 28px; }
  .commerce-product-grid .product-name { font-size: 19px; }
  .commerce-list-view .product-card { grid-template-columns: 1fr; gap: 0; }
  .commerce-list-view .product-card .product-image { height: 300px; min-height: 0; }
  .commerce-list-view .product-card .product-info { padding: 22px 0 0; }
  .commerce-sourcing-banner { padding: 32px; }
  .commerce-detail-grid { gap: 28px; }
  .commerce-detail-image { aspect-ratio: .84; }
  .commerce-detail-image > img { padding: 80px 22px 87px; }
  .commerce-product-info h1 { font-size: 32px; }
  .commerce-image-label { left: 18px; right: 18px; top: 18px; }
  .commerce-detail-image .commerce-image-caption { padding: 16px; }
  .commerce-detail-promises > div { font-size: 12px; }
  .commerce-detail-price > strong { font-size: 35px; }
  .commerce-detail-lower { grid-template-columns: 1fr; margin-top: 65px; padding-top: 45px; gap: 42px; }
  .commerce-fitment-card { padding: 36px; }
  .commerce-cart-grid,
  .commerce-checkout-grid,
  .commerce-account-layout,
  .commerce-tracking-grid { grid-template-columns: 1fr; gap: 44px; }
  .commerce-cart-image { width: 150px; height: 155px; }
  .commerce-cart-part h3 { font-size: 21px; }
  .commerce-cart-numbers > strong { font-size: 25px; }
  .commerce-summary { padding: 32px; }
  .commerce-summary .commerce-total dd { font-size: 30px; }
  .commerce-account-stats > a { padding: 25px; }
  .commerce-account-stats > a > span { margin-bottom: 18px; }
  .commerce-profile-card { padding: 32px; }
  .commerce-saved .commerce-product-grid { gap: 38px 24px; }
  .commerce-related { margin-top: 70px; }
}

@media (max-width: 767px) {
  .commerce-head { padding-bottom: 30px; }
  .commerce-head .breadcrumbs,
  .commerce-product-detail > .breadcrumbs { padding-top: 16px; padding-bottom: 23px; font-size: 12px; }
  .commerce-title-row h1 { font-size: 43px; margin: 12px 0 19px; line-height: 1.1; }
  .commerce-title-row p { font-size: 16px; line-height: 1.75; }
  .commerce-catalog,
  .commerce-cart-section,
  .commerce-checkout,
  .commerce-saved,
  .commerce-compare,
  .commerce-account,
  .commerce-tracking { padding-top: 0; padding-bottom: 76px; }
  .commerce-product-detail { padding-bottom: 76px; }
  .commerce-catalog-search { margin-bottom: 28px; padding: 14px; border-radius: 10px; }
  .commerce-catalog-search .commerce-search-input input { font-size: 16px; }
  .commerce-catalog-layout { display: block; }
  .commerce-filter-panel {
    padding: 24px;
    margin-bottom: 29px;
    border: 1px solid var(--commerce-divider);
    border-radius: 10px;
    background: var(--commerce-surface);
  }
  .commerce-filter-panel .commerce-field input,
  .commerce-filter-panel .commerce-field select,
  .commerce-filter-panel > form > fieldset > select,
  .commerce-filter-panel .commerce-price-filter input { font-size: 16px; }
  .commerce-filter-panel .commerce-checkbox { font-size: 14px; }
  .commerce-results-toolbar { gap: 14px; }
  .commerce-sort select { font-size: 16px; max-width: none; }
  .commerce-product-grid .product-image { height: 300px; }
  .commerce-product-grid .product-name { font-size: 20px; }
  .commerce-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .commerce-detail-image { aspect-ratio: 1.12; }
  .commerce-detail-image > img { padding: 68px 35px 74px; }
  .commerce-product-info h1 { font-size: 35px; max-width: 620px; }
  .commerce-part-meta { margin-top: 0; }
  .commerce-detail-promises { padding: 23px 0; }
  .commerce-detail-promises > div { flex-direction: row; text-align: left; }
  .commerce-detail-lower { margin-top: 56px; padding-top: 38px; }
  .commerce-fitment-card { padding: 32px; }
  .commerce-fitment-card h2 { font-size: 34px; }
  .commerce-related .section-heading { display: block; }
  .commerce-related .section-heading h2 { font-size: 34px; }
  .commerce-form-section h2 { font-size: 26px; }
  .commerce-checkout-notice { padding: 22px; }
  .commerce-account-stats { margin-bottom: 38px; }
  .commerce-account-stats > a { padding: 24px 20px; }
  .commerce-account-stats strong { font-size: 37px; }
  .commerce-account-stats p { font-size: 13px; }
  .commerce-track-form { padding: 28px; }
  .commerce-tracking-help { padding: 32px; }
  .commerce-tracking-help > h2 { font-size: 35px; }
  .commerce-compare-table th,
  .commerce-compare-table td { padding: 21px; }
  .commerce-compare-table thead th { padding-top: 58px; }
}

@media (max-width: 599px) {
  .commerce-title-row h1 { font-size: 39px; }
  .commerce-catalog-search { padding: 10px; }
  .commerce-catalog-search .commerce-search-input { gap: 8px; }
  .commerce-catalog-search .commerce-search-input input { padding-left: 41px; font-size: 16px; }
  .commerce-filter-panel { padding: 22px; }
  .commerce-results-toolbar > p { font-size: 14px; }
  .commerce-sort select { width: 100%; max-width: none; font-size: 16px; }
  .commerce-product-grid,
  .commerce-saved .commerce-product-grid,
  .commerce-related .commerce-product-grid { grid-template-columns: 1fr; gap: 36px; }
  .commerce-product-grid .product-image { height: 330px; }
  .commerce-product-grid .product-name { font-size: 21px; }
  .commerce-product-grid .product-image > a { padding: 56px 30px 34px; }
  .commerce-list-view .product-card { padding-bottom: 0; border-bottom: 0; }
  .commerce-list-view .product-card .product-image { height: 330px; }
  .commerce-list-view .product-card .product-info { padding: 22px 1px 0; }
  .commerce-sourcing-banner { padding: 29px 25px; margin-top: 44px; }
  .commerce-sourcing-banner h2 { font-size: 31px; }
  .commerce-sourcing-banner p { font-size: 15px; }
  .commerce-detail-image { aspect-ratio: 1; border-radius: 12px; }
  .commerce-detail-image > img { padding: 68px 22px 77px; }
  .commerce-image-label { left: 16px; right: 16px; top: 16px; gap: 10px; }
  .commerce-image-label span:first-child { font-size: 12px; }
  .commerce-detail-image .commerce-image-caption { padding: 14px 16px; }
  .commerce-detail-promises { gap: 13px; }
  .commerce-detail-promises > div { flex-direction: column; text-align: center; font-size: 12px; }
  .commerce-product-info h1 { font-size: 33px; line-height: 1.19; }
  .commerce-part-description { font-size: 16px; }
  .commerce-quick-specs { gap: 22px 19px; }
  .commerce-part-specialist { padding: 20px 17px; gap: 12px; }
  .commerce-specialist-icon { width: 35px; }
  .commerce-part-specialist strong { font-size: 14px; }
  .commerce-fitment-card { padding: 29px 24px; border-radius: 12px; }
  .commerce-fitment-card h2 { font-size: 31px; }
  .commerce-specifications > h2 { font-size: 32px; }
  .commerce-spec-table > div { padding: 15px 10px; font-size: 13px; gap: 14px; }
  .commerce-cart-header { flex-wrap: wrap; gap: 10px; }
  .commerce-cart-header h2 { font-size: 25px; }
  .commerce-cart-line { grid-template-columns: 100px minmax(0, 1fr); padding: 25px 0; gap: 18px; }
  .commerce-cart-image { width: 100px; height: 118px; border-radius: 8px; }
  .commerce-cart-image img { padding: 9px; }
  .commerce-cart-part h3 { font-size: 18px; line-height: 1.4; }
  .commerce-cart-numbers { gap: 13px; min-width: 0; }
  .commerce-cart-numbers > strong { font-size: 23px; }
  .commerce-cart-callout { padding-top: 27px; }
  .commerce-summary { padding: 29px 24px 25px; border-radius: 0 0 12px 12px; }
  .commerce-summary > h2 { font-size: 28px; }
  .commerce-summary .commerce-total dd { font-size: 28px; }
  .commerce-summary dd.commerce-pending { font-size: 13px; }
  .commerce-summary-trust { font-size: 12px; }
  .commerce-checkout-notice { padding: 21px 18px; }
  .commerce-form-grid { grid-template-columns: 1fr; gap: 0; }
  .commerce-form-section h2 { font-size: 25px; gap: 13px; }
  .commerce-form-section h2 > span { width: 34px; height: 34px; }
  .commerce-local-notice { gap: 11px; }
  .commerce-local-notice > span { min-width: 0; flex: 1 1 210px; }
  .commerce-local-notice > .commerce-text-button { margin-left: 33px; }
  .commerce-account-stats { grid-template-columns: 1fr; border-radius: 12px; }
  .commerce-account-stats > a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 23px 24px;
    border-radius: 0;
  }
  .commerce-account-stats > a + a { border-left: 0; border-top: 1px solid var(--commerce-divider); }
  .commerce-account-stats > a:first-child { border-radius: 12px 12px 0 0; }
  .commerce-account-stats > a:last-child { border-radius: 0 0 12px 12px; }
  .commerce-account-stats > a > span { width: 39px; height: 39px; margin: 0; }
  .commerce-account-stats > a > div { display: flex; align-items: baseline; gap: 16px; flex: 1; }
  .commerce-account-stats strong { font-size: 34px; }
  .commerce-account-stats p { margin: 0; font-size: 14px; }
  .commerce-account-stats > a > svg { display: block; width: 18px; height: 18px; }
  .commerce-account-empty { padding: 33px 25px; }
  .commerce-account-empty h3 { font-size: 27px; }
  .commerce-profile-card { padding: 28px 24px; border-radius: 12px; }
  .commerce-profile-card > h2 { font-size: 28px; }
  .commerce-profile-card form { grid-template-columns: 1fr; gap: 0; }
  .commerce-profile-card form > .btn,
  .commerce-profile-card form > .commerce-clear-profile { grid-column: auto; }
  .commerce-account-help { padding: 29px 24px; }
  .commerce-account-help h3 { font-size: 24px; }
  .commerce-garage-truck { padding: 23px 0; gap: 13px; }
  .commerce-garage-truck h3 { font-size: 19px; padding-right: 26px; }
  .commerce-garage-truck > button { top: 12px; right: -6px; }
  .commerce-garage-add > summary { padding: 21px; }
  .commerce-garage-add > form { padding: 4px 21px 24px; }
  .commerce-track-form,
  .commerce-track-result { padding: 25px 22px; border-radius: 12px; }
  .commerce-track-result > h2 { font-size: 27px; }
  .commerce-tracking-help { padding: 30px 24px; border-radius: 12px; }
  .commerce-tracking-help > h2 { font-size: 33px; }
  .commerce-confirmation-facts { padding: 27px 20px; }
}

@media (max-width: 379px) {
  .commerce-title-row h1 { font-size: 36px; }
  .commerce-product-grid .product-image,
  .commerce-list-view .product-card .product-image { height: 290px; }
  .commerce-detail-image { aspect-ratio: .94; }
  .commerce-product-info h1 { font-size: 31px; }
  .commerce-image-label span:last-child { max-width: 98px; }
  .commerce-cart-line { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .commerce-cart-image { width: 84px; height: 108px; }
  .commerce-cart-part h3 { font-size: 17px; }
  .commerce-summary { padding-left: 22px; padding-right: 22px; }
  .commerce-summary .commerce-total dd { font-size: 26px; }
  .commerce-account-stats > a { padding: 22px 18px; gap: 13px; }
  .commerce-account-stats > a > div { gap: 13px; }
  .commerce-account-stats p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .commerce-account-stats > a { transition: none; }
  .commerce-product-grid .product-image img { transition: none; }
}
