/* ═══════════════════════════════════════
   HIZLI SİPARİŞ — dokuzgen-siparis / hizlisiparis
════════════════════════════════════════ */

.dg-co {
    width: min(1040px, calc(100% - 28px));
    margin: 0 auto;
    padding: 1.1rem 0 2.4rem;
}

.dg-co-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 1.15rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.dg-co-steps::-webkit-scrollbar { display: none; }
.dg-co-step {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex: 1 0 auto;
    min-width: 0;
    color: var(--dg-muted);
    font-size: .74rem;
    font-weight: 700;
}
.dg-co-step i,
.dg-co-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: .72rem;
    background: #e2e8f0;
    color: #475569;
}
.dg-co-step.done { color: #047857; }
.dg-co-step.done .dg-co-dot,
.dg-co-step.done i {
    background: #d1fae5;
    color: #047857;
}
.dg-co-step.active { color: var(--dg-indigo); }
.dg-co-step.active .dg-co-dot,
.dg-co-step.active i {
    background: var(--dg-indigo);
    color: #fff;
}
.dg-co-line {
    flex: 1 1 18px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 .4rem;
    min-width: 12px;
}
.dg-co-step.done + .dg-co-line { background: #a7f3d0; }

.dg-co-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 1.25rem 1.2rem 1.3rem;
    color: #fff;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(14, 165, 233, .35), transparent 46%),
        linear-gradient(145deg, #075e96 0%, #0b75bb 52%, #0ea5e9 140%);
    box-shadow: 0 16px 40px rgba(11, 117, 187, .22);
    margin-bottom: 1.15rem;
}
.dg-co-hero::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}
.dg-co-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    position: relative;
    z-index: 1;
}
.dg-co-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .9;
}
.dg-co-code {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}
.dg-co-hero h1 {
    margin: .55rem 0 .35rem;
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    letter-spacing: -.03em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}
.dg-co-hero-sub {
    margin: 0 0 1rem;
    font-size: .92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .86);
    position: relative;
    z-index: 1;
}
.dg-co-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.dg-co-price {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.dg-co-price small {
    font-size: .72rem;
    font-weight: 700;
    opacity: .8;
}
.dg-co-price strong {
    font-size: clamp(1.7rem, 6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}
.dg-co-price s {
    font-size: .88rem;
    opacity: .7;
    font-weight: 600;
}
.dg-co-to-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .72rem 1.05rem;
    border-radius: 12px;
    background: #fff;
    color: #075e96;
    font-weight: 800;
    font-size: .88rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
}
.dg-co-to-form:hover { color: #0b75bb; }

.dg-co-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 1rem 0 0;
    position: relative;
    z-index: 1;
}
.dg-co-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .76rem;
    font-weight: 700;
}

.dg-co-acc {
    margin-top: .9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    position: relative;
    z-index: 1;
}
.dg-co-acc + .dg-co-acc { margin-top: .5rem; }
.dg-co-acc summary {
    list-style: none;
    cursor: pointer;
    padding: .75rem .9rem;
    font-weight: 800;
    font-size: .86rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}
.dg-co-acc summary::-webkit-details-marker { display: none; }
.dg-co-acc summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .7rem;
    opacity: .8;
}
.dg-co-acc[open] summary::after { content: "\f077"; }
.dg-co-acc ul {
    margin: 0;
    padding: 0 .9rem .85rem 1.7rem;
    color: rgba(255, 255, 255, .92);
    font-size: .82rem;
    line-height: 1.55;
}
.dg-co-acc li + li { margin-top: .28rem; }

.dg-co-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin: 0 0 1.15rem;
}
.dg-co-guide-item {
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 14px;
    padding: .8rem .85rem;
    display: flex;
    gap: .65rem;
    align-items: flex-start;
}
.dg-co-guide-item i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--dg-soft);
    color: var(--dg-indigo);
    flex-shrink: 0;
}
.dg-co-guide-item strong {
    display: block;
    font-size: .82rem;
    margin-bottom: .15rem;
}
.dg-co-guide-item span {
    display: block;
    color: var(--dg-muted);
    font-size: .75rem;
    line-height: 1.4;
}

.dg-co-form {
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 20px;
    padding: 1.15rem 1.1rem 1.25rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
    scroll-margin-top: 1rem;
}
.dg-co-form-head {
    margin-bottom: 1rem;
}
.dg-co-form-head h2 {
    margin: 0 0 .3rem;
    font-size: 1.2rem;
    letter-spacing: -.02em;
}
.dg-co-form-head p {
    margin: 0;
    color: var(--dg-muted);
    font-size: .86rem;
    line-height: 1.5;
}

