.lowest-offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.lowest-offer-trigger {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1 1 100%;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 96px;
  max-width: min(100%, 425px);
  overflow: hidden;
  padding: 22px 10px 15px;
  border: 1px solid #792611;
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 95%, #341208 0%, #160b09 48%, #0c0707 88%);
  color: #ffce83;
  font: inherit;
  text-align: center;
  box-shadow: 0 4px 12px #280b1029, inset 0 1px #ff9b4938;
  cursor: pointer;
}

.lowest-offer-fire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.lowest-offer-fire-label {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  max-width: 100%;
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 4.8vw, 26px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 0.26em #ef542abf, 0 0 0.64em #db2c0f91;
}

.lowest-offer-trigger:hover {
  border-color: #e6642d;
  box-shadow: 0 4px 18px #ff6b2838, inset 0 1px #ffaf5866;
}

@supports (background-clip: text) {
  .lowest-offer-fire-label > span {
    background: linear-gradient(180deg, #ffa354 8%, #fff3cb 38%, #ffd36f 66%, #e86022 100%);
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 1px 1px #fe6b2366) drop-shadow(0 0 5px #f8441944);
  }
}

@media (forced-colors: active) {
  .lowest-offer-fire { display: none; }
  .lowest-offer-fire-label > span { background: none; color: ButtonText; filter: none; }
}

.lowest-offer-revealed {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: -2px 0 14px;
  color: #6a4424;
  font-size: 15px;
  font-weight: 650;
}

.lowest-offer-revealed strong {
  color: #813b0b;
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.price-new.lowest-offer-previous {
  color: #5c6571;
  font-size: 0.7em;
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
}

.lowest-offer-dialog {
  --offer-submit-bg: var(--ink, #16212e);
  --offer-submit-hover: #0d161f;
  --offer-submit-radius: 10px;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(460px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 1px solid #e5ecf7;
  border-radius: 17px;
  background: #fff;
  color: #172437;
  box-shadow: 0 22px 60px #0e1c3a58;
}

.fubag-store .lowest-offer-dialog {
  --offer-submit-bg: var(--blue, #cb3234);
  --offer-submit-hover: var(--blue-dark, #a72023);
  --offer-submit-radius: var(--radius, 5px);
}

.lowest-offer-dialog::backdrop { background: #0d193b98; }
.lowest-offer-dialog:not([open]), .lowest-offer-dialog [hidden], .lowest-offer-revealed[hidden] { display: none; }
html:has(.lowest-offer-dialog[open]) { overflow: hidden; }

.lowest-offer-modal { position: relative; padding: 23px 25px 21px; }
.lowest-offer-header { margin: 0 36px 15px 0; }
.lowest-offer-header h2 { margin: 0 0 5px; font-size: 24px; font-weight: 750; }
.lowest-offer-product { margin: 0; color: #51617b; font-size: 13px; overflow-wrap: anywhere; }

.lowest-offer-close {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #f0f4fa;
  color: #25324a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lowest-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 15px;
  padding: 8px 13px;
  border: 1px solid #fae1c3;
  border-radius: 10px;
  background: #fff6e9;
  color: #6c3817;
  font-size: 13px;
}

.lowest-offer-price strong {
  color: #71360f;
  font-size: 24px;
  font-weight: 750;
  white-space: nowrap;
}

.lowest-offer-form { display: grid; gap: 12px; }
.lowest-offer-form label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; }

.lowest-offer-form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #cbd7e9;
  border-radius: 10px;
  background: #fff;
  color: #172437;
  font: inherit;
  font-size: 16px;
}

.lowest-offer-form input::placeholder { color: #64748c; font-size: 14px; }
.lowest-offer-form input[aria-invalid="true"] { border-color: #a5203c; }

.lowest-offer-form input:focus-visible,
.lowest-offer-dialog button:focus-visible,
.lowest-offer-dialog a:focus-visible,
.lowest-offer-trigger:focus-visible {
  outline: 2px solid #135ce4;
  outline-offset: 2px;
}

.lowest-offer-submit {
  min-height: 50px;
  padding: 10px 13px;
  border: 0;
  border-radius: var(--offer-submit-radius);
  background: var(--offer-submit-bg);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.lowest-offer-submit:hover:not(:disabled) { background: var(--offer-submit-hover); }
.lowest-offer-dialog .lowest-offer-submit:focus-visible { outline-color: var(--offer-submit-bg); }
.lowest-offer-submit:disabled { opacity: 0.65; cursor: wait; }
.lowest-offer-note { margin: 0; color: #526783; font-size: 12px; line-height: 1.55; }
.lowest-offer-policy { margin-top: -5px; }
.lowest-offer-policy a { color: #345c96; text-decoration: underline; text-underline-offset: 2px; }
.lowest-offer-status, .lowest-offer-error { margin: 0 0 13px; font-size: 14px; line-height: 1.48; }
.lowest-offer-status { color: #345970; }
.lowest-offer-error { color: #a5203c; }

.lowest-offer-retry {
  padding: 9px 13px;
  border: 1px solid #cbd7e9;
  border-radius: 8px;
  background: #f0f4fa;
  color: #244d88;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 480px) {
  .lowest-offer-modal { padding: 18px; }
  .lowest-offer-header h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .lowest-offer-fire { display: none; }
}
