/*
Theme Name: Dijital Sanal Drone 360
Author: Okan Meriç
Description: Dijital Sanal Drone 360 için özel tema.
Version: 1.0
*/

:root {
    --header-height: 80px;
    --footer-height-mobile: 100px;
    --footer-height-desktop: 70px;
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}
html {
    height: 100%;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7fc;
    color: #333;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
@keyframes gradient-shine {
    0% { background-position: 150% center; }
    100% { background-position: -150% center; }
}
.ai-button {
    background-color: #3b82f6;
    transition: all 0.3s ease;
    color: white;
}
.ai-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.ai-input, .ai-select, .ai-textarea {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #111827;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
}
.ai-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
}
.ai-label {
    display: block;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

#form-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#form-loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}
#form-loading-overlay .text-xl {
    color: #1f2937;
    text-align: center;
    padding: 0 1rem;
}
#form-loading-overlay .text-md {
    color: #6b7280;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.summary-item:last-child {
    border-bottom: none;
}
.summary-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 0.9rem;
}
.summary-value {
    color: #111827;
    text-align: right;
    font-size: 0.9rem;
}

.voice-option {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}
.voice-option.selected-voice {
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
    background-color: #f0f5ff;
}
.voice-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.voice-option-text {
    flex-grow: 1;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1f2937;
}
.play-pause-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.play-pause-button:hover {
    background-color: rgba(79, 70, 229, 0.1);
}
.play-pause-button svg {
    width: 24px;
    height: 24px;
    fill: #3b82f6;
}

.parcel-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.parcel-detail-item .ai-input {
    flex-grow: 1;
    margin-bottom: 0;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #111827;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}
.parcel-detail-item .ai-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}
.delete-button {
    background-color: #e24b4b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.delete-button:hover {
    background-color: #cc3333;
}
.add-detail-button {
    background-color: #3b82f6;
    transition: all 0.3s ease;
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}
.add-detail-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.6);
}

.file-input-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
}
.file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 8px;
    padding: 0;
}
.custom-file-upload {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.custom-file-upload:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.5);
}
.file-name-display {
    flex-grow: 1;
    color: #6b7280;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 0.5rem;
}
.image-preview {
    max-width: 120px;
    max-height: 120px;
    border-radius: 10px;
    object-fit: cover;
    margin-top: 1rem;
    border: 2px solid #4f46e5;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.2);
}
.multiple-image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.multiple-image-preview {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #4f46e5;
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.2);
}

#successMessage {
    background-color: #e0f2fe;
    color: #0c4a6e;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.search-container {
    position: relative;
    width: 100%;
}
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.search-result-item {
    padding: 0.75rem 1.25rem;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.search-result-item:hover, .search-result-item.selected {
    background-color: #4f46e5;
    color: #fff;
    font-weight: 600;
}

#backButton {
    background-color: transparent;
    border: 2px solid #d1d5db;
    color: #6b7280;
    padding: 0.75rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: none;
    visibility: hidden; /* Başlangıçta gizli */
}
#backButton:hover {
    border-color: #9ca3af;
    transform: translateX(-3px);
    box-shadow: none;
}
#backButton svg {
    width: 24px;
    height: 24px;
    stroke: #6b7280;
}

