/**
* Theme Name: Poco Child
* Description: This is a child theme of Poco, generated by Merlin WP.
* Author: <a href="https://pavothemes.com/">Pavothemes</a>
* Template: poco
* Version: 2.4.3
*/

/* ==========================================================================
   CITY KITCHEN KURUMSAL RENK SİSTEMİ
   Kırmızı: #d61319 (City Kırmızı / Başlıklar / Kasse Butonları)
   Sarı:    #f69c00 (Kitchen Sarı-Amber / Sepete Ekle Butonları / Badge / İkonlar)
   ========================================================================== */

:root {
    --primary: #f69c00 !important;
    --primary_hover: #df8d00 !important;
    --secondary: #d61319 !important;
    --secondary_hover: #b70f14 !important;
    --theme-color: #f69c00 !important;
    --color-primary: #f69c00 !important;
    --color-secondary: #d61319 !important;
    --e-global-color-primary: #f69c00 !important;
    --e-global-color-secondary: #d61319 !important;
}

/* Site Geneli Bağlantı ve Hover Renkleri */
a:hover,
.site-header a:hover,
.main-navigation ul.menu li:hover > a {
    color: #d61319 !important;
}

/* Header Sepet Rozeti ve Sayaç */
.site-header-cart .cart-contents .count,
.header-cart .count,
.site-header .cart-count,
.header-action-item .cart-count {
    background-color: #f69c00 !important;
    color: #ffffff !important;
}

.header-group-action .header-action-item a.cart-contents:hover {
    color: #d61319 !important;
}

/* Genel Butonlar (WooCommerce & Poco) */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.btn-primary,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #f69c00 !important;
    border-color: #f69c00 !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.btn-primary:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #df8d00 !important;
    border-color: #df8d00 !important;
    color: #ffffff !important;
}

/* Ödeme ve Kırmızı Aksiyon Butonları */
.woocommerce a.button.checkout,
.woocommerce button.button.checkout,
.woocommerce input.button.checkout,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
#place_order {
    background-color: #d61319 !important;
    border-color: #d61319 !important;
    color: #ffffff !important;
}

.woocommerce a.button.checkout:hover,
.woocommerce button.button.checkout:hover,
.woocommerce input.button.checkout:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
#place_order:hover {
    background-color: #b70f14 !important;
    border-color: #b70f14 !important;
    color: #ffffff !important;
}

/* İndirim Rozeti (Sale Badge) */
.woocommerce span.onsale,
.onsale,
.badge-sale {
    background-color: #d61319 !important;
    color: #ffffff !important;
}

/* Değerlendirme Yıldızları */
.star-rating span:before,
.woocommerce .star-rating span:before {
    color: #f69c00 !important;
}

/* Fiyat Vurgusu */
.orderable-product__price .woocommerce-Price-amount {
    font-weight: 700;
    color: #1a1a1a;
}

/* ==========================================================================
   MİNİ SEPET (WARENKORB) ŞIK BUTONLAR & GUTSCHEIN KUTUSU DÜZENİ
   ========================================================================== */

/* Toplam Tutar Satırı */
.ck-cart-total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 4px !important;
    margin-top: 10px !important;
    border-top: 1px solid #eeeeee !important;
}

.ck-total-label {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #008744 !important;
}

.ck-total-amount {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #008744 !important;
}

/* Kupon Kutusu (Görsel 1 ile Birebir) */
.ck-coupon-box {
    border: 1.5px dashed #c0c4cc !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    padding: 8px 12px !important;
    margin: 10px 0 12px 0 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, background 0.2s !important;
}

.ck-coupon-box:focus-within {
    border-color: #1d70b8 !important;
    background: #fafcff !important;
}

.ck-coupon-header {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #1d70b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
}

.ck-coupon-form {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
}

.ck-coupon-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 4px 0 !important;
    font-size: 14px !important;
    color: #222222 !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit !important;
}

.ck-coupon-input::placeholder {
    color: #8c939d !important;
}

.ck-coupon-submit {
    background: none !important;
    border: none !important;
    padding: 2px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333333 !important;
    transition: transform 0.15s, color 0.15s !important;
}

.ck-coupon-submit:hover {
    color: #008744 !important;
    transform: scale(1.15) !important;
}

.ck-coupon-msg {
    font-size: 11px !important;
    margin-top: 5px !important;
    display: none;
    line-height: 1.3 !important;
}

