/* Araç kiralama (enterprise.com.tr düzeni): arama, adım çubuğu, filtreli liste, yatay araç kartı, ekstralar. Yalnız /arac-kiralama sayfalarında yüklenir. */

/* Arama: "farklı yerde bırak" satırı düğmenin altında; kutu işaretliyse iade yeri açılır */
.rent-search .btn-gold { flex: 0 0 auto; }
.rent-oneway { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.rent-oneway .sb-check { padding: 0; }
.rent-oneway .sb-input { display: none; flex: 0 1 360px; }
.rent-oneway:has([data-oneway]:checked) .sb-input { display: flex; }

/* Adım çubuğu */
.rent-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 26px; padding: 0; list-style: none; border: 1px solid var(--w10); border-radius: 16px; background: var(--ink-2); overflow: hidden; }
.rent-steps li { position: relative; min-width: 0; }
.rent-steps li + li { border-left: 1px solid var(--w10); }
.rent-steps a, .rent-steps li:not(:has(a)) { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; color: inherit; }
.rent-steps a:hover strong { color: var(--gold); }
.rent-step-no { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border: 1px solid var(--w40); border-radius: 50%; font-size: 13px; font-weight: 800; color: var(--w60); }
.rent-step-no .material-symbols-outlined { font-size: 17px; }
.rent-step-text { display: flex; flex-direction: column; min-width: 0; }
.rent-step-text strong { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--w60); }
.rent-step-text small { overflow: hidden; font-size: 13px; color: var(--w75); text-overflow: ellipsis; white-space: nowrap; }
.rent-steps .is-done .rent-step-no { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.rent-steps .is-current { box-shadow: inset 0 -2px 0 var(--gold); }
.rent-steps .is-current .rent-step-no { border-color: var(--gold); color: var(--gold); }
.rent-steps .is-current strong, .rent-steps .is-done strong { color: var(--white); }

/* Liste düzeni: solda filtreler, sağda sonuçlar */
.rent-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.rent-filters { position: sticky; top: 84px; padding: 18px; border: 1px solid var(--w10); border-radius: 16px; background: var(--ink-2); }
.rf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.rf-head h2 { margin: 0; font-family: var(--font-display); font-size: 18px; }
.rf-head small { font-size: 13px; font-weight: 500; color: var(--w60); }
.rf-head a { font-size: 13px; font-weight: 700; color: var(--gold); }
.rf-group { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 12px 0 6px; border: 0; border-top: 1px solid var(--w10); }
.rf-group legend { margin: 0 0 4px; padding: 0; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--w60); }
.rf-group .check { align-items: center; padding: 5px 0; }
.rf-count { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 12px; color: var(--w60); }
.rf-apply { margin-top: 10px; }

.rent-results-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.rent-results-head h2 { margin: 0; font-family: var(--font-display); font-size: 24px; letter-spacing: -.01em; }
.rent-results-head .result-count { margin: 2px 0 0; }
.rent-sort { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--w60); }
.rent-sort select { min-height: 42px; padding: 0 36px 0 12px; border: 1px solid var(--w10); border-radius: 10px; background: var(--ink-2); color: var(--white); font: inherit; font-weight: 600; }
.rent-sort select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 181, 102, .3); }

/* Yatay araç kartı */
.rent-card { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; margin-bottom: 16px; overflow: hidden; border: 1px solid var(--w10); border-radius: 18px; background: var(--ink-2); transition: border-color .3s, box-shadow .3s; }
.rent-card:hover, .rent-card:focus-within { border-color: rgba(230, 181, 102, .45); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.rent-card.is-off { opacity: .55; }
.rent-card-img { position: relative; display: block; min-height: 180px; background: rgba(255, 255, 255, .04); }
.rent-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rent-badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; }
.rent-card-main { min-width: 0; padding: 18px 20px; }
.rent-card-class { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.rent-card-main h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
.rent-card-main h2 a:hover { color: var(--gold); }
.rent-similar { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--w60); }
h1 .rent-similar { font-size: .45em; }
.rent-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 14px; color: var(--w75); }
.rent-specs li { display: inline-flex; align-items: center; gap: 5px; }
.rent-specs .material-symbols-outlined { font-size: 18px; color: var(--gold); }
.rent-ok, .rent-warn { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.rent-ok { color: #86efac; }
.rent-warn { color: #fca5a5; }
.rent-ok .material-symbols-outlined, .rent-warn .material-symbols-outlined { font-size: 17px; }
.rent-more summary { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--gold); cursor: pointer; list-style: none; }
.rent-more summary::-webkit-details-marker { display: none; }
.rent-more summary::after { content: 'expand_more'; font-family: 'Material Symbols Outlined'; font-size: 18px; transition: transform .25s; }
.rent-more[open] summary::after { transform: rotate(180deg); }
.rent-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; margin: 12px 0 0; }
.rent-terms div { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.rent-terms dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--w60); }
.rent-terms dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.rent-feats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--w75); }
.rent-feats li { display: inline-flex; align-items: center; gap: 4px; }
.rent-feats .material-symbols-outlined { font-size: 16px; color: var(--gold); }

.rent-card-price { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px; border-left: 1px solid var(--w10); }
.rent-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
.rent-price small { flex: 1 1 100%; font-size: 12px; color: var(--w60); }
.rent-price s, .rent-list-price { font-size: 14px; color: var(--w40); }
.rent-price strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.rent-price--total strong { font-size: 24px; color: var(--gold); }
.rent-select { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: none; }
.rent-select:hover { background: var(--gold-2); }
.rent-select .material-symbols-outlined { font-size: 18px; }

