/* v96: v95 product details; natural title heights and consistent text spacing in recommendations. */
@media (max-width: 640px) {
  .has-product .mobile-buy {
    row-gap: 5px;
  }
  .has-product .mobile-buy .checkout-note {
    margin-top: 2px;
  }
}


/* Product-page contact actions: two close, individually outlined pills. */
.has-product .seller-contacts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  width: min(100%, 560px);
  margin-inline: auto;
  gap: 8px;
  padding: 7px 0;
}

.has-product .seller-contacts .seller-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 9px 10px;
  border: 1.5px solid #222;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.has-product .seller-contacts .seller-contact:hover {
  background: #f8f8f8;
  text-decoration: none;
}

.has-product .seller-contacts .seller-contact:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.has-product .seller-contacts .seller-contact-label {
  min-width: 0;
  max-width: none;
  overflow-wrap: normal;
}

.has-product .seller-contacts .seller-contact svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
}

@media (max-width: 640px) {
  .has-product .seller-contacts {
    gap: 7px;
    padding: 7px 0;
  }

  .has-product .seller-contacts .seller-contact {
    gap: 5px;
    min-height: 48px;
    padding: 9px 7px;
    font-size: 12px;
  }

  .has-product .seller-contacts .seller-contact svg {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 359px) {
  .has-product .seller-contacts { gap: 6px; }
  .has-product .seller-contacts .seller-contact {
    padding: 9px 5px;
    font-size: 11px;
  }
}


/* v94: softer messaging pills with more space from surrounding sections. */
.has-product .seller-contacts {
  gap: 10px;
  margin: 24px auto 26px;
  padding: 0;
}

.has-product .seller-contacts .seller-contact {
  border: 1.5px solid #d5d8d5;
  background: #fff;
}

.has-product .seller-contacts .seller-contact:hover {
  border-color: #aeb3ae;
  background: #fafaf9;
}

/* Product recommendations: natural title heights so the spacing after a
   one-line name matches the spacing after a wrapped name. */
.has-product .related .product-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.has-product .related .product-card .product-copy {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 8px;
  align-content: start;
}

.has-product .related .product-card .product-copy .brand,
.has-product .related .product-card .product-copy h3,
.has-product .related .product-card .product-copy .size,
.has-product .related .product-card .product-copy .card-price {
  margin: 0;
}

.has-product .related .product-card .product-copy h3 {
  flex: none;
  min-height: 0;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .has-product .seller-contacts {
    margin-top: 25px;
    margin-bottom: 27px;
    gap: 9px;
    padding: 0;
  }

  .has-product .related .product-card .product-copy {
    gap: 7px;
    grid-template-rows: auto auto auto auto;
  }
}

/* Narrow mobiles also use natural title heights instead of reserving
   three lines for shorter names. Text remains readable and untruncated. */


/* v97: item-details fields flow independently within each of the two columns.
   Prevent a two-line Material value from enlarging the Colour/Style spacing. */
.has-product .product-information > .facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: 22px;
  row-gap: 0;
}
.has-product .product-information .facts > .fact-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.has-product .product-information .facts > .fact-column > div {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.has-product .product-information .facts > .fact-column dt {
  margin: 0 0 7px;
  line-height: 1.45;
}
.has-product .product-information .facts > .fact-column dd {
  margin: 0;
  text-align: left;
  overflow-wrap: anywhere;
}
@media (min-width: 641px) {
  .has-product .product-information > .facts {
    column-gap: 36px;
  }
  .has-product .product-information .facts > .fact-column {
    gap: 20px;
  }
}
