/* Limme - מחירון הצמדות
   Full-bleed dark band over a photo. Group label -> car image -> name -> prices -> buy button. */

.limme-transfers {
  --lt-gold: #e2b756;
  --lt-line: rgba(255, 255, 255, 0.13);
  --lt-cell: rgba(255, 255, 255, 0.035);
  --lt-text: #f2f2f2;
  --lt-dim: #b9b4a9;

  /* Full-bleed: break out of the theme container without 100vw
     (100vw would add a scrollbar's worth of horizontal overflow). */
  width: auto;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  margin-block: 0;
  position: relative;

  /* generous top padding: the section sits directly under the site header,
     which overlaps it - anything less and the title gets clipped */
  padding: 130px clamp(14px, 2.4vw, 44px) 70px;

  /* the inline style adds: gradient overlay + the background photo */
  background-color: #0f0d08;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* stays put while the content scrolls */

  color: var(--lt-text);
  font-family: inherit;
  overflow: hidden;
}

.limme-transfers > .lt-head,
.limme-transfers > .lt-scroll,
.limme-transfers > .lt-bottom,
.limme-transfers > .lt-footnote {
  max-width: 1780px;
  margin-inline: auto;
}

/* ---------- header ---------- */
.limme-transfers .lt-head {
  text-align: center;
  margin-bottom: 40px;
}

.limme-transfers .lt-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.limme-transfers .lt-spark {
  color: var(--lt-gold);
  font-size: 0.8em;
  line-height: 1;
}

.limme-transfers .lt-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--lt-dim);
}

/* ---------- table ----------
   On desktop the table is table-layout:fixed at width:100% with NO column
   min-widths, so the columns share the available width and the table can
   never overflow - no sideways scrolling. Min-widths (and scrolling) come
   back below 1100px, where they are unavoidable. */
.limme-transfers .lt-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--lt-line);
  background: rgba(10, 9, 6, 0.35);
}

.limme-transfers > .lt-scroll {
  margin-bottom: 26px;
}

.limme-transfers .lt-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  background: transparent;
}

.limme-transfers .lt-table th,
.limme-transfers .lt-table td {
  border: 1px solid var(--lt-line);
  text-align: center;
  vertical-align: middle;
  padding: 16px 8px;
  background: var(--lt-cell);
  color: var(--lt-text);
}

/* right-hand label column */
.limme-transfers .lt-rowhead {
  width: 112px;
  min-width: 0;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

/* vehicle header cell: Group -> image -> name */
.limme-transfers .lt-vehicle {
  width: auto;
  min-width: 0;
  padding: 18px 6px 16px;
  background: rgba(255, 255, 255, 0.05);
}

/* small + light */
.limme-transfers .lt-group {
  display: block;
  margin-bottom: 12px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* the car photos are width-constrained, not height-constrained: letting them
   fill the column is what actually makes them bigger */
.limme-transfers .lt-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  margin-bottom: 12px;
}

.limme-transfers .lt-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* vehicle name carries the gold */
.limme-transfers .lt-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--lt-gold);
  word-break: break-word;
}

.limme-transfers .lt-sub {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 400;
  color: var(--lt-dim);
  text-transform: none;
  letter-spacing: 0;
}

