/* FITNEWS coupon tickets: independent styles for the plugin frontend. */
.fnc-actions,
.fnc-card {
  --fnc-orange: var(--fn-orange, #ff6500);
  --fnc-ink: #11151d;
  --fnc-muted: #606874;
  --fnc-border: #e6e8ed;
  --fnc-soft-orange: #fff3e9;
  color: var(--fnc-ink);
  font-family: inherit;
  box-sizing: border-box;
}
.fnc-actions *,
.fnc-card * { box-sizing: border-box; }
.fnc-actions { margin-block: 34px; }
.fnc-section { margin-block: 0 36px; }
.fnc-section-heading { margin-bottom: 19px; }
.fnc-section-heading h2 { margin: 7px 0 0; color: var(--fnc-ink); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.fnc-eyebrow { color: #b44600; font-size: .72rem; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.fnc-card-list { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 20px; min-width: 0; }
.fnc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--fnc-border);
  border-top: 4px solid var(--fnc-orange);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 25px rgb(17 21 29 / 4%);
}
.fnc-card-list > .fnc-card { height: 100%; }
.fnc-discount { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-height: 136px; padding: 24px; border-bottom: 1px dashed #f4c29f; background: var(--fnc-soft-orange); }
.fnc-discount strong { display: block; max-width: 100%; color: var(--fnc-ink); font-size: clamp(1.7rem, 2.6vw, 2.45rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.12; overflow-wrap: anywhere; }
.fnc-discount > span { display: block; color: #71543f; font-size: .88rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.fnc-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 22px 24px 20px; }
.fnc-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-bottom: 12px; font-size: .7rem; line-height: 1.4; }
.fnc-state { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 4px; background: var(--fnc-soft-orange); color: #a94300; font-size: .63rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fnc-verified { color: #626b75; font-size: .68rem; }
.fnc-card h3 { flex: 1; margin: 0 0 22px; color: var(--fnc-ink); font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.32; overflow-wrap: anywhere; }
.fnc-card-buttons { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 9px; margin: 0; }
.fnc-copy,
.fnc-shop { display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; min-height: 47px; padding: 11px 15px; border-radius: 7px; font: inherit; font-size: .88rem; font-weight: 700; line-height: 1.35; text-decoration: none; cursor: pointer; }
.fnc-copy { justify-content: space-between; gap: 12px; border: 1px dashed var(--fnc-orange); background: #fff8f2; color: #9a3d00; text-align: left; }
.fnc-code { min-width: 0; max-width: 54%; color: var(--fnc-ink); font-size: 1.08rem; font-weight: 900; letter-spacing: .035em; line-height: 1.2; overflow-wrap: anywhere; user-select: all; }
.fnc-copy [data-fnc-copy-label] { flex: 0 1 auto; padding-left: 12px; border-left: 1px solid #f0c6aa; font-size: .75rem; text-align: right; }
.fnc-copy:hover { border-color: #d44e00; background: #fff0e3; }
.fnc-copy[data-fnc-copy-state="copied"] { border-color: #4c8060; background: #eef7ef; color: #23643c; }
.fnc-copy[data-fnc-copy-state="failed"] [data-fnc-copy-label] { font-size: .7rem; }
.fnc-shop { gap: 12px; border: 1px solid var(--fnc-orange); background: var(--fnc-orange); color: #fff; text-align: center; }
.fnc-shop:hover { border-color: #df5000; background: #df5000; color: #fff; }
.fnc-copy:disabled,
.fnc-copy[aria-disabled="true"],
.fnc-shop[aria-disabled="true"] { border-color: #d1d5db; background: #ebedf0; color: #69727d; cursor: default; }
.fnc-copy:focus-visible,
.fnc-shop:focus-visible,
.fnc-conditions summary:focus-visible { outline: 3px solid #204da8; outline-offset: 4px; }
.fnc-conditions { padding-top: 15px; margin-top: 18px; border-top: 1px solid var(--fnc-border); color: #626b76; font-size: .76rem; line-height: 1.5; }
.fnc-conditions summary { display: flex; align-items: center; justify-content: space-between; gap: 9px; width: 100%; max-width: 100%; font-weight: 650; line-height: 1.5; list-style: none; cursor: pointer; }
.fnc-conditions summary::-webkit-details-marker { display: none; }
.fnc-conditions summary::after { flex: 0 0 auto; width: 6px; height: 6px; margin-right: 3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); content: ""; }
.fnc-conditions[open] summary::after { transform: rotate(225deg); }
.fnc-conditions > div { padding-top: 7px; }
.fnc-conditions p { margin: 8px 0; font-size: inherit; line-height: 1.65; }
.fnc-conditions p:last-child { margin-bottom: 0; }
.fnc-empty { padding: 20px 22px; border: 1px solid var(--fnc-border); border-radius: 10px; background: #f5f6f8; color: var(--fnc-muted); line-height: 1.65; }
.fnc-expired-note { margin: 0; color: #6b737e; font-size: .85rem; line-height: 1.5; }
.fnc-card.is-expired { border-top-color: #a8aeb7; box-shadow: none; }
.fnc-card.is-expired .fnc-discount { border-bottom-color: #d1d5db; background: #f2f3f5; }
.fnc-card.is-expired .fnc-discount strong,
.fnc-card.is-expired .fnc-discount > span { color: #6b737e; }
.fnc-card.is-expired .fnc-state { background: #eceef1; color: #68717c; }
.fnc-card.is-expired .fnc-card-buttons { display: none; }
.fnc-card.is-expired h3 { color: #545d69; }
.fnc-expired-section .fnc-eyebrow { color: #6b737e; }
.fnc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.fnc-actions [hidden],
.fnc-card[hidden],
.fnc-card [hidden] { display: none !important; }
@media (min-width: 760px) {
  .fnc-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .fnc-card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .fnc-actions { margin-block: 28px; }
  .fnc-card-list { gap: 16px; }
  .fnc-discount { min-height: 120px; padding: 21px; }
  .fnc-discount strong { font-size: 1.9rem; }
  .fnc-card-body { padding: 20px 21px; }
  .fnc-card h3 { font-size: 1.13rem; }
  .fnc-copy, .fnc-shop { padding-inline: 13px; }
}
