.aa-tc {
  --tc-orange: #ff8000;
  --tc-ink: #fff6ed;
  --tc-muted: #cec0b8;
  --tc-line: #ac88694d;
  --tc-accent-text: #ffb877;
  max-width: 1160px;
  margin: 24px auto 40px;
  padding: clamp(14px, 3vw, 36px);
  color: var(--tc-ink);
  background: radial-gradient(ellipse at 92% 0%, #713b24 0, #2c2023 34%, #171920 72%);
  box-shadow: 0 20px 50px #2110082a;
  border: 1px solid var(--tc-line);
  border-radius: 24px;
}
.aa-tc * { box-sizing: border-box; }
.aa-tc [hidden] { display: none !important; }
.aa-tc :focus-visible { outline: 2px solid var(--tc-accent-text); outline-offset: 3px; }
.aa-tc-header { padding: clamp(12px, 2.5vw, 26px) 0 clamp(16px, 2.5vw, 24px); }
.aa-tc-header h2 {
  margin: 0 0 6px;
  color: var(--tc-ink);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
  font-weight: 800;
  line-height: 1.12;
}
.aa-tc-header p { margin: 0; color: var(--tc-muted); }
.aa-tc-tabs, .aa-tc-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.aa-tc-tabs {
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--tc-line);
}
.aa-tc-tabs button, .aa-tc-filters button {
  min-height: 42px;
  padding: 7px 15px;
  color: var(--tc-ink);
  background: #252630;
  border: 1px solid var(--tc-line);
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.aa-tc-tabs button[aria-selected="true"] { background: linear-gradient(140deg, #ffc087, var(--tc-orange) 72%); border-color: var(--tc-orange); color: #211004; }
.aa-tc-filters button[aria-pressed="true"] { background: #653923; border-color: #e37929; }
.aa-tc-panel + .aa-tc-panel { margin-top: 22px; }
.aa-tc .aa-tc-panel-title { margin: 0 0 12px; color: var(--tc-ink); font-size: clamp(17px, 2vw, 22px); }
.aa-tc-filters { margin-bottom: 16px; }
.aa-tc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.aa-tc-card {
  display: flex;
  flex-direction: column;
  color: var(--tc-ink);
  background: linear-gradient(150deg, #ffffff16, #22232dcc 56%);
  border: 1px solid var(--tc-line);
  border-radius: 19px;
  overflow: hidden;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px #ffffff23, 0 8px 22px #08070c28;
}
.aa-tc-card__main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.aa-tc-card__details {
  min-height: 34px;
  padding: 0 clamp(12px, 1.6vw, 18px) 12px;
}
.aa-tc-card .aa-tc-card__details p {
  position: relative;
  margin: 0 0 4px;
  padding-inline-start: 16px;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-line;
}
.aa-tc-card .aa-tc-card__details p::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.28em;
  width: 9px;
  height: 9px;
  border: 1px solid #fff4ef;
  border-radius: 50%;
  background: #c9102a;
}
@supports (grid-template-rows: subgrid) {
  .aa-tc-grid { row-gap: 0; }
  .aa-tc-card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    margin-bottom: clamp(12px, 2vw, 20px);
  }
}
.aa-tc-card:hover, .aa-tc-card:focus-within { border-color: #ff8000; }
.aa-tc-card--featured {
  background: linear-gradient(140deg, #9e4f26, #382626 46%, #24242e);
  border-color: #ff8f4c;
}
.aa-tc-card__media {
  overflow: hidden;
  border-bottom: 1px solid var(--tc-line);
}
.aa-tc-card__media { box-shadow: inset 0 -1px #ff800050; }
.aa-tc-card__media img { display: block; width: 100%; height: auto; }
.aa-tc-card__body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: clamp(12px, 1.6vw, 18px); }
.aa-tc .aa-tc-card h4 { margin: 0; }
.aa-tc-card h4 a { display: inline; color: inherit; text-decoration: none; }
.aa-tc-card h4 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.aa-tc-card h4 a span { color: inherit; white-space: nowrap; }
.aa-tc-card__price {
  min-width: 0;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--tc-line);
}
.aa-tc-card__price, .aa-tc-card__price .aa-live-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.aa-tc-card__price .aa-live-price { width: 100%; }
.aa-tc-card__price .aa-live-price__percent { order: 0; }
.aa-tc-card__price strong { order: 1; }
.aa-tc-card__price .aa-live-price__until, .aa-tc-card__price .aa-tc-card__term { order: 2; }
.aa-tc-card__price .aa-live-price__percent {
  padding: 2px 6px;
  border: 1px solid #e6374c;
  border-radius: 5px;
  background: #c9102a;
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
}
.aa-tc-card__price .aa-live-price__until,
.aa-tc-card__price .aa-tc-card__term {
  display: block;
  min-height: 16px;
  line-height: 16px;
  margin: 4px 0 0;
  padding: 0;
  background: transparent;
  color: var(--tc-muted);
  font-size: 11px;
  font-weight: 500;
}
.aa-tc-card__body .aa-tc-card__description { min-width: 0; line-height: 1.48; }
.aa-tc .aa-tc-card h4,
.aa-tc .aa-tc-card__price strong {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: #ff8000;
  font: 800 clamp(25px, 2.4vw, 34px)/1.12 system-ui, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .aa-tc .aa-tc-card h4:not(:has(a)),
  .aa-tc .aa-tc-card h4 a,
  .aa-tc .aa-tc-card__price strong {
    background-image:
      radial-gradient(ellipse 29% 80% at 24% 58%, #ffcd9278, #ffb16c22 62%, transparent 100%),
      radial-gradient(ellipse 35% 105% at 77% 9%, #ff9b4bc9, #ff8a2400 83%),
      radial-gradient(ellipse 55% 88% at 100% 100%, #c63d24aa, transparent 90%),
      radial-gradient(ellipse at 45% 45%, #ff8600 15%, #ff8000 49%, #e85a20 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
@media (forced-colors: active), print {
  .aa-tc .aa-tc-card h4,
  .aa-tc .aa-tc-card h4 a,
  .aa-tc .aa-tc-card__price strong {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}
.aa-tc .aa-tc-card__price .aa-live-price__old {
  display: block;
  margin: 0 0 4px;
  color: var(--tc-muted);
  font-size: 13px;
  font-weight: 500;
}
.aa-tc-card__price .aa-live-price__empty,
.aa-tc-card__price .aa-live-price--empty { color: var(--tc-muted); }
.aa-tc .aa-tc-card__price .aa-live-price__percent {
  margin: 0 0 5px;
}
.aa-tc-card p { margin: 0; color: var(--tc-muted); font-size: .91em; }
.aa-tc-route-table a { color: var(--tc-accent-text); font-weight: 750; text-underline-offset: .18em; }
.aa-tc-route-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 13px; }
.aa-tc-route-controls label { flex: 1 1 160px; display: grid; gap: 4px; font-weight: 700; }
.aa-tc-route-controls :is(input, select) {
  width: 100%;
  min-height: 44px;
  padding: 7px 10px;
  color: var(--tc-ink);
  background: #252630;
  border: 1px solid #887365;
  color-scheme: dark;
  border-radius: 9px;
  font: inherit;
  font-weight: 400;
}
.aa-tc-route-controls p { flex-basis: 100%; margin: 0; color: var(--tc-muted); font-size: .89em; }
.aa-tc-route-table { overflow-x: auto; border: 1px solid var(--tc-line); border-radius: 12px; }
.aa-tc-route-table table { width: 100%; margin: 0; border: 0; background: #252630; border-collapse: collapse; }
.aa-tc-route-table :is(th, td) { padding: 11px; color: var(--tc-ink); border: 0; border-bottom: 1px solid var(--tc-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.aa-tc-route-table thead th { background: #653923; }
.aa-tc-route-table tbody tr:hover { background: #39313b; }
.aa-tc-route-table tbody tr:last-child > * { border-bottom: 0; }
.aa-tc-route-table tbody tr:nth-child(even) { background: #2d2b34; }
.aa-tc-route-table small, .aa-tc-route-price del { display: block; color: var(--tc-muted); font-size: .83em; font-weight: 400; }
.aa-tc-route-price strong { display: block; color: var(--tc-ink); font-variant-numeric: tabular-nums; }
.aa-tc-route-price small { color: var(--tc-accent-text); }
.aa-tc-route-details { display: none; }
.aa-tc-empty { padding: 14px; background: #653923; border-radius: 10px; }
@media (max-width: 900px) {
  .aa-tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .aa-tc { margin-block: 14px 24px; border-radius: 16px; }
  .aa-tc-grid { grid-template-columns: minmax(0, 1fr); }
  .aa-tc-tabs button { flex: 1; }
  .aa-tc-route-table thead th:nth-child(n+3), .aa-tc-route-table .aa-tc-route-wide { display: none; }
  .aa-tc-route-table :is(th, td) { padding: 9px; }
  .aa-tc-route-table th:first-child { width: 60%; }
  .aa-tc-route-details { display: block; margin-top: 3px; font-size: .87em; font-weight: 400; }
  .aa-tc-route-details summary { min-height: 30px; padding-block: 4px; color: var(--tc-accent-text); cursor: pointer; }
  .aa-tc-route-details dl { margin: 4px 0; }
  .aa-tc-route-details dt { font-weight: 700; }
  .aa-tc-route-details dd { margin: 0 0 4px; }
}

/* Elementor can retain the original shortcode below the catalog. */
.entry-content:has(> [data-aa-tariff-catalog]) .elementor-shortcode > .aa-dynamic-prices {
  display: none !important;
}


.aa-tc-card__photo-link { position: relative; display: block; cursor: zoom-in; }
.aa-tc-card__photo-link > span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ffb87786;
  border-radius: 50%;
  background: #171920df;
  color: #ffc18a;
  font-size: 20px;
  line-height: 1;
}
.aa-tc-photo-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: calc(100vw - 16px);
  max-width: 100%;
  max-height: 94vh;
  padding: 0;
  border: 1px solid #b76c3a;
  border-radius: 14px;
  background: #16171d;
  color: #fff4e9;
}
.aa-tc-photo-dialog::backdrop { background: #050509d9; }
.aa-tc-photo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
}
.aa-tc-photo-toolbar strong { flex: 1 1 180px; }
.aa-tc-photo-toolbar button {
  min-height: 40px;
  padding: 5px 12px;
  border: 1px solid #ffb87786;
  border-radius: 7px;
  background: #2b252a;
  color: #fff4e9;
  font: inherit;
  cursor: pointer;
}
.aa-tc-photo-stage {
  max-height: 76vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #0d0e12;
}
.aa-tc-photo-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76vh;
  margin-inline: auto;
  cursor: zoom-in;
}
.aa-tc-photo-stage.is-zoomed img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  cursor: zoom-out;
}
