/* Shop header and search share a compact, responsive layout. */
html body.v190-shop-page .v190-center .shop-toolbar-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid #dce9de;
  border-radius: 22px;
  background: linear-gradient(115deg, #eff7ed, #fbfdf9 72%);
}
html body.v190-shop-page .shop-toolbar-head .v190-back-button {
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid #d8e6da;
  border-radius: 12px;
  background: #fff;
  color: #276243;
  box-shadow: none;
}
html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}
html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 13px;
}
html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand span {
  min-width: 0;
}
html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand b {
  display: block;
  color: #214831;
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.25;
  letter-spacing: -.4px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand small {
  display: block;
  margin-top: 5px;
  color: #647568;
  font-size: 12px;
  line-height: 1.45;
}
html body.v190-shop-page .shop-toolbar-head .shop-contact-trigger {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d5e5d8;
  border-radius: 12px;
  background: #fff;
  color: #295e3e;
  font-size: 12px;
  font-weight: 700;
}
html body.v190-shop-page .shop-toolbar-head .v190-cart-button {
  position: static;
  grid-column: 4;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #17673d;
  border-radius: 12px;
  background: #17673d;
  color: #fff;
  box-shadow: 0 3px 8px #154e2320;
}
html body.v190-shop-page .shop-toolbar-head .v190-cart-button .shop-cart-icon,
html body.v190-shop-page .shop-toolbar-head .v190-cart-button .shop-cart-label {
  position: static;
  display: inline;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
  border: 0;
}
html body.v190-shop-page .shop-toolbar-head .v190-cart-button [data-cart-count] {
  position: static;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 0;
  border-radius: 7px;
  background: #ffffff24;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
html body.v190-shop-page .v190-center .search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 14px;
}
html body.v190-shop-page .v190-center .search-row .searchbox,
html body.v190-shop-page .v190-center .search-row .sort-select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #d6e4d9;
  border-radius: 14px;
  background-color: #fff;
  color: #294a35;
  font-size: 14px;
  box-shadow: 0 2px 6px #183b2204;
}
html body.v190-shop-page .v190-center .search-row .searchbox {
  padding: 13px 16px;
}
html body.v190-shop-page .v190-center .search-row .sort-select {
  padding: 12px;
  display: block;
}
html body.v190-shop-page .v190-center .search-row .searchbox:focus-visible,
html body.v190-shop-page .v190-center .search-row .sort-select:focus-visible,
html body.v190-shop-page .shop-toolbar-head button:focus-visible {
  outline: 3px solid #8ebc9c;
  outline-offset: 3px;
}
html body.v190-shop-page .v190-center .shop-payment-resume {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid #ecdfbd;
  border-radius: 14px;
  background: #fffbf0;
  color: #775b29;
  font-size: 12px;
}
.shop-payment-resume .shop-payment-link {
  color: #6c511d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1100px) {
  html body.v190-shop-page .v190-center .shop-toolbar-head {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 12px 10px;
    padding: 16px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-cart-button {
    grid-column: 3;
  }
  html body.v190-shop-page .shop-toolbar-head .shop-contact-trigger {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: start;
    min-height: 40px;
    padding: 8px 12px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-back-button {
    width: 36px;
    min-width: 36px;
    height: 40px;
  }
}
@media (max-width: 600px) {
  html body.v190-shop-page .v190-center .shop-toolbar-head {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    margin-bottom: 14px;
    padding: 14px 12px;
    border-radius: 18px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand {
    gap: 9px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand b {
    font-size: 16px;
    letter-spacing: -.2px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-mobile-brand small {
    font-size: 11px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-back-button {
    width: 32px;
    min-width: 32px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-cart-button {
    padding: 9px;
    gap: 5px;
  }
  html body.v190-shop-page .shop-toolbar-head .v190-cart-button .shop-cart-label {
    display: none;
  }
  html body.v190-shop-page .v190-center .search-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  html body.v190-shop-page .v190-center .search-row .searchbox {
    font-size: 16px;
  }
  html body.v190-shop-page .v190-center .search-row .sort-select {
    min-height: 44px;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html body.v190-shop-page .shop-toolbar-head button {
    transition: transform .18s ease, box-shadow .18s ease;
  }
  html body.v190-shop-page .shop-toolbar-head button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px #153e2514;
  }
}

.shop-payment-actions { display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px; }
.shop-payment-cancel { border:1px solid #e6c6bd;border-radius:9px;background:#fff;color:#934e3e;padding:9px 12px;min-height:40px;font:inherit;cursor:pointer; }
.shop-payment-cancel:disabled { opacity:.65;cursor:wait; }
.shop-payment-status { flex-basis:100%;color:#934e3e;line-height:1.5; }
.shop-payment-status:empty { display:none; }
@media(max-width:600px) {
  .shop-payment-actions { width:100%;justify-content:space-between; }
}
