/* ============================================
   SİPARİŞ SAYFASI STİLLERİ
   ============================================ */

.siparis-hero {
    background: var(--bg-dark);
    padding: 100px 5% 40px;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}

.siparis-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.siparis-hero p {
    color: #ccc;
    font-size: 15px;
}

.siparis-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* İKİ SÜTUNLU DÜZEN - SAĞ TARAF GENİŞLETİLDİ */
.siparis-layout {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 30px;
    align-items: start;
}

/* SOL - FORM */
.siparis-form-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* SAĞ - ÖZET (GENİŞLETİLDİ) */
.siparis-summary-side {
    position: sticky;
    top: 100px;
    min-width: 420px;
}

/* GİRİŞ SEÇENEKLERİ */
.auth-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.auth-option-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-option-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.auth-option-card i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 15px;
}

.auth-option-card h3 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.auth-option-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.btn-guest {
    background: var(--gold);
    color: var(--text-dark);
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-guest:hover {
    background: var(--gold-hover);
    color: #fff;
}

/* SİPARİŞ KARTI */
.siparis-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.siparis-card h2 {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.siparis-card h2 i {
    color: var(--gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

/* ============ KARGO SEÇENEĞİ ============ */
.shipping-method-group {
    margin-bottom: 20px;
}

.shipping-method-options {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.shipping-method-btn {
    flex: 1;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.shipping-method-btn input {
    display: none;
}

.shipping-method-btn span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-gray);
}

.shipping-method-btn span i {
    margin-right: 8px;
}

.shipping-method-btn:hover {
    border-color: var(--gold-light);
    background: #FFF8E7;
}

.shipping-method-btn.selected {
    border-color: var(--gold);
    background: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.shipping-method-btn.selected span {
    color: var(--gold-dark);
}

.store-pickup-info {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 10px;
    padding: 16px 18px;
    color: #2e7d32;
}

.store-pickup-info p {
    margin: 0;
    font-size: 14px;
}

/* ============ SAĞ - SİPARİŞ ÖZETİ ============ */
.summary-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.summary-card h2 {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-card h2 i {
    color: var(--gold);
}

.siparis-items {
    margin-bottom: 20px;
    max-height: 350px;
    overflow-y: auto;
}

.siparis-items::-webkit-scrollbar {
    width: 4px;
}

.siparis-items::-webkit-scrollbar-track {
    background: var(--bg-body);
    border-radius: 10px;
}

.siparis-items::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

/* ============ SİPARİŞ ÖĞESİ ============ */
.siparis-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 10px;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.siparis-item:hover {
    border-color: var(--gold);
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.1);
}

.siparis-item img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--bg-cream);
}

.siparis-item-info {
    flex: 1;
    min-width: 0;
}

.siparis-item-info span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

.siparis-item-info small {
    font-size: 11px;
    color: var(--text-gray);
    display: block;
}

.siparis-item-info .design-details {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
    font-weight: 500;
    word-break: break-word;
}

.siparis-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.siparis-item-price {
    font-weight: 900;
    font-size: 14px;
    color: var(--gold-dark);
    min-width: 80px;
    text-align: right;
}

.siparis-btns {
    display: flex;
    gap: 6px;
}

.btn-edit-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-edit-item:hover {
    background: var(--gold-hover);
    color: #fff;
    transform: scale(1.05);
}

.btn-remove-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ff4444;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-remove-item:hover {
    background: #cc0000;
    transform: scale(1.05);
}

/* ============ KARGO BİLGİSİ ============ */
.kargo-info {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
}

.kargo-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
}

.kargo-info-item span:first-child {
    color: var(--text-gray);
}

.kargo-info-item span:last-child {
    font-weight: 800;
    color: var(--text-dark);
}

.kargo-free {
    color: #15a015 !important;
    font-weight: 900 !important;
}

/* ============ KARGO NOTE ============ */
.kargo-note {
    background: var(--gold-light);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 8px;
    border-left: 3px solid var(--gold);
}

.kargo-note span {
    font-size: 12px !important;
    color: var(--text-dark) !important;
    line-height: 1.5;
}

/* ============ TOPLAM ============ */
.summary-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 900;
    padding-top: 15px;
    border-top: 2px solid var(--gold);
    margin-bottom: 20px;
}

.summary-total-row span:last-child {
    font-size: 24px;
    color: var(--gold-dark);
}

/* ============ GÜVEN ROZETLERİ ============ */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.trust-badge {
    background: var(--bg-cream);
    border: 1px solid var(--gold-light);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-gray);
}

