.abx-product-picker-field{margin:18px 0;padding:16px;border:1px solid #cbd9d0;border-radius:12px;background:#fff}.abx-product-picker-field h3{margin:0 0 7px!important;font-size:17px!important}.abx-product-picker-field>p{margin:0 0 12px;color:#526459;font-size:13px}.abx-product-picker-field [data-product-selection]{display:grid;gap:8px;margin-top:12px}.abxpp-field-empty{margin:0!important;color:#64746a;font-size:13px}.abxpp-field-product{display:flex;align-items:center;gap:10px;border:1px solid #dfe6e1;border-radius:10px;padding:8px;min-width:0}.abxpp-field-product>.abxpp-image{width:44px;height:44px;flex-shrink:0}.abxpp-field-product>span:not(.abxpp-image){flex:1;overflow-wrap:anywhere;font-size:14px;font-weight:650}.abxpp-field-remove{flex-shrink:0;border:1px solid #cfdbd2!important;background:#f4f7f5!important;color:#285740!important;border-radius:7px!important;min-height:44px;padding:8px 11px!important;font:inherit!important;font-size:12px!important}.abx-product-links{margin:22px 0;white-space:normal}.abx-product-links>h3{margin:0 0 10px!important;font-size:18px!important}.abx-product-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px}.abx-product-card{display:flex!important;gap:12px;align-items:center;border:1px solid #d2dfd5;border-radius:12px;padding:12px;background:#f6faf7;color:#173b29!important;text-decoration:none!important;min-width:0}.abx-product-card:hover{border-color:#08765c;background:#eef7f1}.abx-product-card img,.abx-product-card-placeholder{width:66px;height:66px;object-fit:contain;flex-shrink:0;border-radius:8px;background:#fff}.abx-product-card-placeholder{display:flex;align-items:center;justify-content:center;color:#728b7d;font-size:12px;font-weight:800}.abx-product-card-copy{display:grid;gap:3px;min-width:0}.abx-product-card-copy strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.abx-product-card-price{font-size:13px;color:#4f6b58}.abx-product-card-cta{font-size:12px;font-weight:800;color:#08765c;text-decoration:underline;text-underline-offset:2px}
.abx-product-picker-field [data-product-selection]:empty { display: none; }

.abxpp-dialog {
  box-sizing: border-box;
  width: min(600px, calc(100vw - 32px));
  height: min(660px, calc(100dvh - 32px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid #b9cbbf;
  border-radius: 16px;
  color: #182a1f;
  background: #fff;
  box-shadow: 0 25px 100px #092a1c38;
  font: 16px/1.5 Inter, system-ui, sans-serif;
}

.abxpp-dialog::backdrop { background: #0b1c16b5; }
.abxpp-dialog * { box-sizing: border-box; }

.abxpp-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}

.abxpp-header { padding: 12px 20px; border-bottom: 1px solid #dce5df; }
.abxpp-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.abxpp-heading h2 { margin: 0; color: #142d20; font-size: 21px; line-height: 1.2; }

.abxpp-close,
.abxpp-chip-remove {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #285740;
  background: transparent;
  cursor: pointer;
}

.abxpp-close { width: 44px; height: 44px; font: 28px/1 system-ui, sans-serif; }
.abxpp-chip-remove { width: 44px; height: 44px; font: 22px/1 system-ui, sans-serif; }
.abxpp-close:hover, .abxpp-chip-remove:hover { background: #e4eee6; }

.abxpp-search { margin: 4px 0 0; }
.abxpp-search input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #bdcfc2;
  border-radius: 8px;
  background: #fff;
  color: #152b1d;
  font: inherit;
}

.abxpp-dialog button:focus-visible,
.abxpp-dialog input:focus-visible,
.abx-product-card:focus-visible {
  outline: 3px solid #e8ad2a;
  outline-offset: 2px;
}

.abxpp-content {
  position: relative;
  padding: 12px 20px;
  overflow: auto;
  overscroll-behavior: contain;
}

.abxpp-selection:empty { display: none; }
.abxpp-status:empty { margin: 0; }
.abxpp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.abxpp-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding-left: 9px;
  border: 1px solid #c9e2d1;
  border-radius: 8px;
  background: #edf6f0;
  color: #214b36;
  font-size: 13px;
}

.abxpp-chip > span { overflow-wrap: anywhere; }
.abxpp-status { margin: 0 0 10px; color: #40594a; font-size: 14px; }
.abxpp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.abxpp-results { display: grid; gap: 6px; }
.abxpp-product {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 7px 9px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  color: #1b3526;
  background: #fff;
  font: 14px/1.35 Inter, system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}

.abxpp-product:hover { border-color: #87ae96; background: #f5faf6; }
.abxpp-product[aria-pressed="true"] { border-color: #73ad8b; background: #edf7f0; }
.abxpp-image {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 5px;
  background: #f4f7f5;
}

.abxpp-image-empty { display: grid; place-items: center; color: #566d60; font-size: 11px; font-weight: 750; }
.abxpp-info { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.abxpp-price { color: #4a6656; font-size: 12px; }
.abxpp-indicator {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #bed3c4;
  border-radius: 50%;
  color: #20583c;
  background: #f3f8f4;
  font: 20px/1 system-ui, sans-serif;
}

.abxpp-product[aria-pressed="true"] .abxpp-indicator {
  border-color: #08765c;
  color: #fff;
  background: #08765c;
  font-size: 15px;
}

.abxpp-button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  background: #08765c;
  cursor: pointer;
  font: 700 14px/1.3 Inter, system-ui, sans-serif;
  text-align: center;
  white-space: normal;
}

.abxpp-button:disabled { opacity: .5; cursor: default; }
.abxpp-button.abxpp-secondary { border-color: #cfddd3; color: #224c35; background: #edf3ef; }
.abxpp-more { width: 100%; margin-top: 10px; }
.abxpp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid #dce5df;
}

.abxpp-count { color: #40594a; font-size: 13px; }
.abxpp-footer .abxpp-button { max-width: 70%; }

@media (max-width: 600px) {
  .abxpp-dialog { width: calc(100vw - 16px); height: min(660px, calc(100dvh - 16px)); border-radius: 12px; }
  .abxpp-header, .abxpp-content, .abxpp-footer { padding-right: 12px; padding-left: 12px; }
  .abxpp-heading h2 { font-size: 19px; }
  .abx-product-card { padding: 10px; }
  .abxpp-field-product { flex-wrap: wrap; }
}
