/* Fleet grid: shared card rhythm with responsive, full-width photographs. */
.fazicars-reservation #auta-list-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin-top: 20px;
}
.fazicars-reservation #auta-list-wrapper .fc-vehicle-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  margin: 0 !important;
  min-width: 0;
  padding: 0;
  max-height: none !important;
  border: 1px solid #e0e0da;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 14px #15151504;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fazicars-reservation .fc-vehicle-card :is(figure,section,aside,header,footer,ul,li,p,h3,h4,dl,dt,dd) { min-width: 0; margin: 0; padding: 0; }
.fazicars-reservation #auta-list-wrapper .fc-vehicle-card:hover { border-color: #c9c9c1; box-shadow: 0 6px 24px #15151509; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-visual { display: block; align-self: start; aspect-ratio: 16 / 9; margin: 12px 12px 0; overflow: hidden; border-radius: 10px; background: #f3f3f0; }
.fazicars-reservation .fc-vehicle-visual img { display: block; width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; object-position: center; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-info { display: flex; flex-direction: column; padding: 20px; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-heading { margin-bottom: 18px; }
.fazicars-reservation .fc-vehicle-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fazicars-reservation .fc-vehicle-badges > span { box-sizing: border-box; flex: 0 0 auto; min-height: 30px; white-space: nowrap; }
.fazicars-reservation .fc-vehicle-promo { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid #e8c33d; border-radius: 8px; background: linear-gradient(110deg,#fff4b3,#ffe56b); color: #373019; box-shadow: inset 0 1px 0 #ffffffb3; font-size: 11px; font-weight: 500; line-height: 1.4; }
.fazicars-reservation .fc-vehicle-promo > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; }
.fazicars-reservation .fc-vehicle-promo strong { font-size: 13px; font-weight: 700; line-height: 1; }
.fazicars-reservation .fc-vehicle-promo .fc-vehicle-promo-value { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 1px; border-radius: 5px; background: #28291f; color: #ffdc32; }
/* A single light sweep introduces the offer without continuous animation on every car. */
.fazicars-reservation .fc-vehicle-promo::before { content: ''; position: absolute; z-index: 0; top: -20%; bottom: -20%; left: 0; width: 45%; pointer-events: none; background: linear-gradient(100deg,transparent,#ffffffb3,transparent); opacity: 0; transform: translateX(-150%) skewX(-14deg); animation: fc-vehicle-promo-sheen 2.8s ease-in-out .5s both; }
@keyframes fc-vehicle-promo-sheen { 0% { opacity: 0; transform: translateX(-150%) skewX(-14deg); } 25%,65% { opacity: .8; } 100% { opacity: 0; transform: translateX(350%) skewX(-14deg); } }
.fazicars-reservation .fc-vehicle-card .fc-car-title { margin: 10px 0 0; min-height: 2.5em; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.4px; overflow-wrap: anywhere; text-transform: none; }
.fazicars-reservation .fc-vehicle-status { display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 6px 11px; border: 1px solid #35d86a; border-radius: 8px; background: #b2ffca; color: #075d2a; font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: .1px; animation: fc-status-reveal .35s ease-out both; }
.fazicars-reservation .fc-vehicle-status i { position: relative; display: block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #00b83f; }
.fazicars-reservation .fc-vehicle-status:not(.is-unavailable) i::after { content: ""; position: absolute; inset: -4px; border: 1px solid #00b83f; border-radius: 50%; animation: fc-status-pulse 2.8s ease-out .4s infinite; }
.fazicars-reservation .fc-vehicle-status.is-unavailable { border-color: #f3bcbc; background: #fff1f1; color: #a32626; }
.fazicars-reservation .fc-vehicle-status.is-unavailable i { flex-basis: 9px; width: 9px; height: 9px; background: #d43b3b; }
.fazicars-reservation .fc-vehicle-status.is-unavailable i::before { content: ""; position: absolute; left: 2px; right: 2px; top: 4px; height: 1px; background: #fff; }
@keyframes fc-status-reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fc-status-pulse { 0% { opacity: .65; transform: scale(.55); } 70%,100% { opacity: 0; transform: scale(1.15); } }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 12px; list-style: none; }
.fazicars-reservation .fc-vehicle-features li { display: flex; align-items: center; gap: 10px; min-width: 0; list-style: none; }
.fazicars-reservation .fc-vehicle-features li > img { display: block; flex: 0 0 30px; width: 30px; height: 30px; padding: 7px; border-radius: 7px; background: #f5f5f1; object-fit: contain; }
.fazicars-reservation .fc-vehicle-features li > span { display: block; min-width: 0; }
.fazicars-reservation .fc-vehicle-features small { display: block; margin-bottom: 2px; color: #72726c; font-size: 10px; font-weight: 400; line-height: 1.3; }
.fazicars-reservation .fc-vehicle-features strong { display: block; color: #262622; font-size: 13px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-equipment { display: flex; align-items: center; gap: 7px; margin-top: 18px; color: #66665f; font-size: 11px; line-height: 1.5; }
.fazicars-reservation .fc-vehicle-equipment img { width: 14px; height: 14px; object-fit: contain; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-quote { display: flex; flex-direction: column; padding: 20px; border-top: 1px solid #e8e8e1; background: #fafaf7; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-period { color: #6c6c65; font-size: 12px; line-height: 1.5; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 3px; color: #151515; line-height: 1.15; }
.fazicars-reservation .fc-vehicle-price > strong { font-size: 30px; font-weight: 700; letter-spacing: -1px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fazicars-reservation .fc-vehicle-price > span { font-size: 12px; font-weight: 600; line-height: 1.3; }
.fazicars-reservation .fc-vehicle-price small { display: block; color: #77776f; font-size: 10px; font-weight: 400; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-limit { margin-top: 10px; color: #56564f; font-size: 11px; line-height: 1.5; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-fees { display: grid; gap: 6px; margin: 16px 0 20px; padding-top: 13px; border-top: 1px solid #e6e6df; }
.fazicars-reservation .fc-vehicle-fees > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; color: #66665f; font-size: 11px; line-height: 1.4; }
.fazicars-reservation .fc-vehicle-fees dd { color: #33332e; font-weight: 500; }
.fazicars-reservation .fc-vehicle-actions { display: grid; gap: 8px; margin-top: auto; }
.fazicars-reservation .fc-vehicle-actions :is(.fc-book,.fc-unavailable,.sprawdz) { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin: 0; padding: 12px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; }
.fazicars-reservation .fc-vehicle-actions .fc-book { justify-content: space-between; background: var(--fc-yellow); color: #151515; }
.fazicars-reservation .fc-vehicle-actions .fc-book:hover { background: #f3c600; }
.fazicars-reservation .fc-vehicle-actions .fc-book[aria-disabled=true] { cursor: wait; }
.fazicars-reservation .fc-vehicle-actions .sprawdz { min-height: 44px; background: transparent; border-color: #dcdcd4; color: #45453f; font-size: 11px; font-weight: 500; }
.fazicars-reservation .fc-vehicle-actions .sprawdz:hover, .fazicars-reservation .fc-vehicle-actions .sprawdz[aria-expanded=true] { background: #fff; border-color: #bcbcb2; }
.fazicars-reservation .fc-vehicle-actions .fc-unavailable { background: #eaeae4; color: #76766e; opacity: 1; }
.fazicars-reservation .fc-vehicle-card svg { display: block; flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-footer { grid-column: 1 / -1; border-top: 1px solid #e8e8e1; background: #fff; }
.fazicars-reservation .fc-vehicle-conditions > summary { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px 20px; color: #66665f; font-size: 11px; font-weight: 500; line-height: 1.5; cursor: pointer; list-style: none; }
.fazicars-reservation .fc-vehicle-conditions > summary::-webkit-details-marker { display: none; }
.fazicars-reservation .fc-vehicle-chevron { margin-left: auto; transition: transform .2s ease; }
.fazicars-reservation .fc-vehicle-conditions[open] .fc-vehicle-chevron { transform: rotate(180deg); }
.fazicars-reservation .fc-vehicle-conditions > summary:hover { color: #151515; background: #fcfcf9; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-terms { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; padding: 16px 20px 20px; color: #6b6b63; font-size: 12px; line-height: 1.65; }
.fazicars-reservation .fc-vehicle-terms strong { color: #30302a; font-weight: 600; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-calendar { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 16px; padding: 18px 12px; border-top: 1px solid #e8e8e1; background: #fcfcf9; }
.fazicars-reservation .fc-vehicle-card .fc-vehicle-calendar[hidden] { display: none; }
.fazicars-reservation .fc-vehicle-calendar h4 { margin: 12px 0; font-size: 20px; font-weight: 600; line-height: 1.3; }
.fazicars-reservation .fc-vehicle-calendar header p { font-size: 13px; line-height: 1.7; color: #6b6b63; }
.fazicars-reservation .fc-vehicle-calendar > div { min-width: 0; }
.fazicars-reservation .fc-vehicle-card .rcs-calendar-status { margin-top: 0 !important; }
@media (max-width: 1199px) {
  .fazicars-reservation #auta-list-wrapper { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
}
@media (max-width: 699px) {
  .fazicars-reservation #auta-list-wrapper { grid-template-columns: minmax(0,1fr); gap: 20px; margin-top: 16px; }
  .fazicars-reservation #auta-list-wrapper .fc-vehicle-card { border-radius: 14px; }
  .fazicars-reservation .fc-vehicle-card .fc-vehicle-info { padding: 20px 18px; }
  .fazicars-reservation .fc-vehicle-card .fc-car-title { min-height: 0; }
  .fazicars-reservation .fc-vehicle-features li { gap: 8px; }
  .fazicars-reservation .fc-vehicle-features strong { font-size: 12px; }
  .fazicars-reservation .fc-vehicle-card .fc-vehicle-quote { padding: 18px; }
  .fazicars-reservation .fc-vehicle-price > strong { font-size: 28px; }
  .fazicars-reservation .fc-vehicle-actions .fc-book { min-height: 50px; font-size: 14px; }
  .fazicars-reservation .fc-vehicle-conditions > summary { padding: 12px 18px; }
  .fazicars-reservation .fc-vehicle-card .fc-vehicle-terms { padding: 14px 18px 18px; }
  .fazicars-reservation .fc-vehicle-calendar header { padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .fazicars-reservation #auta-list-wrapper .fc-vehicle-card, .fazicars-reservation .fc-vehicle-chevron { transition: none; }
  .fazicars-reservation .fc-vehicle-status { animation: none; }
  .fazicars-reservation .fc-vehicle-status:not(.is-unavailable) i::after { animation: none; display: none; }
  .fazicars-reservation .fc-vehicle-promo::before { animation: none; display: none; }
}

/* Keep the regular quote and the saving readable at every card width. */
.fazicars-reservation .fc-vehicle-saving { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 10px; margin: 7px 0 9px; font-size: 12px; line-height: 1.5; }
.fazicars-reservation .fc-vehicle-saving del { color: #7b8076; font-variant-numeric: tabular-nums; text-decoration-thickness: 1px; }
.fazicars-reservation .fc-vehicle-saving > span { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px 7px; border: 1px solid #eede99; border-radius: 6px; background: #fff4c2; color: #5e4d18; font-size: 11px; }
.fazicars-reservation .fc-vehicle-saving strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.fazicars-reservation .fc-vehicle-quote.has-promotion .fc-vehicle-price { margin-top: 0; }
