/* Akvarela: slevový kód pod CTA a okno s původním formulářem. HEAD asset. */
.ak-coupon-empty-column,
.ak-coupon-muted-heading { display: none !important; }
.ak-coupon-next-step { flex-wrap: wrap; }
.ak-coupon-next-step > .next-step-back { order: 0; }
.ak-coupon-next-step > .next-step-forward { order: 2; }
.ak-coupon-trigger {
  order: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin: 6px 0 0;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #514b45;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  text-transform: none;
  cursor: pointer;
}
.ak-coupon-trigger svg { width: 17px; height: 17px; flex: 0 0 17px; }
.ak-coupon-trigger:hover { color: var(--color-secondary, #c21c26); }
.ak-coupon-trigger:focus-visible,
.ak-coupon-close:focus-visible { outline: 2px solid var(--color-secondary, #c21c26); outline-offset: 3px; }
@media (min-width: 480px) and (max-width: 991px), (min-width: 1440px) {
  .ak-coupon-next-step > .next-step-forward { order: 1; }
  .ak-coupon-next-step > .ak-coupon-trigger { order: 2; flex-basis: 100%; }
}
body.ak-coupon-modal-open { overflow: hidden; }
dialog.ak-coupon-dialog {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 28px;
  overflow: auto;
  border: 1px solid #eee8e2;
  border-radius: 18px;
  background: #fff;
  color: #292522;
  box-shadow: 0 24px 70px rgb(31 24 18 / 22%);
  font-family: inherit;
  text-align: left;
}
dialog.ak-coupon-dialog:not([open]) { display: none; }
dialog.ak-coupon-dialog::backdrop { background: rgb(34 29 25 / 44%); }
.ak-coupon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6c645d;
  cursor: pointer;
}
.ak-coupon-close svg { width: 19px; height: 19px; }
.ak-coupon-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: #fbf0f1;
  color: var(--color-secondary, #c21c26);
}
.ak-coupon-badge svg { width: 23px; height: 23px; }
dialog.ak-coupon-dialog .ak-coupon-title { margin: 0 0 8px; color: #292522; font-size: 23px; font-weight: 800; line-height: 1.25; text-transform: none; }
dialog.ak-coupon-dialog .ak-coupon-description { margin: 0 0 24px; color: #746c65; font-size: 14px; line-height: 1.6; }
.ak-coupon-field-label { display: block; margin-bottom: 8px; color: #514b45; font-size: 13px; font-weight: 700; }
dialog.ak-coupon-dialog form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; }
dialog.ak-coupon-dialog form .icon-discount { display: none; }
dialog.ak-coupon-dialog input[name="discountCouponCode"] {
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d8d1ca;
  border-radius: 8px;
  background: #fff;
  color: #292522;
  font-size: 16px;
  line-height: 1.4;
}
dialog.ak-coupon-dialog input[name="discountCouponCode"]:focus { border-color: var(--color-secondary, #c21c26); outline: 0; box-shadow: 0 0 0 3px #fbf0f1; }
dialog.ak-coupon-dialog button[type="submit"] {
  width: 100%;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--color-secondary, #c21c26);
  border-radius: 8px;
  background: var(--color-secondary, #c21c26);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}
dialog.ak-coupon-dialog button[type="submit"]:focus-visible { outline: 2px solid #292522; outline-offset: 3px; }
@media (max-width: 359px) { dialog.ak-coupon-dialog { padding: 24px; } }
