/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 4.7
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* === WooCommerce notice - Flatsome'un dışarıdaki ::before tikini gizle, içerideki .icon-checkmark kalsın === */
body .woocommerce-message::before,
body .woocommerce-info::before,
body .woocommerce-error::before,
body .woocommerce-message > .icon,
body .woocommerce-info > .icon,
body .woocommerce-error > .icon {
    display: none !important;
    content: none !important;
}

/* === WooCommerce Sipariş Detay Sayfası - mark vurguları === */
body .woocommerce mark,
body .woocommerce-MyAccount-content mark,
body mark.order-number,
body mark.order-date,
body mark.order-status {
    background: transparent !important;
    padding: 2px 10px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    color: inherit !important;
}

body mark.order-number {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

body mark.order-date {
    background: #e0f2fe !important;
    color: #075985 !important;
}

body mark.order-status {
    background: #fef3c7 !important;
    color: #92400e !important;
}

body mark.order-status.status-cancelled,
body mark.order-status.status-failed {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

body mark.order-status.status-completed {
    background: #dcfce7 !important;
    color: #166534 !important;
}

body mark.order-status.status-processing,
body mark.order-status.status-on-hold {
    background: #fef3c7 !important;
    color: #92400e !important;
}

body mark.order-status.status-refunded {
    background: #f3e8ff !important;
    color: #6b21a8 !important;
}

/* === YITH Wishlist - add-to-cart kolonu düzeni === */
body .wishlist_table td.product-add-to-cart {
    display: grid !important;
    grid-template-columns: auto auto;
    grid-template-areas:
        "date  date"
        "cart  remove";
    gap: 6px 8px;
    justify-content: end;
    align-content: center;
    vertical-align: middle;
}

body .wishlist_table .product-add-to-cart .dateadded,
body .wishlist_table .product-add-to-cart .yith-wcwl-wishlist-date-added,
body .wishlist_table .product-add-to-cart .added_on {
    grid-area: date;
    font-size: 11px;
    color: #9ca3af;
    text-align: right;
    justify-self: end;
    line-height: 1.2;
}

body .wishlist_table .product-add-to-cart a.add_to_cart,
body .wishlist_table .product-add-to-cart a.add_to_cart_button,
body .wishlist_table .product-add-to-cart button.add_to_cart {
    grid-area: cart;
}

body .wishlist_table .product-add-to-cart a.remove_from_wishlist,
body .wishlist_table .product-add-to-cart .remove_from_wishlist {
    grid-area: remove;
}

/* Wishlist butonları - ortak boyut/şekil */
body .wishlist_table .product-add-to-cart a.add_to_cart,
body .wishlist_table .product-add-to-cart a.add_to_cart_button,
body .wishlist_table .product-add-to-cart button.add_to_cart,
body .wishlist_table .product-add-to-cart a.remove_from_wishlist,
body .wishlist_table .product-add-to-cart .remove_from_wishlist {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
    height: 42px !important;
    min-width: 110px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px;
    line-height: 1 !important;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
}

/* "Sepete Ekle" — fuşya */
body .wishlist_table .product-add-to-cart a.add_to_cart,
body .wishlist_table .product-add-to-cart a.add_to_cart_button,
body .wishlist_table .product-add-to-cart button.add_to_cart {
    background: #e22156 !important;
}
body .wishlist_table .product-add-to-cart a.add_to_cart:hover,
body .wishlist_table .product-add-to-cart a.add_to_cart_button:hover,
body .wishlist_table .product-add-to-cart button.add_to_cart:hover {
    background: #b81b46 !important;
    transform: translateY(-1px);
}

/* "Sil" — nötr koyu gri, daha dar */
body .wishlist_table .product-add-to-cart a.remove_from_wishlist,
body .wishlist_table .product-add-to-cart .remove_from_wishlist {
    background: #374151 !important;
    min-width: 0 !important;
    padding: 0 16px !important;
}
body .wishlist_table .product-add-to-cart a.remove_from_wishlist:hover,
body .wishlist_table .product-add-to-cart .remove_from_wishlist:hover {
    background: #1f2937 !important;
    transform: translateY(-1px);
}

/* === My Account - Adresler === */
.atosweb-addresses-intro {
    color: #6b7280;
    margin: 0 0 24px;
    font-size: 14px;
}

.atosweb-addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.atosweb-address-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.atosweb-address-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

.atosweb-address-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.atosweb-address-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(239, 23, 59, 0.08);
    color: #e22156;
    flex-shrink: 0;
}

.atosweb-address-card-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.2;
}

.atosweb-address-body {
    font-style: normal;
    color: #374151;
    line-height: 1.7;
    flex: 1;
    margin: 0 0 20px;
    font-size: 14px;
}

.atosweb-address-empty {
    color: #9ca3af;
    font-style: italic;
    font-size: 13px;
}

.atosweb-address-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
    align-self: flex-start;
    line-height: 1;
    border: none;
}

.atosweb-address-btn.is-edit {
    background: #374151;
    color: #fff !important;
}
.atosweb-address-btn.is-edit:hover {
    background: #1f2937;
    color: #fff !important;
    transform: translateY(-1px);
}

.atosweb-address-btn.is-add {
    background: #e22156;
    color: #fff !important;
}
.atosweb-address-btn.is-add:hover {
    background: #b81b46;
    color: #fff !important;
    transform: translateY(-1px);
}

/* === My Account - Siparişler kart listesi === */
.atosweb-orders {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.atosweb-order-card {
    display: block;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px;
    color: inherit !important;
    transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.atosweb-order-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

.atosweb-order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.atosweb-order-card-head-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.atosweb-order-number {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.2px;
}

.atosweb-order-date {
    font-size: 13px;
    color: #6b7280;
}

.atosweb-order-card .order-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px;
    font-style: normal !important;
}

.atosweb-order-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.atosweb-order-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.atosweb-order-thumbs {
    display: inline-flex;
    align-items: center;
}

.atosweb-order-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}

.atosweb-order-thumb + .atosweb-order-thumb,
.atosweb-order-thumb + .atosweb-order-thumb-more,
.atosweb-order-thumbs .atosweb-order-thumb:not(:first-child) {
    margin-left: -10px;
}

.atosweb-order-thumb-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    border: 2px solid #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    margin-left: -10px;
}

.atosweb-order-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #374151;
    font-size: 14px;
}

.atosweb-order-items {
    color: #6b7280;
}

.atosweb-order-dot {
    color: #d1d5db;
}

.atosweb-order-total {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
}

.atosweb-order-total bdi {
    font-weight: 700;
}

.atosweb-order-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    background: #e22156;
    color: #fff !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1;
    transition: background 0.15s ease, transform 0.15s ease;
}

.atosweb-order-card:hover .atosweb-order-view-btn {
    background: #b81b46;
}

/* Sipariş yok ekranı */
.atosweb-orders-empty {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
}

.atosweb-orders-empty-icon {
    color: #9ca3af;
    margin-bottom: 12px;
}

.atosweb-orders-empty h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.atosweb-orders-empty p {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 14px;
}

.atosweb-orders-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    background: #e22156;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
}

.atosweb-orders-empty-btn:hover {
    background: #b81b46;
    transform: translateY(-1px);
}

/* Pagination */
.atosweb-orders-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.atosweb-pagination-btn {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    background: #f3f4f6;
    color: #111827 !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.atosweb-pagination-btn:hover {
    background: #e5e7eb;
}

.atosweb-pagination-info {
    font-size: 13px;
    color: #6b7280;
}

/* Mobil */
@media (max-width: 600px) {
    .atosweb-order-card {
        padding: 16px;
    }
    .atosweb-order-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .atosweb-order-view-btn {
        width: 100%;
        justify-content: center;
    }
}