.ck-coupon-msg.ck-success {
    display: block !important;
    color: #008744 !important;
    font-weight: 600 !important;
}

.ck-coupon-msg.ck-error {
    display: block !important;
    color: #d61319 !important;
    font-weight: 600 !important;
}

.ck-applied-coupons {
    margin-top: 8px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
}

.ck-applied-coupon-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    margin-bottom: 4px !important;
    font-size: 11px !important;
    color: #065f46 !important;
}

.ck-remove-coupon {
    background: none !important;
    border: none !important;
    color: #b91c1c !important;
    font-size: 15px !important;
    line-height: 1 !important;
    padding: 0 4px !important;
    cursor: pointer !important;
    font-weight: 800 !important;
}

/* Resim 2'deki Butonların Yan Yana Şık Düzeni */
.orderable-mini-cart__buttons,
.woocommerce-mini-cart__buttons {
    display: flex !important;
    gap: 8px !important;
    margin: 12px 0 0 0 !important;
    padding: 0 !important;
}

.orderable-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons a.button {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    padding: 0 8px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* WARENKORB ANZEIGEN: Şık Beyaz / Açık Gri Çerçeveli Buton */
.orderable-mini-cart__buttons a.button:not(.checkout),
.woocommerce-mini-cart__buttons a.button:not(.checkout) {
    background: #ffffff !important;
    border: 1.5px solid #d1d5db !important;
    color: #374151 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.orderable-mini-cart__buttons a.button:not(.checkout):hover,
.woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
}

/* ZUR KASSE: Şık City Kırmızı (#d61319) */
.orderable-mini-cart__buttons a.button.checkout,
.woocommerce-mini-cart__buttons a.button.checkout {
    background: #d61319 !important;
    border: 1.5px solid #d61319 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(214, 19, 25, 0.25) !important;
}

.orderable-mini-cart__buttons a.button.checkout:hover,
.woocommerce-mini-cart__buttons a.button.checkout:hover {
    background: #b70f14 !important;
    border-color: #b70f14 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(214, 19, 25, 0.35) !important;
}

/* Orderable Sıralama Kutusunu Gizleme */
.orderable-layouts__sorting,
.orderable-dropdown--sorting,
.orderable-filter-bar__sorting,
.woocommerce-ordering,
form.orderable-product-layout-ordering,
.orderable-product-layout-ordering,
.orderable-product-layout-ordering__select,
select#orderable_product_layout_order_by {
    display: none !important;
    visibility: hidden !important;
}

/* Alman Hukuku Ek Bilgi ve KDV */
.orderable-product__tax-notice,
.wc-gzd-additional-info {
    font-size: 11px !important;
    color: #888 !important;
    display: block;
    margin-top: 2px;
}

/* Kupon Submit İkon Butonu (Her Yerde Şeffaf & Minimalist) */
button.ck-coupon-submit,
.ck-coupon-submit {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 0 4px !important;
    color: #333333 !important;
}

button.ck-coupon-submit:hover,
.ck-coupon-submit:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #008744 !important;
    transform: scale(1.15) !important;
}

/* Tüm Sepet Alanlarında (Sidebar + Drawer/Slide-Out) Buton Renkleri */
.woocommerce-mini-cart__buttons a.button.checkout,
.orderable-mini-cart__buttons a.button.checkout,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button.checkout,
.site-header-cart .woocommerce-mini-cart__buttons a.button.checkout,
.orderable-drawer a.button.checkout {
    background-color: #d61319 !important;
    border: 1.5px solid #d61319 !important;
    color: #ffffff !important;
}

.woocommerce-mini-cart__buttons a.button.checkout:hover,
.orderable-mini-cart__buttons a.button.checkout:hover,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button.checkout:hover,
.site-header-cart .woocommerce-mini-cart__buttons a.button.checkout:hover,
.orderable-drawer a.button.checkout:hover {
    background-color: #b70f14 !important;
    border-color: #b70f14 !important;
    color: #ffffff !important;
}

.woocommerce-mini-cart__buttons a.button:not(.checkout),
.orderable-mini-cart__buttons a.button:not(.checkout),
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button:not(.checkout),
.site-header-cart .woocommerce-mini-cart__buttons a.button:not(.checkout),
.orderable-drawer a.button:not(.checkout) {
    background-color: #ffffff !important;
    border: 1.5px solid #d1d5db !important;
    color: #374151 !important;
}