/* Ekstralar */
.rent-upgrade { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 22px; padding: 14px 16px; border: 1px dashed rgba(230, 181, 102, .5); border-radius: 14px; background: rgba(230, 181, 102, .06); }
.rent-upgrade > .material-symbols-outlined { font-size: 28px; color: var(--gold); }
.rent-upgrade p { flex: 1 1 220px; margin: 0; }
.rent-upgrade .btn-line { padding: 10px 18px; }
.rent-sub { margin: 18px 0 10px; font-size: 16px; font-weight: 800; }
.rent-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.rent-pack { position: relative; display: block; cursor: pointer; }
.rent-pack input { position: absolute; opacity: 0; pointer-events: none; }
.rent-pack-body { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border: 1px solid var(--w10); border-radius: 14px; background: rgba(255, 255, 255, .03); transition: border-color .25s, background .25s; }
.rent-pack-body > .material-symbols-outlined { font-size: 26px; color: var(--gold); }
.rent-pack-body strong { font-size: 15px; }
.rent-pack-body ul { margin: 0; padding: 0 0 0 18px; font-size: 13px; color: var(--w75); }
.rent-pack-price { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--gold); }
.rent-pack-price small { font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--w60); }
.rent-pack:hover .rent-pack-body { border-color: var(--w40); }
.rent-pack input:checked + .rent-pack-body { border-color: var(--gold); background: rgba(230, 181, 102, .08); box-shadow: inset 0 0 0 1px var(--gold); }
.rent-pack input:focus-visible + .rent-pack-body { outline: 2px solid var(--gold); outline-offset: 2px; }

.rent-extras { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rent-extra { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--w10); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.rent-extra:has(input:checked), .rent-extra:has(select option:not([value="0"]):checked) { border-color: rgba(230, 181, 102, .6); }
.rent-extra-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(230, 181, 102, .1); color: var(--gold); font-size: 22px; }
.rent-extra-text { display: flex; flex-direction: column; min-width: 0; }
.rent-extra-text strong { font-size: 15px; }
.rent-extra-price { font-size: 13px; font-weight: 700; color: var(--gold); }
.rent-extra-text small { font-size: 12px; color: var(--w60); }
.rent-add { position: relative; cursor: pointer; }
.rent-add input { position: absolute; opacity: 0; pointer-events: none; }
.rent-add-off, .rent-add-on { display: inline-flex; align-items: center; gap: 4px; min-height: 38px; padding: 0 14px; border: 1px solid var(--gold); border-radius: 999px; font-size: 13px; font-weight: 800; }
.rent-add-off { color: var(--gold); }
.rent-add-on { display: none; background: var(--gold); color: var(--ink); }
.rent-add input:checked ~ .rent-add-off { display: none; }
.rent-add input:checked ~ .rent-add-on { display: inline-flex; }
.rent-add input:focus-visible ~ span { outline: 2px solid var(--gold); outline-offset: 2px; }
.rent-add .material-symbols-outlined { font-size: 17px; }
.rent-qty select { min-height: 38px; padding: 0 30px 0 12px; border: 1px solid var(--w40); border-radius: 999px; background: var(--ink-2); color: var(--white); font: inherit; font-size: 13px; font-weight: 700; }
.rent-qty select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 181, 102, .3); }
.rent-extras-link { display: flex; align-items: center; gap: 8px; margin: 4px 0 6px; padding: 10px 12px; border: 1px dashed var(--w40); border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--w90); }
.rent-extras-link .material-symbols-outlined { font-size: 18px; color: var(--gold); }
.rent-extras-link .material-symbols-outlined:last-child { margin-left: auto; color: var(--w40); }
.rent-extras-link:hover { border-color: var(--gold); }

@media (max-width: 1024px) {
    .rent-layout { grid-template-columns: 1fr; gap: 16px; }
    .rent-filters { position: static; display: flex; flex-wrap: wrap; gap: 0 22px; padding: 14px 16px; }
    .rent-filters form { display: contents; }
    .rf-head { flex: 1 1 100%; }
    .rf-group { flex: 1 1 160px; }
    .rent-card { grid-template-columns: 220px minmax(0, 1fr); }
    .rent-card-price { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; border-left: 0; border-top: 1px solid var(--w10); }
    .rent-card-price .rent-select { margin-left: auto; }
}

@media (max-width: 720px) {
    .rent-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rent-steps li:nth-child(3) { border-left: 0; }
    .rent-steps li:nth-child(n + 3) { border-top: 1px solid var(--w10); }
    .rent-card { grid-template-columns: 1fr; }
    .rent-card-img { min-height: 0; aspect-ratio: 16 / 9; }
    .rent-card-price .rent-price { flex: 1 1 40%; }
    .rent-card-price .rent-select { flex: 1 1 100%; }
    .rent-results-head h2 { font-size: 20px; }
    .rf-group { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .rf-group legend { width: 100%; }
    .rf-group .check { padding: 5px 10px; border: 1px solid var(--w10); border-radius: 999px; font-size: 13px; }
    .rf-group .check:has(input:checked) { border-color: var(--gold); }
    .rf-group .check input { width: 16px; height: 16px; margin: 0; }
    .rf-count { margin-left: 2px; }
    .rent-extra { grid-template-columns: 36px minmax(0, 1fr); }
    .rent-extra > label { grid-column: 2; justify-self: start; }
    /* iPhone 16 px altı yazılı alana dokununca sayfayı yakınlaştırır */
    .rent-sort select, .rent-qty select { font-size: 16px; }
}