/* === My Account - Sipariş Detayı (view-order) === */
.atosweb-view-order {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hero kart */
.atosweb-view-order .atosweb-order-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px 28px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.atosweb-view-order .atosweb-order-hero-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.atosweb-view-order .atosweb-order-hero-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.atosweb-view-order .atosweb-order-hero-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.5px;
}

.atosweb-view-order .atosweb-order-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.atosweb-view-order .atosweb-order-hero-date svg {
    opacity: 0.8;
}

.atosweb-view-order .atosweb-order-hero-status .order-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px;
    font-style: normal !important;
    text-transform: uppercase;
}

/* İstatistik şeridi */
.atosweb-view-order .atosweb-order-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.atosweb-view-order .atosweb-order-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.atosweb-view-order .atosweb-order-stat:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.atosweb-view-order .atosweb-order-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(239, 23, 59, 0.08);
    color: #e22156;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.atosweb-view-order .atosweb-order-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.atosweb-view-order .atosweb-order-stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7280;
}

.atosweb-view-order .atosweb-order-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.atosweb-view-order .atosweb-order-stat-value bdi {
    font-weight: 700;
}

/* Order details table - modern kart */
.atosweb-view-order .woocommerce-order-details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.atosweb-view-order .woocommerce-order-details__title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.atosweb-view-order .shop_table.order_details {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin: 0;
}

.atosweb-view-order .shop_table.order_details th,
.atosweb-view-order .shop_table.order_details td {
    padding: 12px 8px;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
    background: transparent !important;
}

.atosweb-view-order .shop_table.order_details thead th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7280;
    padding-bottom: 14px;
}

.atosweb-view-order .shop_table.order_details td.woocommerce-table__product-name a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
}

.atosweb-view-order .shop_table.order_details td.woocommerce-table__product-name a:hover {
    color: #e22156;
}

.atosweb-view-order .shop_table.order_details .product-quantity {
    color: #6b7280;
    font-weight: 500;
}

.atosweb-view-order .shop_table.order_details td:last-child,
.atosweb-view-order .shop_table.order_details th:last-child {
    text-align: right;
}

.atosweb-view-order .shop_table.order_details tfoot th {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: none;
    letter-spacing: 0;
}

.atosweb-view-order .shop_table.order_details tfoot td {
    font-weight: 600;
    color: #0f172a;
    text-align: right;
}

.atosweb-view-order .shop_table.order_details tfoot tr:last-child th,
.atosweb-view-order .shop_table.order_details tfoot tr:last-child td {
    border-bottom: none;
}

/* Toplam satırı vurgulu */
.atosweb-view-order .shop_table.order_details tfoot tr.order-total th,
.atosweb-view-order .shop_table.order_details tfoot tr.order-total td {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    padding-top: 18px;
    border-top: 2px solid #e5e7eb;
    border-bottom: none;
}

/* Müşteri detayları (adres kartları) */
.atosweb-view-order .woocommerce-customer-details {
    margin: 0;
}

.atosweb-view-order .woocommerce-customer-details .col2-set,
.atosweb-view-order .woocommerce-customer-details .addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 0;
}

.atosweb-view-order .woocommerce-customer-details .woocommerce-column,
.atosweb-view-order .woocommerce-customer-details > address,
.atosweb-view-order .woocommerce-customer-details > h2 + address {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.atosweb-view-order .woocommerce-customer-details .woocommerce-column:hover,
.atosweb-view-order .woocommerce-customer-details > address:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.atosweb-view-order .woocommerce-customer-details h2 {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.2px;
}

.atosweb-view-order .woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.7;
    color: #374151;
    font-size: 14px;
    border: none;
    padding: 0;
}

.atosweb-view-order .woocommerce-customer-details .woocommerce-customer-details--phone,
.atosweb-view-order .woocommerce-customer-details .woocommerce-customer-details--email {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

/* Notlar */
.atosweb-view-order .atosweb-order-notes {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 24px;
}

.atosweb-view-order .atosweb-order-notes h3 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.atosweb-view-order .atosweb-order-notes ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atosweb-view-order .atosweb-order-notes li {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.atosweb-view-order .atosweb-order-notes li:last-child {
    border-bottom: none;
}

.atosweb-view-order .atosweb-order-notes time {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

/* Mobil */
@media (max-width: 600px) {
    .atosweb-view-order .atosweb-order-hero {
        padding: 20px;
    }
    .atosweb-view-order .atosweb-order-hero-number {
        font-size: 26px;
    }
    .atosweb-view-order .woocommerce-order-details {
        padding: 18px;
    }
}

/* === Parola güç göstergesi (kayıt / hesap detayları) === */
body .woocommerce-password-strength {
    display: inline-block;
    padding: 6px 14px;
    margin-top: 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1;
    border: none !important;
    position: relative;
}

body .woocommerce-password-strength::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    background: currentColor;
}

/* Çok zayıf / kısa */
body .woocommerce-password-strength.short {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

/* Zayıf */
body .woocommerce-password-strength.bad {
    background: #ffedd5 !important;
    color: #c2410c !important;
}

/* Orta */
body .woocommerce-password-strength.good {
    background: #fef3c7 !important;
    color: #92400e !important;
}

/* Güçlü */
body .woocommerce-password-strength.strong {
    background: #dcfce7 !important;
    color: #166534 !important;
}

/* Parola eşleşmiyor uyarısı */
body .woocommerce-password-hint {
    display: block;
    margin-top: 8px;
    padding: 10px 14px;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
}


/* ==========================================================================
   ATOSWEB — E-posta Doğrulama Başarılı Banner
   ========================================================================== */
.atosweb-verified-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    padding: 16px 20px;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-left: 4px solid #16a34a;
    border-radius: 10px;
    color: #166534;
    animation: atoswebVerifiedFadeIn 0.4s ease;
}

.atosweb-verified-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #16a34a;
    color: #fff;
    border-radius: 50%;
}

.atosweb-verified-banner-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.45;
}

.atosweb-verified-banner-body strong {
    font-size: 14px;
    font-weight: 700;
    color: #14532d;
}

.atosweb-verified-banner-body span {
    font-size: 13px;
    color: #166534;
}

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

/* ==========================================================================
   ATOSWEB — Kayıt Tamamlandı Top Banner (modal kapansa da görünür)
   ========================================================================== */
.atosweb-registered-banner {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 14px;
    width: calc(100% - 32px);
    max-width: 520px;
    padding: 16px 18px;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-left: 4px solid #16a34a;
    border-radius: 12px;
    color: #166534;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    animation: atoswebRegisteredSlideIn 0.4s ease;
}

.atosweb-registered-banner-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #16a34a;
    color: #fff;
    border-radius: 50%;
}

.atosweb-registered-banner-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.45;
    min-width: 0;
}

.atosweb-registered-banner-body strong {
    font-size: 14px;
    font-weight: 700;
    color: #14532d;
}

.atosweb-registered-banner-body span {
    font-size: 13px;
    color: #166534;
}

.atosweb-registered-banner-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #166534;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease;
}

.atosweb-registered-banner-close:hover {
    background: rgba(22, 163, 74, 0.12);
}

@keyframes atoswebRegisteredSlideIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Doğrulama banner'ı için error varyantı (geçersiz/süresi dolmuş link) */
.atosweb-registered-banner.is-error {
    background: #fee2e2;
    border-color: #fca5a5;
    border-left-color: #dc2626;
    color: #991b1b;
}
.atosweb-registered-banner.is-error .atosweb-registered-banner-icon {
    background: #dc2626;
}
.atosweb-registered-banner.is-error .atosweb-registered-banner-body strong {
    color: #7f1d1d;
}
.atosweb-registered-banner.is-error .atosweb-registered-banner-body span {
    color: #991b1b;
}
.atosweb-registered-banner.is-error .atosweb-registered-banner-close {
    color: #991b1b;
}
.atosweb-registered-banner.is-error .atosweb-registered-banner-close:hover {
    background: rgba(220, 38, 38, 0.12);
}