.trust-badge i {
    color: var(--gold);
    font-size: 18px;
    display: block;
    margin-bottom: 6px;
}

/* ============ ÖDEME BUTONU ============ */
.btn-odeme {
    background: var(--gold);
    color: var(--text-dark);
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-odeme:hover {
    background: var(--gold-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

/* ============ ALIŞVERİŞE DEVAM ET ============ */
.btn-back-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-white);
}

.btn-back-shop:hover {
    color: var(--gold-dark);
    border-color: var(--gold);
    background: var(--gold-light);
    transform: translateX(-3px);
}

/* ============ İNDİRİM BİLGİSİ ============ */
.discount-info {
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 15px;
}

.discount-info.applied {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.discount-info.not-applied {
    background: #fff3cd;
    border: 1px solid #ffc107;
}

.discount-info-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.discount-info-item:first-child {
    font-size: 15px;
    font-weight: 700;
}

.discount-info-item:last-child {
    font-size: 12px;
    color: #888;
}

.discount-info.not-applied .discount-info-item:first-child {
    color: #856404;
}

.discount-info.not-applied .discount-info-item:last-child {
    color: #856404;
}

.discount-info.not-applied .discount-info-item:last-child strong {
    color: #b8860b;
}
/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .siparis-layout {
        grid-template-columns: 1fr 420px;
    }
    
    .siparis-summary-side {
        min-width: 320px;
    }
}

@media (max-width: 992px) {
    .siparis-layout {
        grid-template-columns: 1fr;
    }
    
    .siparis-summary-side {
        min-width: auto;
        position: relative;
        top: 0;
    }
    
    .shipping-method-options {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .siparis-hero {
        padding: 80px 5% 30px;
    }
    
    .siparis-hero h1 {
        font-size: 24px;
    }
    
    .siparis-container {
        padding: 20px 15px 60px;
    }
    
    .siparis-card {
        padding: 18px;
    }
    
    .summary-card {
        padding: 18px;
    }
    
    .siparis-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .siparis-item-info {
        flex: 1 1 100%;
        order: 2;
    }
    
    .siparis-item-actions {
        flex: 1 1 100%;
        justify-content: space-between;
        order: 3;
        padding-top: 8px;
        border-top: 1px solid var(--border-color);
    }
    
    .siparis-item-price {
        min-width: auto;
        font-size: 16px;
    }
    
    .siparis-item img {
        width: 45px;
        height: 45px;
        order: 1;
    }
    
    .btn-edit-item,
    .btn-remove-item {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .auth-options {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .shipping-method-btn {
        padding: 12px 10px;
    }
    
    .shipping-method-btn span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .siparis-hero h1 {
        font-size: 20px;
    }
    
    .siparis-card {
        padding: 14px;
    }
    
    .summary-card {
        padding: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .summary-total-row span:last-child {
        font-size: 18px;
    }
    
    .btn-odeme {
        padding: 14px 20px;
        font-size: 12px;
    }
}

/* ============ YASAL ONAY KUTULARI ============ */
.legal-checkboxes {
    margin: 20px 0;
    padding: 18px;
    background: var(--bg-cream);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-checkbox {
    margin-bottom: 12px;
}

.legal-checkbox:last-child {
    margin-bottom: 0;
}

.legal-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-gray);
}

.legal-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}

/* ============ LİNKLER - MAVİ VE ALTIN ÇİZGİLİ ============ */
.legal-checkbox a {
    color: #0066cc !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.legal-checkbox a:hover {
    color: #004499 !important;
    text-decoration: underline !important;
}

/* ============ MOBİL ============ */
@media (max-width: 768px) {
    .legal-checkboxes {
        padding: 14px;
    }
    
    .legal-checkbox label {
        font-size: 12px;
    }
    
    .legal-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }
}