.woocommerce-mini-cart__buttons a.button:not(.checkout):hover,
.orderable-mini-cart__buttons a.button:not(.checkout):hover,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.button:not(.checkout):hover,
.site-header-cart .woocommerce-mini-cart__buttons a.button:not(.checkout):hover,
.orderable-drawer a.button:not(.checkout):hover {
    background-color: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
}


/* --- STICKY FIX (POCO THEME OVERFLOW OVERRIDE) --- */
html, body {
    overflow-x: clip !important;
}

.site,
#page,
#content,
.site-content,
.col-full,
.site-main,
#primary,
.entry-content,
article.page,
.elementor,
.elementor-section-wrap {
    overflow: visible !important;
    overflow-x: clip !important;
}

/* Sol Kategori ve Sag Sepet Sabitleme */
.ck-sidebar-left {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 90px !important;
    align-self: flex-start !important;
    z-index: 30 !important;
}

.ck-sidebar-right {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 90px !important;
    align-self: flex-start !important;
    z-index: 30 !important;
}


/* --- SEPETTE RESİMLERİ GİZLEME VE ŞIK LİSTE DÜZENİ --- */
.widget_shopping_cart .woocommerce-mini-cart-item img,
.woocommerce-mini-cart-item img,
.orderable-mini-cart-item img,
.widget_shopping_cart .product_list_widget img {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget_shopping_cart .product_list_widget li.woocommerce-mini-cart-item,
li.woocommerce-mini-cart-item {
    position: relative !important;
    padding: 10px 0 10px 24px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: block !important;
    min-height: auto !important;
}

.widget_shopping_cart .product_list_widget li.woocommerce-mini-cart-item:last-child {
    border-bottom: none !important;
}

.widget_shopping_cart .product_list_widget li a.remove {
    position: absolute !important;
    top: 10px !important;
    left: 0 !important;
    transform: none !important;
    font-size: 18px !important;
    color: #999999 !important;
    line-height: 1 !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}

.widget_shopping_cart .product_list_widget li a.remove:hover {
    color: #d61319 !important;
}

.ck-cart-item-title,
.widget_shopping_cart .mini_cart_item a:not(.remove) {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    display: block !important;
    line-height: 1.35 !important;
    margin: 0 0 3px 0 !important;
    text-decoration: none !important;
    word-break: break-word !important;
}

.widget_shopping_cart .mini_cart_item dl.variation {
    margin: 3px 0 5px 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    color: #666666 !important;
    line-height: 1.35 !important;
    border: none !important;
}

.widget_shopping_cart .mini_cart_item dl.variation dt {
    font-weight: 600 !important;
    color: #444444 !important;
    display: inline !important;
    float: none !important;
    margin: 0 !important;
}

.widget_shopping_cart .mini_cart_item dl.variation dd {
    display: inline !important;
    float: none !important;
    margin: 0 0 0 3px !important;
}

.widget_shopping_cart .mini_cart_item dl.variation dd p {
    display: inline !important;
    margin: 0 !important;
}

.widget_shopping_cart .mini_cart_item .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #666666 !important;
    margin-top: 4px !important;
    font-weight: 500 !important;
}

.widget_shopping_cart .mini_cart_item .quantity .amount {
    font-weight: 800 !important;
    color: #d61319 !important;
    font-size: 14px !important;
}

/* ==========================================================================
   WARENKORB-SEITE & CHECKOUT SAYFASI (BLOCK + CLASSIC) TASARIMI & CITY KITCHEN RENKLERİ
   ========================================================================== */

/* 1. ÜRÜN RESİMLERİNİ VE YER TUTUCULARI TAMAMEN KALDIR (CART & CHECKOUT) */
.wc-block-cart-items td.wc-block-cart-item__image,
.wc-block-cart-item__image,
.wc-block-components-product-image,
.wc-block-components-order-summary-item__image,
.wc-block-cart-items__header-image,
th.wc-block-cart-items__header-image,
.woocommerce-cart-form .product-thumbnail,
.woocommerce-page table.cart .product-thumbnail,
table.wc-block-cart-items td.wc-block-cart-item__image,
.wc-block-cart-items__row .wc-block-cart-item__image,
.wp-block-woocommerce-cart .wc-block-cart-item__image,
.wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image,
.wc-block-components-order-summary .wc-block-components-order-summary-item__image {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    visibility: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* 2. RESİM KALKTIKTAN SONRA SATIR VE TABLO DÜZENİNİ DÜZELT (BOŞLUK BIRAKMA) */
.wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row,
.is-medium table.wc-block-cart-items .wc-block-cart-items__row,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
.is-small table.wc-block-cart-items .wc-block-cart-items__row {
    grid-template-columns: 1fr auto !important;
    column-gap: 20px !important;
    row-gap: 10px !important;
    align-items: start !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    padding: 0 !important;
}

.wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 6px 0 0 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding-top: 2px !important;
}