@media (max-width: 480px) {
    .atosweb-registered-banner {
        top: 12px;
        padding: 14px 14px;
        gap: 10px;
    }
    .atosweb-registered-banner-body strong { font-size: 13px; }
    .atosweb-registered-banner-body span   { font-size: 12px; }
}

/* ==========================================================================
   ATOSWEB — Hesap Silme Kartı (alarmlı kırmızı)
   ========================================================================== */
.atosweb-danger-zone {
    margin-top: 32px;
    padding: 22px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
}

.atosweb-danger-zone-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.atosweb-danger-zone-badge {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.atosweb-danger-zone-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #991b1b;
    letter-spacing: 0.2px;
}

.atosweb-danger-zone-lead {
    margin: 0 0 18px;
    font-size: 13px;
    color: #7f1d1d;
    line-height: 1.55;
}

.atosweb-delete-account-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body .atosweb-delete-account-form input[type="password"] {
    width: 100%;
    max-width: 360px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body .atosweb-delete-account-form input[type="password"]::placeholder {
    color: #b91c1c;
    opacity: 0.55;
}

body .atosweb-delete-account-form input[type="password"]:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.atosweb-delete-confirm-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #7f1d1d;
    line-height: 1.5;
    cursor: pointer;
}

.atosweb-delete-confirm-row input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #dc2626;
    cursor: pointer;
}

body .atosweb-delete-account-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    background: #dc2626;
    color: #fff;
    border: 1px solid #dc2626;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

body .atosweb-delete-account-btn:hover,
body .atosweb-delete-account-btn:focus {
    background: #991b1b;
    border-color: #991b1b;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

@media (max-width: 540px) {
    .atosweb-danger-zone {
        padding: 18px;
    }
    body .atosweb-delete-account-form input[type="password"] {
        max-width: 100%;
    }
    body .atosweb-delete-account-btn {
        width: 100%;
    }
}

/* ==========================================================================
   ATOSWEB — Tek Ürün Sayfası (single-product) modernizasyonu
   - Marka rengi: #e22156 (hover #b81b46)
   - Kart dili: 12px radius, hover translateY(-2px), soft shadow
   ========================================================================== */

/* --- Genel layout & vertical rhythm --- */
body.single-product .product-info,
body.single-product .summary {
    font-family: inherit;
}

body.single-product .product-info > *,
body.single-product .summary > * {
    margin-bottom: 18px;
}

/* --- Breadcrumb / kategori başlığı (h1 üstündeki linkler) --- */
body.single-product .product-info .product-categories,
body.single-product .product-info > p:first-child:not(.price):not(.stock) {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #6b7280;
    margin: 0 0 10px;
    line-height: 1.5;
}
body.single-product .product-info .product-categories a,
body.single-product .product-info > p:first-child a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease;
}
body.single-product .product-info .product-categories a:hover,
body.single-product .product-info > p:first-child a:hover {
    color: #e22156;
}

/* --- Ürün başlığı --- */
body.single-product .product_title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
}

/* --- Üst fiyat aralığı: variable üründe "0 ₺ – 4499 ₺" gizleniyor — Flatsome .price-wrapper içinde --- */
body.single-product .price-wrapper,
body.single-product .product-info .price-wrapper,
body.single-product .summary .price-wrapper,
body.single-product .product-page-price,
body.single-product .summary > p.price,
body.single-product .product-info > p.price:not(.atosweb-price-total) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* --- Kısa açıklama --- */
body.single-product .woocommerce-product-details__short-description,
body.single-product .product-short-description {
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
    margin: 0 0 22px;
}

/* --- Varyasyon tablosu --- */
body.single-product table.variations {
    border: 0;
    margin: 0 0 18px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    background: transparent;
}
body.single-product table.variations tr {
    background: transparent;
}
body.single-product table.variations td,
body.single-product table.variations th {
    border: 0;
    padding: 0;
    background: transparent;
}
body.single-product table.variations th.label {
    width: 38%;
    padding-right: 16px;
    vertical-align: middle;
}
body.single-product table.variations th.label label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.45;
}
body.single-product table.variations td.value {
    vertical-align: middle;
    position: relative;
}

/* --- Custom select (varyasyon dropdown'ları) — !important ile Flatsome'u ez --- */
body.single-product table.variations select,
body.single-product .product-info table.variations select,
body.single-product .summary table.variations select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0 40px 0 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    line-height: 1.45 !important;
    text-transform: none !important;
    font-variant: normal !important;
    font-feature-settings: normal !important;
}
body.single-product table.variations select option {
    text-transform: none !important;
    font-variant: normal !important;
}
body.single-product table.variations select:hover {
    border-color: #d1d5db;
}
body.single-product table.variations select:focus {
    outline: 0;
    border-color: #e22156;
    box-shadow: 0 0 0 3px rgba(226, 33, 86, 0.12);
}

