/* FastStore üst bar sticky (akışta) — standart checkout-page-main offset'i çift boşluk yapar */
body.fs-body .checkout-page-main {
    padding-top: 12px;
    scroll-margin-top: 8px;
}

body.fs-body .fs-payment-result {
    padding-top: 12px;
}

.fs-checkout {
    max-width: 100%;
    margin: 0 auto;
}

.fs-checkout .max-w-6xl {
    max-width: 560px;
}

.fs-checkout .grid.lg\:grid-cols-5 {
    grid-template-columns: 1fr;
}

.fs-checkout .lg\:col-span-2,
.fs-checkout .lg\:col-span-3 {
    grid-column: span 1 / span 1;
}

@media (min-width: 1024px) {
    .fs-checkout .max-w-6xl {
        max-width: 72rem;
    }

    .fs-checkout .grid.lg\:grid-cols-5 {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2rem;
    }

    .fs-checkout .lg\:col-span-3 {
        grid-column: span 3 / span 3;
    }

    .fs-checkout .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .fs-checkout .fs-checkout-steps {
        margin-bottom: 2rem;
        padding: 18px 28px 14px;
    }

    .fs-checkout-steps__track {
        min-width: 64px;
        max-width: 220px;
    }

    .fs-checkout .checkout-step-panel section,
    .fs-checkout .checkout-step-panel.fs-checkout-panel {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .fs-checkout .checkout-step-panel section:first-of-type,
    .fs-checkout #checkoutStep1.checkout-step-panel {
        padding-top: 2rem;
    }

    .fs-checkout .checkout-step-panel .px-5.sm\:px-6 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .fs-checkout input[type="text"],
    .fs-checkout input[type="email"],
    .fs-checkout input[type="tel"],
    .fs-checkout select,
    .fs-checkout textarea {
        min-height: 50px;
        font-size: 15px;
    }
}

.fs-checkout-assurance {
    margin-top: 1.25rem;
    padding: 14px 16px;
    border: 1px solid var(--fs-border, #e5e7eb);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
    text-align: center;
}

.fs-checkout-assurance__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1e3a8a;
}

.fs-checkout-assurance__head .ui-icon svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.fs-checkout-assurance__pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fs-checkout-assurance__pay-img {
    display: block;
    height: 20px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    opacity: 0.92;
}

@media (min-width: 1024px) {
    .fs-checkout-assurance {
        margin-top: 1rem;
        padding: 16px 20px;
    }

    .fs-checkout-assurance__head {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .fs-checkout-assurance__pay-img {
        height: 22px;
    }
}

/* Geniş logo (iyzico ile Öde): tam satır, orantılı ve tam renk */
.fs-checkout-assurance__pay-wide { flex-basis: 100%; display: flex; justify-content: center; }
.fs-checkout-assurance__pay-img.fs-checkout-assurance__pay-img--wide { height: 30px; max-width: 100%; opacity: 1; }

/* Ödeme adım çubuğu */
.fs-checkout-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.75rem;
    padding: 14px 12px 10px;
    list-style: none;
    scroll-margin-top: 72px;
    border: 1px solid var(--fs-border, #e5e7eb);
    border-radius: 14px;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.fs-checkout-steps__step {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 2px 4px 12px;
    border: 0;
    background: transparent;
    cursor: default;
    text-align: center;
}

.fs-checkout-steps__step.is-clickable {
    cursor: pointer;
}

.fs-checkout-steps__step.is-clickable:hover .fs-checkout-steps__label {
    color: #111827;
}

.fs-checkout-steps__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.fs-checkout-steps__badge .ui-icon svg {
    width: 13px;
    height: 13px;
}

.fs-checkout-steps__label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #9ca3af;
    white-space: nowrap;
    transition: color 0.22s ease, font-weight 0.22s ease;
}

.fs-checkout-steps__step::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: transparent;
    transition: background 0.24s ease, box-shadow 0.24s ease;
}

.fs-checkout-steps__step.is-upcoming .fs-checkout-steps__badge {
    border: 2px solid #d1d5db;
    background: #fff;
    color: #9ca3af;
}