/* Tablo Başlıkları (Product, Total) */
.wc-block-cart-items__header th,
.woocommerce-page table.cart th {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #444444 !important;
    text-transform: uppercase !important;
    padding: 14px 0 !important;
    border-bottom: 2px solid #ebebeb !important;
}

/* 3. ÜRÜN BİLGİLERİ (İSİM, FİYAT, AÇIKLAMA) */
.wc-block-components-product-name,
.woocommerce-page table.cart .product-name a,
.woocommerce-cart-form .product-name a {
    color: #1a1a1a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
    display: inline-block !important;
    transition: color 0.15s ease !important;
}

.wc-block-components-product-name:hover,
.woocommerce-page table.cart .product-name a:hover {
    color: #d61319 !important;
}

/* Ürün Tekil Fiyatı */
.wc-block-components-product-price {
    color: #d61319 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-top: 3px !important;
}

/* Açıklamalar ve Seçilen Seçenekler (CocaCola, Sos vb.) */
.wc-block-components-product-metadata,
.wc-block-components-product-details,
.woocommerce-page table.cart .variation {
    font-size: 13px !important;
    color: #666666 !important;
    line-height: 1.4 !important;
    margin: 4px 0 0 0 !important;
}

.wc-block-components-product-metadata__item {
    margin-bottom: 3px !important;
}

/* Satır Toplam Fiyatı (Sağ Sütun) */
.wc-block-cart-item__total .wc-block-formatted-money-amount,
.woocommerce-page table.cart .product-subtotal {
    font-weight: 800 !important;
    color: #111111 !important;
    font-size: 17px !important;
    letter-spacing: -0.2px !important;
}

/* 4. ADET SEÇİCİ & SİLME BUTONU */
.wc-block-components-quantity-selector {
    border: 1.5px solid #dcdcdc !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    height: 36px !important;
    transition: border-color 0.2s ease !important;
}

.wc-block-components-quantity-selector:focus-within {
    border-color: #d61319 !important;
    box-shadow: 0 0 0 2px rgba(214, 19, 25, 0.15) !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
    color: #555555 !important;
    font-size: 16px !important;
    transition: color 0.15s, background 0.15s !important;
    width: 32px !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
    color: #d61319 !important;
    background: #fff5f5 !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    font-weight: 700 !important;
    color: #111111 !important;
    font-size: 14px !important;
}

/* Çöp Kutusu / Silme Butonu */
.wc-block-cart-item__remove-link,
button.wc-block-cart-item__remove-link {
    color: #8c8c8c !important;
    background: transparent !important;
    border: none !important;
    padding: 6px !important;
    border-radius: 4px !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wc-block-cart-item__remove-link:hover,
button.wc-block-cart-item__remove-link:hover {
    color: #d61319 !important;
    background: #fff0f0 !important;
}

/* 5. SAĞ SÜTUN: SİPARİŞ ÖZETİ (CART TOTALS KARTI) */
.wp-block-woocommerce-cart-order-summary-block,
.wc-block-cart__totals,
.cart-collaterals .cart_totals {
    background: #fafafa !important;
    border: 1px solid #ebebeb !important;
    border-radius: 12px !important;
    padding: 24px !important;
}

.wp-block-woocommerce-cart-order-summary-heading-block h2,
.wc-block-cart__totals-title,
.cart-collaterals h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #ebebeb !important;
    padding-bottom: 12px !important;
}