/* --- Reset / Temizle linki --- */
body.single-product .reset_variations {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f3f4f6;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
body.single-product .reset_variations:hover {
    color: #e22156;
    background: rgba(226, 33, 86, 0.08);
}

/* --- Tek varyasyon fiyat alanı (varyasyon seçilince çıkan fiyat) — toplam kartı --- */
body.single-product .single_variation_wrap {
    margin: 4px 0 18px;
}
body.single-product .single_variation {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
}
body.single-product .single_variation::before {
    content: 'Toplam tutar';
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    flex-shrink: 0;
}
body.single-product .single_variation .price,
body.single-product .single_variation > span:not(.stock):not(.atosweb-total-label) {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.5px;
    flex: 1;
    text-align: right;
}
body.single-product .single_variation .price del {
    color: #9ca3af;
    font-weight: 500;
    font-size: 16px;
    margin-right: 8px;
}
body.single-product .single_variation .price ins {
    background: transparent;
    color: #e22156;
    text-decoration: none;
}
body.single-product .single_variation .stock {
    display: none;
}
body.single-product .single_variation .woocommerce-variation-availability,
body.single-product .single_variation .woocommerce-variation-description {
    width: 100%;
    text-align: left;
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

/* --- Quantity selector (modern stepper) --- */
body.single-product .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    height: 48px;
    margin: 0 12px 0 0;
}
body.single-product .quantity input.qty {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    -moz-appearance: textfield;
    padding: 0;
}
body.single-product .quantity input.qty::-webkit-outer-spin-button,
body.single-product .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
body.single-product .quantity .minus,
body.single-product .quantity .plus {
    width: 40px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
body.single-product .quantity .minus:hover,
body.single-product .quantity .plus:hover {
    background: #f9fafb;
    color: #e22156;
}
body.single-product .quantity .minus {
    border-right: 1px solid #e5e7eb;
}
body.single-product .quantity .plus {
    border-left: 1px solid #e5e7eb;
}

/* --- CTA butonları (Sepete Ekle + Hemen Satın Al) --- */
body.single-product form.cart .single_add_to_cart_button,
body.single-product .single_add_to_cart_button,
body.single-product .buy-now-button,
body.single-product .ux-buy-now-button,
body.single-product form.cart button.buy-now-button,
body.single-product form.cart button.ux-buy-now-button {
    height: 48px !important;
    padding: 0 26px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid transparent !important;
    transition: all 0.18s ease !important;
    cursor: pointer !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Secondary: SEPETE EKLE — outline (Flatsome'un .button .alt class'larını ez) */
body.single-product button.single_add_to_cart_button,
body.single-product button.single_add_to_cart_button.button,
body.single-product button.single_add_to_cart_button.button.alt,
body.single-product form.cart button.single_add_to_cart_button {
    background: #fff !important;
    background-color: #fff !important;
    color: #0f172a !important;
    border-color: #0f172a !important;
}
body.single-product button.single_add_to_cart_button:hover,
body.single-product button.single_add_to_cart_button.button:hover,
body.single-product button.single_add_to_cart_button.button.alt:hover,
body.single-product form.cart button.single_add_to_cart_button:hover {
    background: #0f172a !important;
    background-color: #0f172a !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18) !important;
}

/* Primary: HEMEN SATIN AL — solid brand (Flatsome'un .button .primary class'larını ez) */
body.single-product button.ux-buy-now-button,
body.single-product button.ux-buy-now-button.button,
body.single-product button.ux-buy-now-button.button.primary,
body.single-product form.cart button.ux-buy-now-button {
    background: #e22156 !important;
    background-color: #e22156 !important;
    color: #fff !important;
    border-color: #e22156 !important;
}
body.single-product button.ux-buy-now-button:hover,
body.single-product button.ux-buy-now-button.button:hover,
body.single-product button.ux-buy-now-button.button.primary:hover,
body.single-product form.cart button.ux-buy-now-button:hover {
    background: #b81b46 !important;
    background-color: #b81b46 !important;
    border-color: #b81b46 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(226, 33, 86, 0.32) !important;
}

/* Aksiyon butonlarının container'ı */
body.single-product .variations_button,
body.single-product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* --- Product meta (kategoriler, etiketler, sku) --- */
body.single-product .product_meta {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
}
body.single-product .product_meta > span {
    display: block;
    margin-bottom: 14px;
}
body.single-product .product_meta > span:last-child {
    margin-bottom: 0;
}
body.single-product .product_meta > span > span:first-child,
body.single-product .product_meta .posted_in,
body.single-product .product_meta .tagged_as {
    /* The label "Kategoriler:" / "Etiketler:" — Flatsome uses inline structure */
}

/* SKU — "Yok" veya boşsa gizle (PHP filter ile de yapıyoruz, CSS yedek) */
body.single-product .product_meta .sku_wrapper.atosweb-sku-empty {
    display: none !important;
}

/* Kategori & etiket wrapper'ları — label ile pill'leri layout et */
body.single-product .product_meta .posted_in,
body.single-product .product_meta .tagged_as,
body.single-product .product_meta .sku_wrapper {
    display: block;
    color: #374151;
    font-size: 13px;
}

/* "KATEGORILER:" / "ETIKETLER:" / "SKU:" label'ı — ortak ince uppercase başlık */
body.single-product .product_meta .atosweb-meta-label {
    display: block;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Kategori/etiket linklerini pill (chip) yap */
body.single-product .product_meta .posted_in a,
body.single-product .product_meta .tagged_as a {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    margin: 6px 6px 0 0;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.15s ease;
}
body.single-product .product_meta .posted_in a:hover,
body.single-product .product_meta .tagged_as a:hover {
    background: rgba(226, 33, 86, 0.08);
    color: #e22156;
    border-color: rgba(226, 33, 86, 0.18);
}

/* Etiketler için "show more" davranışı — JS ile .atosweb-tags-collapsed ekleyeceğiz */
body.single-product .product_meta .tagged_as.atosweb-tags-collapsed a:nth-of-type(n+7) {
    display: none;
}
body.single-product .product_meta .tagged_as.atosweb-tags-collapsed.atosweb-tags-expanded a:nth-of-type(n+7) {
    display: inline-flex;
}
.atosweb-tags-toggle {
    display: inline-flex;
    align-items: center;
    margin: 6px 0 0 6px;
    padding: 5px 12px;
    background: transparent;
    color: #e22156;
    border: 1px dashed rgba(226, 33, 86, 0.4);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.15s ease;
}
.atosweb-tags-toggle:hover {
    background: rgba(226, 33, 86, 0.08);
    border-style: solid;
}

/* --- Mobil --- */
@media (max-width: 640px) {
    body.single-product .product_title {
        font-size: 22px;
    }
    body.single-product .single_variation {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 14px 16px;
    }
    body.single-product .single_variation .price,
    body.single-product .single_variation > span:not(.stock):not(.atosweb-total-label) {
        text-align: left;
        font-size: 22px;
    }
    body.single-product table.variations th.label {
        width: 100%;
        display: block;
        padding: 0 0 6px;
    }
    body.single-product table.variations td.value {
        display: block;
        width: 100%;
    }
    body.single-product table.variations tr {
        display: block;
        margin-bottom: 14px;
    }
    body.single-product .variations_button,
    body.single-product form.cart {
        flex-direction: column;
        align-items: stretch;
    }
    body.single-product .quantity {
        margin: 0 0 10px;
        align-self: flex-start;
    }
    body.single-product form.cart .single_add_to_cart_button,
    body.single-product .single_add_to_cart_button,
    body.single-product .buy-now-button {
        width: 100%;
    }
}


/* ==========================================================================
   SEPET & CHECKOUT MODERNİZASYONU — ürün sayfası dilini bu sayfalara genişlet
   - Brand: #e22156, hover #b81b46, gradient end #a01840
   - Kart: 12px radius, #e5e7eb border, soft shadow
   - Buton: 48px height, 10px radius, fuşya CTA / outline secondary
   - Input: 10px radius, #e5e7eb border, brand focus ring
========================================================================== */

/* ---------- ORTAK CTA BUTONLARI (sepet + checkout) ---------- */

/* Sepet "ÖDEME SAYFASINA GİT" + Checkout "SİPARİŞİ ONAYLA" → fuşya solid */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart a.checkout-button.button.alt,
body.woocommerce-cart a.checkout-button.button.alt.wc-forward,
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order,
body.woocommerce-checkout #place_order.button,
body.woocommerce-checkout #place_order.button.alt {
    height: 48px !important;
    padding: 0 28px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #e22156 !important;
    background: #e22156 !important;
    background-color: #e22156 !important;
    color: #fff !important;
    box-shadow: none !important;
    transition: all 0.18s ease !important;
    cursor: pointer !important;
    width: 100%;
    max-width: 100%;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart a.checkout-button.button.alt:hover,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout button#place_order:hover,
body.woocommerce-checkout #place_order.button:hover,
body.woocommerce-checkout #place_order.button.alt:hover {
    background: #b81b46 !important;
    background-color: #b81b46 !important;
    border-color: #b81b46 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(226, 33, 86, 0.32) !important;
    color: #fff !important;
}

/* "ALIŞVERİŞE DEVAM ET" → outline fuşya (Flatsome continue-shopping link) */
body.woocommerce-cart .return-to-shop a,
body.woocommerce-cart .return-to-shop a.button,
body.woocommerce-cart a.wc-backward,
body.woocommerce-cart a.wc-backward.button {
    height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    color: #e22156 !important;
    border: 1.5px solid #e22156 !important;
    box-shadow: none !important;
    transition: all 0.18s ease;
}
body.woocommerce-cart .return-to-shop a:hover,
body.woocommerce-cart a.wc-backward:hover {
    background: #e22156 !important;
    color: #fff !important;
}

/* "SEPETİ GÜNCELLE" → secondary outline (gri, sönük durmasın) */
body.woocommerce-cart button[name="update_cart"],
body.woocommerce-cart .actions button[name="update_cart"],
body.woocommerce-cart input[name="update_cart"] {
    height: 44px !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #374151 !important;
    border: 1.5px solid #d1d5db !important;
    opacity: 1 !important;
    box-shadow: none !important;
    transition: all 0.18s ease !important;
    cursor: pointer !important;
}
body.woocommerce-cart button[name="update_cart"]:hover,
body.woocommerce-cart .actions button[name="update_cart"]:hover,
body.woocommerce-cart input[name="update_cart"]:hover {
    border-color: #0f172a !important;
    color: #0f172a !important;
    background: #f9fafb !important;
}
body.woocommerce-cart button[name="update_cart"]:disabled,
body.woocommerce-cart input[name="update_cart"]:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

/* ---------- FORM INPUT'LARI (checkout adres/billing) ---------- */
body.woocommerce-checkout .woocommerce-billing-fields input[type="text"],
body.woocommerce-checkout .woocommerce-billing-fields input[type="email"],
body.woocommerce-checkout .woocommerce-billing-fields input[type="tel"],
body.woocommerce-checkout .woocommerce-billing-fields input[type="number"],
body.woocommerce-checkout .woocommerce-shipping-fields input[type="text"],
body.woocommerce-checkout .woocommerce-shipping-fields input[type="email"],
body.woocommerce-checkout .woocommerce-shipping-fields input[type="tel"],
body.woocommerce-checkout .woocommerce-additional-fields textarea,
body.woocommerce-checkout #order_comments,
body.woocommerce-checkout form.checkout input[type="text"],
body.woocommerce-checkout form.checkout input[type="email"],
body.woocommerce-checkout form.checkout input[type="tel"],
body.woocommerce-checkout form.checkout input[type="number"],
body.woocommerce-checkout form.checkout textarea,
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea {
    height: 48px;
    padding: 0 14px;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 14px;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    line-height: 1.45;
}
body.woocommerce-checkout .woocommerce-additional-fields textarea,
body.woocommerce-checkout #order_comments,
body.woocommerce-checkout form.checkout textarea,
body.woocommerce-checkout .form-row textarea {
    height: auto;
    min-height: 96px;
    padding: 12px 14px;
}
body.woocommerce-checkout .form-row input.input-text:hover,
body.woocommerce-checkout .form-row textarea:hover {
    border-color: #d1d5db !important;
}
body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout form.checkout input:focus,
body.woocommerce-checkout form.checkout textarea:focus {
    outline: 0 !important;
    border-color: #e22156 !important;
    box-shadow: 0 0 0 3px rgba(226, 33, 86, 0.12) !important;
}

/* Country / state select2 (WC kullanır) */
body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.woocommerce-checkout .form-row .select2-selection--single {
    height: 48px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 0 12px;
    display: flex;
    align-items: center;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
    padding-left: 0 !important;
    color: #0f172a;
    font-size: 14px;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 8px;
}
body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #e22156 !important;
    box-shadow: 0 0 0 3px rgba(226, 33, 86, 0.12) !important;
}

/* Form label'larını biraz toparla */
body.woocommerce-checkout .form-row label {
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px !important;
    display: block;
    line-height: 1.3;
}
body.woocommerce-checkout .form-row .required {
    color: #e22156;
    text-decoration: none;
}

/* Form rows kompaktlaştır — satırlar daha yakın, slick */
body.woocommerce-checkout .woocommerce-billing-fields .form-row,
body.woocommerce-checkout .woocommerce-shipping-fields .form-row,
body.woocommerce-checkout .woocommerce-additional-fields .form-row,
body.woocommerce-checkout form.checkout .form-row {
    margin-bottom: 14px !important;
    padding: 0 !important;
}
body.woocommerce-checkout .woocommerce-billing-fields p,
body.woocommerce-checkout .woocommerce-shipping-fields p,
body.woocommerce-checkout form.checkout p.form-row {
    margin-bottom: 14px !important;
}
/* Input height'ı 48 → 44 (formlar daha kompakt görünsün) */
body.woocommerce-checkout .woocommerce-billing-fields input[type="text"],
body.woocommerce-checkout .woocommerce-billing-fields input[type="email"],
body.woocommerce-checkout .woocommerce-billing-fields input[type="tel"],
body.woocommerce-checkout .woocommerce-billing-fields input[type="number"],
body.woocommerce-checkout .woocommerce-shipping-fields input[type="text"],
body.woocommerce-checkout .woocommerce-shipping-fields input[type="email"],
body.woocommerce-checkout .woocommerce-shipping-fields input[type="tel"],
body.woocommerce-checkout form.checkout input[type="text"],
body.woocommerce-checkout form.checkout input[type="email"],
body.woocommerce-checkout form.checkout input[type="tel"],
body.woocommerce-checkout form.checkout input[type="number"],
body.woocommerce-checkout .form-row input.input-text {
    height: 44px !important;
    font-size: 13.5px !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.woocommerce-checkout .form-row .select2-selection--single {
    height: 44px !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
    font-size: 13.5px !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
}

/* "Fatura Detayları" / "Sipariş Notu" başlıkları biraz daha sıkı */
body.woocommerce-checkout h3#order_review_heading,
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    font-size: 16px !important;
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
}

/* Yan yana 2 sütun (first/last) arası boşluğu da küçült */
body.woocommerce-checkout form.checkout .form-row-first,
body.woocommerce-checkout form.checkout .form-row-last {
    width: calc(50% - 6px) !important;
}
body.woocommerce-checkout form.checkout .form-row-first {
    margin-right: 12px !important;
}

/* ---------- ÇEVRELEYEN PEMBE ÇERÇEVE FIX (checkout sağ kart wrapper'ı) ---------- */
/* Flatsome temasının `.col` / `.col-inner` wrapper'larına brand renkli border verdiğini varsayıyoruz. */
body.woocommerce-checkout form.checkout > .col,
body.woocommerce-checkout form.checkout > .col > .col-inner,
body.woocommerce-checkout #customer_details > .col,
body.woocommerce-checkout #customer_details > .col > .col-inner,
body.woocommerce-checkout .checkout > .col,
body.woocommerce-checkout .checkout > .col > .col-inner,
body.woocommerce-checkout #customer_details .col-1 > .col-inner,
body.woocommerce-checkout #customer_details .col-2 > .col-inner,
body.woocommerce-checkout .has-border,
body.woocommerce-checkout .col.has-border,
body.woocommerce-checkout .order-review-col,
body.woocommerce-checkout .order-review-col > .col-inner {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
body.woocommerce-checkout #order_review_heading {
    border-color: #e5e7eb !important;
    border-width: 1px !important;
}

/* ---------- SEPET TOTALS PANELİ + CHECKOUT SİPARİŞİNİZ KARTI ---------- */
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
    background: #fff;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
body.woocommerce-cart .cart_totals h2,
body.woocommerce-checkout #order_review_heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6b7280;
    margin: 0 0 14px;
    padding: 0;
    border: 0 !important;
}
body.woocommerce-cart .cart_totals table,
body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table {
    border: 0;
    background: transparent;
    border-collapse: collapse;
    margin: 0;
    width: 100%;
}
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td,
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
    border: 0;
    border-bottom: 1px solid #f3f4f6;
    padding: 12px 0;
    font-size: 13.5px;
    color: #374151;
    background: transparent !important;
}
body.woocommerce-cart .cart_totals table tfoot tr:last-child th,
body.woocommerce-cart .cart_totals table tfoot tr:last-child td,
body.woocommerce-checkout table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout table.shop_table tfoot tr.order-total td {
    border-bottom: 0;
    padding-top: 16px;
}