.fs-checkout-steps__step.is-upcoming .fs-checkout-steps__label {
    color: #9ca3af;
    font-weight: 500;
}

.fs-checkout-steps__step.is-active .fs-checkout-steps__badge {
    border: 2px solid #1e3a8a;
    background: #1e3a8a;
    color: #fff;
    box-shadow: 0 0 0 4px rgb(30 58 138 / 0.12), 0 4px 14px -4px rgb(30 58 138 / 0.45);
}

.fs-checkout-steps__step.is-active .fs-checkout-steps__label {
    color: #111827;
    font-weight: 800;
}

.fs-checkout-steps__step.is-active::after {
    background: linear-gradient(90deg, #1e3a8a 0%, #312e81 100%);
    box-shadow: 0 0 10px rgb(30 58 138 / 0.35);
}

.fs-checkout-steps__step.is-done .fs-checkout-steps__badge {
    border: 2px solid #1e3a8a;
    background: #1e3a8a;
    color: #fff;
}

.fs-checkout-steps__step.is-done .fs-checkout-steps__label {
    color: #374151;
    font-weight: 700;
}

.fs-checkout-steps__track {
    position: relative;
    flex: 1 1 0;
    min-width: 28px;
    max-width: 120px;
    height: 3px;
    margin-top: 14px;
    padding: 0;
    list-style: none;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.fs-checkout-steps__track-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1e3a8a 0%, #4338ca 100%);
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.fs-checkout-steps__track.is-done .fs-checkout-steps__track-fill {
    width: 100%;
}

@media (min-width: 640px) {
    .fs-checkout-steps {
        padding: 16px 20px 12px;
    }

    .fs-checkout-steps__badge {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .fs-checkout-steps__label {
        font-size: 13px;
    }

    .fs-checkout-steps__track {
        min-width: 48px;
        max-width: 180px;
        margin-top: 16px;
    }
}

.fs-checkout-panel {
    background: #fff;
    border: 1px solid var(--fs-border, #e5e7eb);
    border-radius: var(--fs-radius, 12px);
    padding: 16px;
    margin-bottom: 12px;
}

.fs-checkout-panel h2 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 12px;
}

.fs-checkout-summary {
    background: #f9fafb;
    border-radius: var(--fs-radius, 12px);
    padding: 14px;
    margin-top: 12px;
}

.fs-checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.fs-checkout-summary-row--total {
    font-size: 16px;
    font-weight: 800;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.fs-checkout .payment-option {
    min-height: 52px;
    border-radius: 10px;
    border: 1px solid var(--fs-border, #e5e7eb);
    padding: 12px;
    margin-bottom: 8px;
    cursor: pointer;
}

.fs-checkout .payment-option.is-selected {
    border-color: #111827;
    background: #f9fafb;
}

.fs-cart-line {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.fs-cart-line:last-child {
    border-bottom: 0;
}

.fs-cart-line__img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    background: #f3f4f6;
}

.fs-cart-line__name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

.fs-cart-total-bar {
    position: sticky;
    bottom: calc(var(--fs-bottom-nav-h, 64px) + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--fs-border, #e5e7eb);
    padding: 12px;
    margin: 16px -12px 0;
}

.fs-checkout input[type="text"],
.fs-checkout input[type="email"],
.fs-checkout input[type="tel"],
.fs-checkout input[type="number"],
.fs-checkout input[type="password"],
.fs-checkout select,
.fs-checkout textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--fs-border, #e5e7eb);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fs-checkout input:focus,
.fs-checkout select:focus,
.fs-checkout textarea:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgb(17 24 39 / 0.08);
}

.fs-checkout label,
.fs-checkout .checkout-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.fs-checkout .bg-indigo-600,
.fs-checkout button.bg-indigo-600,
.fs-checkout a.bg-indigo-600 {
    background-color: var(--fs-accent, #111827) !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.fs-checkout .hover\:bg-indigo-700:hover,
.fs-checkout button.bg-indigo-600:hover {
    background-color: var(--fs-accent-hover, #374151) !important;
}