/* Kupon Formu Açılır Başlığı */
.wc-block-components-totals-coupon-link,
.wc-block-components-totals-coupon__button,
.wp-block-woocommerce-cart-order-summary-coupon-form-block button {
    color: #d61319 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}

.wc-block-components-totals-coupon-link:hover,
.wc-block-components-totals-coupon__button:hover {
    color: #b70f14 !important;
    text-decoration: underline !important;
}

/* Kupon Giriş Alanı ve Butonu */
.wc-block-components-totals-coupon-form input {
    border: 1.5px solid #dcdcdc !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
}

.wc-block-components-totals-coupon-form input:focus {
    border-color: #d61319 !important;
    box-shadow: 0 0 0 2px rgba(214, 19, 25, 0.15) !important;
}

.wc-block-components-totals-coupon-form .wc-block-components-button {
    background-color: #d61319 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    transition: background 0.15s ease !important;
}

.wc-block-components-totals-coupon-form .wc-block-components-button:hover {
    background-color: #b70f14 !important;
}

/* Tahmini Toplam / Estimated Total */
.wc-block-components-totals-footer-item {
    border-top: 2px solid #e0e0e0 !important;
    padding-top: 16px !important;
    margin-top: 16px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111111 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.order-total .woocommerce-Price-amount {
    color: #008744 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

/* 6. PROCEED TO CHECKOUT (ZUR KASSE) BUTONU - CITY KITCHEN KIRMIZISI */
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-checkout-button,
.wp-block-woocommerce-proceed-to-checkout-block a,
.wc-block-cart__submit a,
.wc-proceed-to-checkout a.checkout-button,
a.checkout-button.button,
button#place_order,
.wc-block-components-checkout-place-order-button {
    background-color: #d61319 !important;
    background: #d61319 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 14px rgba(214, 19, 25, 0.3) !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    cursor: pointer !important;
    margin-top: 14px !important;
}

.wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-checkout-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block a:hover,
.wc-block-cart__submit a:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
a.checkout-button.button:hover,
button#place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
    background-color: #b70f14 !important;
    background: #b70f14 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(214, 19, 25, 0.45) !important;
    transform: translateY(-2px) !important;
}

.wc-block-cart__submit-button:active,
.wc-block-components-checkout-place-order-button:active {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 8px rgba(214, 19, 25, 0.3) !important;
}

/* 7. CHECKOUT SAYFASI (ÖDEME SAYFASI SİPARİŞ ÖZETİ DÜZENİ) */
.wc-block-components-order-summary-item {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.wc-block-components-order-summary-item__description {
    padding-left: 0 !important;
}

/* 8. ORDERABLE DRAWER & QUANTITY ROLLER SLEEK STYLES */
.orderable-quantity-roller {
    display: inline-flex !important;
    align-items: center !important;
    margin: 6px 0 !important;
}
.orderable-quantity-roller__roller,
.orderable-drawer__cart .orderable-quantity-roller__roller,
.orderable-product__actions-button .orderable-quantity-roller__roller {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border: 1.5px solid #dcdfe4 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    padding: 0 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}
.orderable-quantity-roller__button,
.orderable-drawer__cart .orderable-quantity-roller__button,
.elementor-kit-6 .orderable-quantity-roller__button,
button.orderable-quantity-roller__button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f5f6f8 !important;
    background-color: #f5f6f8 !important;
    color: #222222 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
.orderable-quantity-roller__button:hover,
.orderable-quantity-roller__button:focus,
.orderable-drawer__cart .orderable-quantity-roller__button:hover,
.elementor-kit-6 .orderable-quantity-roller__button:hover {
    background: #d61319 !important;
    background-color: #d61319 !important;
    color: #ffffff !important;
}
.orderable-quantity-roller__button::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 10px !important;
    height: 2px !important;
    margin: -1px 0 0 -5px !important;
    background-color: #333333 !important;
    display: block !important;
    border-radius: 1px !important;
    transition: background-color 0.15s ease !important;
    z-index: 2 !important;
}
.orderable-quantity-roller__button--increase::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 2px !important;
    height: 10px !important;
    margin: -5px 0 0 -1px !important;
    background-color: #333333 !important;
    display: block !important;
    border-radius: 1px !important;
    transition: background-color 0.15s ease !important;
    z-index: 2 !important;
}
.orderable-quantity-roller__button--decrease::after {
    display: none !important;
}
.orderable-quantity-roller__button:hover::before,
.orderable-quantity-roller__button:hover::after,
.orderable-quantity-roller__button:focus::before,
.orderable-quantity-roller__button:focus::after {
    background-color: #ffffff !important;
}
.orderable-drawer__cart .orderable-quantity-roller__button--decrease svg,
.orderable-quantity-roller__button svg {
    display: none !important;
}
.orderable-quantity-roller__quantity,
.orderable-drawer__cart .orderable-quantity-roller__quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    line-height: 32px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    background: #ffffff !important;
    border-left: 1px solid #dcdfe4 !important;
    border-right: 1px solid #dcdfe4 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    user-select: none !important;
}
.orderable-quantity-roller__price {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #666666 !important;
    margin-left: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
}
.orderable-quantity-roller__price::before {
    content: "x" !important;
    margin-right: 6px !important;
    color: #999999 !important;
    font-weight: 500 !important;
}
.orderable-drawer__close,
.elementor-kit-6 .orderable-drawer__close,
button.orderable-drawer__close {
    position: absolute !important;
    top: 16px !important;
    left: 20px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #f0f1f3 !important;
    background-color: #f0f1f3 !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 50 !important;
    overflow: hidden !important;
}
.orderable-drawer__close:hover,
.elementor-kit-6 .orderable-drawer__close:hover {
    background: #d61319 !important;
    background-color: #d61319 !important;
}
.orderable-drawer__close::before,
.orderable-drawer__close::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 14px !important;
    height: 2px !important;
    background-color: #444444 !important;
    display: block !important;
    border-radius: 1px !important;
    transition: background-color 0.2s ease !important;
}
.orderable-drawer__close::before {
    margin: -1px 0 0 -7px !important;
    transform: rotate(45deg) !important;
}
.orderable-drawer__close::after {
    margin: -1px 0 0 -7px !important;
    transform: rotate(-45deg) !important;
}
.orderable-drawer__close:hover::before,
.orderable-drawer__close:hover::after {
    background-color: #ffffff !important;
}
/* =====================================================================
       PREMIUM FLOATING CART BUTTON (FAB)
       ===================================================================== */

    

    .orderable-floating-cart,
    .orderable-floating-cart--br {
        position: fixed !important;
        bottom: 28px !important;
        right: 28px !important;
        left: auto !important;
        top: auto !important;
        width: 60px !important;
        height: 60px !important;
        z-index: 9999 !important;
        margin: 0 !important;
        padding: 0 !important;
        transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease !important;
    }

    /* Auto-hide floating cart smoothly when side drawer is open */
    body.orderable-drawer-open .orderable-floating-cart,
    .orderable-drawer--open ~ .orderable-floating-cart {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: scale(0.6) translateY(20px) !important;
    }

    /* Circular Floating Cart Button */
    .orderable-floating-cart .orderable-floating-cart__button,
    .elementor-kit-6 .orderable-floating-cart .orderable-floating-cart__button,
    button.orderable-floating-cart__button {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #e51a21 0%, #b70f14 100%) !important;
        background-color: #d61319 !important;
        color: #ffffff !important;
        border: 2.5px solid rgba(255, 255, 255, 0.35) !important;
        box-shadow: 0 10px 25px -3px rgba(214, 19, 25, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        outline: none !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
        box-sizing: border-box !important;
    }

    .orderable-floating-cart:hover .orderable-floating-cart__button,
    .orderable-floating-cart .orderable-floating-cart__button:hover {
        transform: translateY(-4px) scale(1.06) !important;
        box-shadow: 0 14px 32px -3px rgba(214, 19, 25, 0.7), 0 6px 16px rgba(0, 0, 0, 0.25) !important;
    }

    .orderable-floating-cart:active .orderable-floating-cart__button {
        transform: translateY(0) scale(0.96) !important;
    }

    /* Crisp White Basket Icon */
    .orderable-floating-cart .orderable-floating-cart__button svg {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        fill: #ffffff !important;
        color: #ffffff !important;
        display: block !important;
        margin: 0 auto !important;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)) !important;
        transition: transform 0.2s ease !important;
        pointer-events: none !important;
    }

    .orderable-floating-cart:hover .orderable-floating-cart__button svg {
        transform: scale(1.1) !important;
    }

    /* Perfectly Circular Count Badge */
    .orderable-floating-cart .orderable-floating-cart__count {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        left: auto !important;
        bottom: auto !important;
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
        border-radius: 50% !important;
        background: #f69c00 !important;
        background-color: #f69c00 !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 20px !important;
        text-align: center !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        z-index: 10 !important;
        pointer-events: none !important;
        white-space: nowrap !important;
    }
