/* Sepet ve ödeme (WooCommerce blokları) */
.flow .wc-block-cart, .flow .wc-block-checkout, .flow .wp-block-woocommerce-cart, .flow .wp-block-woocommerce-checkout { padding: 0; margin: 0; max-width: none; font-family: var(--sans); }
.flow .wc-block-components-sidebar-layout { gap: clamp(20px, 4vw, 64px); margin: 0; align-items: flex-start; }
.flow .wc-block-components-sidebar-layout .wc-block-components-main { padding: 0; flex: 1 1 0; width: auto; min-width: 0; }
.flow .wc-block-components-sidebar-layout .wc-block-components-sidebar { padding: 0; flex: 0 0 min(400px, 36%); width: auto; margin: 0; position: sticky; top: 104px; }
@media (max-width: 860px) {
  .flow .wc-block-components-sidebar-layout { flex-direction: column; }
  .flow .wc-block-components-sidebar-layout .wc-block-components-main, .flow .wc-block-components-sidebar-layout .wc-block-components-sidebar { flex: 1 1 auto; width: 100%; position: static; }
}

/* Sepet satırları */
.flow table.wc-block-cart-items { border: 0; margin: 0; }
.flow table.wc-block-cart-items .wc-block-cart-items__header { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.flow table.wc-block-cart-items .wc-block-cart-items__header th { padding: 0 0 12px; border-bottom: 1px solid var(--line); font-weight: 500; }
.flow .is-large table.wc-block-cart-items .wc-block-cart-items__row td { padding-block: 20px; border-top: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.flow :not(.is-large) > * table.wc-block-cart-items .wc-block-cart-items__row, .flow table.wc-block-cart-items .wc-block-cart-items__row { border-color: var(--line); }
.flow .is-large table.wc-block-cart-items td.wc-block-cart-item__image { width: 132px; padding-left: 0; padding-right: 20px; }
.flow .wc-block-cart-item__image a, .flow .wc-block-cart-item__image img { display: block; width: 100%; }
.flow .is-large .wc-block-cart-item__image a, .flow .is-large .wc-block-cart-item__image img { width: 112px; }
.flow .wc-block-cart-item__image img { aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 14px; background: var(--tile); }
.flow .wc-block-cart-item__product .wc-block-components-product-name { font-size: 17px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); text-decoration: none; }
.flow .wc-block-cart-item__product .wc-block-components-product-name:hover { color: var(--green); }
.flow .wc-block-cart-item__prices, .flow .wc-block-components-product-price { font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; }
.flow .wc-block-cart-item__total .wc-block-components-product-price { font-size: 16px; font-weight: 500; color: var(--ink); }
.flow .wc-block-components-product-metadata__description { display: none; }
.flow .wc-block-components-product-details { margin: 6px 0 0; font-size: 13px; color: var(--soft); }
.flow .wc-block-components-sale-badge { border: 0; border-radius: 7px; background: var(--tile); color: var(--ink); font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; }
.flow .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.flow .wc-block-components-quantity-selector { border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); height: 40px; width: 112px; margin: 0; }
.flow .wc-block-components-quantity-selector::after { border: 0; }
.flow .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input { font: 500 14px/1 var(--sans); }
.flow .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { border-radius: 999px; min-width: 36px; opacity: 1; color: var(--ink); }
.flow .wc-block-cart-item__remove-link { color: var(--soft) !important; }
.flow .wc-block-cart-item__remove-link:hover { color: #c62828 !important; }

/* Toplam kutusu */
.flow .wc-block-components-sidebar > .wc-block-components-totals-wrapper:first-child, .flow .wc-block-cart__totals-title { display: none; }
.flow .wp-block-woocommerce-cart-order-summary-block, .flow .wp-block-woocommerce-checkout-order-summary-block { border: 0; border-radius: var(--r); background: var(--tile); padding: 8px 22px; margin: 0; }
.flow .wc-block-components-totals-wrapper { border-top: 1px solid rgba(11, 11, 13, .08); padding: 16px 0; }
.flow .wc-block-components-totals-wrapper:first-child, .flow .wp-block-woocommerce-cart-order-summary-heading-block + .wc-block-components-totals-wrapper { border-top: 0; }
.flow .wc-block-components-totals-item { padding: 0; font-size: 14.5px; }
.flow .wc-block-components-totals-item__value { font-variant-numeric: tabular-nums; }
.flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 16px; font-weight: 500; }
.flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.flow .wc-block-components-panel__button, .flow .wc-block-components-totals-coupon-link { font-size: 14.5px; color: var(--ink); }
.flow .wc-block-cart__submit-container { margin-top: 14px; }
.flow .wc-block-cart__submit-container::after { content: "PayTR ile güvenli ödeme · 14 gün içinde iade"; display: block; margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--soft); }
.flow .wc-block-components-button:not(.is-link) { min-height: 54px; width: 100%; border-radius: 999px; font: 600 16px/1 var(--sans); box-shadow: none; }
.flow .wc-block-components-button:not(.is-link):hover { filter: brightness(1.08); }
.flow .wc-block-components-button:not(.is-link):focus { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }

