/* The approved homepage product card, shared by interior inventory views.
   Only .pc-card and its children are styled here; surrounding grids stay intact. */
body:not([data-page="home"]) #main .product-card.pc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 12px;
  border: 0;
  border-radius: 24px;
  background: #f9fbff;
  color: #202020;
  overflow: hidden;
  box-shadow: none;
  transform: none;
  font-family: Geist, Arial, sans-serif;
  transition: box-shadow .2s ease;
}
body:not([data-page="home"]) #main .product-card.pc-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 26px #04132108;
  transform: none;
}
body:not([data-page="home"]) #main .commerce-saved-item .product-card.pc-card { height: calc(100% - 55px); }

/* Photography fills the frame, with no cutout staging or image treatments. */
body:not([data-page="home"]) #main .product-card.pc-card .product-image {
  position: relative;
  flex: none;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.586;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #e6eaf2;
  isolation: isolate;
}
body:not([data-page="home"]) #main .product-card.pc-card .product-image > a {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
}
body:not([data-page="home"]) #main .product-card.pc-card .product-image img,
body:not([data-page="home"]) #main .product-card.pc-card:hover .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
  filter: none;
  transform: none;
  transition: none;
}
body:not([data-page="home"]) #main .product-card.pc-card .pc-sku {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 78px);
  padding: 7px 12px;
  border-radius: 999px;
  background: #041321;
  color: #f9fbff;
  font-family: Geist, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
  pointer-events: none;
}
body:not([data-page="home"]) #main .product-card.pc-card .save-part {
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #04132158;
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff20;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .2s ease, border-color .2s ease;
}
body:not([data-page="home"]) #main .product-card.pc-card .save-part:hover {
  background: #0c73ff99;
  border-color: #ffffffa0;
  color: #fff;
}
body:not([data-page="home"]) #main .product-card.pc-card .save-part:is(.is-saved, [aria-pressed="true"]) {
  background: #0c73ff;
  border-color: #0c73ff;
  color: #fff;
}
body:not([data-page="home"]) #main .product-card.pc-card .save-part .icon {
  width: 22px;
  height: 22px;
  margin: 0;
  color: inherit;
  stroke-width: 1.7;
}
body:not([data-page="home"]) #main .product-card.pc-card .save-part.is-saved svg { fill: currentColor; }

/* Title, fitment and price follow the same readable hierarchy on every page. */
body:not([data-page="home"]) #main .product-card.pc-card .product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 22px 14px 10px;
  margin: 0;
  background: transparent;
}
body:not([data-page="home"]) #main .product-card.pc-card .product-name {
  display: block;
  min-height: 2.6em;
  margin: 0;
  padding: 0;
  font-family: Geist, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #202020;
  text-decoration: none;
  overflow-wrap: anywhere;
}
body:not([data-page="home"]) #main .product-card.pc-card .product-name:hover { color: #0c73ff; }
body:not([data-page="home"]) #main .product-card.pc-card .fit-line {
  min-height: 0;
  margin: 6px 0 0;
  padding: 0;
  color: #545454;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
body:not([data-page="home"]) #main .product-card.pc-card .pc-price {
  margin-top: auto;
  padding-top: 25px;
}
body:not([data-page="home"]) #main .product-card.pc-card .product-price {
  display: block;
  margin: 0;
  color: #202020;
  font-family: Geist, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
body:not([data-page="home"]) #main .product-card.pc-card .pc-core {
  display: block;
  margin-top: 4px;
  color: #008625;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
body:not([data-page="home"]) #main .product-card.pc-card .pc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
}
body:not([data-page="home"]) #main .product-card.pc-card .pc-brand {
  min-width: 0;
  color: #545454;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
body:not([data-page="home"]) #main .product-card.pc-card .product-add {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 0;
  flex: 0 0 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #f9fbff;
  background: #041321;
  box-shadow: none;
  transform: none;
  transition: background .2s ease;
}
body:not([data-page="home"]) #main .product-card.pc-card .product-add:hover { color: #fff; background: #0c73ff; transform: none; }
body:not([data-page="home"]) #main .product-card.pc-card .product-add:disabled { color: #697585; background: #e0e5ee; cursor: not-allowed; transform: none; }
body:not([data-page="home"]) #main .product-card.pc-card .product-add .icon { width: 23px; height: 23px; margin: 0; color: inherit; transform: none; }

body:not([data-page="home"]) #main .product-card.pc-card :is(a, button):focus-visible { outline: 3px solid #0c73ff; outline-offset: 3px; }
body:not([data-page="home"]) #main .product-card.pc-card .product-image > a:focus-visible { outline-offset: -4px; }

/* The existing desktop list view remains horizontal; its photo stays wide. */
@media (min-width: 992px) {
  body:not([data-page="home"]) #main .commerce-list-view .product-card.pc-card {
    display: grid;
    grid-template-columns: minmax(240px, .95fr) minmax(0, 1fr);
    align-items: center;
    gap: 0;
    padding: 12px;
  }
  body:not([data-page="home"]) #main .commerce-list-view .product-card.pc-card .product-image {
    align-self: center;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.586;
  }
  body:not([data-page="home"]) #main .commerce-list-view .product-card.pc-card .product-info { padding: 10px 18px 10px 26px; }
  body:not([data-page="home"]) #main .commerce-list-view .product-card.pc-card .product-name { min-height: 0; }
  body:not([data-page="home"]) #main .commerce-list-view .product-card.pc-card .pc-price { margin-top: 0; padding-top: 18px; }
  body:not([data-page="home"]) #main .commerce-list-view .product-card.pc-card .pc-bottom { margin-top: 14px; }
}
@media (max-width: 991px) {
  body:not([data-page="home"]) #main .commerce-list-view .product-card.pc-card { display: flex; gap: 0; }
}
@media (max-width: 767px) {
  body:not([data-page="home"]) #main .product-card.pc-card { padding: 10px; }
  body:not([data-page="home"]) #main .product-card.pc-card .product-info { padding: 20px 12px 10px; }
}
@media (max-width: 599px) {
  body:not([data-page="home"]) #main .product-card.pc-card .product-info { padding: 20px 15px 12px; }
  body:not([data-page="home"]) #main .product-card.pc-card .product-name { min-height: 0; font-size: 22px; line-height: 1.27; }
  body:not([data-page="home"]) #main .product-card.pc-card .fit-line,
  body:not([data-page="home"]) #main .product-card.pc-card .pc-core,
  body:not([data-page="home"]) #main .product-card.pc-card .pc-brand { font-size: 14px; }
  body:not([data-page="home"]) #main .product-card.pc-card .pc-price { padding-top: 28px; }
  body:not([data-page="home"]) #main .product-card.pc-card .product-price { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  body:not([data-page="home"]) #main .product-card.pc-card,
  body:not([data-page="home"]) #main .product-card.pc-card :is(.save-part, .product-add) { transition: none; }
}
