/* ======================================
   KURYE CAGIR PAGE STYLES
   ====================================== */

:root {
    --kurye-fixed-right: 24px;
    --kurye-assistant-bottom: 24px;
    --kurye-info-bottom: 108px;
    --kurye-scroll-bottom: 188px;
}

/* Section Icon */
.kurye-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kurye-section-icon-from {
    background: linear-gradient(135deg, #ffe8e8 0%, #ffd4d4 100%);
}

.kurye-section-icon-to {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

/* Form Styles */
.form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.2);
}

.form-control-lg {
    font-size: 1rem;
    padding: 0.7rem 1rem;
}

/* Validation */
.field-validation-error {
    color: #dc3545;
    font-size: 0.8rem;
}

.cursor-pointer {
    cursor: pointer;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.form-check-input:checked + div {
    font-weight: 500;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.was-validated .form-control:valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Flatpickr */
.date-time-input {
    position: relative;
    margin-bottom: 0.5rem;
}

.date-time-input .form-control {
    padding-left: 2.5rem;
    transition: all 0.2s ease;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    background-color: #fff;
}

.date-time-input .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.2);
}

.date-time-input .form-control.has-value {
    border-color: #198754;
    color: #198754;
    font-weight: 500;
}

.date-time-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    z-index: 4;
    font-size: 1.1rem;
}

.flatpickr-calendar {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-radius: 0.5rem !important;
    border: none !important;
    font-family: inherit !important;
}

.flatpickr-day.selected {
    background: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000 !important;
}

.flatpickr-day:hover {
    background: rgba(255, 193, 7, 0.15) !important;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
    background: rgba(255, 193, 7, 0.1) !important;
}

.flatpickr-months {
    padding-top: 0.5rem;
}

.flatpickr-current-month {
    font-size: 1.1rem !important;
    padding-top: 0 !important;
}

.flatpickr-monthDropdown-months {
    font-weight: 600 !important;
}

.flatpickr-disabled {
    background-color: #e9ecef !important;
    cursor: not-allowed;
    pointer-events: none;
}

.flatpickr-input {
    width: 50% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Card Hover */
.card {
    transition: all 0.2s ease;
}

/* Boxed Check Overrides */
.boxed-check-group .boxed-check .boxed-check-input:checked + .boxed-check-label {
    border-color: #ffc107;
    background: #fff8e1;
    font-weight: 600;
}

.boxed-check-group .boxed-check .boxed-check-input:not(:disabled) + .boxed-check-label:hover {
    border-color: #ffc107;
    background: #fffdf5;
}

.boxed-check-group .boxed-check .boxed-check-input:checked + .boxed-check-label::before {
    border-color: #ffc107;
}

.boxed-check-group .boxed-check .boxed-check-label {
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border: 2px solid #e5e5e5;
    transition: all 0.2s ease;
}

#deliveryOptionsContainer .list-group-item {
    border: 2px solid #e5e5e5;
    border-radius: 12px !important;
    padding: 16px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    background: #fff;
}

#priceList {
    scroll-margin-top: 96px;
}

#deliveryOptionsContainer .list-group-item:hover {
    border-color: #ffc107;
    background: #fffdf5;
}

#deliveryOptionsContainer .vat-option-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

#deliveryOptionsContainer .vat-option-name {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.3rem;
}

#deliveryOptionsContainer .vat-option-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    min-width: 160px;
    flex-shrink: 0;
}

#deliveryOptionsContainer .vat-option-breakdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

#deliveryOptionsContainer .vat-option-badge {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#deliveryOptionsContainer .vat-option-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #198754;
    line-height: 1.1;
}

#deliveryOptionsContainer .vat-option-original {
    display: inline-block;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

#deliveryOptionsContainer .vat-option-meta {
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.1;
}

#deliveryOptionsContainer .form-check-input:checked ~ .w-100 {
    font-weight: 500;
}

.kurye-extra-options {
    padding-top: 0.35rem;
}

.kurye-details-panel {
    border: 1px solid #dfe7f1;
    border-radius: 10px;
    background: #f8fafc;
    padding: 0.55rem;
    box-shadow: 0 10px 28px rgba(15, 35, 55, 0.06);
}

