/**
 * Çelik Takı Tasarım v10.0 — Yüksek Öncelikli WooCommerce Sepet, Ödeme & Bildirim Override Katmanı
 * WooCommerce varsayılan (mor buton, %48 daralan özet kutusu, 32px küçük resim, kayan bildirim ikonu) stillerini tamamen ezer.
 * Geliştirici: Sunucu Dijital (https://sunucu.digital)
 */

/* 1. Sabit WhatsApp Butonunu Sepet ve Ödeme Sayfalarında Sol Alta Al (Sağdaki Ödeme Butonunu Asla Kapatmasın) */
body.woocommerce-cart .whatsapp-float,
body.woocommerce-checkout .whatsapp-float {
    right: auto !important;
    left: 24px !important;
    bottom: 22px !important;
}

/* 2. WooCommerce Klasik ve Yeni Nesil Blok Bildirimleri (İkon Üst Üste Binme ve Kaba Çerçeve Çözümü) */
.woocommerce-notices-wrapper {
    margin-bottom: 22px !important;
}

.wc-block-components-notice-banner,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
    background: #ffffff !important;
    border: 1px solid #e2e5ee !important;
    border-left: 4px solid var(--gold, #c9a86a) !important;
    border-top: 1px solid #e2e5ee !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin: 0 0 20px 0 !important;
    box-shadow: 0 6px 20px rgba(14, 14, 18, 0.05) !important;
    color: #141418 !important;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    outline: none !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-components-notice-banner.is-success,
.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-message {
    border-left-color: #1ebe5d !important;
}

.wc-block-components-notice-banner.is-error,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-error {
    border-left-color: #d63638 !important;
    background: #fffafa !important;
}

/* Klasik WooCommerce ::before ikonunu kapat (yazının üstüne binmesini engeller) */
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.woocommerce-page .woocommerce-message::before,
.woocommerce-page .woocommerce-info::before,
.woocommerce-page .woocommerce-error::before {
    display: none !important;
    content: none !important;
}

.woocommerce .woocommerce-message::after,
.woocommerce .woocommerce-info::after,
.woocommerce .woocommerce-error::after,
.woocommerce-page .woocommerce-message::after,
.woocommerce-page .woocommerce-info::after,
.woocommerce-page .woocommerce-error::after {
    display: none !important;
}

/* WC 8.5+ / 9.x SVG İkon Hizalaması */
.wc-block-components-notice-banner > svg {
    position: static !important;
    flex-shrink: 0 !important;
    width: 26px !important;
    height: 26px !important;
    padding: 4px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    background-color: #1ebe5d !important;
    fill: #ffffff !important;
}

.wc-block-components-notice-banner.is-error > svg {
    background-color: #d63638 !important;
}

.wc-block-components-notice-banner.is-info > svg {
    background-color: var(--gold, #c9a86a) !important;
}

.wc-block-components-notice-banner .wc-block-components-notice-banner__content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #141418 !important;
    font-weight: 500 !important;
}

/* Bildirim İçindeki "Sepetim / Görüntüle" Butonu */
.wc-block-components-notice-banner .wc-block-components-notice-banner__content .button,
.wc-block-components-notice-banner .wc-block-components-notice-banner__content a.wc-forward,
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button,
.woocommerce-page .woocommerce-info .button {
    order: 2 !important;
    margin-left: auto !important;
    background: #0e0e12 !important;
    color: var(--gold, #c9a86a) !important;
    border: 1px solid #0e0e12 !important;
    border-radius: 7px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    float: none !important;
    opacity: 1 !important;
}

.wc-block-components-notice-banner .wc-block-components-notice-banner__content .button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce-page .woocommerce-message .button:hover {
    background: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
    border-color: var(--gold, #c9a86a) !important;
}

/* 3. SEPET SAYFASI İKİ SÜTUNLU DÜZEN VE TAM GENİŞLİK SİPARİŞ ÖZETİ (%48 Daralma Hatası Çözümü) */
body.woocommerce-cart .ctt-cart-layout,
.woocommerce .ctt-cart-layout,
.woocommerce-page .ctt-cart-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.62fr) minmax(350px, 0.88fr) !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
}

.woocommerce .ctt-cart-sidebar,
.woocommerce-page .ctt-cart-sidebar,
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals,
body.woocommerce-cart .cart_totals.ctt-summary-card {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 28px !important;
    background: #ffffff !important;
    border: 1px solid #e4e6ee !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(14, 14, 18, 0.06) !important;
    box-sizing: border-box !important;
}

.ctt-cart-card {
    background: #ffffff !important;
    border: 1px solid #e4e6ee !important;
    border-radius: 16px !important;
    padding: 26px 28px !important;
    box-shadow: 0 8px 26px rgba(14, 14, 18, 0.04) !important;
}

/* 4. SEPET TABLOSU VE ÜRÜN KÜÇÜK RESMİ (32px Küçülme Hatası Çözümü) */
.woocommerce table.shop_table.ctt-cart-table,
.woocommerce-page table.shop_table.ctt-cart-table,
.woocommerce table.shop_table.ctt-totals-table,
.woocommerce-page table.shop_table.ctt-totals-table,
.woocommerce table.shop_table.ctt-review-table,
.woocommerce-page table.shop_table.ctt-review-table {
    border: none !important;
    border-radius: 0 !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    width: 100% !important;
    background: transparent !important;
}

.woocommerce table.shop_table.ctt-cart-table thead th,
.woocommerce-page table.shop_table.ctt-cart-table thead th {
    border: none !important;
    border-bottom: 1px solid #e6e8f0 !important;
    padding: 0 12px 14px 12px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #7c7f8a !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.woocommerce table.shop_table.ctt-cart-table thead th:first-child,
.woocommerce table.shop_table.ctt-cart-table tbody td:first-child {
    padding-left: 0 !important;
}

.woocommerce table.shop_table.ctt-cart-table thead th:last-child,
.woocommerce table.shop_table.ctt-cart-table tbody td:last-child {
    padding-right: 0 !important;
    text-align: right !important;
}

.woocommerce table.shop_table.ctt-cart-table tbody tr.cart_item td,
.woocommerce-page table.shop_table.ctt-cart-table tbody tr.cart_item td {
    border-top: none !important;
    border-bottom: 1px solid #eef0f6 !important;
    padding: 20px 12px !important;
    vertical-align: middle !important;
    background: transparent !important;
}

.ctt-cart-thumb {
    width: 82px !important;
    height: 82px !important;
    border-radius: 10px !important;
    background: #f5f6f9 !important;
    border: 1px solid #e5e7ef !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce table.cart .ctt-cart-thumb a,
.woocommerce-page table.cart .ctt-cart-thumb a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.woocommerce table.cart .ctt-cart-thumb img,
.woocommerce-page table.cart .ctt-cart-thumb img,
.woocommerce #content table.cart .ctt-cart-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
}

.ctt-cart-item-title {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #141418 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    text-decoration: none !important;
}

.ctt-cart-unit-price {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #5f6370 !important;
    white-space: nowrap !important;
}

.ctt-cart-line-total {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #141418 !important;
    white-space: nowrap !important;
}

/* Sepet Adet (+ / -) Kutusu */
.ctt-qty-stepper {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #d5d8e2 !important;
    border-radius: 8px !important;
    height: 40px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.ctt-qty-stepper .ctt-qty-btn {
    width: 34px !important;
    height: 100% !important;
    border: none !important;
    background: #f5f6fa !important;
    color: #141418 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.ctt-qty-stepper .ctt-qty-btn:hover {
    background: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
}

.woocommerce .ctt-qty-stepper .quantity,
.woocommerce-page .ctt-qty-stepper .quantity {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.woocommerce .ctt-qty-stepper .quantity input.qty,
.woocommerce-page .ctt-qty-stepper .quantity input.qty {
    width: 44px !important;
    height: 100% !important;
    border: none !important;
    background: #ffffff !important;
    text-align: center !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #141418 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Sepetten Sil (X) Butonu */
.woocommerce table.cart a.remove.ctt-remove-item,
.woocommerce-page table.cart a.remove.ctt-remove-item {
    width: 34px !important;
    height: 34px !important;
    line-height: 32px !important;
    border-radius: 50% !important;
    background: #f3f4f8 !important;
    color: #6d707d !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
}

.woocommerce table.cart a.remove.ctt-remove-item:hover,
.woocommerce-page table.cart a.remove.ctt-remove-item:hover {
    background: #feeaea !important;
    color: #d63638 !important;
}

/* 5. SEPET ALT KUPON VE AKSİYON ÇUBUĞU */
.woocommerce table.shop_table.ctt-cart-table tbody td.actions,
.woocommerce-page table.shop_table.ctt-cart-table tbody td.actions {
    border: none !important;
    padding: 22px 0 2px 0 !important;
    background: transparent !important;
    text-align: left !important;
}

.ctt-cart-actions-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.woocommerce table.cart td.actions .coupon.ctt-coupon-group,
.woocommerce-page table.cart td.actions .coupon.ctt-coupon-group {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce table.cart td.actions .coupon.ctt-coupon-group .input-text,
.woocommerce-page table.cart td.actions .coupon.ctt-coupon-group .input-text {
    float: none !important;
    width: 215px !important;
    height: 42px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border: 1px solid #d4d7e2 !important;
    border-radius: 8px !important;
    background: #fbfbfd !important;
    font-size: 13.5px !important;
    color: #141418 !important;
    line-height: 40px !important;
}

.woocommerce table.cart td.actions .coupon.ctt-coupon-group .input-text:focus {
    border-color: var(--gold, #c9a86a) !important;
    background: #ffffff !important;
}

.woocommerce table.cart td.actions button.button.ctt-btn-dark,
.woocommerce-page table.cart td.actions button.button.ctt-btn-dark {
    float: none !important;
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    background: #0e0e12 !important;
    color: #ffffff !important;
    border: 1px solid #0e0e12 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 40px !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.woocommerce table.cart td.actions button.button.ctt-btn-dark:hover {
    background: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
    border-color: var(--gold, #c9a86a) !important;
}

.woocommerce table.cart td.actions button.button.ctt-btn-dark:disabled,
.woocommerce table.cart td.actions button.button.ctt-btn-dark:disabled[disabled] {
    background: #eff0f5 !important;
    color: #8c8f9c !important;
    border-color: #dfe2ec !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.ctt-btn-outline-dark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #141418 !important;
    border: 1px solid #d4d7e2 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.ctt-btn-outline-dark:hover {
    border-color: #0e0e12 !important;
    background: #f6f7fa !important;
}

/* 6. SİPARİŞ ÖZETİ TABLOSU VE ALTIN "GÜVENLİ ÖDEMEYE GEÇ" BUTONU (Mor Buton Hatası Çözümü) */
.ctt-summary-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    color: #141418 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 0 14px 0 !important;
    border-bottom: 1px solid #eceef4 !important;
}

.woocommerce .cart_totals table.shop_table.ctt-totals-table th,
.woocommerce-page .cart_totals table.shop_table.ctt-totals-table th {
    width: 38% !important;
    padding: 13px 8px 13px 0 !important;
    border-top: none !important;
    border-bottom: 1px solid #f0f1f6 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #686b77 !important;
    background: transparent !important;
    vertical-align: top !important;
    white-space: nowrap !important;
}

.woocommerce .cart_totals table.shop_table.ctt-totals-table td,
.woocommerce-page .cart_totals table.shop_table.ctt-totals-table td {
    width: 62% !important;
    padding: 13px 0 13px 8px !important;
    border-top: none !important;
    border-bottom: 1px solid #f0f1f6 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #141418 !important;
    text-align: right !important;
    background: transparent !important;
    vertical-align: top !important;
}

.woocommerce ul#shipping_method,
.woocommerce-page ul#shipping_method {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul#shipping_method li,
.woocommerce-page ul#shipping_method li {
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    text-indent: 0 !important;
}

.woocommerce .woocommerce-shipping-destination,
.woocommerce-page .woocommerce-shipping-destination {
    font-size: 12px !important;
    color: #7c7f8a !important;
    font-weight: 400 !important;
    margin: 6px 0 0 0 !important;
}

.woocommerce .shipping-calculator-button,
.woocommerce-page .shipping-calculator-button {
    font-size: 12.5px !important;
    color: #9b7a3c !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.woocommerce .cart_totals table.shop_table.ctt-totals-table tr.order-total th,
.woocommerce .cart_totals table.shop_table.ctt-totals-table tr.order-total td,
.woocommerce-page .cart_totals table.shop_table.ctt-totals-table tr.order-total th,
.woocommerce-page .cart_totals table.shop_table.ctt-totals-table tr.order-total td {
    border-top: 2px solid #0e0e12 !important;
    border-bottom: none !important;
    padding-top: 16px !important;
    padding-bottom: 18px !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0e0e12 !important;
    vertical-align: baseline !important;
}

.woocommerce .cart_totals tr.order-total small.includes_tax,
.woocommerce-page .cart_totals tr.order-total small.includes_tax {
    display: block !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #7c7f8a !important;
    margin-top: 4px !important;
}

.woocommerce .wc-proceed-to-checkout,
.woocommerce-page .wc-proceed-to-checkout {
    padding: 4px 0 0 0 !important;
    margin: 0 !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button.button.alt,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button.button.alt,
a.checkout-button.ctt-checkout-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: var(--gold, #c9a86a) !important;
    background-color: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 22px !important;
    margin: 0 !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(201, 168, 106, 0.34) !important;
    transition: all 0.22s ease !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button.button.alt:hover,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button.button.alt:hover,
a.checkout-button.ctt-checkout-cta:hover {
    background: var(--gold-hover, #b59252) !important;
    background-color: var(--gold-hover, #b59252) !important;
    color: #0e0e12 !important;
    transform: translateY(-1px) !important;
}

/* 7. ÖDEME (CHECKOUT) SAYFASI TAM OVERRIDE (#payment gri kutu ve mor buton ezme) */
body.woocommerce-checkout .ctt-checkout-layout,
.woocommerce .ctt-checkout-layout,
.woocommerce-page .ctt-checkout-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.9fr) !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100% !important;
}

.woocommerce form.ctt-checkout-form .form-row,
.woocommerce-page form.ctt-checkout-form .form-row {
    float: none !important;
    padding: 0 !important;
    margin: 0 0 14px 0 !important;
}

.woocommerce form.ctt-checkout-form .woocommerce-billing-fields__field-wrapper,
.woocommerce form.ctt-checkout-form .woocommerce-shipping-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px 16px !important;
}

.woocommerce form.ctt-checkout-form .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

.woocommerce form.ctt-checkout-form .form-row-first,
.woocommerce form.ctt-checkout-form .form-row-last {
    width: calc(50% - 8px) !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce form.ctt-checkout-form input.input-text,
.woocommerce form.ctt-checkout-form textarea,
.woocommerce form.ctt-checkout-form select {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #cfd2dc !important;
    border-radius: 8px !important;
    background: #fbfbfd !important;
    font-size: 14px !important;
    color: #141418 !important;
    box-sizing: border-box !important;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
    display: grid !important;
    gap: 10px !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    background: #fafafd !important;
    border: 1px solid #dcdde6 !important;
    border-radius: 10px !important;
    padding: 13px 15px !important;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce-checkout #payment div.payment_box {
    background: #ffffff !important;
    color: #4a4d58 !important;
    border: 1px solid #e6e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    margin: 10px 0 0 0 !important;
    font-size: 13px !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
    content: none !important;
}

.woocommerce-checkout #payment div.form-row.place-order {
    padding: 8px 0 0 0 !important;
    margin: 0 !important;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    float: none !important;
    width: 100% !important;
    background: var(--gold, #c9a86a) !important;
    background-color: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
    box-shadow: 0 8px 22px rgba(201, 168, 106, 0.35) !important;
}

.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover {
    background: var(--gold-hover, #b59252) !important;
    background-color: var(--gold-hover, #b59252) !important;
    color: #0e0e12 !important;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    body.woocommerce-cart .ctt-cart-layout,
    .woocommerce .ctt-cart-layout,
    body.woocommerce-checkout .ctt-checkout-layout,
    .woocommerce .ctt-checkout-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .woocommerce form.ctt-checkout-form .form-row-first,
    .woocommerce form.ctt-checkout-form .form-row-last {
        width: 100% !important;
    }
    .woocommerce table.cart td.actions .coupon.ctt-coupon-group,
    .woocommerce table.cart td.actions .coupon.ctt-coupon-group .input-text {
        width: 100% !important;
    }
}


/* ==========================================================================
   v11.0: ÇOKLU ÜRÜN GALERİSİ, HOVER/DOKUNMATİK KART SLIDER & SONSUZ KAYDIRMA
   Geliştirici: Sunucu Dijital (https://sunucu.digital)
   ========================================================================== */

/* 1. Rakamlı Sayfalama (1, 2, 3 / Sonraki) Tamamen Gizle */
.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination,
.navigation.pagination,
.nav-links,
ul.page-numbers {
    display: none !important;
}

/* 2. Kategori ve Vitrin Ürün Kartı Çoklu Görsel Slider (Mouse & Mobil Parmak) */
.product-visual.ctt-card-slider {
    position: relative !important;
    overflow: hidden !important;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-drag: none;
}

.ctt-card-slides {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.ctt-card-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    transition: opacity 0.22s ease, transform 0.35s ease !important;
    pointer-events: none !important;
}

.ctt-card-slide.active {
    position: relative !important;
    opacity: 1 !important;
    z-index: 1 !important;
}

.product-card:hover .ctt-card-slide.active {
    transform: scale(1.03);
}

.ctt-card-dots {
    position: absolute !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 9px !important;
    z-index: 4 !important;
    display: flex !important;
    gap: 5px !important;
    pointer-events: none !important;
}

.ctt-card-dots span {
    flex: 1 !important;
    height: 3px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.38) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
    transition: background-color 0.2s ease !important;
}

.ctt-card-dots span.active {
    background: var(--gold, #c9a86a) !important;
}

/* 3. Tekil Ürün Sayfası Çoklu Görsel Galerisi & Küçük Resim Şeridi */
.ctt-sp-stage {
    position: relative !important;
    user-select: none;
    touch-action: pan-y pinch-zoom;
}

.ctt-sp-slides {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.ctt-sp-slide {
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: zoom-in;
}

.ctt-sp-slide.active {
    display: flex !important;
    animation: cttFadeIn 0.24s ease;
}

.ctt-sp-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ctt-sp-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: rgba(14, 14, 18, 0.72) !important;
    backdrop-filter: blur(6px) !important;
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.ctt-sp-arrow:hover {
    background: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
    border-color: var(--gold, #c9a86a) !important;
}

.ctt-sp-arrow.prev { left: 14px !important; }
.ctt-sp-arrow.next { right: 14px !important; }

.ctt-sp-counter {
    position: absolute !important;
    bottom: 14px !important;
    left: 14px !important;
    background: rgba(14, 14, 18, 0.76) !important;
    color: #ffffff !important;
    padding: 4px 11px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    z-index: 5 !important;
    letter-spacing: 0.5px !important;
}

.ctt-sp-zoom-btn {
    position: absolute !important;
    bottom: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(14, 14, 18, 0.76) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    cursor: pointer !important;
}

.ctt-sp-zoom-btn:hover {
    background: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
}

.ctt-sp-thumbs {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding: 2px 0 6px 0 !important;
    scrollbar-width: thin;
}

.ctt-sp-thumb {
    width: 78px !important;
    height: 78px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 2px solid #e2e4ec !important;
    background: #141418 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    opacity: 0.68 !important;
    transition: all 0.2s ease !important;
}

.ctt-sp-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.ctt-sp-thumb:hover,
.ctt-sp-thumb.active {
    border-color: var(--gold, #c9a86a) !important;
    opacity: 1 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 168, 106, 0.28) !important;
}

/* Tam Ekran Lightbox */
.ctt-lightbox {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(8, 8, 12, 0.94) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 9999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
}

.ctt-lightbox.open {
    display: flex !important;
}

.ctt-lb-stage {
    max-width: 90vw !important;
    max-height: 88vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ctt-lb-stage img {
    max-width: 90vw !important;
    max-height: 86vh !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
}

.ctt-lb-close {
    position: fixed !important;
    top: 22px !important;
    right: 24px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 20px !important;
    cursor: pointer !important;
}

.ctt-lb-nav {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 30px !important;
    cursor: pointer !important;
}

.ctt-lb-nav:hover,
.ctt-lb-close:hover {
    background: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
}

.ctt-lb-nav.prev { left: 24px !important; }
.ctt-lb-nav.next { right: 24px !important; }

/* 4. Kategori Sayfaları Sonsuz Kaydırma (Infinite Scroll) Yükleyici */
.ctt-infinite-sentinel {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 38px 0 12px 0 !important;
    min-height: 70px !important;
}

.ctt-infinite-loader {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 0.35;
    transition: opacity 0.25s ease;
}

.ctt-infinite-sentinel.loading .ctt-infinite-loader {
    opacity: 1;
}

.ctt-infinite-loader .ctt-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: var(--gold, #c9a86a) !important;
    animation: cttPulseDot 1.1s infinite ease-in-out;
}

.ctt-infinite-loader .ctt-dot:nth-child(2) { animation-delay: 0.18s; }
.ctt-infinite-loader .ctt-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes cttPulseDot {
    0%, 80%, 100% { transform: scale(0.65); opacity: 0.45; }
    40% { transform: scale(1.15); opacity: 1; }
}

@keyframes cttFadeIn {
    from { opacity: 0.35; }
    to { opacity: 1; }
}

.ctt-card-enter {
    animation: cttCardFadeUp 0.38s ease forwards;
}

@keyframes cttCardFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* v12.0 Tekil Ürün Sayfası Adet Kutusu Hizalaması */
.ctt-qty-stepper.ctt-sp-wc-qty {
    height: 50px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}
.ctt-qty-stepper.ctt-sp-wc-qty .ctt-qty-btn {
    width: 38px !important;
    font-size: 18px !important;
}
.ctt-qty-stepper.ctt-sp-wc-qty .quantity input.qty {
    width: 48px !important;
    font-size: 15px !important;
}


/* ==========================================================================
   v13.0: TEKİL ÜRÜN SAYFASI LÜKS ADET SEÇİCİ & TEK SATIR BUTON DÜZENİ
   ("Kelebek gibi kalan" varsayılan input ve alt satıra düşen Hemen Al çözümü)
   ========================================================================== */

.sp-buy-actions {
    margin: 0 0 14px 0 !important;
    width: 100% !important;
}

.woocommerce div.product form.cart.ctt-sp-cart-form,
form.cart.ctt-sp-cart-form,
.ctt-sp-cart-form {
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product form.cart.ctt-sp-cart-form::before,
.woocommerce div.product form.cart.ctt-sp-cart-form::after {
    display: none !important;
    content: none !important;
}

/* Lüks Adet Kutusu (.ctt-lux-qty) */
.ctt-qty-stepper.ctt-lux-qty {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    align-items: center !important;
    width: 132px !important;
    height: 52px !important;
    background: #ffffff !important;
    border: 1.5px solid #141418 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(14, 14, 18, 0.05) !important;
    margin: 0 !important;
    float: none !important;
}

.ctt-qty-stepper.ctt-lux-qty .ctt-qty-btn {
    width: 40px !important;
    height: 100% !important;
    background: #141418 !important;
    color: var(--gold, #c9a86a) !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.ctt-qty-stepper.ctt-lux-qty .ctt-qty-btn:hover {
    background: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
}

.woocommerce div.product form.cart .ctt-lux-qty div.quantity,
.ctt-lux-qty .quantity {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
}

.woocommerce div.product form.cart .ctt-lux-qty div.quantity input.qty,
.ctt-lux-qty .quantity input.qty,
#ctt-sp-wc-qty-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #141418 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.ctt-lux-qty .quantity input.qty::-webkit-outer-spin-button,
.ctt-lux-qty .quantity input.qty::-webkit-inner-spin-button,
#ctt-sp-wc-qty-input::-webkit-outer-spin-button,
#ctt-sp-wc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Sepete Ekle ve Hemen Al Butonları (52px Tam Hizalı, Tek Satır) */
.ctt-sp-cart-form .sp-btn-cart,
.woocommerce div.product form.cart .sp-btn-cart {
    float: none !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 52px !important;
    background: #0e0e12 !important;
    color: #ffffff !important;
    border: 1.5px solid #0e0e12 !important;
    border-radius: 10px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    margin: 0 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.22s ease !important;
}

.ctt-sp-cart-form .sp-btn-cart:hover,
.woocommerce div.product form.cart .sp-btn-cart:hover {
    background: #22222c !important;
    border-color: var(--gold, #c9a86a) !important;
    color: var(--gold, #c9a86a) !important;
    transform: translateY(-1px) !important;
}

.ctt-sp-cart-form .sp-btn-buy,
.woocommerce div.product form.cart .sp-btn-buy {
    float: none !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 52px !important;
    background: var(--gold, #c9a86a) !important;
    color: #0e0e12 !important;
    border: 1.5px solid var(--gold, #c9a86a) !important;
    border-radius: 10px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    margin: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 18px rgba(201, 168, 106, 0.28) !important;
    transition: all 0.22s ease !important;
}

.ctt-sp-cart-form .sp-btn-buy:hover,
.woocommerce div.product form.cart .sp-btn-buy:hover {
    background: var(--gold-hover, #b59252) !important;
    border-color: var(--gold-hover, #b59252) !important;
    color: #0e0e12 !important;
    transform: translateY(-1px) !important;
}

/* Mobil Görünümde: Üst Satırda [Adet + Sepete Ekle], Alt Satırda Tam Genişlik [Hemen Al] */
@media (max-width: 580px) {
    .woocommerce div.product form.cart.ctt-sp-cart-form,
    form.cart.ctt-sp-cart-form,
    .ctt-sp-cart-form {
        grid-template-columns: 124px minmax(0, 1fr) !important;
        gap: 10px !important;
    }
    .ctt-qty-stepper.ctt-lux-qty {
        width: 124px !important;
        grid-template-columns: 38px minmax(0, 1fr) 38px !important;
    }
    .ctt-qty-stepper.ctt-lux-qty .ctt-qty-btn {
        width: 38px !important;
    }
    .ctt-sp-cart-form .sp-btn-buy,
    .woocommerce div.product form.cart .sp-btn-buy {
        grid-column: 1 / -1 !important;
    }
}


/* ==========================================================================
   v14.0: FOOTER LOGO, ALT BARI YATAY MENÜ VE MOBİL KAYAR MENÜ TASARIMI
   ========================================================================== */
.ctt-footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}
.ctt-footer-logo img {
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.ctt-footer-inline-menu {
    list-style: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
}
.ctt-footer-inline-menu li a {
    font-size: 12.5px;
    color: #9b9ea8;
    text-decoration: none;
}
.ctt-footer-inline-menu li a:hover {
    color: var(--gold, #c9a86a);
}

/* Mobil Hamburger Buton & Sol Kayar Menü Çekmecesi */
.ctt-mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}
.ctt-mobile-menu-btn:hover {
    border-color: var(--gold, #c9a86a);
    color: var(--gold, #c9a86a);
}

.ctt-mobile-drawer {
    position: fixed;
    top: 0;
    left: -340px;
    width: 100%;
    max-width: 310px;
    height: 100vh;
    background: #0e0e12;
    color: #ffffff;
    z-index: 2200;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    transition: left 0.28s ease;
    border-right: 1px solid rgba(201, 168, 106, 0.28);
}
.ctt-mobile-drawer.open {
    left: 0;
}
.ctt-mobile-nav-links {
    padding: 18px 22px;
    overflow-y: auto;
    flex: 1;
}
.ctt-mobile-nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}
.ctt-mobile-nav-links ul li a {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #e8e9ee;
    font-size: 15px;
    font-weight: 600;
}
.ctt-mobile-nav-links ul li a:hover {
    color: var(--gold, #c9a86a);
    padding-left: 14px;
}

@media (max-width: 1024px) {
    .ctt-mobile-menu-btn {
        display: inline-flex;
    }
}


/* ==========================================================================
   v15.0: ANA SAYFA SLIDER & GÖRSEL KARARMA / YAZI KAPANMA ÇÖZÜMÜ
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    --ctt-hero-overlay: 0.45;
}

.hero-section .container.hero-grid {
    position: relative;
    z-index: 3;
}

.ctt-hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.ctt-hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.75s ease, transform 4.5s ease;
}

.ctt-hero-bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Görseli boğmayan dengeli kademeli perde */
.ctt-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 14, calc(var(--ctt-hero-overlay) * 0.92)) 0%,
        rgba(10, 10, 14, calc(var(--ctt-hero-overlay) * 0.58)) 52%,
        rgba(10, 10, 14, calc(var(--ctt-hero-overlay) * 0.25)) 100%
    );
}

/* Yazıların arkasında okunabilirliği artıran yumuşak cam katman */
.hero-section.has-hero-media.has-text-backdrop .ctt-hero-copy-panel {
    background: rgba(12, 12, 16, 0.54);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.hero-section.has-hero-media .hero-title,
.hero-section.has-hero-media .hero-subtitle,
.hero-section.has-hero-media .stat-item span {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

/* İki Sütun Vitrin Modu: Yazılar solda net, Slider görseli sağda çerçeveli ve canlı */
.hero-section.ctt-hero-mode-split_showcase .hero-grid {
    grid-template-columns: 1.08fr 1.12fr;
    gap: 36px;
    align-items: center;
}

.ctt-hero-showcase-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 340px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 106, 0.42);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
    background: #14141a;
}

.ctt-hero-showcase-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.ctt-hero-showcase-slide.active {
    opacity: 1;
    z-index: 1;
}

.ctt-hero-showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ctt-hero-showcase-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10,10,14,0.04) 55%, rgba(10,10,14,calc(var(--ctt-hero-overlay) * 0.55)) 100%);
}

/* Hizalama Seçenekleri */
.hero-section.ctt-hero-pos-center .ctt-hero-copy-col {
    text-align: center;
}
.hero-section.ctt-hero-pos-center .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}
.hero-section.ctt-hero-pos-center .hero-cta-group,
.hero-section.ctt-hero-pos-center .hero-micro-stats {
    justify-content: center;
}

.hero-section.ctt-hero-pos-right .hero-grid {
    direction: rtl;
}
.hero-section.ctt-hero-pos-right .hero-grid > * {
    direction: ltr;
}

/* Slider Okları ve Alt Noktalar */
.ctt-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(14, 14, 18, 0.65);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ctt-hero-nav:hover {
    background: var(--gold, #c9a86a);
    color: #0e0e12;
    border-color: var(--gold, #c9a86a);
}

.ctt-hero-nav.prev { left: 16px; }
.ctt-hero-nav.next { right: 16px; }

.ctt-hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: inline-flex;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(10, 10, 14, 0.52);
    backdrop-filter: blur(4px);
}

.ctt-hero-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.22s ease;
}

.ctt-hero-dots button.active {
    width: 22px;
    border-radius: 50px;
    background: var(--gold, #c9a86a);
}

@media (max-width: 1024px) {
    .hero-section.ctt-hero-mode-split_showcase .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-section.ctt-hero-pos-right .hero-grid {
        direction: ltr;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 46px 0 56px;
    }
    .hero-section.has-hero-media.has-text-backdrop .ctt-hero-copy-panel {
        padding: 20px 18px;
    }
    .ctt-hero-showcase-box {
        min-height: 240px;
    }
    .ctt-hero-nav {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}


/* ==========================================================================
   v16.0: YASAL SAYFALAR, ŞİRKET KİMLİK KARTI, ÇEREZ TABLOSU & KVKK WHATSAPP FORMU
   ========================================================================== */
.ctt-legal-doc {
    background: #ffffff;
    border: 1px solid var(--border-light, #e5e6ec);
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 8px 28px rgba(14, 14, 18, 0.04);
}

.ctt-legal-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light, #e5e6ec);
    font-size: 13px;
    color: var(--text-muted, #7c7f8a);
}

.ctt-inline-gold-link {
    color: #967435;
    font-weight: 700;
    text-decoration: underline;
}
.ctt-inline-gold-link:hover {
    color: #0e0e12;
}

.ctt-legal-identity-card {
    background: linear-gradient(135deg, #0e0e12 0%, #191922 100%);
    color: #f4f4f6;
    border: 1px solid rgba(201, 168, 106, 0.42);
    border-radius: 14px;
    padding: 24px 26px;
    margin-bottom: 28px;
}

.ctt-legal-identity-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ctt-legal-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--gold, #c9a86a);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ctt-legal-identity-head h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: #ffffff;
    margin: 0;
}

.ctt-legal-web-pill {
    background: rgba(201, 168, 106, 0.16);
    border: 1px solid rgba(201, 168, 106, 0.45);
    color: var(--gold, #c9a86a);
    padding: 6px 13px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
}

.ctt-legal-identity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.ctt-id-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 14px;
}

.ctt-id-item.full {
    grid-column: 1 / -1;
}

.ctt-id-item small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #a3a7b4;
    margin-bottom: 2px;
}

.ctt-id-item strong {
    font-size: 13.5px;
    color: #ffffff;
}

.ctt-id-item strong a {
    color: var(--gold, #c9a86a);
    text-decoration: underline;
}

.ctt-legal-doc h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: #141418;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f1f6;
}

.ctt-legal-doc p {
    font-size: 14.5px;
    line-height: 1.78;
    color: #3a3d47;
    margin-bottom: 14px;
}

.ctt-legal-doc ul {
    margin: 10px 0 18px 22px;
    display: grid;
    gap: 8px;
    font-size: 14.2px;
    line-height: 1.7;
    color: #3a3d47;
}

.ctt-table-scroll {
    width: 100%;
    overflow-x: auto;
    margin: 18px 0 24px;
    border: 1px solid #e4e6ee;
    border-radius: 12px;
}

.ctt-legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    font-size: 13.5px;
}

.ctt-legal-table thead th {
    background: #0e0e12;
    color: var(--gold, #c9a86a);
    text-align: left;
    padding: 13px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ctt-legal-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef0f5;
    vertical-align: top;
    color: #2e313b;
    line-height: 1.6;
}

.ctt-legal-table tbody tr:last-child td {
    border-bottom: none;
}

.ctt-legal-table code {
    background: #f4f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #0e0e12;
}

.ctt-kvkk-form {
    background: #f8f9fc;
    border: 1px solid #e2e5ef;
    border-radius: 14px;
    padding: 24px;
    margin: 18px 0 26px;
}

.ctt-kvkk-consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    font-weight: 500 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    cursor: pointer;
}

.ctt-kvkk-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.ctt-kvkk-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.ctt-kvkk-preview {
    margin-top: 18px;
    background: #0e0e12;
    color: #f4f4f6;
    border: 1px solid rgba(201, 168, 106, 0.4);
    border-radius: 10px;
    padding: 16px 18px;
}

.ctt-kvkk-preview pre {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 10px 0 0;
    font-family: 'Inter', monospace;
    font-size: 12.5px;
    line-height: 1.65;
    color: #e4e6ee;
}

@media (max-width: 768px) {
    .ctt-legal-doc {
        padding: 22px 18px;
    }
    .ctt-legal-identity-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   v17.0: HAKKIMIZDA & İLETİŞİM SAYFALARI DÜZENİ
   ========================================================================== */
.ctt-about-story-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 12px;
}

.ctt-about-highlight-box {
    background: #f8f9fc;
    border: 1px solid #e2e5ef;
    border-radius: 14px;
    padding: 22px 24px;
}

.ctt-about-highlight-box h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    color: #141418;
    margin-bottom: 14px;
}

.ctt-about-check-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    gap: 12px !important;
}

.ctt-about-check-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
}

.ctt-about-check-list li > span {
    color: #967435;
    font-weight: 800;
    flex-shrink: 0;
}

.ctt-about-cta-strip {
    margin-top: 28px;
    background: #f9f7f2;
    border: 1px solid #e7dec8;
    border-radius: 14px;
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ctt-contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 18px;
}

.ctt-contact-card-dark {
    background: linear-gradient(145deg, #0e0e12 0%, #191922 100%);
    color: #f4f4f6;
    border: 1px solid rgba(201, 168, 106, 0.42);
    border-radius: 14px;
    padding: 24px 26px;
}

.ctt-contact-card-dark h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    color: #ffffff;
    margin: 2px 0 18px;
}

.ctt-contact-info-list {
    display: grid;
    gap: 14px;
}

.ctt-c-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ctt-c-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ctt-c-row > span {
    font-size: 18px;
    line-height: 1.3;
    flex-shrink: 0;
}

.ctt-c-row small {
    display: block;
    font-size: 11.5px;
    color: #a3a7b4;
    margin-bottom: 2px;
}

.ctt-c-row strong {
    font-size: 13.5px;
    color: #ffffff;
}

.ctt-c-row strong a {
    color: var(--gold, #c9a86a);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .ctt-about-story-grid,
    .ctt-contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   v18.0: CANLI İŞLEM TARİH/SAAT BANDI & SİPARİŞ ZAMAN DAMGASI ÖZETİ
   ========================================================================== */
.ctt-live-checkout-meta {
    background: #0e0e12;
    color: #f4f4f6;
    border: 1px solid rgba(201, 168, 106, 0.45);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(14, 14, 18, 0.08);
}

.ctt-live-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ctt-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1ebe5d;
    box-shadow: 0 0 0 4px rgba(30, 190, 93, 0.22);
    flex-shrink: 0;
}

.ctt-live-meta-left strong {
    display: block;
    font-size: 13.5px;
    color: #ffffff;
}

.ctt-live-meta-left small {
    font-size: 12px;
    color: #c6c9d4;
}

.ctt-live-meta-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #d4d7dc;
}

.ctt-live-meta-right strong {
    color: var(--gold, #c9a86a);
}

.ctt-order-stamped-summary {
    background: #f8f9fc;
    border: 1px solid #e2e5ef;
    border-left: 4px solid var(--gold, #c9a86a);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 18px;
    display: grid;
    gap: 6px;
    font-size: 13.5px;
    color: #262932;
}


/* ==========================================================================
   v19.0: HEADER HESABIM / GİRİŞ BUTONU & KULLANICI GİRİŞ / KAYIT SAYFASI
   ========================================================================== */
.ctt-header-account-btn {
    padding: 0 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.ctt-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start;
}

.ctt-auth-card {
    background: #ffffff;
    border: 1px solid var(--border-light, #e5e6ec);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 28px rgba(14, 14, 18, 0.04);
}

.ctt-auth-card.highlighted {
    border-color: rgba(201, 168, 106, 0.65);
    box-shadow: 0 12px 34px rgba(14, 14, 18, 0.08);
}

.ctt-auth-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: #141418;
    margin: 4px 0 8px;
}

.ctt-auth-card > p {
    font-size: 13.5px;
    color: #5c606d;
    margin-bottom: 20px;
}

.ctt-auth-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

@media (max-width: 860px) {
    .ctt-auth-grid {
        grid-template-columns: 1fr;
    }
    .ctt-auth-card {
        padding: 24px 20px;
    }
}

@media (max-width: 560px) {
    .ctt-header-account-btn .ctt-acc-label {
        display: none;
    }
    .ctt-header-account-btn {
        padding: 0 11px !important;
    }
}


/* ==========================================================================
   v20.0: ŞIK GİRİŞ / KAYIT KARTLARI & MÜŞTERİ PANELİ (CUSTOMER PORTAL)
   ========================================================================== */
.ctt-acc-hero-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ctt-acc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 106, 0.42);
    border-radius: 14px;
    padding: 12px 18px;
}

.ctt-acc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold, #c9a86a);
    color: #0e0e12;
    font-weight: 800;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ctt-acc-hero-badge strong {
    display: block;
    font-size: 14.5px;
    color: #ffffff;
}

.ctt-acc-hero-badge span {
    font-size: 12px;
    color: var(--silver, #d4d7dc);
}

.cat-pill-link.ctt-pill-logout {
    border-color: rgba(255, 130, 130, 0.35);
    color: #ffb8b8;
}

.cat-pill-link.ctt-pill-logout:hover {
    background: #d63638;
    border-color: #d63638;
    color: #ffffff;
}

.ctt-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
}

.ctt-auth-card {
    background: #ffffff;
    border: 1px solid var(--border-light, #e5e6ec);
    border-radius: 18px;
    padding: 34px 32px 26px;
    box-shadow: 0 10px 30px rgba(14, 14, 18, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ctt-auth-card.highlighted {
    border-color: rgba(201, 168, 106, 0.72);
    box-shadow: 0 16px 38px rgba(14, 14, 18, 0.09);
}

.ctt-auth-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: #141418;
    margin: 4px 0 8px;
}

.ctt-auth-card-head > p {
    font-size: 13.5px;
    color: #5c606d;
    margin-bottom: 22px;
    line-height: 1.6;
}

.ctt-auth-card .sd-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e212b;
    margin-bottom: 6px;
}

.ctt-auth-card .form-input {
    background: #fafbfe;
    border: 1px solid #d5d9e4;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ctt-auth-card .form-input:focus {
    background: #ffffff;
    border-color: var(--gold, #c9a86a);
    box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.16);
    outline: none;
}

.ctt-input-wrap {
    position: relative;
}

.ctt-input-wrap.has-toggle .ctt-pass-input {
    padding-right: 42px;
}

.ctt-pass-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6d7180;
    font-size: 15px;
    padding: 4px 6px;
    cursor: pointer;
}

.ctt-pass-toggle:hover {
    color: #0e0e12;
}

.ctt-auth-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ctt-check-inline {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #3a3d47 !important;
    margin: 0 !important;
    cursor: pointer;
}

.ctt-auth-submit-gold {
    width: 100%;
    justify-content: center;
    height: 50px;
    font-size: 14.5px;
    border-radius: 10px;
    margin-top: 16px;
}

.ctt-auth-submit-dark {
    width: 100%;
    height: 50px;
    font-size: 14.5px;
    border-radius: 10px;
    margin-top: 10px;
}

.ctt-auth-perks {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #eef0f6;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 600;
    color: #676b78;
}

/* Müşteri Paneli (Logged-In Customer Dashboard) */
.ctt-portal-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.ctt-portal-sidebar {
    background: #0e0e12;
    color: #f4f4f6;
    border: 1px solid rgba(201, 168, 106, 0.35);
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 12px 30px rgba(14, 14, 18, 0.12);
    position: sticky;
    top: 102px;
}

.ctt-portal-user-card {
    text-align: center;
    padding-bottom: 18px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ctt-portal-avatar-lg {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gold, #c9a86a);
    color: #0e0e12;
    font-size: 23px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.ctt-portal-user-card strong {
    display: block;
    font-size: 15.5px;
    color: #ffffff;
    margin-bottom: 2px;
}

.ctt-portal-user-card span {
    font-size: 12px;
    color: #a6aab8;
    word-break: break-all;
}

.ctt-portal-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
}

.ctt-portal-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--silver, #d4d7dc);
    transition: all 0.2s ease;
}

.ctt-portal-nav li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold, #c9a86a);
}

.ctt-portal-nav li a.active {
    background: var(--gold, #c9a86a);
    color: #0e0e12;
    font-weight: 700;
}

.ctt-portal-badge {
    background: rgba(201, 168, 106, 0.2);
    color: var(--gold, #c9a86a);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.ctt-portal-nav li a.active .ctt-portal-badge {
    background: #0e0e12;
    color: var(--gold, #c9a86a);
}

.ctt-portal-nav li.logout-item {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ctt-portal-nav li.logout-item a {
    color: #ff9c9c;
}

.ctt-portal-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ctt-portal-stat-card {
    background: #ffffff;
    border: 1px solid var(--border-light, #e5e6ec);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 6px 20px rgba(14, 14, 18, 0.04);
}

.ctt-portal-stat-card small {
    display: block;
    font-size: 12px;
    color: var(--text-muted, #7c7f8a);
    margin-bottom: 6px;
}

.ctt-portal-stat-card strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: #141418;
    margin-bottom: 8px;
}

.ctt-portal-card {
    background: #ffffff;
    border: 1px solid var(--border-light, #e5e6ec);
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 8px 26px rgba(14, 14, 18, 0.04);
}

.ctt-portal-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: #141418;
    margin: 4px 0 6px;
}

.ctt-portal-sub {
    font-size: 13.5px;
    color: #5f6370;
    margin-bottom: 18px;
}

.ctt-portal-info-list {
    border: 1px solid #eceef4;
    border-radius: 12px;
    overflow: hidden;
    background: #fafbfe;
}

.ctt-p-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-bottom: 1px solid #eceef4;
    font-size: 13.5px;
}

.ctt-p-info-row:last-child {
    border-bottom: none;
}

.ctt-p-info-row > span {
    color: #6b6f7b;
    font-weight: 500;
}

.ctt-p-info-row > strong {
    color: #141418;
    text-align: right;
}

.ctt-order-status-pill {
    display: inline-block;
    background: #f4efe3;
    color: #8c6d32;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.ctt-portal-empty {
    text-align: center;
    padding: 36px 18px;
    background: #f8f9fc;
    border: 1px dashed #d5d9e4;
    border-radius: 12px;
}

.ctt-portal-empty p {
    margin-bottom: 16px;
    color: #5c606d;
    font-size: 14px;
}

@media (max-width: 960px) {
    .ctt-portal-shell {
        grid-template-columns: 1fr;
    }
    .ctt-portal-sidebar {
        position: static;
    }
    .ctt-portal-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .ctt-auth-grid {
        grid-template-columns: 1fr;
    }
    .ctt-auth-card,
    .ctt-portal-card {
        padding: 24px 20px;
    }
}


/* ==========================================================================
   v21.0: TEK SATIR HEADER MENÜ (İKİ KAT KIRILMA ENGELİ & KOMPAKT HİZALAMA)
   Geliştirici: Sunucu Dijital Medya LTD ŞTİ (https://sunucu.digital)
   ========================================================================== */
.site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    min-height: 78px !important;
    flex-wrap: nowrap !important;
}

.site-header .site-branding,
.site-header .header-actions {
    flex-shrink: 0 !important;
}

.site-header .main-nav {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.site-header .main-nav ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-header .main-nav ul li {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.site-header .main-nav ul li a {
    display: inline-block !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    padding: 6px 2px !important;
}

.site-header .header-search {
    flex: 0 1 195px !important;
    min-width: 120px !important;
    max-width: 210px !important;
}

.site-header .header-search input {
    padding: 8px 12px 8px 32px !important;
    font-size: 12.5px !important;
}

.site-header .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

.site-header .icon-btn,
.site-header .cart-trigger-btn {
    height: 38px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Orta ekranlarda menü boşluklarını sıkılaştırarak tek satırda tut */
@media (max-width: 1240px) {
    .site-header .main-nav ul {
        gap: 11px !important;
    }
    .site-header .main-nav ul li a {
        font-size: 12.5px !important;
    }
    .site-header .header-search {
        flex-basis: 150px !important;
        max-width: 165px !important;
    }
}

/* 1080px altında arama kutusunu gizle, menüyü tek satırda rahat tut */
@media (max-width: 1080px) {
    .site-header .header-search {
        display: none !important;
    }
}


/* ==========================================================================
   v22.0: TAM MOBİL UYUMLULUK, YATAY KAYMA (OVERFLOW) KİLİDİ & SEPETİM DÜZENİ
   Geliştirici: Sunucu Dijital Medya LTD ŞTİ (https://sunucu.digital)
   ========================================================================== */

/* 1. Sayfa Genişliğinde Yatay Taşma / Canvas Kaymasını Kökten Kilitle */
html,
body {
    max-width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
    position: relative;
}

@supports not (overflow-x: clip) {
    html,
    body {
        overflow-x: hidden !important;
    }
}

/* Ana wrapper ve section'larda yatay taşmayı engelle */
.site-header,
.hero-section,
.section-block,
.single-product-wrap,
.ctt-flow-main,
.reviews-band,
.site-footer,
.container {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Kapalı Durumdaki Sepet Çekmecesi ve Mobil Çekmecenin Sayfa Genişliğini Taşırmasını Önle */
.cart-drawer {
    max-width: min(420px, 100vw) !important;
    width: min(420px, 100vw) !important;
    right: -100vw !important;
    left: auto !important;
    box-sizing: border-box !important;
}

.cart-drawer.open {
    right: 0 !important;
    left: auto !important;
}

.ctt-mobile-drawer {
    max-width: min(310px, 88vw) !important;
    width: min(310px, 88vw) !important;
    left: -100vw !important;
    right: auto !important;
    box-sizing: border-box !important;
}

.ctt-mobile-drawer.open {
    left: 0 !important;
    right: auto !important;
}

.drawer-footer {
    box-sizing: border-box !important;
    max-width: 100% !important;
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
}

/* 3. Mobil Görünümde Header ("Sepetim" Alanı Dışarı Taşmadan Tek Satırda Dengeli Sığsın) */
@media (max-width: 768px) {
    .site-header .header-inner {
        padding: 0 12px !important;
        gap: 8px !important;
        min-height: 68px !important;
    }

    .site-header .header-inner > div:first-child {
        gap: 8px !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }

    .ctt-mobile-menu-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
    }

    .site-branding {
        min-width: 0 !important;
        max-width: 155px !important;
        overflow: hidden !important;
    }

    .brand-logo {
        font-size: 16px !important;
        letter-spacing: 0.8px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .brand-logo span {
        font-size: 7.5px !important;
        letter-spacing: 1.8px !important;
        margin-top: 2px !important;
    }

    .brand-logo img {
        max-height: 40px !important;
        max-width: 145px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .site-header .header-actions {
        gap: 6px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }

    .site-header .icon-btn {
        height: 36px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
        border-radius: 7px !important;
    }

    .site-header .cart-trigger-btn,
    a.cart-trigger-btn.ctt-wc-header-cart,
    button.cart-trigger-btn.js-open-cart {
        height: 36px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        gap: 5px !important;
        border-radius: 7px !important;
        max-width: none !important;
    }

    .site-header .cart-trigger-btn .count-pill {
        padding: 1px 6px !important;
        font-size: 10.5px !important;
    }
}

/* Çok Dar Mobil Ekranlar (320px - 400px Arası) */
@media (max-width: 400px) {
    .site-header .header-inner {
        padding: 0 10px !important;
        gap: 6px !important;
    }

    .site-branding {
        max-width: 124px !important;
    }

    .brand-logo {
        font-size: 14px !important;
        letter-spacing: 0.4px !important;
    }

    .brand-logo span {
        display: none !important;
    }

    .brand-logo img {
        max-height: 34px !important;
        max-width: 115px !important;
    }

    .site-header .icon-btn {
        padding: 0 7px !important;
        font-size: 11.5px !important;
    }

    .site-header .cart-trigger-btn,
    a.cart-trigger-btn.ctt-wc-header-cart,
    button.cart-trigger-btn.js-open-cart {
        padding: 0 8px !important;
        font-size: 11.5px !important;
    }
}

/* 4. Mobil Sayfa İçeriklerinde Yatay Taşma Yapabilecek Elemanların Sınırlandırılması */
@media (max-width: 768px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .hero-section {
        padding: 38px 0 48px !important;
    }

    .hero-title {
        font-size: 29px !important;
        line-height: 1.18 !important;
        word-break: break-word !important;
    }

    .hero-subtitle {
        font-size: 14.5px !important;
    }

    .hero-cta-group {
        gap: 10px !important;
    }

    .hero-cta-group .btn-gold,
    .hero-cta-group .btn-ghost {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .trust-box {
        padding: 20px 18px !important;
    }

    .section-block {
        padding: 38px 0 !important;
    }

    .section-title {
        font-size: 25px !important;
    }

    /* Filtre sekmeleri mobilde tek satır yatay kaydırılabilir çubuk olarak kalsın */
    .filter-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 100% !important;
        padding-bottom: 4px;
    }
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
    .filter-tab {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        padding: 7px 13px !important;
    }

    /* Tekil ürün sayfasında resim veya metin taşmasını engelle */
    .single-product-main {
        padding: 16px !important;
        gap: 22px !important;
    }

    .sp-title {
        font-size: 24px !important;
        word-break: break-word !important;
    }

    .sp-price-box {
        padding: 14px 16px !important;
    }

    .sp-price-left .now {
        font-size: 22px !important;
    }

    .sp-tab-headers {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

    .sp-tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 13px 16px !important;
        font-size: 13px !important;
    }

    .sp-tab-panel {
        padding: 20px 16px !important;
    }

    /* Footer mobilde taşmadan temiz dizilsin */
    .site-footer {
        padding: 40px 0 78px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .whatsapp-float {
        bottom: 14px !important;
        right: 14px !important;
        padding: 10px 15px !important;
        font-size: 12.5px !important;
    }

    .toast-msg {
        left: 14px !important;
        right: 14px !important;
        bottom: 66px !important;
        text-align: center !important;
    }
}


/* ==========================================================================
   v23.0: KATEGORİ SAYFALARI ALT SEO YAZISI KARTI
   Geliştirici: Sunucu Dijital Medya LTD ŞTİ (https://sunucu.digital)
   ========================================================================== */
.ctt-cat-seo-section {
    margin-top: 48px;
}

.ctt-cat-seo-card {
    background: #ffffff;
    border: 1px solid var(--border-light, #e5e6ec);
    border-left: 4px solid var(--gold, #c9a86a);
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 8px 26px rgba(14, 14, 18, 0.04);
}

.ctt-cat-seo-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    line-height: 1.3;
    color: #141418;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef0f6;
}

.ctt-cat-seo-content p {
    font-size: 14.5px;
    line-height: 1.8;
    color: #3d404c;
    margin: 0 0 14px 0;
}

.ctt-cat-seo-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .ctt-cat-seo-section {
        margin-top: 34px;
    }
    .ctt-cat-seo-card {
        padding: 22px 20px;
    }
    .ctt-cat-seo-card h2 {
        font-size: 20px;
    }
}