/* Ödeme: adımlar ve alanlar */
.flow .wc-block-components-checkout-step { margin-bottom: 34px; }
.flow .wc-block-components-checkout-step__heading { margin: 0 0 14px; }
.flow .wc-block-components-checkout-step__title, .flow .wc-block-components-title.wc-block-components-title { font: 500 22px/1.15 var(--sans); letter-spacing: -.03em; margin: 0; }
.flow .wc-block-components-checkout-step__description { color: var(--soft); font-size: 14px; }
.flow .wc-block-components-text-input input, .flow .wc-block-components-text-input input[type], .flow .wc-blocks-components-select .wc-blocks-components-select__container, .flow .wc-block-components-textarea, .flow .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input { border: 1px solid #dcdce1; border-radius: 12px; background: #fff; color: var(--ink); font-family: var(--sans); box-shadow: none; }
.flow .wc-block-components-text-input input:focus, .flow .wc-blocks-components-select .wc-blocks-components-select__select:focus, .flow .wc-block-components-textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); outline: 0; }
.flow .wc-blocks-components-select .wc-blocks-components-select__select { border-radius: 12px; font-family: var(--sans); }
.flow .wc-block-components-text-input label, .flow .wc-blocks-components-select__label { color: var(--soft); font-family: var(--sans); }
.flow .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-radius: 6px; border-color: #c9c9d1; }
.flow .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--ink); border-color: var(--ink); }
.flow .wc-block-components-checkbox__mark { fill: #fff; }
.flow .wc-block-components-radio-control__option { border-radius: 12px; }
.flow .wc-block-components-radio-control--highlight-checked::after, .flow .wc-block-components-radio-control-accordion-option { border-radius: 12px; }
.flow .wc-block-checkout__terms { color: var(--soft); font-size: 13.5px; }
.flow .wc-block-checkout__terms a, .flow .wc-block-components-address-form__address_2-toggle, .flow .wc-block-checkout__actions a { color: var(--green); }
.flow .wc-block-checkout__actions { padding-top: 6px; }
.flow .wc-block-components-checkout-return-to-cart-button { font-size: 14.5px; color: var(--ink); }
.flow .wc-block-components-notice-banner { border-radius: 14px; font-size: 14.5px; }

/* Sipariş özeti */
.flow .wc-block-components-order-summary .wc-block-components-order-summary-item__image { width: 64px; margin: 0; padding: 0; }
.flow .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img { width: 64px; max-width: 64px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.flow .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity { background: var(--ink); color: #fff; border: 0; box-shadow: 0 0 0 2px var(--tile); }
.flow .wc-block-components-order-summary-item__description { padding-left: 16px; }
.flow .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 14.5px; font-weight: 500; }
.flow .wc-block-components-checkout-order-summary__title-text, .flow .wc-block-components-order-summary .wc-block-components-panel__button { font: 500 18px/1.2 var(--sans); letter-spacing: -.02em; }

/* Boş sepet ve teşekkür sayfası */
.flow .wc-block-cart__empty-cart__title, .flow .wp-block-woocommerce-empty-cart-block h2 { font: 500 clamp(24px, 3vw, 36px)/1.1 var(--sans); letter-spacing: -.035em; }
.flow .wp-block-woocommerce-empty-cart-block .wp-block-separator, .flow .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-onsale { display: none; }
.flow .wc-block-grid__products { margin: 0; }
.flow .wc-block-grid__product-image img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; }
.flow .wc-block-grid__product-title { font: 500 15px/1.3 var(--sans); color: var(--ink); }
.flow .wp-block-button__link { border-radius: 999px; background: var(--ink); color: #fff; font: 600 14.5px/1 var(--sans); padding: 14px 20px; }
.flow .woocommerce-order-overview, .flow .wc-block-order-confirmation-summary-list { list-style: none; padding: 20px 22px; border-radius: var(--r); background: var(--tile); }

/* Sipariş özeti satırı: ad sütunu geniş, indirim rozeti yok */
.flow .wc-block-components-order-summary-item { gap: 0; }
.flow .wc-block-components-order-summary-item__description { flex: 1 1 auto; min-width: 0; }
.flow .wc-block-components-order-summary-item__total-price { flex: none; padding-left: 12px; font-weight: 500; }
.flow .wc-block-components-order-summary-item .wc-block-components-sale-badge { display: none; }
.flow .wc-block-components-totals-wrapper:empty, .flow .wc-block-components-totals-wrapper:not(:has(*)) { display: none; }

/* Telefonda sepet satırı: görsel | ürün | tutar, ekrana sığar (WooCommerce'in kendi kuralları daha özgül olduğu için !important) */
.flow :is(.is-mobile, .is-small, .is-medium) table.wc-block-cart-items { width: 100% !important; }
.flow :is(.is-mobile, .is-small, .is-medium) table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 80px minmax(0, 1fr) auto !important; column-gap: 14px; padding: 18px 0 !important; border-bottom: 1px solid var(--line); }
.flow :is(.is-mobile, .is-small, .is-medium) table.wc-block-cart-items td { padding: 0 !important; border: 0 !important; }
.flow :is(.is-mobile, .is-small, .is-medium) td.wc-block-cart-item__image { grid-column: 1 !important; grid-row: 1 !important; }
.flow :is(.is-mobile, .is-small, .is-medium) td.wc-block-cart-item__product { grid-column: 2 !important; grid-row: 1 !important; min-width: 0; }
.flow :is(.is-mobile, .is-small, .is-medium) td.wc-block-cart-item__total { grid-column: 3 !important; grid-row: 1 !important; text-align: right; }
.flow :is(.is-mobile, .is-small, .is-medium) td.wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }
.flow :is(.is-mobile, .is-small, .is-medium) .wc-block-components-quantity-selector { width: 104px; }
.flow .wc-block-components-notices__snackbar { max-width: calc(100vw - 32px); }