.kurye-contact-card {
    border: 1px solid #e8eef5;
    border-left: 3px solid #ffc107;
    border-radius: 8px;
    background: #fff;
    padding: 0.6rem 0.7rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 280px);
    gap: 0.7rem;
    align-items: center;
}

.kurye-contact-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0;
    min-width: 0;
}

.kurye-contact-head h6 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0d2338;
}

.kurye-contact-head small {
    display: block;
    margin-top: 0.1rem;
    color: #607086;
    font-size: 0.78rem;
    line-height: 1.25;
}

.kurye-contact-icon,
.kurye-extra-button-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kurye-contact-icon {
    color: #6a4b00;
    background: #fff4ce;
}

.kurye-contact-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 17px;
    border-radius: 999px;
    background: #0d2338;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.08rem 0.42rem;
    vertical-align: middle;
}

.kurye-contact-field {
    width: 100%;
}

.kurye-contact-input-wrap {
    position: relative;
}

.kurye-contact-input-wrap > i {
    position: absolute;
    left: 0.7rem;
    top: 0.45rem;
    color: #6a7a8c;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 2;
}

.kurye-contact-input-wrap .form-control {
    height: 36px;
    border-color: #d8e1ec;
    border-radius: 8px;
    padding-left: 2.05rem;
    font-weight: 700;
    color: #10263c;
    background: #fbfdff;
}

.kurye-contact-input-wrap .form-control:focus {
    border-color: #ffc107;
    background: #fff;
}

.kurye-extra-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-top: 0.5rem;
}

.kurye-extra-accordion .accordion-button {
    min-height: 46px;
    padding: 0.6rem 0.7rem;
    font-weight: 800;
    box-shadow: none;
}

.kurye-extra-button-content {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.kurye-extra-button-icon {
    color: #0d2338;
    background: #eef3f8;
}

.kurye-extra-button-title {
    display: block;
    color: #0d2338;
    font-size: 0.9rem;
    line-height: 1.15;
}

.kurye-extra-button-content small {
    display: block;
    color: #718096;
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.15;
}

.kurye-extra-accordion .accordion-body {
    padding: 0.65rem;
    background: #fbfdff;
}

.kurye-extra-accordion .accordion-button:not(.collapsed) {
    color: #0d2338;
    background: #fff;
}

.kurye-extra-accordion .accordion-button:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.2);
}

.kurye-extra-form-grid {
    display: grid;
    gap: 0.6rem;
}

.kurye-extra-card {
    border: 1px solid #e7edf5;
    border-radius: 9px;
    background: #fff;
    padding: 0.65rem;
}

.kurye-extra-card-muted {
    background: #f8fafc;
}

.kurye-extra-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.kurye-extra-card-head h6 {
    margin: 0;
    color: #10263c;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
}

.kurye-extra-card-head small {
    display: block;
    margin-top: 0.1rem;
    color: #75859a;
    font-size: 0.73rem;
    line-height: 1.25;
}

.kurye-extra-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    color: #6a4b00;
    background: #fff4ce;
}

.kurye-extra-card-icon-destination {
    color: #087332;
    background: #eaf8ef;
}

.kurye-additional-person-block {
    margin-top: 0.6rem;
}

.kurye-extra-options .invalid-feedback {
    font-size: 0.74rem;
}

.kurye-extra-options textarea {
    resize: vertical;
    min-height: 68px;
}

.kurye-extra-options .form-label {
    margin-bottom: 0.2rem;
    color: #41546a;
    font-weight: 700;
    font-size: 0.76rem;
}

.kurye-extra-options .form-control-sm {
    border-color: #d8e1ec;
    min-height: 34px;
}

.kurye-extra-options .date-time-input {
    margin-bottom: 0;
}

.kurye-extra-options .date-time-input .form-control {
    width: 100% !important;
    height: 34px;
    padding-left: 2.05rem;
}