/* "Toplam" satırı vurgu */
body.woocommerce-cart .cart_totals table tr.order-total th,
body.woocommerce-cart .cart_totals table tr.order-total td,
body.woocommerce-checkout table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout table.shop_table tfoot tr.order-total td {
    font-size: 15px;
    color: #0f172a;
    font-weight: 800;
}
body.woocommerce-cart .cart_totals table tr.order-total td .amount,
body.woocommerce-cart .cart_totals table tr.order-total td strong,
body.woocommerce-checkout table.shop_table tfoot tr.order-total td .amount,
body.woocommerce-checkout table.shop_table tfoot tr.order-total td strong {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
}
/* KDV alt-bilgisi (parantez içindeki "166,50 ₺ KDV dahil") — küçük gri, içindeki .amount da küçük kalmalı */
body.woocommerce-checkout table.shop_table tfoot tr.order-total td small,
body.woocommerce-checkout table.shop_table tfoot tr.order-total td small.includes_tax,
body.woocommerce-cart .cart_totals table tr.order-total td small,
body.woocommerce-cart .cart_totals table tr.order-total td small.includes_tax {
    display: block !important;
    font-size: 11px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    margin-top: 6px !important;
    letter-spacing: 0.2px;
    line-height: 1.4;
}
body.woocommerce-checkout table.shop_table tfoot tr.order-total td small .amount,
body.woocommerce-checkout table.shop_table tfoot tr.order-total td small.includes_tax .amount,
body.woocommerce-cart .cart_totals table tr.order-total td small .amount,
body.woocommerce-cart .cart_totals table tr.order-total td small.includes_tax .amount {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    letter-spacing: 0;
}

