/* ================================================
   Evle Ayakkabılık - Inline Styles (Extracted)
   ================================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.main-content {
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 0;
}

@media (min-width: 810px) {
    .main-content {
        border-radius: 12px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Content Blocks */
._cb {
    display: block;
    line-height: 0;
    position: relative;
}

._cb a {
    display: block;
    cursor: pointer;
}

.contentimg {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

/* Lazy Loading Placeholder */
.contentimg[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Lite YouTube Embed - Facade Pattern */
.lite-youtube {
    cursor: pointer;
}

.lite-youtube-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.lite-youtube:hover .lite-youtube-poster {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.lite-youtube.activated {
    cursor: default;
}

.lite-youtube.activated .lite-youtube-poster {
    display: none;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-3px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Sipariş Bölümü Highlight */
#siparis {
    scroll-margin-top: 20px;
}

/* Loading Animation for images */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Clickable image hover effect */
a ._cb .contentimg,
._cb a .contentimg {
    transition: transform 0.2s ease, filter 0.2s ease;
}

a:hover ._cb .contentimg,
._cb a:hover .contentimg {
    filter: brightness(1.05);
}

/* ================================================
   Sipariş Formu Stilleri
   ================================================ */
.order-section {
    padding: 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.order-loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.order-form {
    max-width: 100%;
}

/* Form Steps */
.form-step {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-header h3 {
    margin: 0;
    font-size: 20px;
    color: #1a1a2e;
    font-weight: 600;
}

/* Pricing Tiers */
.pricing-tiers {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.pricing-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-tier.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
}

.pricing-tier.best-deal {
    position: relative;
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.pricing-tier.best-deal::before {
    content: 'EN AVANTAJLI';
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.tier-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tier-label {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a2e;
}

.tier-shipping {
    font-size: 13px;
    color: #10b981;
    font-weight: 500;
}

.tier-price {
    text-align: right;
}

.tier-price .price {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.tier-price .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    display: block;
}

.tier-price .discount-badge {
    display: block;
    margin-top: 6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
}

/* Color Selection */
.color-selection {
    margin-bottom: 20px;
}

.color-selection h4 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 16px;
    font-weight: 600;
}

.color-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-item:hover {
    border-color: #e0e0e0;
}

.color-item.has-quantity {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.color-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Yeni Renk Seçim Sistemi */
.color-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 600px) {
    .color-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.color-option {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    border: 3px solid #e8e8e8;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.color-option:hover {
    border-color: #c0c0c0;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.color-option.selected {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.25);
}

.color-option.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
}

.color-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

/* Görsel veya renk alanı - 200x400 oranına uygun (1:2) */
.color-swatch-large {
    width: 100%;
    aspect-ratio: 1 / 2;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.color-swatch-image {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.color-swatch-color {
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-option .color-label {
    text-align: center;
    padding: 14px 12px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.color-option .color-name {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a2e;
    display: block;
    margin-bottom: 4px;
}

.color-option .color-stock {
    font-size: 12px;
    color: #888;
}

.color-option .color-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.color-option.selected .color-check {
    display: flex;
}

.color-option.selected .color-label {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

/* Seçilen Renk Bilgisi */
.selected-color-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.selected-color-display .color-swatch {
    width: 36px;
    height: 36px;
}

/* Adet Seçim Bölümü */
.quantity-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px 0;
}

.quantity-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 16px 32px;
    border-radius: 16px;
}

.quantity-selector .qty-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.quantity-selector .qty-value {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    min-width: 60px;
    text-align: center;
}

/* Tıklanabilir fiyat kademeleri */
.pricing-tier.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tier.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.color-name {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a2e;
}

.color-stock {
    font-size: 13px;
    color: #666;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #667eea;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-value {
    width: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

/* Cart Summary */
.cart-summary {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 2px solid #667eea;
    margin-top: 20px;
}

.summary-header h4 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #1a1a2e;
}

.cart-items {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #666;
}

.total-row.savings {
    color: #10b981;
    font-weight: 600;
}

.total-row.grand-total {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    padding-top: 12px;
    border-top: 2px solid #e0e0e0;
    margin-top: 8px;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    gap: 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #e0e0e0;
}

.payment-method.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.payment-desc {
    font-size: 13px;
    color: #666;
}

.payment-check {
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: transparent;
}

.payment-method.selected .payment-check {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.form-navigation {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    flex: 1;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Order Summary */
.order-summary {
    margin-top: 20px;
}

.summary-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #667eea;
}

.summary-box h4 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #1a1a2e;
}

/* Order Success */
.order-success {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.order-success h3 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.order-success p {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

#order-code {
    color: #667eea;
    font-size: 20px;
}

/* Sözleşme Checkbox */
.agreement-group {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.agreement-group > label {
    display: block !important;
    margin-bottom: 0 !important;
}

.agreement-checkbox {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.agreement-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.agreement-checkbox .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    border: 2px solid #d0d0d0;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-top: 1px;
    background: #fff;
}

.agreement-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.agreement-checkbox input:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.agreement-checkbox .agreement-text {
    color: #444;
    flex: 1;
}

.agreement-checkbox .agreement-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.agreement-checkbox .agreement-text a:hover {
    text-decoration: underline;
}

.agreement-checkbox.error {
    animation: shake 0.5s ease;
}

.agreement-checkbox.error .checkmark {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.agreement-checkbox.error .agreement-text {
    color: #dc2626;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Sözleşme Popup Modal */
.agreement-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.agreement-modal-overlay.active {
    display: flex;
}

.agreement-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.agreement-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
}

.agreement-modal-header h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin: 0;
}

.agreement-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s;
}

.agreement-modal-close:hover {
    background: #e0e0e0;
    color: #333;
}

.agreement-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.agreement-modal-body h1,
.agreement-modal-body h2,
.agreement-modal-body h3 {
    color: #1a1a2e;
    margin: 20px 0 12px;
}

.agreement-modal-body h1 { font-size: 22px; }
.agreement-modal-body h2 { font-size: 18px; }
.agreement-modal-body h3 { font-size: 16px; }

.agreement-modal-body p {
    margin-bottom: 12px;
}

.agreement-modal-body ul,
.agreement-modal-body ol {
    margin: 12px 0;
    padding-left: 24px;
}

.agreement-modal-body li {
    margin-bottom: 8px;
}

.agreement-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e8e8e8;
    text-align: right;
}

.agreement-modal-footer button {
    padding: 12px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.agreement-modal-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.agreement-loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

/* Error Message */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-indicator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-indicator-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-indicator-label {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    transition: all 0.3s ease;
}

.step-indicator-item.active .step-indicator-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.step-indicator-item.active .step-indicator-label {
    color: #667eea;
}

.step-indicator-item.completed .step-indicator-number {
    background: #10b981;
    color: #fff;
}

.step-indicator-item.completed .step-indicator-number::after {
    content: '✓';
    font-size: 20px;
}

.step-indicator-item.completed .step-indicator-number {
    font-size: 0;
}

.step-indicator-item.completed .step-indicator-label {
    color: #10b981;
}

.step-indicator-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin: 0 12px;
    margin-bottom: 28px;
    max-width: 60px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.step-indicator-item.completed + .step-indicator-line,
.step-indicator-item.active + .step-indicator-line {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@media (max-width: 400px) {
    .step-indicator-label {
        font-size: 11px;
    }
    .step-indicator-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .step-indicator-line {
        max-width: 30px;
        margin: 0 8px;
    }
}

/* Mini Cart Summary for Steps 2-3 */
.mini-cart-summary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.mini-cart-summary h5 {
    font-size: 14px;
    color: #667eea;
    margin: 0 0 12px;
    font-weight: 600;
}

.mini-cart-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.mini-cart-item .color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    color: #1a1a2e;
    padding-top: 12px;
    border-top: 1px dashed rgba(102, 126, 234, 0.3);
}

/* Bank Info Box */
.bank-info-box {
    margin-top: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bank-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #0ea5e9;
}

.bank-icon {
    font-size: 28px;
}

.bank-info-header h4 {
    margin: 0;
    font-size: 18px;
    color: #0369a1;
}

.bank-info-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bank-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bank-label {
    font-weight: 600;
    color: #0369a1;
    min-width: 110px;
    font-size: 14px;
}

.bank-value {
    color: #1e3a5f;
    font-weight: 500;
}

.iban-row {
    flex-direction: column;
    gap: 8px;
}

.iban-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bank-iban {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 600;
    color: #1e3a5f;
    letter-spacing: 1px;
    border: 2px dashed #0ea5e9;
    user-select: all;
    word-break: break-all;
}

.copy-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.copy-btn:active {
    transform: scale(0.98);
}

.bank-note {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #64748b;
    border-left: 3px solid #0ea5e9;
}

.copy-success {
    margin-top: 12px;
    background: #10b981;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    animation: fadeInOut 2s ease forwards;
}

.bank-info-note {
    margin-top: 16px;
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-5px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; }
    100% { opacity: 0; }
}

/* Success Page Bank Info */
.success-bank-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.success-bank-header {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px dashed #93c5fd;
    text-align: center;
}

.success-bank-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.success-bank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.success-bank-row .label {
    font-weight: 600;
    color: #1e40af;
    font-size: 14px;
    min-width: 100px;
}

.success-bank-row .value {
    color: #1e3a8a;
    font-weight: 500;
}

.success-bank-row .amount {
    font-size: 18px;
    color: #059669;
}

.copyable-value {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.iban-code {
    background: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #1e3a8a;
    letter-spacing: 0.5px;
    border: 1px solid #93c5fd;
}

.copy-btn-small {
    background: #3b82f6;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn-small:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.success-bank-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: #92400e;
    text-align: center;
    margin-top: 8px;
}

.copy-success-inline {
    background: #10b981;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    margin-top: 12px;
    animation: fadeInOut 1.5s ease forwards;
}

@media (max-width: 480px) {
    .success-bank-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .copyable-value {
        width: 100%;
        justify-content: space-between;
    }
    
    .iban-code {
        font-size: 11px;
        padding: 6px 8px;
    }
}

/* ================================================
   Custom Alert - Bootstrap Tarzı Uyarı Sistemi
   ================================================ */
.custom-alert {
    margin: 0 0 16px 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-alert.show {
    opacity: 1;
    max-height: 200px;
}

.custom-alert-content {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    animation: alertPulse 0.5s ease;
}

@keyframes alertPulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.custom-alert-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.custom-alert-message {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.custom-alert-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.custom-alert-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Danger / Hata */
.custom-alert-danger .custom-alert-content {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #f87171;
    color: #991b1b;
}

.custom-alert-danger .custom-alert-close {
    color: #991b1b;
}

/* Success / Başarı */
.custom-alert-success .custom-alert-content {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #34d399;
    color: #065f46;
}

.custom-alert-success .custom-alert-close {
    color: #065f46;
}

/* Info / Bilgi */
.custom-alert-info .custom-alert-content {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #60a5fa;
    color: #1e40af;
}

.custom-alert-info .custom-alert-close {
    color: #1e40af;
}

/* Warning / Uyarı */
.custom-alert-warning .custom-alert-content {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    color: #92400e;
}

.custom-alert-warning .custom-alert-close {
    color: #92400e;
}

/* Mobil Responsive */
@media (max-width: 480px) {
    .custom-alert-content {
        padding: 14px 16px;
        border-radius: 10px;
    }
    
    .custom-alert-icon {
        font-size: 20px;
    }
    
    .custom-alert-message {
        font-size: 14px;
    }
}