/* price cells */
.limme-transfers .lt-table tbody td {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.limme-transfers .lt-table tbody tr:not(.lt-buy-row):hover td {
  background: rgba(226, 183, 86, 0.07);
}

/* ---------- buy button (one per vehicle) ---------- */
.limme-transfers .lt-buy {
  padding: 12px 6px;
}

.limme-transfers .lt-btn {
  display: block;
  width: 100%;
  padding: 11px 6px;
  border: 0;
  border-radius: 4px;
  background: var(--lt-gold);
  color: #12100b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, transform .12s ease;
}

.limme-transfers .lt-btn:hover:not(:disabled) {
  background: #efc76c;
  color: #12100b;
  transform: translateY(-1px);
}

.limme-transfers .lt-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* ---------- bottom row: 70% vehicles (right) / 30% info (left) ---------- */
.limme-transfers .lt-bottom {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-top: 26px;
}

.limme-transfers .lt-bottom-table {
  flex: 0 0 60%;
  max-width: 60%;
  min-width: 0;
}

.limme-transfers .lt-bottom-table .lt-scroll,
.limme-transfers .lt-bottom-table .lt-table {
  height: 100%;
}

/* with 70% of the row to itself, these two cars get a lot of space - use it */
.limme-transfers .lt-bottom-table .lt-img {
  height: 172px;
}

.limme-transfers .lt-bottom-table .lt-name {
  font-size: 16px;
}

.limme-transfers .lt-info {
  flex: 0 0 40%;
  max-width: 40%;
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid var(--lt-line);
  border-radius: 12px;
  background: rgba(10, 9, 6, 0.42);
  font-size: 13px;
  line-height: 1.7;
  color: #ddd8ce;
}

.limme-transfers .lt-info h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.limme-transfers .lt-info h3:not(:first-child) {
  margin-top: 20px;
}

.limme-transfers .lt-info p {
  margin: 0 0 12px;
}

.limme-transfers .lt-info p:last-child {
  margin-bottom: 0;
}

.limme-transfers .lt-info em {
  color: var(--lt-dim);
  font-style: normal;
}

/* ---------- footnote ---------- */
.limme-transfers .lt-footnote {
  margin-block: 28px 0;
  text-align: center;
  font-size: 12px;
  color: var(--lt-dim);
}

/* ---------- below 1100px: stack, and allow the table to scroll in its box ---------- */
@media (max-width: 1100px) {
  .limme-transfers .lt-bottom {
    flex-direction: column;
  }

  .limme-transfers .lt-bottom-table,
  .limme-transfers .lt-info {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .limme-transfers .lt-table {
    table-layout: auto;
  }

  .limme-transfers .lt-rowhead {
    position: sticky;
    inset-inline-end: 0;
    z-index: 2;
    width: 110px;
    min-width: 110px;
    background: #1c1a15;
  }

  .limme-transfers .lt-vehicle {
    width: 140px;
    min-width: 140px;
  }

  .limme-transfers .lt-img {
    height: 74px;
  }

  .limme-transfers .lt-bottom-table .lt-img {
    height: 120px;
  }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  .limme-transfers {
    padding: 150px 12px 44px;
    background-attachment: scroll; /* fixed backgrounds jank on mobile */
  }

  .limme-transfers .lt-rowhead {
    width: 104px;
    min-width: 104px;
    font-size: 13px;
  }

  .limme-transfers .lt-vehicle {
    width: 128px;
    min-width: 128px;
  }

  .limme-transfers .lt-img {
    height: 62px;
  }

  .limme-transfers .lt-table th,
  .limme-transfers .lt-table td {
    padding: 13px 6px;
  }

  .limme-transfers .lt-info {
    padding: 22px 18px;
    font-size: 13.5px;
  }
}


/* ============ selected vehicle column ============ */
.limme-transfers .lt-col-selected {
  background: rgba(226, 183, 86, 0.15) !important;
  border-color: rgba(226, 183, 86, 0.5) !important;
}
.limme-transfers th.lt-vehicle.lt-col-selected {
  background: rgba(226, 183, 86, 0.22) !important;
  box-shadow: inset 0 3px 0 var(--lt-gold);
}
.limme-transfers .lt-btn.is-selected {
  background: #12100b;
  color: var(--lt-gold);
  box-shadow: inset 0 0 0 2px var(--lt-gold);
}
.limme-transfers .lt-btn.is-selected::before {
  content: "\2713\00a0\00a0";
}

/* ============ info "i" icon ============ */
.limme-transfers .lt-i-wrap {
  position: relative;
  display: inline-block;
}
.limme-transfers .lt-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-inline-start: 6px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
  transition: border-color .15s ease, color .15s ease;
}
.limme-transfers .lt-i:hover,
.limme-transfers .lt-i-wrap.is-open .lt-i {
  border-color: var(--lt-gold);
  color: var(--lt-gold);
}

/* ============ tooltip (JS positions it as fixed) ============ */
.limme-transfers .lt-tip {
  position: fixed;
  z-index: 2147483000;
  width: 280px;
  max-width: 86vw;
  padding: 14px 16px;
  background: #0c0b08;
  color: #f2f2f2;
  border: 1px solid rgba(226, 183, 86, 0.35);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  text-transform: none;
  text-align: right;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease;
}
.limme-transfers .lt-i-wrap.is-open .lt-tip {
  opacity: 1;
  visibility: visible;
}

/* ============ selection bar (glassmorphism, appears on select) ============ */
.limme-select-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99980;
  background: rgba(27, 20, 10, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(226, 183, 86, 0.28);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform .28s ease;
  padding: 15px 20px;
  color: #fff;
}
.limme-select-bar.is-visible { transform: translateY(0); }
.limme-select-inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  direction: rtl;
}
.limme-select-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.limme-select-car {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.limme-select-img {
  width: 66px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}
.limme-select-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--lt-gold);
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
}
.limme-select-price {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  padding-inline: 16px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.18);
}
.limme-select-price::before {
  content: "מחיר יומי: ";
  font-weight: 400;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}