/* Variation/option meta (Domain Hizmeti, Kurulum, Destek) — grid layout, her dt+dd kendi satırında */
body.woocommerce-cart table.shop_table dl.variation,
body.woocommerce-checkout table.shop_table dl.variation {
    margin: 8px 0 0 !important;
    padding: 0;
    font-size: 11.5px;
    color: #6b7280;
    line-height: 1.45;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 3px 8px;
}
body.woocommerce-cart table.shop_table dl.variation dt,
body.woocommerce-checkout table.shop_table dl.variation dt {
    font-weight: 600;
    color: #6b7280;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
body.woocommerce-cart table.shop_table dl.variation dd,
body.woocommerce-checkout table.shop_table dl.variation dd {
    margin: 0;
    padding: 0;
    color: #6b7280;
    font-weight: 500;
}
body.woocommerce-cart table.shop_table dl.variation dd p,
body.woocommerce-checkout table.shop_table dl.variation dd p {
    margin: 0;
    padding: 0;
    display: inline;
}

/* ---------- SEPET QUANTITY STEPPER ---------- */
body.woocommerce-cart table.shop_table .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    height: 44px;
}
body.woocommerce-cart table.shop_table .quantity input.qty {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    -moz-appearance: textfield;
    padding: 0;
}
body.woocommerce-cart table.shop_table .quantity input.qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
body.woocommerce-cart table.shop_table .quantity .minus,
body.woocommerce-cart table.shop_table .quantity .plus {
    width: 38px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #374151;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.woocommerce-cart table.shop_table .quantity .minus:hover,
body.woocommerce-cart table.shop_table .quantity .plus:hover {
    background: #f9fafb;
    color: #e22156;
}
body.woocommerce-cart table.shop_table .quantity .minus {
    border-right: 1px solid #e5e7eb;
}
body.woocommerce-cart table.shop_table .quantity .plus {
    border-left: 1px solid #e5e7eb;
}

/* Remove (×) butonu */
body.woocommerce-cart table.shop_table a.remove {
    width: 28px;
    height: 28px;
    line-height: 26px;
    border-radius: 999px;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.woocommerce-cart table.shop_table a.remove:hover {
    background: rgba(226, 33, 86, 0.1) !important;
    color: #e22156 !important;
}

/* ---------- ÖDEME YÖNTEMLERİ KARTLAŞTIR ---------- */
body.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
}
body.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
}
body.woocommerce-checkout #payment ul.payment_methods > li {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.woocommerce-checkout #payment ul.payment_methods > li:hover {
    border-color: #d1d5db;
}
body.woocommerce-checkout #payment ul.payment_methods > li input[type="radio"]:checked ~ label,
body.woocommerce-checkout #payment ul.payment_methods > li.selected,
body.woocommerce-checkout #payment ul.payment_methods > li:has(input:checked) {
    border-color: #e22156;
    box-shadow: 0 0 0 3px rgba(226, 33, 86, 0.08);
}
body.woocommerce-checkout #payment ul.payment_methods > li label {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #0f172a;
    cursor: pointer;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
}
/* Flatsome / WC seçili payment method label'ına otomatik pembe arka plan/outline ekliyor — temizle */
body.woocommerce-checkout #payment ul.payment_methods > li input[type="radio"]:checked + label,
body.woocommerce-checkout #payment ul.payment_methods > li.active label,
body.woocommerce-checkout #payment ul.payment_methods > li.checked label,
body.woocommerce-checkout #payment ul.payment_methods > li label::before,
body.woocommerce-checkout #payment ul.payment_methods > li label::after {
    background: transparent !important;
    background-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border: 0 !important;
}
body.woocommerce-checkout #payment ul.payment_methods > li .payment_box {
    background: #f9fafb;
    border: 0;
    border-radius: 8px;
    margin: 12px 0 0;
    padding: 12px 14px;
    font-size: 13px;
    color: #374151;
    line-height: 1.55;
}
body.woocommerce-checkout #payment ul.payment_methods > li .payment_box::before {
    display: none;
}
body.woocommerce-checkout #payment .place-order {
    margin-top: 18px;
    padding: 0;
    background: transparent;
    border: 0;
}

/* "Hesap oluştur" / "Farklı adres" / Newsletter checkbox'ları */
body.woocommerce-checkout .form-row.create-account label,
body.woocommerce-checkout label.checkbox,
body.woocommerce-checkout #ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #374151;
    cursor: pointer;
}
body.woocommerce-checkout input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e22156;
    cursor: pointer;
}