/* Sipariş alındı sayfası ve ödeme (PayTR) adımı */
.flow .woocommerce-thankyou-order-received, .flow .woocommerce-notice--success { margin: 0 0 22px; padding: 22px 24px; border-radius: var(--r); background: #e7f7ec; color: #0b6b34; font-weight: 500; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.025em; }
.flow ul.order_details, .flow ul.woocommerce-order-overview { list-style: none; margin: 0 0 clamp(32px, 5vw, 56px); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.flow ul.order_details::before, .flow ul.order_details::after { content: none; }
.flow ul.order_details li { float: none; margin: 0; padding: 16px 18px; border: 0; border-radius: 14px; background: var(--tile); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); overflow-wrap: anywhere; }
.flow ul.order_details li strong { display: block; margin-top: 8px; font: 500 17px/1.25 var(--sans); letter-spacing: -.02em; text-transform: none; color: var(--ink); }
.flow .woocommerce-order-details, .flow .woocommerce-customer-details { margin: 0 0 clamp(32px, 5vw, 56px); max-width: 860px; }
.flow .woocommerce-order-details__title, .flow .woocommerce-column__title, .flow .woocommerce-order > h2, .flow .woocommerce-customer-details h2 { margin: 0 0 14px; font: 500 22px/1.15 var(--sans); letter-spacing: -.03em; }
.flow table.shop_table { width: 100%; border: 0; border-radius: 0; border-collapse: collapse; margin: 0; }
.flow table.shop_table th, .flow table.shop_table td { padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.flow table.shop_table thead th { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); padding-top: 0; }
.flow table.shop_table td:last-child, .flow table.shop_table th:last-child { text-align: right; white-space: nowrap; padding-left: 16px; font-variant-numeric: tabular-nums; }
.flow table.shop_table td.product-name a { font-weight: 500; }
.flow table.shop_table td.product-name a:hover { color: var(--green); }
.flow table.shop_table tfoot th { font-weight: 400; color: var(--soft); }
.flow table.shop_table tfoot tr:last-child th, .flow table.shop_table tfoot tr:last-child td { border-bottom: 0; font-size: 18px; font-weight: 500; color: var(--ink); }
.flow .woocommerce-customer-details address { margin: 0; padding: 20px 22px; border: 0; border-radius: var(--r); background: var(--tile); font-style: normal; line-height: 1.6; }
.flow .woocommerce-customer-details .woocommerce-customer-details--phone, .flow .woocommerce-customer-details .woocommerce-customer-details--email { margin: 6px 0 0; padding-left: 0; }
.flow .woocommerce-customer-details .woocommerce-customer-details--phone::before, .flow .woocommerce-customer-details .woocommerce-customer-details--email::before { content: none; }
.flow .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.flow .woocommerce-columns--addresses .woocommerce-column { float: none; width: auto; }
.flow iframe#paytriframe { width: 100%; border: 0; border-radius: var(--r); }