.dg-co-block {
    margin: 0 0 1rem;
    padding: 1rem .95rem .55rem;
    border: 1px solid var(--dg-line);
    border-radius: 16px;
    background: #f8fbff;
}
.dg-co-block h3 {
    margin: 0 0 .2rem;
    font-size: .98rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.dg-co-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--dg-indigo);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.dg-co-hint {
    margin: 0 0 .8rem;
    color: var(--dg-muted);
    font-size: .78rem;
    line-height: 1.45;
}

.dg-co-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
}
.dg-co-field { margin-bottom: .75rem; }
.dg-co-field label,
.dg-co-field .dg-co-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .32rem;
    color: var(--dg-muted);
}
.dg-co-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.dg-co-field input[type="text"],
.dg-co-field input[type="email"],
.dg-co-field input[type="tel"],
.dg-co-field textarea,
.dg-co-field .form-control {
    width: 100%;
    padding: .78rem .85rem;
    border-radius: 11px;
    border: 1px solid var(--dg-line);
    background: #fff;
    color: var(--dg-text);
    font-family: inherit;
    font-size: 1rem;
}
.dg-co-field input:focus {
    outline: none;
    border-color: var(--dg-indigo);
    box-shadow: 0 0 0 3px rgba(11, 117, 187, .12);
}
.dg-co-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: .7rem;
}
.dg-co-check span {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.dg-co-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dg-indigo);
    flex-shrink: 0;
}
.dg-co-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dg-indigo);
}

.dg-co-pay { display: flex; flex-direction: column; gap: .6rem; margin-bottom: .35rem; }
.dg-co-pay-opt {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    border: 1px solid var(--dg-line);
    border-radius: 14px;
    padding: .85rem .9rem;
    cursor: pointer;
    background: #fff;
}
.dg-co-pay-opt:has(input:checked) {
    border-color: var(--dg-indigo);
    background: #eef6ff;
    box-shadow: 0 0 0 3px rgba(11, 117, 187, .08);
}
.dg-co-pay-opt input { margin-top: .28rem; accent-color: var(--dg-indigo); }
.dg-co-pay-opt strong { display: block; font-size: .95rem; }
.dg-co-pay-opt small {
    display: block;
    color: var(--dg-muted);
    font-size: .78rem;
    line-height: 1.4;
    margin-top: .15rem;
}
.dg-pay-tutar { color: var(--dg-indigo); font-weight: 800; }

.dg-co-submit {
    width: 100%;
    margin-top: .35rem;
    min-height: 50px;
    font-size: 1rem;
}

.dg-co-landing,
.dg-co-error {
    max-width: 460px;
    margin: 1.5rem auto 2rem;
    background: #fff;
    border: 1px solid var(--dg-line);
    border-radius: 20px;
    padding: 1.35rem 1.2rem 1.4rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}
.dg-co-landing h2,
.dg-co-error h2 { margin: 0 0 .4rem; }
.dg-co-landing .dg-co-field { margin-top: .8rem; }
.dg-co-landing .dg-btn { width: 100%; margin-top: .4rem; min-height: 48px; }
.dg-co-error .dg-alert { margin-bottom: .9rem; }

.dg-co-sticky {
    display: none;
}

@media (max-width: 820px) {
    .dg-co { width: min(100% - 20px, 1040px); padding-bottom: calc(5.6rem + env(safe-area-inset-bottom)); }
    .dg-co-guide { grid-template-columns: 1fr; }
    .dg-co-row { grid-template-columns: 1fr; }
    .dg-co-hero { padding: 1.1rem 1rem 1.15rem; border-radius: 18px; }
    .dg-co-form { padding: 1rem .9rem 1.1rem; }
    .dg-co-price-row { align-items: stretch; }
    .dg-co-to-form { width: 100%; }
    .dg-co-step span { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .dg-co-sticky {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .8rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        border-top: 1px solid var(--dg-line);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
        backdrop-filter: blur(8px);
    }
    .dg-co-sticky small {
        display: block;
        font-size: .68rem;
        font-weight: 700;
        color: var(--dg-muted);
    }
    .dg-co-sticky strong {
        font-size: 1.15rem;
        color: var(--dg-indigo);
    }
    .dg-co-sticky .dg-btn { flex: 0 0 auto; min-width: 148px; }
    .dg-co-submit { display: none; }
}

@media (max-width: 420px) {
    .dg-co-step span { display: none; }
    .dg-co-line { flex-basis: 22px; }
}