.limme-select-go {
  flex: 0 0 auto;
  background: #e2b756;
  color: #12100b;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 34px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color .2s ease, transform .12s ease;
}
.limme-select-go:hover {
  background: #efc76c;
  color: #12100b;
  transform: translateY(-1px);
}

/* raise the floating buttons above the bar while it is showing */
.limme-has-selection .limme-fab { bottom: 124px; }

/* once a vehicle is selected: dim the other buttons; hover re-activates them */
body.limme-has-selection .limme-transfers .lt-btn:not(.is-selected):not(:disabled) {
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
body.limme-has-selection .limme-transfers .lt-btn:not(.is-selected):not(:disabled):hover {
  background: var(--lt-gold);
  color: #12100b;
}

@media (max-width: 767px) {
  .limme-select-bar {
    padding: 10px 12px;
  }
  .limme-select-inner { gap: 10px; flex-wrap: nowrap; justify-content: center; }
  .limme-select-label { display: none; }
  .limme-select-img { width: 50px; height: 34px; }
  .limme-select-name { font-size: 12.5px; }
  .limme-select-price { font-size: 12.5px; padding-inline: 9px; }
  .limme-select-price::before { display: none; }
  .limme-select-go { padding: 10px 16px; font-size: 13.5px; white-space: nowrap; }
  .limme-has-selection .limme-fab { bottom: 96px; }
}

/* button loading state while the AJAX add-to-cart runs (bar already filled optimistically) */
.limme-transfers .lt-btn.is-loading { opacity: .85; pointer-events: none; position: relative; }


/* ================= LIMME-MOBILE-CARDS =================
   Desktop keeps the table. Phones get one card per vehicle so nothing needs
   sideways scrolling: image on the LEFT, details on the RIGHT. */
.lt-cards { display: none; }

/* ---- תנאי השימוש accordion (native <details>, no JS) ---- */
.limme-transfers details.lt-info { padding: 0; }
.limme-transfers .lt-info-summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.limme-transfers .lt-info-summary::-webkit-details-marker { display: none; }
.limme-transfers .lt-info-summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2px solid var(--lt-gold);
  border-bottom: 2px solid var(--lt-gold);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: 0 0 auto;
}
.limme-transfers details.lt-info[open] .lt-info-summary::after { transform: rotate(-135deg); }
.limme-transfers .lt-info-body { padding: 0 24px 22px; }
.limme-transfers details.lt-info[open] .lt-info-summary { border-bottom: 1px solid var(--lt-line); margin-bottom: 18px; }