.orderable-drawer__cart .orderable-edit-cart-item__button,
.elementor-kit-6 .orderable-drawer__cart .orderable-edit-cart-item__button,
button.orderable-edit-cart-item__button {
    background: #fff0f0 !important;
    background-color: #fff0f0 !important;
    color: #d61319 !important;
    border: 1.5px solid #ffd1d1 !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 5px 12px !important;
    min-width: auto !important;
    height: auto !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    margin-right: 8px !important;
}
.orderable-drawer__cart .orderable-edit-cart-item__button:hover,
.elementor-kit-6 .orderable-drawer__cart .orderable-edit-cart-item__button:hover {
    background: #d61319 !important;
    background-color: #d61319 !important;
    color: #ffffff !important;
    border-color: #d61319 !important;
    box-shadow: 0 2px 8px rgba(214, 19, 25, 0.25) !important;
}
.orderable-drawer__cart .orderable-mini-cart-item .orderable-mini-cart-item__remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #a0aec0 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
}
.orderable-drawer__cart .orderable-mini-cart-item .orderable-mini-cart-item__remove:hover {
    background: #fee2e2 !important;
    color: #d61319 !important;
}
.orderable-drawer__cart .orderable-mini-cart-item .orderable-mini-cart-item__remove svg {
    fill: currentColor !important;
    width: 17px !important;
    height: 17px !important;
    position: static !important;
    margin: 0 !important;
}
.orderable-drawer__title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1a202c !important;
}
.orderable-drawer__cart .orderable-mini-cart__buttons .button.checkout {
    background: #d61319 !important;
    background-color: #d61319 !important;
    border-color: #d61319 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
}
.orderable-drawer__cart .orderable-mini-cart__buttons .button.checkout:hover {
    background: #b70f14 !important;
    background-color: #b70f14 !important;
    border-color: #b70f14 !important;
}
.orderable-drawer__cart .orderable-mini-cart__buttons .button:not(.checkout) {
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: 1.5px solid #dcdfe4 !important;
    transition: all 0.2s ease !important;
}
.orderable-drawer__cart .orderable-mini-cart__buttons .button:not(.checkout):hover {
    border-color: #d61319 !important;
    color: #d61319 !important;
    background: #fff5f5 !important;
}