/* ---------- BAŞLIK / SECTION HEADING'LER ---------- */
body.woocommerce-checkout h3#order_review_heading,
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* Sepetteki ürün başlığı (mavi link → siyah, brand'le tutarlı) */
body.woocommerce-cart table.shop_table td.product-name a,
body.woocommerce-cart table.shop_table .product-name a {
    color: #0f172a !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}
body.woocommerce-cart table.shop_table td.product-name a:hover,
body.woocommerce-cart table.shop_table .product-name a:hover {
    color: #e22156 !important;
}

/* Coupon alanı — kart dışı havada durmasın diye mini kart */
body.woocommerce-cart .coupon-content,
body.woocommerce-cart form.checkout_coupon,
body.woocommerce-cart .cart-collaterals .coupon {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
body.woocommerce-cart .coupon input.input-text {
    height: 44px;
    padding: 0 12px;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 13.5px;
}
body.woocommerce-cart .coupon button[name="apply_coupon"] {
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: #0f172a;
    color: #fff;
    border: 1.5px solid #0f172a;
    cursor: pointer;
}
body.woocommerce-cart .coupon button[name="apply_coupon"]:hover {
    background: #1f2937;
    border-color: #1f2937;
}

/* ---------- MOBİL UYUM ---------- */
@media (max-width: 48em) {
    body.woocommerce-cart .cart_totals,
    body.woocommerce-checkout #order_review,
    body.woocommerce-checkout .woocommerce-checkout-review-order {
        padding: 18px 16px;
    }
    body.woocommerce-cart .cart_totals table tr.order-total td .amount,
    body.woocommerce-checkout table.shop_table tfoot tr.order-total td .amount {
        font-size: 19px;
    }
}

/* ==========================================================================
   HESABIM / ADRES DÜZENLE FORMU — checkout ile aynı slick stil + full-width fix
========================================================================== */
/* Section heading */
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-Address-title h3,
body.woocommerce-account header.woocommerce-Address-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e5e7eb;
}

/* Form rows kompakt */
body.woocommerce-account .woocommerce-address-fields .form-row,
body.woocommerce-account form.woocommerce-address-fields .form-row,
body.woocommerce-account form.woocommerce-EditAccountForm .form-row {
    margin-bottom: 14px !important;
    padding: 0 !important;
    float: none;
}

/* Inputs */
body.woocommerce-account .woocommerce-address-fields input[type="text"],
body.woocommerce-account .woocommerce-address-fields input[type="email"],
body.woocommerce-account .woocommerce-address-fields input[type="tel"],
body.woocommerce-account .woocommerce-address-fields input[type="number"],
body.woocommerce-account .woocommerce-EditAccountForm input[type="text"],
body.woocommerce-account .woocommerce-EditAccountForm input[type="email"],
body.woocommerce-account .woocommerce-EditAccountForm input[type="password"],
body.woocommerce-account .form-row input.input-text {
    height: 44px !important;
    padding: 0 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    line-height: 1.45;
}
body.woocommerce-account .form-row input.input-text:focus,
body.woocommerce-account .woocommerce-EditAccountForm input:focus,
body.woocommerce-account .woocommerce-address-fields input:focus {
    outline: 0 !important;
    border-color: #e22156 !important;
    box-shadow: 0 0 0 3px rgba(226, 33, 86, 0.12) !important;
}

/* Select2 (Ülke) */
body.woocommerce-account .select2-container--default .select2-selection--single,
body.woocommerce-account .form-row .select2-selection--single {
    height: 44px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 0 12px;
    display: flex;
    align-items: center;
}
body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
    padding-left: 0 !important;
    color: #0f172a;
    font-size: 13.5px;
}
body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 8px;
}

/* Labels */
body.woocommerce-account .form-row label {
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px !important;
    display: block;
    line-height: 1.3;
}
body.woocommerce-account .form-row .required {
    color: #e22156;
    text-decoration: none;
}

/* Submit butonu (Adresi Kaydet) */
body.woocommerce-account .woocommerce-address-fields button[type="submit"],
body.woocommerce-account .woocommerce-EditAccountForm button[type="submit"],
body.woocommerce-account button.button.woocommerce-Button {
    height: 44px;
    padding: 0 26px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #e22156 !important;
    color: #fff !important;
    border: 1.5px solid #e22156 !important;
    cursor: pointer;
    transition: all 0.18s ease;
}
body.woocommerce-account .woocommerce-address-fields button[type="submit"]:hover,
body.woocommerce-account .woocommerce-EditAccountForm button[type="submit"]:hover,
body.woocommerce-account button.button.woocommerce-Button:hover {
    background: #b81b46 !important;
    border-color: #b81b46 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(226, 33, 86, 0.3);
}

/* FULL-WIDTH FIX — form-row-wide ve default form-row 100%, sadece first/last pair half */
body.woocommerce-account .woocommerce-address-fields .form-row,
body.woocommerce-account form.woocommerce-address-fields .form-row {
    width: 100% !important;
    max-width: 100% !important;
}
body.woocommerce-account .woocommerce-address-fields .form-row-first,
body.woocommerce-account form.woocommerce-address-fields .form-row-first {
    width: calc(50% - 6px) !important;
    float: left;
    margin-right: 12px !important;
    clear: left;
}
body.woocommerce-account .woocommerce-address-fields .form-row-last,
body.woocommerce-account form.woocommerce-address-fields .form-row-last {
    width: calc(50% - 6px) !important;
    float: left;
    margin-right: 0 !important;
    clear: none;
}
/* first/last pair'i takip eden wide row'lar düzgün clear olsun */
body.woocommerce-account .woocommerce-address-fields .form-row-wide,
body.woocommerce-account form.woocommerce-address-fields .form-row-wide {
    clear: both;
    float: none;
    width: 100% !important;
    max-width: 100% !important;
}

/* MOBİLE — Ad/Soyad gibi yan yana çiftler ≤600px'te tam genişlik stack */
@media (max-width: 600px) {
    body.woocommerce-account .woocommerce-address-fields .form-row-first,
    body.woocommerce-account .woocommerce-address-fields .form-row-last,
    body.woocommerce-account form.woocommerce-address-fields .form-row-first,
    body.woocommerce-account form.woocommerce-address-fields .form-row-last,
    body.woocommerce-checkout form.checkout .form-row-first,
    body.woocommerce-checkout form.checkout .form-row-last {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-right: 0 !important;
    }
}

/* ---------- ADRES TEXTAREA (my-account + checkout) ---------- */
/* Wrapper'ı da full width yap — Flatsome/WC default'ları kısıtlıyor olabilir */
body.woocommerce-account .form-row .woocommerce-input-wrapper,
body.woocommerce-checkout .form-row .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}
body.woocommerce-account .woocommerce-address-fields textarea,
body.woocommerce-account .form-row textarea,
body.woocommerce-checkout .form-row textarea.input-text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    line-height: 1.5;
    font-family: inherit;
    resize: vertical;
    min-height: 110px;
}
body.woocommerce-account .woocommerce-address-fields textarea:hover,
body.woocommerce-account .form-row textarea:hover {
    border-color: #d1d5db !important;
}
body.woocommerce-account .woocommerce-address-fields textarea:focus,
body.woocommerce-account .form-row textarea:focus {
    outline: 0 !important;
    border-color: #e22156 !important;
    box-shadow: 0 0 0 3px rgba(226, 33, 86, 0.12) !important;
}
/* Adres textarea — yeterince geniş ve yüksek */
body.woocommerce-checkout .form-row.atosweb-address-textarea textarea,
body.woocommerce-account .form-row.atosweb-address-textarea textarea {
    min-height: 110px;
    width: 100% !important;
    max-width: 100% !important;
}
/* "Diğer adres ile aynı yap" butonu (my-account edit-address) */
.atosweb-copy-address-wrap {
    margin: 0 0 22px;
}
.atosweb-copy-address-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    background: #fff;
    color: #e22156;
    border: 1.5px solid #e22156;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1;
}
.atosweb-copy-address-btn svg {
    flex-shrink: 0;
}
.atosweb-copy-address-btn:hover {
    background: #e22156;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(226, 33, 86, 0.22);
}

/* PARENT form-row'u full-width zorla — WC priority bazlı form-row-first auto-assignment'ı ezilsin */
body.woocommerce-account .woocommerce-address-fields p.form-row.atosweb-address-textarea,
body.woocommerce-account form.woocommerce-address-fields p.form-row.atosweb-address-textarea,
body.woocommerce-checkout .woocommerce-billing-fields p.form-row.atosweb-address-textarea,
body.woocommerce-checkout .woocommerce-shipping-fields p.form-row.atosweb-address-textarea,
body.woocommerce-checkout form.checkout p.form-row.atosweb-address-textarea {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   ORDER-RECEIVED (Teşekkürler sayfası) MODERNİZASYONU
========================================================================== */

/* Section heading'ler */
body.woocommerce-order-received h2,
body.woocommerce-order-received .woocommerce h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* Sol-üstte Flatsome'un olası kırmızı sol border'ını kaldır (vertical line) */
body.woocommerce-order-received .col,
body.woocommerce-order-received .col-inner,
body.woocommerce-order-received .woocommerce {
    border-left: 0 !important;
}

/* ---------- İNDİRMELER KARTI ---------- */
body.woocommerce-order-received .woocommerce-order-downloads,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

body.woocommerce-order-received .woocommerce-order-downloads h2,
body.woocommerce-order-received .woocommerce-order-details h2,
body.woocommerce-order-received .woocommerce-customer-details h2,
body.woocommerce-order-received .woocommerce-column__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6b7280;
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #f3f4f6;
}