@media (max-width: 767px) {
  /* tables out, cards in */
  .limme-transfers > .lt-scroll,
  .limme-transfers .lt-bottom-table { display: none !important; }
  .lt-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }

  .limme-transfers .lt-bottom { display: block; margin-top: 0; }
  .limme-transfers .lt-info { flex: none; max-width: none; width: 100%; }

  .lt-card {
    border: 1px solid var(--lt-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    padding: 16px;
  }
  .lt-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--lt-line);
  }
  /* details right, image left */
  .lt-card-meta { flex: 1 1 auto; min-width: 0; text-align: right; }
  .lt-card-img {
    flex: 0 0 118px;
    display: flex; align-items: center; justify-content: center;
    height: 72px;
  }
  .lt-card-img img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }

  .lt-card .lt-group { margin-bottom: 5px; }
  .lt-card .lt-name { font-size: 15px; }
  .lt-card .lt-sub { margin-top: 4px; }

  .lt-card-rows { padding: 12px 0 14px; }
  .lt-card-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; font-size: 14px;
  }
  .lt-card-row span:first-child { color: rgba(255, 255, 255, .7); font-weight: 600; }
  .lt-card-row span:last-child { color: #fff; font-weight: 700; white-space: nowrap; }

  .lt-card .lt-btn { font-size: 14px; padding: 12px; }

  /* selected card */
  .lt-card.is-selected {
    border-color: var(--lt-gold);
    background: rgba(226, 183, 86, .12);
  }
  body.limme-has-selection .lt-card:not(.is-selected) .lt-btn:not(:disabled) {
    background: rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .5);
  }
  body.limme-has-selection .lt-card:not(.is-selected) .lt-btn:not(:disabled):hover {
    background: var(--lt-gold);
    color: #12100b;
  }

  .limme-transfers .lt-info-summary { padding: 16px 18px; font-size: 15px; }
  .limme-transfers .lt-info-body { padding: 0 18px 18px; }
}

/* ================= LIMME-MOBILE-V2 - mobile sizing pass =================
   Appended last so it wins over the earlier @media blocks (same specificity). */
@media (max-width: 767px) {
  /* the 150px desktop top padding is a canyon on a phone */
  .limme-transfers { padding-top: 48px; }
  .limme-transfers .lt-head { margin-bottom: 26px; }

  /* vehicle image - two notches up (118x72 -> 148x92) */
  .lt-card-img { flex: 0 0 148px; height: 92px; }
  .lt-card-img img { max-height: 92px; }

  /* vehicle name + group - two notches up */
  .lt-card .lt-name { font-size: 19px; }
  .lt-card .lt-group { font-size: 11px; }
  .lt-card .lt-sub { font-size: 12px; }

  /* buy button - two notches up */
  .lt-card .lt-btn { font-size: 17px; padding: 15px; }

  /* ---- selection bar ---- */
  /* Lifted clear of #enable-toolbar-trigger (the Enable Accessibility button,
     fixed bottom-left, ~52px tall, z-index 2147483647 - it sat right on the bar). */
  /* Docked to the very bottom as a bottom-sheet - no floating gap.
     Full width, only the top corners rounded. */
  .limme-select-bar {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .limme-select-inner {
    padding: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }
  .limme-select-label { display: none; }
  .limme-select-car { flex: 1 1 auto; min-width: 0; }
  /* image + name + price - two notches up */
  .limme-select-img { width: 66px; height: 46px; }
  .limme-select-name { font-size: 16.5px; }
  .limme-select-price { font-size: 16.5px; padding-inline: 12px; }
  /* full-width CTA */
  .limme-select-go {
    flex: 1 0 100%;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 16.5px;
  }

  /* float buttons clear the taller bar */
  .limme-has-selection .limme-fab { bottom: 172px; }
}