/* 9. DISABLE DUPLICATE POCO SIDE CART */
.site-header-cart-side,
.cart-side-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transform: translate3d(100%, 0, 0) !important;
}


/* =========================================================================
 * CITY KITCHEN SEO BLOG POST STYLING
 * ========================================================================= */
.ck-blog-post {
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
    max-width: 860px;
    margin: 0 auto;
}

.ck-blog-lead {
    font-size: 19px;
    line-height: 1.7;
    font-weight: 500;
    color: #1a1a1a;
    background: #fdf6f6;
    border-left: 4px solid #d61319;
    padding: 18px 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
}

.ck-blog-media {
    margin: 35px 0;
    text-align: center;
}

.ck-blog-img {
    width: 100%;
    max-width: 860px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.ck-blog-img:hover {
    transform: scale(1.01);
}

.ck-blog-caption {
    display: block;
    font-size: 14px;
    color: #777777;
    font-style: italic;
    margin-top: 10px;
}

.ck-blog-post h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin-top: 36px;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.ck-blog-post h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #d61319;
}

.ck-blog-post p {
    margin-bottom: 20px;
}

.ck-blog-highlight {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 35px 0;
}

.ck-blog-highlight h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 19px;
    color: #111111;
}

.ck-blog-highlight ul {
    margin: 0;
    padding-left: 20px;
}

.ck-blog-highlight li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.ck-blog-cta {
    background: linear-gradient(135deg, #d61319 0%, #b30f14 100%);
    color: #ffffff;
    padding: 36px 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 45px;
    box-shadow: 0 10px 30px rgba(214, 19, 25, 0.25);
}

.ck-blog-cta h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 10px;
}

.ck-blog-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 24px;
}

.ck-cta-button {
    display: inline-block;
    background: #ffffff;
    color: #d61319 !important;
    font-size: 17px;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.ck-cta-button:hover {
    background: #111111;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}


/* Extra specificity to ensure mobile floating cart always clears handheld bar */
@media (max-width: 991px) {
    html body .orderable-floating-cart,
    html body .orderable-floating-cart--br {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
        right: 18px !important;
        left: auto !important;
        top: auto !important;
    }
}