/* Yeni Modal CSS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.visible, .modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    position: relative;
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
    color: #374151;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.modal-overlay.visible .modal-content, .modal-overlay.open .modal-content {
    transform: translateY(0);
    opacity: 1;
}
body.modal-open {
    overflow: hidden;
}
.modal-close-button {
    background: linear-gradient(45deg, #8a2be2, #3b82f6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
#jsonHelpModal .modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
}
.modal-close-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    flex-grow: 1;
}

.form-area {
    flex: 1;
    min-width: 300px;
    overflow-y: auto;
    max-height: calc(100dvh - var(--header-height) - var(--footer-height-mobile) - 2rem);
    padding-bottom: var(--footer-height-mobile);
    box-sizing: border-box;
    scroll-padding-bottom: var(--footer-height-mobile);
}

.preview-container-right {
    flex-shrink: 0;
    width: 370px;
    height: 722px;
    background-color: transparent;
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    position: sticky;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#finalPreviewCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.color-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}
.color-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.color-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.color-box.selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}
.custom-color-input-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.custom-color-input-container .ai-input {
    flex-grow: 1;
    margin-bottom: 0;
}
.custom-color-input-container .ai-button {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    height: auto;
    margin-top: 0;
}

.form-footer-buttons {
    position: fixed; /* Butonları sabitler */
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent; /* Arka plan rengi kaldırıldı */
    padding: 1rem;
    padding-bottom: calc(1rem + var(--safe-area-bottom)); /* Güvenli alan boşluğu */
    box-shadow: none; /* Gölge kaldırıldı */
    z-index: 100;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--footer-height-mobile); /* Minimum yükseklik tanımlandı */
}
.form-footer-buttons button {
    flex: 1;
    margin: 0 0.5rem;
}

@media (min-width: 1024px) {
    .content-with-preview {
        flex-direction: row;
        align-items: flex-start;
    }
    .preview-container-right {
        position: sticky;
        top: 20px;
        margin-bottom: 0;
    }
    .form-area {
        max-height: none; /* Masaüstünde maksimum yüksekliği kaldır */
        overflow-y: visible; /* Masaüstünde kaydırma çubuğunu gizle */
        padding-bottom: 20px; /* Masaüstünde sabit footer yoksa daha az padding */
        scroll-padding-bottom: 20px;
    }
    .form-footer-buttons {
        position: relative; /* Masaüstünde altbilgiyi statik yap */
        box-shadow: none;
        border-radius: 0;
        padding-bottom: 1rem; /* Güvenli alan boşluğunu kaldır */
        min-height: auto; /* Minimum yüksekliği kaldır, içeriğine göre boyutlansın */
        justify-content: flex-end; /* Butonları sağa hizala */
        padding-top: 1rem; /* Üstten biraz boşluk bırak */
        margin-top: 2rem; /* Form içeriği ile butonlar arasına boşluk ekle */
    }
    .form-footer-buttons button {
        flex: none; /* Butonların eşit genişlikte yayılmasını engelle */
        margin-left: 0.75rem; /* Butonlar arasında boşluk bırak */
        margin-right: 0; /* Sağ kenar boşluğunu sıfırla */
    }
    .form-footer-buttons #prevButton {
        margin-left: auto; /* Geri butonunu sağa hizalı diğer butonlardan ayır */
    }
}

@media (max-width: 1023px) {
    .content-with-preview {
        flex-direction: column;
        align-items: center;
    }
    .preview-container-right {
        width: 100%;
        max-width: 370px;
        height: auto;
        aspect-ratio: 370 / 722;
        position: relative;
        top: auto;
        margin-bottom: 2rem; /* Önizleme ile form arasında boşluk */
        display: none; /* Mobil cihazlarda önizlemeyi gizle */
    }
    /* Özel renk kodu alanı için mobil düzeltme */
    .custom-color-input-container {
        flex-wrap: wrap; /* Öğelerin küçük ekranlarda alt alta geçmesini sağlar */
    }
    .custom-color-input-container .ai-input {
        flex-basis: 100%; /* Girişin tam genişliği almasını sağlar */
        margin-bottom: 0.5rem; /* Butonla arasında boşluk bırakır */
    }
    .custom-color-input-container .ai-button {
        flex-basis: 100%; /* Butonun tam genişliği almasını sağlar */
        margin-left: 0; /* Sol kenar boşluğunu sıfırlar */
    }
    /* Seslendirme Metni ve Parsel Detayları için kaydırma ve kelime kırma */
    #summaryAIDetails, #summaryVoiceover {
        white-space: pre-wrap; /* Metin formatını koru */
        overflow-wrap: break-word; /* Uzun kelimeleri kır */
        word-break: break-word; /* Herhangi bir yerde kelimeyi kır */
        font-size: 0.9rem; /* Mobil için yazı tipi boyutunu küçült */
    }
    .form-area p {
        color: #4b5563; /* Daha koyu gri */
        font-size: 0.95rem;
        line-height: 1.6;
    }
    #jsonDropZone {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2.5rem 1.5rem;
        border: 2px dashed #c7d2fe; /* Daha belirgin kesikli kenarlık */
        border-radius: 12px;
        background-color: #eef2ff; /* Daha canlı bir arka plan */
        cursor: pointer;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }
    #jsonDropZone.dragover {
        background-color: #e0e7ff;
        border-color: #6366f1;
    }
    #jsonDropZone p {
        color: #374151;
        font-weight: 600;
        margin-top: 0.5rem;
        margin-bottom: 0.25rem;
        font-size: 1.1rem;
    }
    #jsonDropZone span {
        color: #6b7280;
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    #jsonDropZone .ai-button {
        padding: 0.5rem 1.5rem;
    }
}

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    border: 2px dashed #c7d2fe;
    border-radius: 12px;
    background-color: #eef2ff;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
