.nandi-upsell {
  --nandi-upsell-accent: #426852;
  box-sizing: border-box;
  width: 100%;
  clear: both;
  margin: 1.5rem 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #dce5dd;
  border-radius: 12px;
  background: #f8faf7;
  color: inherit;
  font: inherit;
}
.nandi-upsell h3 { margin: 0 0 1rem; font-size: 1.2em; color: inherit; }
.nandi-upsell__row { display: grid; gap: .65rem; padding: 1rem 0; border-top: 1px solid #dce5dd; }
.nandi-upsell__choice { display: flex; align-items: center; gap: .8rem; cursor: pointer; font-weight: 600; }
.nandi-upsell__choice input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--nandi-upsell-accent); }
.nandi-upsell__choice img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; }
.nandi-upsell__link { width: fit-content; margin-left: 4.85rem; font-size: .85em; text-decoration: underline; color: var(--nandi-upsell-accent); }
.nandi-upsell__controls { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.nandi-upsell__controls label { display: grid; gap: .25rem; font-size: .85em; flex: 1 1 150px; }
.nandi-upsell__controls input, .nandi-upsell__controls select { box-sizing: border-box; width: 100%; min-height: 42px; padding: .5rem; color: #25312a; background: #fff; border: 1px solid #b9c7bd; border-radius: 5px; font: inherit; }
.nandi-upsell__controls label:has(.nandi-upsell__quantity) { flex: 0 1 92px; }
.nandi-upsell__controls :disabled { opacity: .6; }
.nandi-upsell__price { margin-left: auto; padding-bottom: .5rem; font-weight: 600; }
.nandi-upsell__price del { opacity: .65; margin-right: .3rem; }
.nandi-upsell__price ins { text-decoration: none; background: transparent; }
.nandi-upsell__note { margin: 1rem 0 0; font-size: .85em; line-height: 1.5; }
.nandi-upsell__row:has(.nandi-upsell__select:checked) { border-color: var(--nandi-upsell-accent); }
.nandi-upsell :focus-visible { outline: 2px solid var(--nandi-upsell-accent); outline-offset: 3px; }
.nandi-upsell__cart-form { margin-bottom: 1.5rem; }
@media (max-width: 480px) {
  .nandi-upsell__controls { align-items: center; }
  .nandi-upsell__price { margin-left: 0; width: 100%; }
  .nandi-upsell__link { margin-left: 0; }
}

.nandi-upsell [hidden] { display: none !important; }
.nandi-upsell__rows { display: grid; }
.nandi-upsell--tiles .nandi-upsell__rows { grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); }
.nandi-upsell--carousel .nandi-upsell__rows { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.nandi-upsell--carousel .nandi-upsell__row { flex: 0 0 min(85%,280px); scroll-snap-align: start; }
.nandi-upsell--plus .nandi-upsell__select { display: none; }
.nandi-upsell__dialog { width: min(90vw,600px); max-height: 85vh; overflow: auto; border: 1px solid #d8e3da; border-radius: 14px; padding: 24px; }
.nandi-upsell__dialog::backdrop { background: rgba(20,35,25,.45); }
.nandi-upsell__dialog img { max-width: 100%; height: auto; }
.nandi-upsell__dialog [data-nandi-close] { float: right; min-width: 40px; min-height: 40px; }
.nandi-upsell__status:empty { display:none; }
.nandi-upsell-item-slot { width:100%; margin: 12px 0; }
.nandi-upsell-item-slot .nandi-upsell { margin:0; font-size:14px; }