/* İndirmeler tablosu */
body.woocommerce-order-received table.order_details,
body.woocommerce-order-received table.shop_table.order_details,
body.woocommerce-order-received .woocommerce-order-downloads table,
body.woocommerce-order-received .woocommerce-table--order-downloads {
    border: 0;
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    margin: 0;
}
body.woocommerce-order-received table.order_details thead,
body.woocommerce-order-received .woocommerce-table--order-downloads thead {
    background: transparent;
}
body.woocommerce-order-received table.order_details thead th,
body.woocommerce-order-received .woocommerce-table--order-downloads thead th {
    background: transparent !important;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 0;
    border-bottom: 1px solid #f3f4f6;
    padding: 8px 0;
    text-align: left;
}
body.woocommerce-order-received table.order_details tbody td,
body.woocommerce-order-received .woocommerce-table--order-downloads tbody td {
    background: transparent !important;
    border: 0;
    border-bottom: 1px solid #f3f4f6;
    padding: 14px 0;
    font-size: 13.5px;
    color: #374151;
    vertical-align: middle;
}
body.woocommerce-order-received table.order_details tbody tr:last-child td,
body.woocommerce-order-received .woocommerce-table--order-downloads tbody tr:last-child td {
    border-bottom: 0;
}
body.woocommerce-order-received table.order_details tfoot th,
body.woocommerce-order-received table.order_details tfoot td {
    border: 0;
    border-top: 1px solid #f3f4f6;
    padding: 10px 0;
    font-size: 13px;
    color: #374151;
    background: transparent !important;
}
body.woocommerce-order-received table.order_details tfoot tr:last-child th,
body.woocommerce-order-received table.order_details tfoot tr:last-child td {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    padding-top: 14px;
}

/* İndirme butonu — siyah block yerine brand outline pill */
body.woocommerce-order-received .woocommerce-MyAccount-downloads-file,
body.woocommerce-order-received a.button.woocommerce-MyAccount-downloads-file,
body.woocommerce-order-received .woocommerce-table--order-downloads a.button,
body.woocommerce-order-received .woocommerce-table--order-downloads td.download-file a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 18px !important;
    border-radius: 10px !important;
    background: #e22156 !important;
    background-color: #e22156 !important;
    color: #fff !important;
    border: 1.5px solid #e22156 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: all 0.18s ease !important;
    text-decoration: none !important;
    white-space: nowrap;
}
body.woocommerce-order-received .woocommerce-MyAccount-downloads-file:hover,
body.woocommerce-order-received a.button.woocommerce-MyAccount-downloads-file:hover,
body.woocommerce-order-received .woocommerce-table--order-downloads a.button:hover {
    background: #b81b46 !important;
    background-color: #b81b46 !important;
    border-color: #b81b46 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(226, 33, 86, 0.3) !important;
    color: #fff !important;
}

/* "Asla" / "∞" gibi infinite/never değerleri pill stiller */
body.woocommerce-order-received td.download-remaining,
body.woocommerce-order-received td.download-expires {
    color: #6b7280;
    font-weight: 500;
}

/* ---------- SİPARİŞ DETAYLARI ÜRÜN BAŞLIĞI ---------- */
body.woocommerce-order-received table.order_details td.product-name a,
body.woocommerce-order-received table.shop_table td.product-name a {
    color: #0f172a !important;
    font-weight: 600;
    text-decoration: none;
}
body.woocommerce-order-received table.order_details td.product-name a:hover {
    color: #e22156 !important;
}

/* Variation/option meta — grid layout (sepet/checkout'taki gibi) */
body.woocommerce-order-received table.order_details dl.variation,
body.woocommerce-order-received table.shop_table dl.variation,
body.woocommerce-order-received .product-quantity ~ dl.variation,
body.woocommerce-order-received td.product-name dl.variation {
    margin: 8px 0 0 !important;
    padding: 0;
    font-size: 11.5px;
    color: #6b7280;
    line-height: 1.45;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 3px 8px;
}
body.woocommerce-order-received table.order_details dl.variation dt,
body.woocommerce-order-received td.product-name dl.variation dt {
    font-weight: 600;
    color: #6b7280;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
body.woocommerce-order-received table.order_details dl.variation dd,
body.woocommerce-order-received td.product-name dl.variation dd {
    margin: 0;
    padding: 0;
    color: #6b7280;
    font-weight: 500;
}
body.woocommerce-order-received table.order_details dl.variation dd p,
body.woocommerce-order-received td.product-name dl.variation dd p {
    margin: 0;
    display: inline;
}

/* KDV alt-bilgisi (parantez içindeki "83,17 ₺ KDV dahil") */
body.woocommerce-order-received table.order_details tr.order-total td small,
body.woocommerce-order-received table.order_details tr.order-total td small .amount {
    font-size: 11px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px;
}

/* ---------- FATURA ADRESİ KARTI (info card) ---------- */
body.woocommerce-order-received .woocommerce-customer-details address,
body.woocommerce-order-received address {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 6px 22px;
    font-style: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #0f172a;
    margin: 0;
    text-transform: none !important;
}
.atosweb-billing-address {
    margin: 0 !important;
    padding: 0;
}
.atosweb-billing-address dt,
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--phone::before,
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--email::before {
    display: block;
    margin: 0 0 3px;
    padding: 0;
    font-size: 10.5px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase !important;
    letter-spacing: 0.6px;
    line-height: 1;
}
.atosweb-billing-address dd {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid #f3f4f6;
    color: #0f172a;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
    text-transform: none !important;
}
.atosweb-billing-address dd:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 14px;
}

/* Telefon ve email — adresin altında, label'lı, aynı stil */
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--email {
    display: block !important;
    margin: 0 !important;
    padding: 14px 0 !important;
    border-top: 1px solid #f3f4f6;
    font-size: 14.5px;
    color: #0f172a;
    font-weight: 500;
    text-transform: none !important;
}
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--phone::before {
    content: 'Telefon';
}
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--email::before {
    content: 'E-posta';
}

/* Address kartı içindeki tüm metni uppercase'den koru (Flatsome bazı yerlerde zorluyor) */
body.woocommerce-order-received .woocommerce-customer-details address *,
body.woocommerce-order-received address * {
    text-transform: none !important;
}
/* AMA labellar uppercase kalsın */
body.woocommerce-order-received .woocommerce-customer-details address .atosweb-billing-address dt,
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--phone::before,
body.woocommerce-order-received .woocommerce-customer-details address .woocommerce-customer-details--email::before {
    text-transform: uppercase !important;
}

/* ---------- "TEŞEKKÜR EDERİZ" KARTI BRAND DOKUNUŞ ---------- */
/* Mevcut yeşil renkler dursun ama biraz brand'le tutarlı olsun */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

/* Order overview list (Sipariş No, Tarih, Toplam, Ödeme yöntemi) */
body.woocommerce-order-received ul.order_details,
body.woocommerce-order-received ul.woocommerce-order-overview {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 22px;
    list-style: none;
    margin: 0 0 22px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
body.woocommerce-order-received ul.order_details li,
body.woocommerce-order-received ul.woocommerce-order-overview li {
    border: 0 !important;
    border-bottom: 1px dashed #e5e7eb !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
body.woocommerce-order-received ul.order_details li:last-child,
body.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
    border-bottom: 0 !important;
}
body.woocommerce-order-received ul.order_details li strong,
body.woocommerce-order-received ul.woocommerce-order-overview li strong {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}