.kurye-extra-options .date-time-icon {
    left: 0.7rem;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    #deliveryOptionsContainer .vat-option-topline {
        flex-direction: column;
        gap: 0.5rem;
    }

    #deliveryOptionsContainer .vat-option-price-wrap {
        align-items: flex-start;
        min-width: 0;
        width: 100%;
    }

    #deliveryOptionsContainer .vat-option-breakdown {
        align-items: flex-start;
    }

    .kurye-contact-card {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 0.65rem;
    }

    .kurye-extra-accordion .accordion-button {
        min-height: 44px;
        padding: 0.55rem 0.65rem;
    }

    .kurye-extra-accordion .accordion-body {
        padding: 0.55rem;
    }

    .kurye-extra-card {
        padding: 0.6rem;
    }

    .kurye-extra-card-head {
        margin-bottom: 0.45rem;
    }
}

/* CTA Buttons */
.fiyatClick {
    transition: all 0.3s ease;
}

.fiyatClick:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.kurye-hidden-block {
    display: none;
}

.kurye-address-results {
    z-index: 1055;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 4px;
    border-radius: .75rem;
    box-shadow: 0 12px 28px rgba(15, 35, 55, .14);
}

.kurye-address-results .list-group-item {
    padding: .75rem .9rem;
    font-size: .9rem;
}

.kurye-spinner-sm {
    width: 1rem;
    height: 1rem;
}

#finalContinueBtn {
    transition: all 0.3s ease;
}

#finalContinueBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.btn-reset-calculation {
    border-width: 2px;
    border-color: #adb5bd;
    color: #495057;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 0.25rem 0.75rem rgba(33, 37, 41, 0.08);
    transition: all 0.25s ease;
}

.btn-reset-calculation:hover,
.btn-reset-calculation:focus {
    border-color: #6c757d;
    color: #212529;
    background: linear-gradient(180deg, #ffffff 0%, #eef1f4 100%);
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.12);
}

.btn-reset-calculation:active {
    transform: translateY(0);
    box-shadow: 0 0.25rem 0.5rem rgba(33, 37, 41, 0.1);
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .kurye-section-icon {
        width: 40px;
        height: 40px;
    }

    .card-body {
        padding: 1rem !important;
    }

    .flatpickr-input {
        width: 100% !important;
    }

    .boxed-check-group .boxed-check .boxed-check-label {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Çoklu varış sekme scroll */
#varisTabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

#varisTabs::-webkit-scrollbar {
    display: none;
}

#varisTabs .nav-item {
    white-space: nowrap;
}

.remove-dest-tab {
    font-size: 0.55rem;
}

/* ======================================
   MAP PICKER
   ====================================== */

.map-select-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.map-select-row .form-label {
    margin-bottom: 0;
}

.map-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 193, 7, 0.8);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    color: #5b4700;
    background: #fff8df;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.map-select-btn:hover {
    color: #4a3900;
    background: #fff3bf;
    border-color: rgba(255, 193, 7, 1);
}

.map-select-status {
    display: none;
    margin-top: 0.55rem;
    border-radius: 0.8rem;
    padding: 0.55rem 0.8rem;
    color: #147747;
    background: #edf9f2;
    font-size: 0.8rem;
    font-weight: 600;
}

.map-select-status.show {
    display: block;
}

.kurye-map-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.kurye-map-modal.show {
    display: flex;
}

.kurye-map-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 25, 45, 0.6);
    backdrop-filter: blur(2px);
}

.kurye-map-dialog {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: calc(100vh - 2rem);
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 28px 70px rgba(8, 24, 39, 0.28);
}

.kurye-map-handle {
    display: none;
    justify-content: center;
    padding: 0.75rem 0 0;
    background: #fff;
}

.kurye-map-handle span {
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: #d4dde6;
}

.kurye-map-header,
.kurye-map-footer {
    padding: 1rem 1.25rem;
    background: #fff;
}

.kurye-map-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #eef2f6;
}

.kurye-map-header h5 {
    margin-bottom: 0.25rem;
}

.kurye-map-search {
    padding: 1rem 1.25rem 0.85rem;
    background: #fff;
}

