/* Genel yapı */
.dic-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 32px;
    margin: 40px 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dic-steps-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
}

.dic-order-summary {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.dic-order-summary-inner {
    background: #0f172a;
    color: #f9fafb;
    border-radius: 16px;
    padding: 20px 20px 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.45);
}

/* Boş sepet */
.dic-empty-cart {
    padding: 40px 24px;
    text-align: center;
    background: #f9fafb;
    border-radius: 16px;
    border: 1px dashed #d1d5db;
}

/* Stepper */
.dic-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.dic-stepper::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, #e5e7eb, #e5e7eb);
    z-index: 0;
}

.dic-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.dic-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 14px;
    font-weight: 600;
    background: #e5e7eb;
    color: #4b5563;
    transition: all 0.2s ease;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.0);
}

.dic-step-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Aktif step */
.dic-step-active .dic-step-circle {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.dic-step-active .dic-step-label {
    color: #111827;
}

/* Tamamlanan step */
.dic-step-completed .dic-step-circle {
    background: #22c55e;
    color: #ffffff;
}

.dic-step-completed .dic-step-label {
    color: #16a34a;
}

/* Paneller */
.dic-step-panel {
    display: none;
}

.dic-step-panel-active {
    display: block;
}

.dic-panel-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.dic-panel-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Grid yapıları */
.dic-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.dic-grid-2-gap {
    margin-top: 8px;
}

.dic-full-width {
    grid-column: 1 / -1;
}

/* Woo form alanları override */
.dic-form .form-row {
    margin-bottom: 12px;
}

.dic-form .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 6px;
}

.dic-form .input-text,
.dic-form select,
.dic-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 9px 11px;
    font-size: 13px;
    color: #111827;
    background: #f9fafb;
    transition: all 0.15s ease;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.02);
}

.dic-form .input-text:focus,
.dic-form select:focus,
.dic-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4);
    background: #ffffff;
}

.dic-form .dic-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35) !important;
}

/* Kargo kutusu */
.dic-shipping-box {
    margin-top: 8px;
    padding: 14px 14px 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.dic-shipping-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.dic-shipping-desc {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}

.dic-shipping-summary {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 6px;
    margin-bottom: 6px;
}

.dic-shipping-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.dic-shipping-label {
    color: #4b5563;
}

.dic-shipping-value {
    font-weight: 600;
    color: #111827;
}

.dic-shipping-note {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

/* Sipariş özeti (sol) */
.dic-review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 20px;
    margin-top: 12px;
}

.dic-review-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.dic-review-billing {
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 12px;
    font-size: 13px;
}

.dic-review-line {
    margin-bottom: 4px;
    color: #374151;
}

.dic-review-line strong {
    font-weight: 600;
    margin-right: 4px;
}

.dic-review-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 10px;
    line-height: 1.5;
}

/* IBAN kutusu */
.dic-iban-box {
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.08), rgba(15, 23, 42, 0.02));
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 12px 12px 10px;
    font-size: 13px;
}

.dic-iban-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.dic-iban-desc {
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 10px;
}

.dic-iban-account {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.03);
    margin-bottom: 6px;
}

.dic-iban-account p {
    margin: 0 0 2px;
    font-size: 12px;
}

.dic-iban-row span {
    font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Siparişi Tamamla butonu */
.dic-place-order-box {
    margin-top: 12px;
}

.dic-place-order-btn {
    width: 100%;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #6366f1, #ec4899) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 11px 16px !important;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.35);
    transition: all 0.15s ease;
    text-transform: none !important;
}

.dic-place-order-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.45);
    opacity: 0.98;
}

.dic-place-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

/* Step nav butonları */
.dic-nav-buttons {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.dic-btn {
    border-radius: 999px;
    border: none;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dic-btn-next {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.dic-btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.45);
}

.dic-btn-prev {
    background: #e5e7eb;
    color: #111827;
}

.dic-btn-prev:hover {
    background: #d1d5db;
}

/* Sepet özeti (sağ panel) */
.dic-summary-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.dic-summary-items {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 12px;
}

.dic-summary-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.dic-summary-item:last-child {
    border-bottom: none;
}

.dic-summary-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: #020617;
}

.dic-summary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dic-summary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dic-summary-name {
    font-size: 13px;
    color: #e5e7eb;
    font-weight: 500;
    text-decoration: none;
}

.dic-summary-name:hover {
    text-decoration: underline;
}

.dic-summary-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    font-size: 11px;
    color: #9ca3af;
}

.dic-summary-price {
    font-weight: 600;
    color: #f3f4f6;
}

/* Toplamlar */
.dic-summary-totals {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 10px;
    margin-top: 6px;
    font-size: 13px;
}

.dic-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.dic-summary-total span:last-child {
    font-weight: 700;
}

.dic-summary-note {
    margin-top: 8px;
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .dic-wrapper {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
        gap: 20px;
    }

    .dic-steps-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .dic-wrapper {
        grid-template-columns: 1fr;
    }

    .dic-order-summary {
        position: static;
        margin-top: 20px;
    }

    .dic-review-grid {
        grid-template-columns: 1fr;
    }

    .dic-grid-2 {
        grid-template-columns: 1fr;
    }

    .dic-stepper {
        gap: 4px;
    }

    .dic-step-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .dic-steps-container {
        padding: 16px;
        border-radius: 12px;
    }

    .dic-order-summary-inner {
        border-radius: 12px;
    }

    .dic-summary-thumb {
        width: 52px;
        height: 52px;
    }
}
/* Ödeme Yöntemleri */
.dic-payment-methods {
    margin: 20px 0;
}

.dic-payment-option {
    margin-bottom: 15px;
}

.dic-payment-option input[type="radio"] {
    display: none;
}

.dic-payment-label {
    display: flex;
    align-items: center;
    padding: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.dic-payment-label:hover {
    border-color: #666;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dic-payment-option input[type="radio"]:checked + .dic-payment-label {
    border-color: #2c3e50;
    background: #f8f9fa;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.dic-payment-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 8px;
    margin-right: 15px;
    color: #555;
    transition: all 0.3s ease;
}

.dic-payment-option input[type="radio"]:checked + .dic-payment-label .dic-payment-icon {
    background: #2c3e50;
    color: #fff;
}

.dic-payment-info {
    display: flex;
    flex-direction: column;
}

.dic-payment-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.dic-payment-desc {
    font-size: 13px;
    color: #777;
}

.dic-no-payment {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    text-align: center;
}

.dic-iban-details,
.dic-cod-details {
    margin-top: 25px;
    animation: fadeInDown 0.3s ease;
}

.dic-cod-box {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.dic-cod-desc {
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.6;
}

.dic-cod-desc:first-child {
    margin-top: 0;
}

.dic-cod-desc strong {
    color: #333;
    display: block;
    margin-bottom: 4px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .dic-payment-label {
        padding: 15px;
    }
    
    .dic-payment-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .dic-payment-title {
        font-size: 15px;
    }
    
    .dic-payment-desc {
        font-size: 12px;
    }
}

