.gift-sale-banner:not([hidden]) {
  display: block;
  padding: 10px 16px;
  background: #174f75;
  color: #fff;
  text-align: center;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}
.gift-sale-banner:hover, .gift-sale-banner:focus-visible { text-decoration: underline; }
.gift-sale-promotion {
  width: min(100%, 620px);
  margin: 0 auto 32px;
  text-align: center;
}
.gift-sale-promotion img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.gift-sale-promotion p { margin: 12px 0; font-weight: 700; color: #174f75; }
.gift-sale-admin { padding: 20px; margin-bottom: 18px; }
.gift-sale-admin .form-grid { margin: 12px 0; }
.gift-sale-admin img { width: min(250px, 100%); height: auto; margin-top: 8px; }
.gift-sale-admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#giftSaleSettings button[type="submit"]:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.gift-sale-admin-output { display: block; margin-top: 8px; }

.gift-sale-switch { display: inline-flex; align-items: center; gap: 9px; position: relative; cursor: pointer; }
.gift-sale-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gift-sale-switch-track { width: 42px; height: 24px; border-radius: 999px; background: #617988; position: relative; }
.gift-sale-switch-track::after {
  content: ""; position: absolute; width: 18px; height: 18px; inset: 3px auto auto 3px;
  border-radius: 50%; background: #fff;
}
.gift-sale-switch input:checked + .gift-sale-switch-track { background: #087f91; }
.gift-sale-switch input:checked + .gift-sale-switch-track::after { transform: translateX(18px); }
.gift-sale-switch input:focus-visible + .gift-sale-switch-track { outline: 2px solid #174f75; outline-offset: 3px; }
.gift-sale-current-flyer:not([hidden]) { display: block; position: relative; width: min(250px, 100%); margin-top: 8px; }
.gift-sale-current-flyer img { display: block; width: 100%; margin: 0; border-radius: 8px; }
.gift-sale-remove {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0; border: 1px solid #a4dce2; border-radius: 50%;
  background: #fff; color: #087f91; font-weight: 700; font-size: 24px; line-height: 1;
  cursor: pointer;
}
.gift-sale-remove:hover { background: #eaf9fa; }
.gift-sale-undo { margin-top: 8px; padding: 0; border: 0; background: none; color: #087f91; font: inherit; text-decoration: underline; cursor: pointer; }

.gift-sale-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 12px 0; }
.gift-sale-row + .gift-sale-row { border-top: 1px solid #dcebee; }
.gift-sale-row img { width: 64px; height: 64px; margin: 0; object-fit: contain; }
.gift-sale-row p { margin: 4px 0 0; }
.gift-sale-row-controls { display: flex; align-items: center; gap: 14px; margin-left: auto; }