.kurye-map-content {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.kurye-map-search-host {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    border: 1px solid #ccd6df;
    border-radius: 12px;
    padding: 0 10px;
    outline: none;
    font: inherit;
    background: #fff;
    overflow: visible;
    box-sizing: border-box;
}

.kurye-map-search-host input,
.kurye-map-search-host gmp-place-autocomplete,
.kurye-map-search-host gmp-place-autocomplete::part(input) {
    width: 100%;
    min-height: 44px;
    display: block;
}

.kurye-map-search-host gmp-place-autocomplete {
    flex: 1 1 auto;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    appearance: none;
}

.kurye-map-search-host gmp-place-autocomplete::part(input) {
    flex: 1 1 auto;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.kurye-map-search-host input {
    box-sizing: border-box;
    border: 0;
    outline: none;
    padding: 0 13px;
    font: inherit;
}

.kurye-map-results {
    min-height: 2.75rem;
    max-height: 230px;
    overflow-y: auto;
    margin: 0 1.25rem;
    border-radius: 0.85rem;
    padding: 0.75rem 0.95rem;
    color: #4d5d6c;
    background: #f5f7fa;
    font-size: 0.9rem;
    line-height: 1.45;
}

.kurye-map-results .map-search-result {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf1f4;
    padding: 0.75rem 0.85rem;
    color: #0b2239;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.kurye-map-results .map-search-result:last-child {
    border-bottom: 0;
}

.kurye-map-results .map-search-result:hover {
    background: #fff9e8;
}

.kurye-map-results .map-search-result-icon {
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #48586a;
    background: #eef2f5;
    font-size: 1rem;
    line-height: 1;
}

.kurye-map-results .map-search-result-content {
    min-width: 0;
    display: block;
    flex: 1 1 auto;
}

.kurye-map-results .map-search-result-title,
.kurye-map-results .map-search-result-subtitle {
    display: block;
}

.kurye-map-results .map-search-result-title {
    color: #0b2239;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.kurye-map-results .map-search-result-subtitle {
    margin-top: 0.15rem;
    color: #6b7b8c;
    font-size: 0.88rem;
    line-height: 1.4;
}

.kurye-map-results .map-search-message {
    color: #4d5d6c;
    font-size: 0.9rem;
}

.kurye-map-results.loading {
    color: #7a5d00;
    background: #fff8df;
}

.kurye-map-results.success {
    color: #147747;
    background: #edf9f2;
}

.kurye-map-results.error {
    color: #b42318;
    background: #fff1f2;
}

.kurye-map-results.warning {
    color: #8a4b0f;
    background: #fff4e5;
}

.kurye-map-canvas {
    min-height: 380px;
    margin: 0.9rem 1.25rem 1rem;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f9fb, #edf2f7);
}

.kurye-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #eef2f6;
    background: #fff;
}

.kurye-map-selected small {
    display: block;
    margin-bottom: 0.25rem;
    color: #66788b;
}

.kurye-map-selected strong {
    display: block;
    color: #0b2239;
    font-size: 0.95rem;
    line-height: 1.45;
}

body.kurye-map-open {
    overflow: hidden;
}

/* ======================================
   INFO WIDGET (Nasıl Çalışır?)
   ====================================== */

/* Widget kapsayıcı — panel için containing block görevi görür */
.kurye-info-widget {
    position: fixed;
    right: var(--kurye-fixed-right);
    bottom: var(--kurye-info-bottom);
    z-index: 9997;
    display: flex;
    justify-content: flex-end;
    width: min(100%, 320px);
    max-width: calc(100vw - (var(--kurye-fixed-right) * 2));
}

/* Toggle butonu — masaüstünde küçük, kompakt pill */
.kurye-info-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: #ffc107;
    border: none;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #212529;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    white-space: nowrap;
}

.kurye-info-toggle:hover {
    box-shadow: 0 5px 16px rgba(255, 193, 7, 0.45);
}

.kurye-info-toggle .bi-info-circle-fill {
    font-size: 0.95rem;
}

