/* Final marketplace card, evidence and comment-thread polish. */
.shop-product-copy > .product-card-tags { display:flex!important; min-height:29px!important; max-height:none!important; align-items:center; flex-wrap:wrap; gap:5px; overflow:visible!important; margin:7px 0 4px!important; }
.product-card-tags span { display:inline-flex!important; min-height:20px; align-items:center; padding:0 7px; border:1px solid rgba(61,125,75,.19); border-radius:999px; background:#f5faef; color:#3d754c; font-size:7px!important; font-weight:850; line-height:1!important; white-space:nowrap; }
.product-card-location { min-height:28px!important; align-items:center!important; }
.product-card-location svg { width:17px!important; height:17px!important; }
.product-card-location span { min-width:0; }
.product-card-location b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:8px!important; line-height:1.35!important; }
.product-card-facts { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; align-items:stretch!important; gap:7px!important; margin:9px 0 0!important; }
.product-card-facts span { display:flex!important; min-height:40px; align-items:center!important; justify-content:center!important; gap:7px!important; padding:7px 8px!important; border:1px solid rgba(69,128,82,.19)!important; border-radius:0!important; background:#f8fbf6!important; color:#456a50!important; text-align:center; }
.product-card-facts b { overflow:hidden; max-width:100%; text-overflow:ellipsis; white-space:nowrap; font-size:8px!important; font-weight:850!important; }
.product-comment-card:has(.product-comment-replies-list)::before { top:50px!important; bottom:20px!important; left:24px!important; width:2px!important; background:#85c56e!important; }
.product-comment-replies-wrap { margin-left:-60px!important; padding-left:60px!important; }
.product-comment-replies-list { margin:10px 0 0!important; padding-left:0!important; border-left:0!important; }
.product-comment-reply-line { top:21px!important; left:-37px!important; width:36px!important; height:0!important; border:0!important; border-top:2px solid #85c56e!important; border-radius:0!important; }
@media (max-width:620px) { .product-card-facts { gap:6px!important; } .product-card-facts span { min-height:38px; padding:6px!important; } .product-card-facts b { font-size:7px!important; } .product-comment-card:has(.product-comment-replies-list)::before { left:21px!important; } .product-comment-replies-wrap { margin-left:0!important; padding-left:50px!important; } .product-comment-reply-line { left:-29px!important; width:28px!important; } }

/* Product-card keyboard semantics: the title is the explicit detail action. */
.product-card-title-row h3 { min-width:0; }
.product-card-open-button {
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  letter-spacing:inherit;
  line-height:inherit;
  text-align:left;
  cursor:pointer;
}
.product-card-open-button:focus-visible {
  border-radius:4px;
  outline:3px solid rgba(47,123,70,.28);
  outline-offset:3px;
}

/* Search and delivery address share one deliberate header control. */
.global-search {
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  min-height:68px;
  height:68px;
  gap:0 !important;
  padding:0 !important;
  overflow:visible !important;
}
.global-search > .search-icon { margin:0 14px 0 21px; }
.global-search > input { min-width:0; padding:0 13px 0 0; font-size:14px; }
.global-search > .search-clear-button { margin-right:12px; }
.global-search > .location-picker { align-self:stretch; height:100%; }
.global-search .location-control {
  min-width:330px;
  max-width:330px;
  height:100%;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:10px;
  padding:0 17px;
  border:0;
  border-left:1px solid rgba(18,60,43,.14);
  border-radius:0 14px 14px 0 !important;
  background:#edf7d9;
}
.global-search .location-control:hover { background:#e5f3cb; }
.global-search .location-control small { font-size:7px; }
.global-search .location-control strong { font-size:10px; }
.global-search .location-control em { display:block; overflow:hidden; margin-top:3px; color:#617568; font-size:7px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.global-search .location-chevron { width:17px; height:17px; }
.global-search .search-suggestions { right:330px !important; }

/* Keep the title as plain, free-standing text while retaining keyboard access. */
.product-card-title-row h3,
.product-card-title-row .product-card-open-button {
  background:transparent !important;
  box-shadow:none !important;
  color:var(--forest950) !important;
}
.product-card-title-row .product-card-open-button {
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  text-decoration:none !important;
}

@media (max-width:760px) {
  .global-search { min-height:56px; height:56px; }
  .global-search > .search-icon { margin-left:14px; margin-right:10px; }
  .global-search .location-control { min-width:190px; max-width:42vw; padding:0 10px; }
  .global-search .location-control small { font-size:6px; }
  .global-search .location-control strong { font-size:8px; }
  .global-search .location-control em { display:none; }
  .global-search .search-suggestions { right:42vw !important; }
}