#jsonDropZone.dragover {
    background-color: #e0e7ff;
    border-color: #6366f1;
}
#jsonDropZone p {
    color: #374151;
    font-weight: 600; /* Daha kalın metin */
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}
#jsonDropZone span {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
#jsonDropZone .ai-button { /* Buton için özel stil */
    padding: 0.5rem 1.5rem;
}
/* Seslendirme Metni Textarea için min-height eklendi */
.ai-textarea {
    min-height: 20rem; /* Yaklaşık 20 satır yüksekliği */
}

/* ==========================================================================
   form-checkout.php
   ========================================================================== */

/* --- Bildirim Stilleri (Açık Tema) --- */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    list-style: none;
    margin-left: 0;
    border-left-width: 5px;
}
.woocommerce-error {
    background-color: #fff5f5 !important;
    border-color: #e53e3e !important;
    color: #c53030 !important;
}
.woocommerce-message {
    background-color: #f0fff4 !important;
    border-color: #38a169 !important;
    color: #2f855a !important;
}
.woocommerce-info {
    background-color: #ebf8ff !important;
    border: 1px solid #4299e1 !important;
    color: #2b6cb0 !important;
}

    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .checkout-form-container {
        grid-template-columns: 3fr 2fr;
    }
}

.checkout-section-box {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

#order_review_heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
    text-align: center;
}

.form-row {
    margin-bottom: 1.25rem;
}
.form-row label {
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}
#order_review .order-totals-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}
#order_review .order-totals-summary > div {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
}
#order_review .order-totals-summary > div span:first-child {
    color: #4b5563;
}
#order_review .order-totals-summary > div span:last-child {
    font-weight: 600;
    color: #111827;
}
#order_review .order-total {
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 2px solid #4f46e5;
}
#order_review .order-total span:first-child {
    font-size: 1.25rem;
    font-weight: 700;
}
#order_review .order-total .woocommerce-Price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: #4f46e5;
}

#payment .wc_payment_methods.payment_methods.methods {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
#payment .wc_payment_methods.payment_methods.methods li {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
#payment .wc_payment_methods.payment_methods.methods li:hover {
    border-color: #3b82f6;
}
#payment .wc_payment_methods.payment_methods.methods li.wc_payment_method input[type=radio]:checked+label {
    color: #3b82f6;
}
#payment .wc_payment_methods.payment_methods.methods li label {
    color: #374151;
    font-weight: 500;
    cursor: pointer;
}
#payment div.payment_box {
    background-color: #f4f7fc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1rem;
    color: #4b5563;
}
#payment div.form-row.place-order {
    margin-top: 2rem;
    text-align: center;
}

    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}
