/* ===== Hostidex Woo Blocks: Steps + UI ===== */
:root{
  --hx-accent: #7a955f; 
  --hx-radius: 16px;
  --hx-border: rgba(0,0,0,.10);
  --hx-soft: rgba(0,0,0,.04);
}

/* Sayfa başlığı */
.content > .entry-title{
  font-family: Urbanist, Raleway, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight: 500;
  letter-spacing: .2px;
  font-size: clamp(22px, 2.4vw, 34px);
  margin: 6px 0 14px;
}

/* Woo Blocks geniş alanlarda çok “yayılıyor” */
.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide{
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Steps Nav ===== */
.hxwoo-steps{
  max-width: 1180px;
  margin: 0 auto 14px;
  padding: 0 10px;
}
.hxwoo-steps__inner{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border: 1px solid var(--hx-border);
  border-radius: var(--hx-radius);
  background: #fff;
}

.hxwoo-step{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: inherit;
  user-select:none;
  font-family: Raleway, system-ui;
  font-weight: 400;
}
.hxwoo-step__num{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid var(--hx-border);
  background: #fff;
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
}
.hxwoo-step__label{
  font-weight: 500;
  font-family: Urbanist, Raleway, system-ui;
}

.hxwoo-step.is-active{
  background: rgba(104,68,52,.08);
  border: 1px solid rgba(104,68,52,.18);
}
.hxwoo-step.is-active .hxwoo-step__num{
  border-color: rgba(104,68,52,.35);
}

.hxwoo-step.is-done .hxwoo-step__num{
  background: var(--hx-accent);
  border-color: var(--hx-accent);
  color: #fff;
}

.hxwoo-step.is-disabled{
  opacity: .45;
  pointer-events: none;
}

.hxwoo-steps__sep{
  flex: 1;
  height: 2px;
  background: rgba(0,0,0,.06);
  border-radius: 999px;
}

/* Mobilde daha kompakt */
@media (max-width: 640px){
  .hxwoo-step__label{ display:none; }
  .hxwoo-steps__inner{ gap: 8px; }
}

/* ===== Genel tipografi (Blocks başlıkları) ===== */
.wc-block-components-title,
.wc-block-cart__totals-title,
.wc-block-components-checkout-step__title,
.wc-block-components-checkout-order-summary__title-text{
  font-family: Urbanist, Raleway, system-ui !important;
  font-weight: 500 !important;
  letter-spacing: .2px;
}

/* ===== Buttons ===== */
.wc-block-components-button,
.wp-element-button{
  border-radius: 14px !important;
  font-family: Urbanist, Raleway, system-ui !important;
  font-weight: 500 !important;
  border: 1px solid var(--hx-border) !important;
  box-shadow: none !important;
}

.wc-block-components-button.contained,
.wc-block-cart__submit-button.contained,
.wc-block-components-checkout-place-order-button.contained{
  background: var(--hx-accent) !important;
  border-color: var(--hx-accent) !important;
  color: #fff !important;
}

.wc-block-components-button.contained:hover{
  filter: brightness(.93);
}

.wc-block-components-checkout-return-to-cart-button{
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
  color: var(--hx-accent);
  text-decoration:none;
}
.wc-block-components-checkout-return-to-cart-button:hover{
  text-decoration: underline;
}

/* ===== Panels / Coupon ===== */
.wc-block-components-panel{
  border: 1px solid var(--hx-border) !important;
  border-radius: var(--hx-radius) !important;
  overflow: hidden;
  background: #fff;
}
.wc-block-components-panel__button{
  padding: 12px 12px !important;
  font-weight: 500 !important;
  font-family: Urbanist, Raleway, system-ui !important;
}
.wc-block-components-panel__button-icon{
  opacity: .6;
}

/* ===== Cart table -> kart gibi ===== */
.wc-block-cart-items{
  border-collapse: separate !important;
  border-spacing: 0 12px !important;
}
.wc-block-cart-items__header th{
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500 !important;
  opacity: .75;
}
.wc-block-cart-items__row{
  background: #fff;
  border: 1px solid var(--hx-border);
  border-radius: var(--hx-radius);
  overflow: hidden;
}
.wc-block-cart-item__image img{
  border-radius: 14px;
}

/* satır içi padding */
.wc-block-cart-items__row td{
  padding: 12px !important;
  vertical-align: middle;
}

/* ürün adı */
.wc-block-components-product-name{
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
  text-decoration: none;
  font-size:15px!important;
  color:#684434;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    border:none!important;
}

.wc-block-components-panel__button {
    padding-left:10px!important;
}

.wc-block-components-quantity-selector {
    border:none!important;
}

/* Remove link */
.wc-block-cart-item__remove-link{
  font-family: Raleway, system-ui;
  font-weight: 400;
  opacity: .75;
}
.wc-block-cart-item__remove-link:hover{
  opacity: 1;
}

/* ===== Quantity selector ===== */
.wc-block-components-quantity-selector{
  display:flex;
  align-items:center;
  gap: 8px;
  border: 1px solid var(--hx-border);
  border-radius: 14px;
  padding: 6px 8px;
  background: #fff;
}

.wc-block-components-quantity-selector__input{
  width: 64px !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
  text-align: center;
  background: transparent !important;
}

.wc-block-components-quantity-selector__button{
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  border: 1px solid var(--hx-border) !important;
  background: var(--hx-accent) !important;
  color: #fff !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.wc-block-components-quantity-selector__button[disabled]{
  opacity: .45;
  background: #999 !important;
  border-color: #999 !important;
}

/* ===== Sidebar kutuları ===== */
.wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block{
  border: 1px solid var(--hx-border);
  border-radius: var(--hx-radius);
  background: #fff;
  padding: 12px;
}

/* totals satırları */
.wc-block-components-totals-item{
  font-family: Raleway, system-ui;
  font-weight: 400;
}
.wc-block-components-totals-item__label{
  opacity: .8;
}
.wc-block-components-totals-item__value{
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
}

/* Checkout input/label (Blocks kendi yapısı) */
.wc-block-components-text-input input,
.wc-blocks-components-select__select{
  border-radius: 14px !important;
  border: 1px solid var(--hx-border) !important;
  box-shadow: none !important;
}
.wc-block-components-text-input label,
.wc-blocks-components-select__label{
  font-family: Raleway, system-ui !important;
  font-weight: 400 !important;
  opacity: .85;
}

/* Adres kartı ve “Düzenle” */
.wc-block-components-address-card{
  border: 1px solid var(--hx-border);
  border-radius: var(--hx-radius);
  padding: 12px;
  background: #fff;
}
.wc-block-components-address-card__edit{
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
  color: var(--hx-accent);
}

/* ===== My Account: Orders table ===== */
.hx-myacc-orders{
  border-radius: var(--hx-radius);
}
.hx-myacc-orders .hx-table{
  font-family: Raleway, system-ui;
  font-weight: 400;
}
.hx-myacc-orders .hx-th{
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
  opacity: .75;
  border-bottom: 1px solid var(--hx-border);
  padding: 14px 14px;
  white-space: nowrap;
}
.hx-myacc-orders .hx-td{
  padding: 14px 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.hx-myacc-orders .hx-order-link{
  text-decoration: none;
  color: var(--hx-accent);
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
}
.hx-myacc-orders .hx-muted{
  opacity: .75;
}
.hx-myacc-orders .hx-btn{
  border-radius: 14px !important;
  font-family: Urbanist, Raleway, system-ui !important;
  font-weight: 500 !important;
  border: 1px solid var(--hx-border) !important;
}
.hx-myacc-orders .btn-primary.hx-btn{
  background: var(--hx-accent) !important;
  border-color: var(--hx-accent) !important;
}
.hx-myacc-orders .hx-status{
  font-family: Urbanist, Raleway, system-ui;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
  color: #222;
}

/* status renklerini istersen sonra inceltiriz */
.hx-myacc-orders .hx-status-processing{ background: rgba(255, 193, 7, .15); border-color: rgba(255, 193, 7, .35); }
.hx-myacc-orders .hx-status-completed{  background: rgba(25, 135, 84, .12); border-color: rgba(25, 135, 84, .28); }
.hx-myacc-orders .hx-status-cancelled{  background: rgba(220, 53, 69, .10); border-color: rgba(220, 53, 69, .28); }
.hx-myacc-orders .hx-status-on-hold{    background: rgba(13, 110, 253, .10); border-color: rgba(13, 110, 253, .22); }

