/* Vrege siparis hunisi — site markasiyla ayni dil.
   Huni kendi bakir paletini tasiyordu (#c8792a); sepet sarisi (#facc15) ve
   slate (#1e293b) ile birlikte tek akista 4 ayri CTA rengi olusuyordu.
   Hepsi tailwind.config.js'teki primary olceginе baglandi. */

.order-funnel,
.cart-funnel-page {
    --funnel-accent: #4f46e5;        /* primary-600 */
    --funnel-accent-dark: #4338ca;   /* primary-700 */
    --funnel-accent-muted: #eef2ff;  /* primary-50  */
    --funnel-primary: #4f46e5;       /* --forge-primary hicbir yerde tanimli degil, fallback indigo-500'e dusuyordu */
    --funnel-ink: #0c1222;
    --funnel-surface: #f7f5f2;
    --funnel-border: #ddd8d0;
}

.order-funnel {
    background: var(--funnel-surface);
    min-height: 60vh;
    padding: 2rem 0 4rem;
}

.order-funnel__title {
    font-family: 'Plus Jakarta Sans', 'IBM Plex Sans', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.order-funnel__subtitle {
    color: #64748b;
    margin-bottom: 1.75rem;
}

.order-funnel__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

.funnel-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.funnel-steps__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: none;
}

.funnel-steps__item.is-active {
    color: #0f172a;
    font-weight: 700;
}

.funnel-steps__item.is-active .funnel-steps__num {
    background: var(--funnel-accent);
    color: #fff;
    border-color: var(--funnel-accent);
}

.funnel-steps__item.is-done {
    color: #059669;
}

.funnel-steps__item.is-done .funnel-steps__num {
    background: #ecfdf5;
    color: #059669;
    border-color: #6ee7b7;
}

.funnel-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.funnel-steps__line {
    width: 1.5rem;
    height: 2px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.cart-funnel-page {
    background: var(--funnel-surface);
    min-height: 70vh;
    padding: 2rem 0 4rem;
}

.cart-funnel-page .order-funnel__grid {
    grid-template-columns: 1fr minmax(300px, 360px);
    max-width: 1100px;
    margin: 0 auto;
}

.cart-domain-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 0.65rem 0.85rem;
    background: #fffbeb;   /* amber-50  — .forge-alert-warning ile ayni */
    border: 1px solid #fde68a; /* amber-200 */
    border-radius: 8px;
    font-size: 0.82rem;
}

.cart-extras-step {
    max-width: 720px;
    margin: 0 auto;
}

.cart-extras-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.cart-extras-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-extras-card--required {
    border-color: #f0c675;
    background: #fffdf7;
}

/* Tek sayfadaki kucuk secim kutulari (SSL gibi 3'lu gruplar) */
.extras-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.75rem 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;   /* 14px kartin icinde yuvalanmis — olcekteki bir kucuk adim */
    background: #fff;
}

.extras-tile__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
}

.extras-tile__price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #15803d;
}

.extras-tile__price small {
    font-weight: 500;
    color: #64748b;
}

@media (max-height: 860px), (max-width: 767.98px) {
    .cart-funnel-page {
        padding: 1rem 0 1.5rem;
        min-height: 0;
    }
    .order-funnel__title {
        font-size: 1.25rem;
    }
    .order-funnel__subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    .cart-extras-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    .extras-tile {
        padding: 0.6rem 0.45rem;
    }
    .cart-extras-nav {
        margin-top: 0.75rem;
    }
}

.cart-extras-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .cart-funnel-page .order-funnel__grid {
        grid-template-columns: 1fr;
    }
    .funnel-steps__label {
        display: none;
    }
}

.cycle-picker {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cycle-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cycle-row:hover {
    border-color: #cbd5e1;
}

.cycle-row.selected {
    border-color: var(--funnel-accent);
    box-shadow: 0 0 0 1px var(--funnel-accent);
    background: rgba(79, 70, 229, 0.04);
}

.cycle-row input[type="radio"] {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--funnel-accent);
    flex-shrink: 0;
}

.cycle-row__body {
    flex: 1;
    min-width: 0;
}

.cycle-row__title {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}

.cycle-row__desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.cycle-row__badge {
    text-align: center;
    min-width: 90px;
}

.cycle-row__discount {
    color: #059669;
    font-weight: 700;
    font-size: 0.85rem;
}

.cycle-row__savings {
    font-size: 0.75rem;
    color: #059669;
}

.cycle-row__price {
    text-align: right;
    min-width: 120px;
}

.cycle-row__price-old {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.8rem;
}

.cycle-row__price-new {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.1rem;
}

.cycle-row__price-period {
    font-size: 0.75rem;
    color: #64748b;
}

.config-section {
    margin-top: 2rem;
}

.config-section__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.config-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s;
    position: relative;
}

.config-card.selected {
    border-color: var(--funnel-accent);
    background: var(--funnel-accent-muted);
}

.config-card__radio {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    accent-color: var(--funnel-accent);
}

.config-card__name {
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.config-card__price {
    color: var(--funnel-accent-dark);
    font-weight: 700;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.config-card select {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.25rem;
}

.order-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    position: sticky;
    top: 1.25rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.order-summary-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
}

.order-summary-card__line {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    color: #475569;
}

.order-summary-card__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.order-summary-card__total-label {
    font-weight: 700;
    color: #1e293b;
}

.order-summary-card__total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.btn-funnel-cta {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    background: var(--funnel-accent);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-funnel-cta:hover {
    background: var(--funnel-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.domain-option {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: #fff;
}

.domain-option--highlight {
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.domain-option__title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.domain-search-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.domain-search-row input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
}

.domain-search-row button {
    background: var(--funnel-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}

.offer-box {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    text-align: center;
    padding: 2rem;
}

.offer-box__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 1rem auto;
}

.offer-skip {
    display: inline-block;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

.cart-natro-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-natro-table th {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cart-natro-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.cart-natro-table .product-name {
    font-weight: 700;
    color: #0f172a;
}

.cart-natro-table .edit-link {
    font-size: 0.8rem;
    color: #3b82f6;
}

/* .btn-cart-pay kaldirildi: sepet CTA'si artik .btn-funnel-cta kullaniyor. */


/* Huni icindeki bootstrap .card shim'i (rounded-lg = 8px) huninin kendi
   kartlariyla (14px) yan yana farkli kosede duruyordu — ayni olcege cekildi. */
.order-funnel .card,
.cart-funnel-page .card {
    border-radius: 14px;
    overflow: hidden;
}