.meta-toggle-button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #3b82f6;
    transition: color 0.2s ease;
}
.meta-toggle-button:hover {
    color: #8a2be2;
}
.meta-toggle-button .toggle-icon {
    transition: transform 0.3s ease;
}
.meta-toggle-button.active .toggle-icon {
    transform: rotate(180deg);
}
.product-meta-content {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out;
    background-color: #f9fafb;
    border-radius: 8px;
    margin-top: 0.75rem;
    padding: 0 1.25rem;
}
.product-meta-content.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 1rem;
}
.product-meta-content dl {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1rem;
}
.product-meta-content dt {
    font-weight: 600;
    color: #374151;
}
.product-meta-content dd {
    margin-left: 0;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

    background: linear-gradient(145deg, #f9fafb, #eef2ff) !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-top: 1rem !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}
.payment_method_bacs .payment_box::before {
    content: '🏦';
    position: absolute;
    top: -20px;
    right: -15px;
    font-size: 6rem;
    opacity: 0.08;
    transform: rotate(-15deg);
}
.payment_method_bacs .payment_box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}
.woocommerce-bacs-bank-details-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}
.wc-bacs-bank-details {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.wc-bacs-bank-details li {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 1rem;
    background-color: #ffffff;
}
.wc-bacs-bank-details li:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}
.wc-bacs-bank-details li strong {
    font-weight: 600;
    color: #4b5563;
}
.wc-bacs-bank-details .iban, .wc-bacs-bank-details .account_number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.iban-copy-button {
    background-color: #eef2ff;
    color: #4f46e5;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.iban-copy-button:hover {
    background-color: #4f46e5;
    color: #ffffff;
}
#payment .place-order {
    margin-top: 2rem;
}
#payment .place-order .ai-button {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    text-align: center;
}

    display: none !important;
}

    display: none !important;
}

    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: left;
}
.woocommerce-terms-and-conditions-wrapper .form-row {
    margin: 0;
}
.woocommerce-terms-and-conditions-wrapper label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #4b5563;
}
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"]:checked {
    background-color: #4f46e5;
    border-color: #4f46e5;
}
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"]:checked::before {
    content: '✓';
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.woocommerce-terms-and-conditions-checkbox-text {
    line-height: 1.5;
}
.woocommerce-terms-and-conditions-checkbox-text a {
    color: #4f46e5;
    text-decoration: underline;
    font-weight: 600;
}
.woocommerce-terms-and-conditions-checkbox-text a:hover {
    color: #3730a3;
}

    background: transparent !important;
}

    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 8px;
    border: 1px dashed #a5b4fc;
    background-color: #eef2ff !important;
    color: #4338ca !important;
    border-left-width: 1px;
}
.woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none;
}
.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-style: dotted;
}
.checkout_coupon.woocommerce-form-coupon {
    margin-bottom: 2rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-color: #f9fafb;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.checkout_coupon.woocommerce-form-coupon p {
    margin: 0;
    flex-grow: 1;
}
.checkout_coupon.woocommerce-form-coupon .form-row-first {
    width: 100%;
    flex-grow: 1;
}
.checkout_coupon.woocommerce-form-coupon #coupon_code {
    min-width: 200px;
}
.checkout_coupon.woocommerce-form-coupon .button {
    background-color: #3b82f6 !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    white-space: nowrap;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease; /* Geçiş efekti eklendi */
}
.checkout_coupon.woocommerce-form-coupon .button:hover {
    filter: brightness(1.1); /* Üzerine gelince hafif parlaklık efekti */
    transform: translateY(-1px);
    color: white !important; /* Yazı renginin üzerine yazılmasını engelle */
}

/* ==========================================================================
   functions.php
   ========================================================================== */
.dsd360-hide-field {
    display: none !important;
}

/* ==========================================================================
   header.php
   ========================================================================== */

/* Kaydırıldığında yapışkan başlık için özel stiller */
.header-scrolled {
    /* Tailwind sınıfları: sabit konum, tam genişlik, z-index, yarı saydam beyaz arka plan, arka plan bulanıklığı ve gölge */
    @apply fixed top-0 left-0 w-full z-50 bg-white/80 backdrop-blur-lg shadow-md transition-all duration-300 ease-in-out;
}