/* Panel — JS tarafından viewport-aware konumlanır (position:fixed) */
.kurye-info-panel {
    position: fixed;
    right: var(--kurye-fixed-right);
    bottom: calc(var(--kurye-info-bottom) + 52px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
    padding: 1rem;
    width: 280px;
    max-width: calc(100vw - (var(--kurye-fixed-right) * 2));
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 9998;
}

.kurye-info-panel.kurye-info-panel--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kurye-info-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.kurye-info-close {
    font-size: 0.7rem;
}

.kurye-info-steps {
    padding-left: 1.2rem;
    margin-bottom: 0;
    font-size: 0.82rem;
    line-height: 1.75;
    color: #495057;
}

.kurye-info-steps li {
    padding-left: 0.15rem;
}

.kurye-info-note {
    color: #6c757d;
}

/* Mobil: CTA bar (~64px) + gap üstünde konumlan */
@media (max-width: 991.98px) {
    :root {
        --kurye-fixed-right: 16px;
        --kurye-assistant-bottom: 78px;
        --kurye-info-bottom: 148px;
        --kurye-scroll-bottom: 220px;
    }

    .kurye-info-widget {
        right: var(--kurye-fixed-right);
        bottom: var(--kurye-info-bottom);
        width: auto;
        max-width: calc(100vw - (var(--kurye-fixed-right) * 2));
    }

    .kurye-info-toggle {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }

    .kurye-info-panel {
        right: var(--kurye-fixed-right);
        bottom: calc(var(--kurye-info-bottom) + 56px);
        width: min(300px, calc(100vw - (var(--kurye-fixed-right) * 2)));
        max-width: calc(100vw - (var(--kurye-fixed-right) * 2));
    }

    .btn-scroll-top {
        right: var(--kurye-fixed-right) !important;
        bottom: var(--kurye-scroll-bottom) !important;
    }
}

@media (max-width: 767.98px) {
    .map-select-row {
        align-items: stretch;
        flex-direction: column;
    }

    .map-select-btn {
        justify-content: center;
        width: 100%;
    }

    .kurye-map-modal {
        align-items: flex-end;
        padding: 0;
    }

    .kurye-map-dialog {
        width: 100%;
        max-height: 100dvh;
        height: 100dvh;
        border-radius: 1.35rem 1.35rem 0 0;
        box-shadow: 0 -18px 44px rgba(8, 24, 39, 0.22);
    }

    .kurye-map-handle {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 4;
    }

    .kurye-map-header,
    .kurye-map-search {
        position: sticky;
        z-index: 4;
        background: #fff;
    }

    .kurye-map-header {
        top: 0;
    }

    .kurye-map-search {
        top: 78px;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .kurye-map-footer {
        display: grid;
        grid-template-columns: 1fr;
        position: sticky;
        bottom: 0;
        z-index: 4;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -10px 24px rgba(8, 24, 39, 0.08);
    }

    .kurye-map-selected strong {
        font-size: 0.88rem;
        line-height: 1.5;
        white-space: normal;
    }

    .kurye-map-canvas {
        min-height: 0;
        height: auto;
    }

    .kurye-map-modal.is-searching .kurye-map-canvas {
        display: none;
    }

    .kurye-map-modal.is-searching .kurye-map-content {
        grid-template-rows: minmax(0, 1fr);
    }

    .kurye-map-modal.is-searching .kurye-map-results {
        min-height: clamp(220px, 40vh, 320px);
    }

    .kurye-map-modal.is-confirm-ready .kurye-map-canvas,
    .kurye-map-modal.is-map-selection .kurye-map-canvas {
        display: block;
    }

    .kurye-map-modal.is-confirm-ready .kurye-map-results,
    .kurye-map-modal.is-map-selection .kurye-map-results {
        min-height: 0;
    }

    :root {
        --kurye-info-bottom: 156px;
        --kurye-scroll-bottom: 232px;
    }

    .kurye-info-panel {
        width: min(280px, calc(100vw - (var(--kurye-fixed-right) * 2)));
    }
}

@media (max-width: 575.98px) {
    :root {
        --kurye-info-bottom: 150px;
        --kurye-scroll-bottom: 222px;
    }

    .kurye-info-toggle {
        width: 44px;
        height: 44px;
    }

    .kurye-info-panel {
        bottom: calc(var(--kurye-info-bottom) + 52px);
        width: calc(100vw - (var(--kurye-fixed-right) * 2));
        padding: 0.9rem;
    }
}