/* Mobil menü kaplaması için özel stiller */
.mobile-menu-overlay {
    /* Tam ekran kaplaması, arka plan, bulanıklık, z-index, esnek düzen ve geçişler için Tailwind sınıflarını uygular */
    position: fixed;
    inset: 0;
    background-color: rgba(244, 247, 252, 0.95); /* bg-[#f4f7fc]/95 */
    backdrop-filter: blur(8px); /* backdrop-blur-md */
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    display: block;
    width: 100%;
    height: 3px;
    background-color: #3b82f6;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:n-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

    animation: button-pulse-glow 3s infinite ease-in-out;
}

@keyframes button-pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.4), 0 0 5px rgba(138, 43, 226, 0.3), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.6), 0 0 10px rgba(138, 43, 226, 0.5), 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    }
}

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}
.post-card-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}
.read-more-btn {
    background: linear-gradient(45deg, #8a2be2, #3b82f6);
    transition: all 0.3s ease;
    color: white;
}
.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.ai-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%;
    height: 0;
    overflow: hidden;
    background-color: #e0e7ff;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
}
.ai-card:hover .video-placeholder {
    transform: scale(1.05);
}
.video-placeholder:hover .play-button {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.play-button {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.play-button svg {
    fill: #ffffff;
    width: 32px;
    height: 32px;
    margin-left: 4px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.ai-card:hover .card-info {
    transform: translateY(0);
}
.card-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.card-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.instagram-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(59, 130, 246, 0.15), 0 0 15px rgba(138, 43, 226, 0.1);
}
.instagram-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    box-shadow: 0 8px 16px rgba(214, 41, 118, 0.3);
}
.instagram-icon-wrapper svg {
    width: 48px;
    height: 48px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .cart-container {
        grid-template-columns: 2fr 1fr;
    }
}

    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border: 1px solid #e5e7eb;
}
.cart-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.product-remove a.remove {
    color: #9ca3af;
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    transition: all 0.3s ease;
}
.product-remove a.remove:hover {
    color: #ef4444;
    transform: scale(1.2);
}

    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    position: sticky;
    top: 2rem;
}
.cart_totals .shop_table {
    width: 100%;
    border: none;
}
.cart_totals .shop_table th,
.cart_totals .shop_table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}
.cart_totals .shop_table tr:last-child th,
.cart_totals .shop_table tr:last-child td {
    border-bottom: none;
}
.cart_totals .shop_table .order-total th,
.cart_totals .shop_table .order-total td {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    padding-top: 1rem;
    border-top: 2px solid #4f46e5;
}
.cart_totals .shop_table .order-total td .woocommerce-Price-amount {
    color: #4f46e5;
}

    font-size: 1.125rem;
    line-height: 1.75;
}
.post-content h2 { 
    font-size: 2rem;
    font-weight: 700; 
    margin-top: 2.5rem; 
    margin-bottom: 1rem; 
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}
.post-content h3 { 
    font-size: 1.5rem;
    font-weight: 600; 
    margin-top: 2rem; 
    margin-bottom: 0.75rem; 
    color: #1f2937; 
}
.post-content p { 
    margin-bottom: 1.5rem; 
    color: #4b5563; 
}
.post-content a { 
    color: #3b82f6; 
    text-decoration: none;
    border-bottom: 1px solid #93c5fd;
    transition: all 0.2s ease;
}
.post-content a:hover {
    background-color: #dbeafe;
}
.post-content ul, .post-content ol { 
    list-style-position: inside;
    margin-left: 1rem; 
    margin-bottom: 1.5rem; 
}
.post-content li { 
    margin-bottom: 0.75rem; 
}
.post-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}
.post-content img {
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

    position: sticky;
    top: 2rem;
}
    background-color: #fff; 
    border-radius: 12px; 
    padding: 1.5rem; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    border: 1px solid #e5e7eb;
}

    background-color: transparent;
    border: 2px solid #d1d5db;
    color: #6b7280;
    transition: all 0.3s ease;
}
.secondary-button:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
    color: #374151;
    transform: translateY(-2px);
}

    word-break: break-word;
    overflow-wrap: break-word;
}
.product-meta-content dl {
    margin: 0;
    padding: 0;
}
.product-meta-content dt {
    font-weight: 600;
    margin-top: 0.5rem;
}
.product-meta-content dd {
    margin-left: 0;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

/* ==========================================================================
   Header Badge
   ========================================================================== */
.kurumsal-uye-header-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #6d28d9, #4f46e5);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    margin-right: 1rem;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   WooCommerce Checkout - Bildirim Mesajları Optimizasyonu
   ========================================================================== */

/* Bildirim gruplarını stabil hale getir */
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-updateOrderReview {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem 0 !important;
    padding: 0;
    transition: all 0.3s ease-in-out;
    will-change: transform, opacity;
}

/* Bildirim mesajlarını kompakt yap */
.woocommerce-NoticeGroup .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-error {
    font-size: 0.9rem !important;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Başarı mesajı (yeşil) */
.woocommerce-message {
    background-color: #d1fae5 !important;
    border-left: 4px solid #10b981 !important;
    color: #065f46 !important;
}

/* Bilgi mesajı (mavi) */
.woocommerce-info {
    background-color: #dbeafe !important;
    border-left: 4px solid #3b82f6 !important;
    color: #1e40af !important;
}

/* Hata mesajı (kırmızı) */
.woocommerce-error {
    background-color: #fee2e2 !important;
    border-left: 4px solid #ef4444 !important;
    color: #991b1b !important;
}

/* Checkout sayfası için özel düzenlemeler */
.woocommerce-checkout .woocommerce-NoticeGroup {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    z-index: 100;
    background: transparent;
    padding: 0;
}

/* Sepet güncellendiğinde smooth geçiş */
.woocommerce-checkout-review-order-table {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.processing .woocommerce-checkout-review-order-table {
    opacity: 0.6;
    pointer-events: none;
}

/* Bildirim içeriğini düzenle */
.woocommerce-NoticeGroup .woocommerce-message::before,
.woocommerce-NoticeGroup .woocommerce-info::before,
.woocommerce-NoticeGroup .woocommerce-error::before {
    display: none; /* WooCommerce varsayılan ikonları gizle */
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .woocommerce-NoticeGroup .woocommerce-message,
    .woocommerce-NoticeGroup .woocommerce-info,
    .woocommerce-NoticeGroup .woocommerce-error {
        font-size: 0.85rem !important;
        padding: 0.6rem 0.8rem !important;
    }

    .woocommerce-checkout .woocommerce-NoticeGroup {
        position: relative;
        top: auto;
        margin-bottom: 1rem !important;
    }
}

/* Layout shift önleme - minimum yükseklik */
.woocommerce-NoticeGroup:empty {
    display: none;
    margin: 0 !important;
}

/* Animasyon efektleri */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woocommerce-NoticeGroup .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-error {
    animation: slideInDown 0.3s ease-out;
}

/* ==========================================================================
   WooCommerce Checkout - Genel Sayfa Stabilizasyonu
   ========================================================================== */

/* Checkout formunu stabil tut */
.woocommerce-checkout {
    position: relative;
    min-height: 400px;
}

/* Checkout alanlarını grid ile düzenle */
.woocommerce-checkout-review-order {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

/* Sepet tablosunu stabil tut */
.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    text-align: left;
}

.woocommerce-checkout-review-order-table td {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Sipariş toplamı vurgusu */
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    border-top: 2px solid #3b82f6;
    padding-top: 1rem;
}

/* Ödeme yöntemi seçimi */
.woocommerce-checkout-payment {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.woocommerce-checkout-payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout-payment .payment_methods li {
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.woocommerce-checkout-payment .payment_methods li.payment_method_selected,
.woocommerce-checkout-payment .payment_methods li:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* Ödeme butonu */
#place_order {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8a2be2, #3b82f6);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

#place_order:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Fatura alanları düzeni */
.woocommerce-billing-fields,
.woocommerce-shipping-fields {
    margin-bottom: 1.5rem;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Form alanları */
.woocommerce-checkout .form-row {
    margin-bottom: 1rem;
}

.woocommerce-checkout .form-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Yükleme durumu */
.blockUI.blockOverlay {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(4px);
}

.blockUI.blockMsg {
    border: none !important;
    background: #fff !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .woocommerce-checkout-review-order {
        padding: 1rem;
    }

    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }

    .woocommerce-checkout-review-order-table .order-total th,
    .woocommerce-checkout-review-order-table .order-total td {
        font-size: 1rem;
    }

    #place_order {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ==========================================================================
   WooCommerce Sepet - Stabilizasyon
   ========================================================================== */

/* Sepet tablosunu stabil tut */
.woocommerce-cart-form {
    position: relative;
    transition: opacity 0.2s ease;
}

.woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woocommerce-cart-form__contents thead {
    background: #f9fafb;
}

.woocommerce-cart-form__contents th {
    padding: 1rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}

.woocommerce-cart-form__contents td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

/* Ürün görseli */
.woocommerce-cart-form__contents .product-thumbnail img {
    max-width: 80px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ürün adı */
.woocommerce-cart-form__contents .product-name a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-cart-form__contents .product-name a:hover {
    color: #3b82f6;
}

/* Fiyat */
.woocommerce-cart-form__contents .product-price,
.woocommerce-cart-form__contents .product-subtotal {
    font-weight: 600;
    color: #111827;
}

/* Miktar inputu */
.woocommerce-cart-form__contents .quantity input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
}

/* Kaldır butonu */
.woocommerce-cart-form__contents .product-remove a {
    color: #ef4444 !important;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.woocommerce-cart-form__contents .product-remove a:hover {
    color: #dc2626 !important;
    transform: scale(1.2);
}

/* Sepet güncellendiğinde smooth geçiş */
.woocommerce-cart-form.processing {
    opacity: 0.6;
    pointer-events: none;
}

/* Sepet toplamı kutusu */
.cart-collaterals {
    margin-top: 2rem;
}

.cart_totals {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart_totals h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.cart_totals table {
    width: 100%;
    margin-bottom: 1rem;
}

.cart_totals th,
.cart_totals td {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.cart_totals th {
    font-weight: 600;
    color: #374151;
    text-align: left;
}

.cart_totals td {
    text-align: right;
    color: #111827;
    font-weight: 600;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    border-top: 2px solid #3b82f6;
    padding-top: 1rem;
    border-bottom: none;
}

/* Ödemeye geç butonu */
.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8a2be2, #3b82f6);
    color: white !important;
    text-align: center;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Sepet güncellemesi butonları */
.actions button[name="update_cart"],
.actions button[name="apply_coupon"] {
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.actions button[name="update_cart"]:hover,
.actions button[name="apply_coupon"]:hover {
    background: #3b82f6;
    color: #fff;
}

/* Kupon kodu inputu */
.coupon input[name="coupon_code"] {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-right: 0.5rem;
    font-size: 0.95rem;
}

/* Mobil responsive - Sepet */
@media (max-width: 768px) {
    .woocommerce-cart-form__contents {
        font-size: 0.85rem;
    }

    .woocommerce-cart-form__contents th,
    .woocommerce-cart-form__contents td {
        padding: 0.5rem;
    }

    .woocommerce-cart-form__contents .product-thumbnail img {
        max-width: 60px;
    }

    .woocommerce-cart-form__contents .quantity input {
        width: 60px;
        padding: 0.35rem;
    }

    .cart_totals {
        padding: 1rem;
    }

    .cart_totals h2 {
        font-size: 1.25rem;
    }

    .wc-proceed-to-checkout .checkout-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
