/*
Theme Name: Hayalbas
Template: twentytwentyfive
Description: Hayalbas için Twenty Twenty-Five tabanlı hafif blok tema. Renkler ve yazı tipleri theme.json'da.
Version: 0.10.1
Requires at least: 6.7
Requires PHP: 8.3
Text Domain: ozelbaski
*/

/* ---------- Genel ---------- */
:root { --hb-radius: 12px; }
html { scroll-behavior: smooth; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }

/* Logo: 3 kaydırılmış çubuk + yazı */
.hb-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--wp--preset--color--contrast); text-decoration: none; }
.hb-logo svg { fill: currentColor; flex: none; }
.hb-logo span { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 19px; letter-spacing: .16em; }
.hb-logo-sm span { font-size: 17px; }
.hb-logo:hover { color: var(--wp--preset--color--contrast); }

/* ---------- Üst kısım ---------- */
/* Yapışkan başlık: şablon parçasının kendi <header> sarmalayıcısı yapışır (iç grup kendi yüksekliğinde olduğu için yapışamaz) */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.hb-header { transition: box-shadow .2s; }
.hb-scrolled .hb-header { box-shadow: 0 6px 24px rgba(22,20,58,.07); }
/* Bulunulan sayfa menüde işaretli */
.hb-nav .current-menu-item > .wp-block-navigation-item__content, .hb-nav [aria-current="page"] { color: var(--wp--preset--color--primary); box-shadow: inset 0 -2px 0 var(--wp--preset--color--primary); }
.hb-nav .is-menu-open [aria-current="page"] { box-shadow: none; }
.hb-header a { text-decoration: none; }
.hb-nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; color: var(--wp--preset--color--contrast); }
.hb-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--primary); }
.hb-actions-link { margin: 0; font-size: .9375rem; font-weight: 500; }
.hb-actions-link a { color: var(--wp--preset--color--contrast); }
.hb-btn-sm .wp-block-button__link { padding: .75rem 1.25rem; font-size: .9375rem; }
.hb-nav-mobile-only { display: none !important; }

/* Telefon menüsü (navigation bloğunun kendi açılır ekranı) */
.hb-nav .wp-block-navigation__responsive-container-open,
.hb-nav .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #E0E0E0; border-radius: 10px; background: #fff; }
@media (max-width: 599px) {
  .hb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
}
.hb-nav .wp-block-navigation__responsive-container-close { display: inline-flex; }
.hb-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1rem 1.25rem 1.5rem; background: #fff; }
.hb-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; }
.hb-nav .is-menu-open .wp-block-navigation__container { width: 100%; gap: 0 !important; border-top: 1px solid var(--wp--preset--color--line); }
.hb-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); }
.hb-nav .is-menu-open .wp-block-navigation-item__content { width: 100%; min-height: 60px; font-family: var(--wp--preset--font-family--heading); font-size: 1.375rem; font-weight: 700; }
.hb-nav .is-menu-open .hb-nav-mobile-only { display: flex !important; }

/* ---------- Hero ---------- */
.hb-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--wp--preset--color--soft); font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.hb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--primary); }
mark.hb-hl { color: inherit; background: linear-gradient(transparent 58%, var(--wp--preset--color--highlight) 58%, var(--wp--preset--color--highlight) 92%, transparent 92%); padding: 0 4px; margin: 0 -4px; }
.hb-lead { max-width: 34em; }
.wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--wp--preset--color--contrast); border: 1px solid var(--wp--preset--color--contrast); padding: calc(.95rem - 1px) calc(1.75rem - 1px); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--contrast); color: #fff; }
.hb-ctas .wp-block-button__link { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.hb-trust { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; color: var(--wp--preset--color--text-2); }
.hb-trust li { display: flex; align-items: center; gap: 8px; }
.hb-check { flex: none; fill: var(--wp--preset--color--primary); }

/* Önizleme kartı */
.hb-card { border: 1px solid #E3E3E8; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--wp--preset--shadow--card); }
.hb-card-media { aspect-ratio: 4 / 3; background: var(--wp--preset--color--soft); position: relative; display: flex; align-items: center; justify-content: center; }
.hb-card-tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: #fff; }
.hb-card-ph { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--wp--preset--color--primary); }
.hb-card-ph strong { font-size: 14px; color: var(--wp--preset--color--contrast); }
.hb-card-ph span { font-size: 13px; color: var(--wp--preset--color--text-2); }
.hb-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 16px; }
.hb-card-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.hb-card-title strong { font-family: var(--wp--preset--font-family--heading); font-size: 18px; }
.hb-card-title span { font-size: 14px; color: var(--wp--preset--color--muted); }
.hb-card-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 13px; }
.hb-card-facts dt { color: var(--wp--preset--color--muted); }
.hb-card-facts dd { margin: 2px 0 0; font-weight: 500; }
.hb-card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hb-fake-btn { flex: 1 1 140px; min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--wp--preset--color--contrast); font-weight: 600; font-size: 15px; }
.hb-fake-btn.is-primary { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.hb-card-note { margin: 12px 0 0; font-size: 13px; color: var(--wp--preset--color--muted); }

/* ---------- Bölümler ---------- */
.hb-eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--primary); }
.hb-eyebrow.is-on-dark { color: var(--wp--preset--color--highlight); }
.hb-sec > * + *, .hb-faq > * + * { margin-top: var(--wp--preset--spacing--60); }

.hb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; }
.hb-tile { display: flex; flex-direction: column; gap: 6px; color: var(--wp--preset--color--contrast); text-decoration: none; min-width: 0; }
.hb-tile:hover strong { color: var(--wp--preset--color--primary); }
.hb-tile-img { aspect-ratio: 4 / 5; border-radius: var(--hb-radius); display: flex; align-items: flex-end; padding: 12px; box-sizing: border-box; font-size: 12px; color: var(--wp--preset--color--muted); margin-bottom: 4px; }
.hb-tile strong { font-size: 15px; font-weight: 600; }
.hb-tile-color { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--wp--preset--color--muted); }
.hb-swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.hb-swatch + .hb-swatch { margin-left: -4px; }
.hb-swatch.is-light { border: 1px solid #BDBDC4; }
.hb-more a { font-weight: 600; text-decoration: none; }

.hb-band h2 { margin: 0; }
.hb-band-text { flex: 1 1 420px; }
.hb-band-text p { margin: 0; }
.wp-block-button.is-style-light .wp-block-button__link { background: #fff; color: var(--wp--preset--color--contrast); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--wp--preset--color--highlight); }

.hb-faq-list { border-top: 1px solid var(--wp--preset--color--line); }
.hb-faq-list .wp-block-details { margin: 0; }
.hb-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; font-size: 17px; font-weight: 600; }
.hb-faq-list summary::-webkit-details-marker { display: none; }
.hb-faq-list summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--wp--preset--color--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%233730A3' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat; transition: transform .2s; }
.hb-faq-list details[open] summary::after { transform: rotate(45deg); }
.hb-faq-list details p { margin: 12px 0 0; color: var(--wp--preset--color--text-2); max-width: 40em; }

/* ---------- Alt kısım ---------- */
.hb-footer a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.hb-footer a:hover { color: var(--wp--preset--color--primary); }
.hb-footcol p { margin: 0; font-size: 14px; }
.hb-foothead { font-size: 12.5px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.hb-footbrand p { margin: 0; }
.hb-legalrow p { margin: 0; }

/* WhatsApp (masaüstü) */
.hb-wa { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(10,10,30,.22); }
.hb-wa:hover { background: var(--wp--preset--color--primary-dark); color: #fff; }
.hb-mbar { display: none; }

/* ---------- Telefon ve küçük tablet ---------- */
@media (max-width: 820px) {
  .hb-actions, .hb-wa { display: none !important; }
  .hb-header .alignwide { gap: 12px !important; }
  .hb-nav { flex: none; }

  .hb-hero { padding-top: 1.75rem !important; padding-bottom: 2.5rem !important; }
  .hb-hero .wp-block-columns { gap: 1.75rem !important; }
  .hb-herotext > * + * { margin-block-start: 1.1rem !important; }
  .hb-hero h1 { font-size: 2.5rem !important; line-height: 1.05; }
  .hb-lead { font-size: 1.03rem !important; }
  .hb-ctas { width: 100%; }
  .hb-ctas .wp-block-button { flex: 1 1 100%; }
  .hb-ctas .wp-block-button__link { width: 100%; }
  .hb-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
  .hb-trust li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; border-radius: 10px; background: #fff; font-size: 12.5px; line-height: 1.3; }

  .hb-sec, .hb-faq { padding-top: 3.25rem !important; padding-bottom: 3.25rem !important; }
  .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hb-band { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .hb-bandbtn, .hb-bandbtn .wp-block-button, .hb-bandbtn .wp-block-button__link { width: 100%; }
  .hb-faq .wp-block-columns { gap: 1.5rem !important; }

  .hb-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.75rem 1rem !important; }
  .hb-footbrand { grid-column: 1 / -1; }

  /* Altta sabit eylem çubuğu */
  .wp-site-blocks > footer:last-of-type { padding-bottom: calc(var(--hb-mbar-space, 80px) + env(safe-area-inset-bottom)); background: var(--wp--preset--color--tint); }
  .hb-mbar { display: flex; gap: 10px; transition: transform .25s ease, opacity .25s; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--wp--preset--color--line); box-shadow: 0 -6px 20px rgba(10,10,30,.06); }
  .hb-mbar-cta { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 10px; background: var(--wp--preset--color--primary); color: #fff; font-weight: 600; text-decoration: none; }
  .hb-mbar-cta:hover { color: #fff; background: var(--wp--preset--color--primary-dark); }
  .hb-mbar-wa { flex: none; width: 52px; height: 52px; border-radius: 10px; border: 1px solid #D6D6DC; display: flex; align-items: center; justify-content: center; color: var(--wp--preset--color--contrast); }
}
@media (max-width: 820px) {
  .hb-mbar-wait .hb-mbar { transform: translateY(110%); opacity: 0; pointer-events: none; }
  body:has(.is-menu-open) .hb-mbar, .hb-mbar[hidden] { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hb-mbar, .hb-header { transition: none; } }

/* =========================================================
   İç sayfalar
   ========================================================= */
.hb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--wp--preset--spacing--50); box-sizing: border-box; }
.hb-main > .wp-block-post-content > * { margin-block: 0; }
.hb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hb-muted { color: var(--wp--preset--color--muted); }
.hb-muted-lg { color: var(--wp--preset--color--text-2); font-size: 1.0625rem; max-width: 30em; }
.hb-ico { flex: none; }

/* Düğmeler (HTML bölümleri için) */
.hb-btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 8px; border: 1px solid var(--wp--preset--color--primary); background: var(--wp--preset--color--primary); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; box-sizing: border-box; cursor: pointer; font-family: inherit; }
.hb-btn:hover { background: var(--wp--preset--color--primary-dark); border-color: var(--wp--preset--color--primary-dark); color: #fff; }
.hb-btn.is-ghost { background: #fff; color: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); }
.hb-btn.is-ghost:hover { background: var(--wp--preset--color--contrast); color: #fff; }
.hb-btn.is-light { background: #fff; color: var(--wp--preset--color--contrast); border-color: #fff; }
.hb-btn.is-light:hover { background: var(--wp--preset--color--highlight); border-color: var(--wp--preset--color--highlight); color: var(--wp--preset--color--contrast); }
.hb-btn.is-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hb-btn.is-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.hb-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; min-height: 44px; }

/* Sayfa başı */
.hb-phero { background: var(--wp--preset--color--tint); padding: var(--wp--preset--spacing--80) 0; }
.hb-phero .hb-wrap > * + * { margin-top: 1.25rem; }
.hb-phero h1 { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: clamp(2.375rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.025em; margin: 1.25rem 0 0; max-width: 16em; }
.hb-phero-lead { font-size: clamp(1.03rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--wp--preset--color--text-2); max-width: 38em; margin-bottom: 0; }
.hb-phero .hb-btnrow { margin-top: 1.75rem; }
.hb-phero.is-compact { padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.hb-phero.is-compact h1, .hb-phero.is-compact .wp-block-post-title { font-size: clamp(2rem, 4vw, 3rem); margin-top: .5rem; }
.hb-legal-date { margin: .75rem 0 0; color: var(--wp--preset--color--muted); font-size: .9375rem; }

/* Bölümler */
.hb-sec2 { padding: var(--wp--preset--spacing--80) 0; }
.hb-sec2.is-tint { background: var(--wp--preset--color--tint); }
.hb-sec-head { margin-bottom: var(--wp--preset--spacing--60); }
.hb-sec-head h2, .hb-split h2 { margin: .6rem 0 0; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.hb-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--wp--preset--spacing--70); align-items: start; }
.hb-split > div:first-child p:last-child { margin-bottom: 0; }

.hb-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hb-fcard { background: #fff; border: 1px solid #E3E3E8; border-radius: 14px; padding: 26px; }
.hb-sec2.is-tint .hb-fcard { border-color: transparent; }
.hb-fcard h3 { font-size: 1.1875rem; margin: 1rem 0 .5rem; }
.hb-fcard p { margin: 0; color: var(--wp--preset--color--text-2); font-size: .9688rem; }
.hb-fcard-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hb-fcard.is-warn .hb-fcard-ico { background: #FFF4D6; color: #8A5A00; }

.hb-checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 12px; }
.hb-checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hb-checklist .hb-ico { color: var(--wp--preset--color--primary); }
.hb-checklist.is-compact { gap: 10px; }

.hb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hb-list li { position: relative; padding-left: 28px; color: var(--wp--preset--color--text-2); }
.hb-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.3 5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.hb-list.is-no li::before { background: #E9E9EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%234A4A55' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.hb-twolist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.hb-twolist h3 { font-size: 1.125rem; margin: 0 0 1rem; }

.hb-note { display: flex; align-items: center; gap: 10px; margin: var(--wp--preset--spacing--60) 0 0; padding: 14px 18px; border-radius: 10px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--text-2); font-size: .9375rem; }
.hb-note .hb-ico { color: var(--wp--preset--color--primary); }

/* Çağrı bandı */
.hb-ctaband { background: var(--wp--preset--color--dark); color: #fff; padding: var(--wp--preset--spacing--70) 0; }
.hb-ctaband-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.hb-ctaband-in > div:first-child { flex: 1 1 420px; }
.hb-ctaband h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.hb-ctaband p { margin: .5rem 0 0; color: var(--wp--preset--color--dark-muted); }

/* Özel sipariş: asistan kartı */
.hb-order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--wp--preset--spacing--70); align-items: center; }
.hb-order h1 { margin-top: 1.25rem; }
.hb-assist { background: #fff; border-radius: 18px; box-shadow: var(--wp--preset--shadow--card); border: 1px solid #E3E3E8; overflow: hidden; }
.hb-assist-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--wp--preset--color--line); }
.hb-assist-top strong { display: block; font-size: 15px; }
.hb-assist-top span { font-size: 13px; color: var(--wp--preset--color--muted); }
.hb-assist-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--wp--preset--color--primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hb-assist-body { padding: 20px; display: grid; gap: 14px; }
.hb-bubble { margin: 0; padding: 14px 16px; border-radius: 4px 14px 14px 14px; background: var(--wp--preset--color--tint); font-size: .9688rem; }
.hb-assist-label { margin: 4px 0 0; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.hb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #D6D6DC; background: #fff; color: var(--wp--preset--color--contrast); font: 500 14px/1 var(--wp--preset--font-family--body); cursor: pointer; }
.hb-chip:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
.hb-assist-form textarea { width: 100%; box-sizing: border-box; min-height: 112px; padding: 14px; border: 1px solid #CFCFD6; border-radius: 12px; font: 400 1rem/1.5 var(--wp--preset--font-family--body); resize: vertical; }
.hb-assist-form textarea:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 1px; border-color: transparent; }
.hb-assist-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.hb-assist-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--wp--preset--color--muted); }

/* Nasıl çalışır: zaman çizelgesi */
.hb-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 880px; }
.hb-tl-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; position: relative; }
.hb-tl-item:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: -16px; width: 2px; background: var(--wp--preset--color--soft); }
.hb-tl-no { width: 48px; height: 48px; border-radius: 50%; background: var(--wp--preset--color--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 800 1.125rem var(--wp--preset--font-family--heading); }
.hb-tl-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid #E3E3E8; border-radius: 14px; padding: 22px 24px; }
.hb-tl-card h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.hb-tl-card p { margin: 0; color: var(--wp--preset--color--text-2); }

.hb-pricebox { background: #fff; border-radius: 16px; padding: 8px 24px; }
.hb-price-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.hb-price-row:last-child { border-bottom: 0; }
.hb-price-row .hb-ico { color: var(--wp--preset--color--primary); margin-top: 2px; }
.hb-price-row strong { display: block; }
.hb-price-row span { color: var(--wp--preset--color--text-2); font-size: .9688rem; }

/* Örnek işler */
.hb-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hb-show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border: 1px solid #E3E3E8; border-radius: 16px; overflow: hidden; background: #fff; }
.hb-show-media { display: flex; align-items: center; justify-content: center; min-height: 240px; }
.hb-show-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.hb-show-body h2 { margin: 0; font-size: 1.375rem; }
.hb-show-body p { margin: 0; color: var(--wp--preset--color--text-2); }
.hb-show-body .hb-link { margin-top: auto; }
.hb-tags { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hb-tags li { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--text-2); }
.hb-art { width: 78%; max-width: 220px; height: auto; }
.hb-tile-img { justify-content: center; align-items: center !important; }
.hb-tile-img .hb-art { width: 82%; }

/* SSS sayfası */
.hb-faqpage { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--wp--preset--spacing--70); align-items: start; }
.hb-faqnav, .hb-legal-nav { position: sticky; top: 96px; }
.hb-faqnav ul, .hb-legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hb-faqnav a, .hb-legal-nav a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 8px; color: var(--wp--preset--color--text-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.hb-faqnav a:hover, .hb-legal-nav a:hover { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--contrast); }
.hb-legal-nav a[aria-current="page"] { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary); box-shadow: inset 3px 0 0 var(--wp--preset--color--primary); }
.hb-legal-nav-title { margin: 0 0 8px 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.hb-faqgroup { scroll-margin-top: 96px; }
.hb-faqgroup + .hb-faqgroup { margin-top: var(--wp--preset--spacing--70); }
.hb-faqgroup h2 { font-size: 1.5rem; margin: 0 0 .5rem; }
.hb-qa { border-bottom: 1px solid var(--wp--preset--color--line); }
.hb-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-weight: 600; font-size: 1.0625rem; }
.hb-qa summary::-webkit-details-marker { display: none; }
.hb-qa summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--wp--preset--color--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%233730A3' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat; transition: transform .2s; }
.hb-qa[open] summary::after { transform: rotate(45deg); }
.hb-qa p { margin: 0 0 1.25rem; color: var(--wp--preset--color--text-2); max-width: 42em; }
.hb-askbox { margin-top: var(--wp--preset--spacing--70); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 16px; background: var(--wp--preset--color--tint); }
.hb-askbox h2 { margin: 0; font-size: 1.375rem; }
.hb-askbox p { margin: .35rem 0 0; color: var(--wp--preset--color--text-2); }
.hb-qalist .hb-qa:first-child { border-top: 1px solid var(--wp--preset--color--line); }

/* İletişim */
.hb-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hb-ccard { display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid #E3E3E8; border-radius: 16px; color: var(--wp--preset--color--contrast); text-decoration: none; background: #fff; }
a.hb-ccard:hover { border-color: var(--wp--preset--color--primary); box-shadow: var(--wp--preset--shadow--card); color: var(--wp--preset--color--contrast); }
.hb-ccard h2 { margin: .75rem 0 0; font-size: 1.375rem; }
.hb-ccard p { margin: 0; color: var(--wp--preset--color--text-2); }
.hb-ccard-go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--wp--preset--color--primary); }
.hb-ccard-go.is-static { color: var(--wp--preset--color--contrast); }
.hb-ccard.is-main { background: var(--wp--preset--color--tint); border-color: transparent; }
.hb-ccard.is-main .hb-fcard-ico { background: var(--wp--preset--color--primary); color: #fff; }

/* Hakkımızda */
.hb-story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--wp--preset--spacing--70); align-items: start; }
.hb-story-text { font-size: 1.0625rem; line-height: 1.75; color: var(--wp--preset--color--text-2); }
.hb-story-text h2 { color: var(--wp--preset--color--contrast); font-size: 1.75rem; margin: 2rem 0 .75rem; }
.hb-story-text h2:first-child { margin-top: 0; }
.hb-values { display: grid; gap: 14px; position: sticky; top: 96px; }
.hb-value { display: flex; gap: 16px; padding: 20px; border-radius: 14px; background: var(--wp--preset--color--tint); }
.hb-value .hb-fcard-ico { background: #fff; }
.hb-value h3 { margin: 0 0 .25rem; font-size: 1.0625rem; }
.hb-value p { margin: 0; font-size: .9375rem; color: var(--wp--preset--color--text-2); }

/* Açılış sayfaları */
.hb-landing-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--wp--preset--spacing--70); align-items: center; }
.hb-landing-hero h1 { margin-top: 1.25rem; }
.hb-landing-media { position: relative; border-radius: 20px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.hb-landing-media .hb-art { width: 70%; max-width: 320px; }
.hb-landing-cap { position: absolute; left: 16px; bottom: 16px; font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: #fff; }
.hb-trust.is-plain { margin-top: 1.5rem; }
.hb-trust.is-plain .hb-ico { color: var(--wp--preset--color--primary); }
.hb-steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hb-steps3 li { background: #fff; border-radius: 14px; padding: 26px; }
.hb-steps3 h3 { margin: 1rem 0 .4rem; font-size: 1.1875rem; }
.hb-steps3 p { margin: 0; color: var(--wp--preset--color--text-2); }
.hb-specs { margin: 0; display: grid; border-top: 1px solid var(--wp--preset--color--line); }
.hb-specs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.hb-specs dt { font-weight: 600; }
.hb-specs dd { margin: 0; color: var(--wp--preset--color--text-2); }

/* Yasal sayfalar */
.hb-legal-body { padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50) var(--wp--preset--spacing--80); }
.hb-legal-grid { display: grid !important; grid-template-columns: 260px minmax(0, 1fr); gap: var(--wp--preset--spacing--70); align-items: start; }
.hb-legal-grid > * { margin: 0 !important; }
.hb-legal-text { max-width: 760px; font-size: 1rem; line-height: 1.75; color: var(--wp--preset--color--text-2); }
.hb-legal-text h2 { color: var(--wp--preset--color--contrast); font-size: 1.375rem; margin: 2.25rem 0 .75rem; letter-spacing: -.01em; }
.hb-legal-text h3 { color: var(--wp--preset--color--contrast); font-size: 1.0625rem; margin: 1.25rem 0 .5rem; }
.hb-legal-text ul { padding-left: 1.25rem; }
.hb-legal-text li + li { margin-top: .4rem; }
.hb-legal-text strong { color: var(--wp--preset--color--contrast); }
.hb-callout { padding: 18px 20px; border-radius: 12px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--contrast); }
.hb-legal-text > .wp-block-post-content > :first-child { margin-top: 0; }
.hb-legal-help { display: flex; gap: 10px; margin-top: 20px; padding: 16px; border-radius: 12px; background: var(--wp--preset--color--tint); font-size: .875rem; }
.hb-legal-help .hb-ico { color: var(--wp--preset--color--primary); }
.hb-legal-help p { margin: 0; }
.hb-legal-help a { font-weight: 600; font-size: .8125rem; }

/* Taleplerim */
.hb-dashwrap { padding: var(--wp--preset--spacing--70) 0 var(--wp--preset--spacing--80); background: #F7F7FB; min-height: 60vh; }
.hb-dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hb-dash-head h1 { margin: .4rem 0 0; font-size: clamp(2rem, 4vw, 2.75rem); }
.hb-dash-sub { margin: .5rem 0 0; color: var(--wp--preset--color--text-2); }
.hb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 28px 0 20px; }
.hb-stat { background: #fff; border: 1px solid #E6E6EE; border-radius: 14px; padding: 18px 20px; }
.hb-stat strong { display: block; font: 800 1.75rem/1.1 var(--wp--preset--font-family--heading); }
.hb-stat span { font-size: .875rem; color: var(--wp--preset--color--muted); }
.hb-stat.is-hot { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.hb-stat.is-hot span { color: var(--wp--preset--color--dark-muted); }
.hb-tabs { display: flex; gap: 4px; border-bottom: 1px solid #E1E1EA; margin-bottom: 8px; overflow-x: auto; }
.hb-tabs a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; white-space: nowrap; color: var(--wp--preset--color--text-2); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.hb-tabs a[aria-current="true"] { color: var(--wp--preset--color--primary); border-bottom-color: var(--wp--preset--color--primary); }
.hb-dash-sec { padding-top: 28px; scroll-margin-top: 90px; }
.hb-dash-sec h2 { font-size: 1.25rem; margin: 0 0 14px; }
.hb-req { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px; align-items: center; background: #fff; border: 1px solid #E6E6EE; border-radius: 16px; padding: 16px; }
.hb-req + .hb-req { margin-top: 12px; }
.hb-req-thumb { width: 112px; height: 112px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hb-req-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hb-req-thumb .hb-art { width: 88%; }
.hb-req-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hb-req-no { font-size: 13px; color: var(--wp--preset--color--muted); }
.hb-req h3 { margin: 6px 0 2px; font-size: 1.125rem; }
.hb-req-meta { margin: 0; font-size: .875rem; color: var(--wp--preset--color--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.hb-req-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hb-req-side .hb-btn { min-height: 46px; padding: 0 18px; font-size: .9375rem; }
.hb-req-price { font-weight: 600; font-size: .9375rem; }
.hb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.hb-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hb-badge.is-info { background: #EEF0FF; color: #3730A3; }
.hb-badge.is-action { background: #DCDDFB; color: #2A237F; }
.hb-badge.is-ok { background: #DDF5E9; color: #11663E; }
.hb-badge.is-done { background: #ECECEF; color: #33333A; }
.hb-badge.is-muted { background: #F2F2F4; color: #5A5A63; }
.hb-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 520px; }
.hb-steps li { font-size: 12px; color: var(--wp--preset--color--muted); display: flex; flex-direction: column; gap: 6px; }
.hb-steps li span { height: 5px; border-radius: 3px; background: #E3E3EA; }
.hb-steps li.is-done span { background: var(--wp--preset--color--primary); }
.hb-steps li.is-now span { background: linear-gradient(90deg, var(--wp--preset--color--primary) 50%, #E3E3EA 50%); }
.hb-steps li.is-now { color: var(--wp--preset--color--contrast); font-weight: 600; }
.hb-empty { text-align: center; background: #fff; border: 1px dashed #CFCFDA; border-radius: 16px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hb-empty .hb-art { width: 120px; }
.hb-empty h3 { margin: 8px 0 0; }
.hb-empty p { margin: 0 0 12px; max-width: 32em; color: var(--wp--preset--color--text-2); }
.hb-account { background: #fff; border: 1px solid #E6E6EE; border-radius: 16px; padding: 8px 24px 24px; }
.hb-account-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.hb-account-row .hb-ico { color: var(--wp--preset--color--primary); }
.hb-account-row span { display: block; font-size: 13px; color: var(--wp--preset--color--muted); }
.hb-account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.hb-account-actions .hb-btn { min-height: 46px; }

/* Taleplerim: giriş */
.hb-auth { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.hb-auth-card { background: #fff; border: 1px solid #E6E6EE; border-radius: 18px; padding: clamp(24px, 4vw, 40px); }
.hb-auth-card h1 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); margin: .4rem 0 .5rem; }
.hb-auth-card form { margin-top: 20px; display: grid; gap: 14px; }
.hb-auth-card form p { margin: 0; }
.hb-auth-card label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.hb-auth-card input[type=text], .hb-auth-card input[type=password] { width: 100%; box-sizing: border-box; min-height: 52px; padding: 0 14px; border: 1px solid #CFCFD6; border-radius: 10px; font: inherit; }
.hb-auth-card input:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 1px; border-color: transparent; }
.hb-auth-card .login-remember label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.hb-auth-card input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--wp--preset--color--primary); }
.hb-auth-card input[type=submit] { width: 100%; min-height: 52px; border: 0; border-radius: 10px; background: var(--wp--preset--color--primary); color: #fff; font: 600 1rem var(--wp--preset--font-family--body); cursor: pointer; }
.hb-auth-card input[type=submit]:hover { background: var(--wp--preset--color--primary-dark); }
.hb-auth-links { margin: 16px 0 0; font-size: .9375rem; }
.hb-alert { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #8E1C1C; font-size: .9375rem; }
.hb-auth-side { background: var(--wp--preset--color--dark); color: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 4px; }
.hb-auth-side h2 { color: #fff; margin: 0; font-size: 1.5rem; }
.hb-auth-side p { color: var(--wp--preset--color--dark-muted); }
.hb-auth-side .hb-checklist { margin: 8px 0 28px; }
.hb-auth-side .hb-checklist .hb-ico { color: var(--wp--preset--color--highlight); }
.hb-auth-side .hb-btn { align-self: flex-start; margin-top: auto; }

/* ---------- İç sayfalar: tablet ve telefon ---------- */
@media (max-width: 960px) {
  .hb-order, .hb-landing-hero, .hb-split, .hb-story, .hb-auth { grid-template-columns: minmax(0, 1fr); }
  .hb-cards3, .hb-steps3 { grid-template-columns: minmax(0, 1fr); }
  .hb-showcase { grid-template-columns: minmax(0, 1fr); }
  .hb-faqpage, .hb-legal-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .hb-faqnav, .hb-legal-nav, .hb-values { position: static; }
  .hb-faqnav ul, .hb-legal-nav ul { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .hb-faqnav a, .hb-legal-nav a { white-space: nowrap; border: 1px solid #DADAE2; border-radius: 999px; min-height: 40px; }
  .hb-legal-nav a[aria-current="page"] { box-shadow: none; border-color: var(--wp--preset--color--primary); }
  .hb-legal-help { display: none; }
  .hb-landing-media { aspect-ratio: 16 / 10; }
  .hb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hb-phero { padding: 2rem 0 2.5rem; }
  .hb-phero.is-compact { padding: 1.75rem 1rem 1.5rem; }
  .hb-phero .hb-btnrow .hb-btn, .hb-ctaband .hb-btn, .hb-askbox .hb-btn { flex: 1 1 100%; }
  .hb-sec2 { padding: 3rem 0; }
  .hb-wrap { padding: 0 1rem; }
  .hb-contact, .hb-twolist { grid-template-columns: minmax(0, 1fr); }
  .hb-show { grid-template-columns: minmax(0, 1fr); }
  .hb-show-media { min-height: 180px; }
  .hb-tl-item { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .hb-tl-no { width: 36px; height: 36px; font-size: 1rem; }
  .hb-tl-item:not(:last-child)::after { left: 17px; top: 40px; }
  .hb-tl-card { flex-direction: column; gap: 12px; padding: 18px; }
  .hb-legal-body { padding: 1.5rem 1rem 3rem; }
  .hb-req { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .hb-req-thumb { width: 72px; height: 72px; }
  .hb-req-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .hb-req-side .hb-btn { flex: 1 1 auto; }
  .hb-steps li { font-size: 11px; }
  .hb-dash-head .hb-btn { width: 100%; }
  .hb-assist-actions .hb-btn { width: 100%; }
  .hb-specs > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- 3D önizleme (model-viewer) ---------- */
.hb-mv { width: 100%; height: 100%; display: block; background: transparent; --poster-color: transparent; --progress-bar-color: var(--wp--preset--color--primary); --progress-bar-height: 2px; }
.hb-mv:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: -2px; }
.hb-mv:not(:defined) { display: flex; align-items: center; justify-content: center; }
.hb-card-media .hb-card-tag { z-index: 2; }
.hb-mv-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 500; color: var(--wp--preset--color--text-2); pointer-events: none; opacity: 0; transition: opacity .3s; }
.hb-card-media:has(.hb-mv.is-ready) .hb-mv-hint, .hb-landing-media:has(.hb-mv.is-ready) .hb-mv-hint { opacity: 1; }
.hb-card-media:has(.hb-mv:active) .hb-mv-hint, .hb-landing-media:has(.hb-mv:active) .hb-mv-hint { opacity: 0; }
.hb-landing-media:has(.hb-mv) { position: relative; padding: 0; overflow: hidden; }
.hb-landing-media .hb-mv-hint { bottom: auto; top: 14px; }
.hb-mv-poster { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hb-ar-btn { position: absolute; right: 12px; bottom: 12px; z-index: 3; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--wp--preset--color--dark); color: #fff; font: 600 13px/1 var(--wp--preset--font-family--body); cursor: pointer; }
.hb-ar-btn:hover { background: var(--wp--preset--color--primary); }
@media (prefers-reduced-motion: reduce) { .hb-mv-hint { transition: none; } }

/* ---------- Açılış sayfası örnek galerisi ---------- */
.hb-gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hb-gal-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hb-gal-img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border-radius: var(--hb-radius); overflow: hidden; margin-bottom: 8px; }
.hb-gal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-gal-img .hb-art { width: 62%; height: auto; }
.hb-gal-note { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.88); font-size: 11px; color: var(--wp--preset--color--text-2); }
.hb-gal-item strong { font-size: 15px; font-weight: 600; }
.hb-gal-item > span:last-child { font-size: 13.5px; color: var(--wp--preset--color--muted); }
.hb-gal-more { margin: 28px 0 0; font-size: 15px; color: var(--wp--preset--color--text-2); }
.hb-gal-more a { font-weight: 600; text-decoration: none; }
@media (max-width: 820px) { .hb-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* ---------- Hareket: kaydırınca beliren bölümler, buton geri bildirimi ---------- */
.hb-btn, .wp-element-button, .hb-mbar-cta, .hb-tile-img, .hb-gal-img, .hb-fcard { transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .2s; }
.hb-btn:active, .wp-element-button:active, .hb-mbar-cta:active { transform: translateY(1px) scale(.99); }
.hb-tile:hover .hb-tile-img, .hb-gal-item:hover .hb-gal-img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22,20,58,.08); }
.hb-anim .hb-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--hb-i, 0) * 70ms); }
.hb-anim .hb-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hb-anim .hb-reveal { opacity: 1; transform: none; transition: none; }
  .hb-btn, .wp-element-button, .hb-mbar-cta, .hb-tile-img, .hb-gal-img, .hb-fcard { transition: none; }
  .hb-btn:active, .wp-element-button:active, .hb-mbar-cta:active, .hb-tile:hover .hb-tile-img, .hb-gal-item:hover .hb-gal-img { transform: none; }
}

/* ==========================================================================
   Faz 2 — Hayalbas Asistanı (Özel Sipariş) ve şifresiz giriş kutusu
   ========================================================================== */
.hb-order:has(.hb-asst) { align-items: start; }
.hb-asst { --hb-err: #B3123B; display: flex; flex-direction: column; min-width: 0; }
.hb-asst .hb-assist-top { position: relative; }
.hb-asst-restart { margin-left: auto; border: 0; background: none; color: var(--wp--preset--color--primary); font: 600 14px var(--wp--preset--font-family--body); padding: 8px 4px; min-height: 40px; cursor: pointer; }
.hb-asst-restart:hover { text-decoration: underline; }
.hb-asst-steps { list-style: none; margin: 0; padding: 12px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border-bottom: 1px solid var(--wp--preset--color--line); counter-reset: hbstep; }
.hb-asst-steps li { counter-increment: hbstep; font-size: 12.5px; font-weight: 600; color: #8A8A96; display: flex; flex-direction: column; gap: 6px; }
.hb-asst-steps li::before { content: ""; height: 4px; border-radius: 4px; background: #E3E3EA; }
.hb-asst-steps li.is-done { color: var(--wp--preset--color--muted); }
.hb-asst-steps li.is-done::before { background: var(--wp--preset--color--soft); }
.hb-asst-steps li.is-now { color: var(--wp--preset--color--primary); }
.hb-asst-steps li.is-now::before { background: var(--wp--preset--color--primary); }
.hb-asst-pane { display: grid; gap: 14px; }
.hb-asst-pane[hidden] { display: none; }
.hb-asst-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-asst-cat { min-height: 44px; }
.hb-asst-cat:focus-visible, .hb-opt:has(input:focus-visible), .hb-asst-attach:has(input:focus-visible) { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }

/* Sohbet */
.hb-asst-log { display: flex; flex-direction: column; gap: 10px; max-height: min(52vh, 460px); overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; scroll-behavior: smooth; }
.hb-asst-log .hb-bubble { max-width: 88%; white-space: pre-line; overflow-wrap: anywhere; }
.hb-bubble.is-user { align-self: flex-end; background: var(--wp--preset--color--primary); color: #fff; border-radius: 14px 4px 14px 14px; }
.hb-asst-typing { display: inline-flex; gap: 5px; align-items: center; width: max-content; padding: 16px 18px; }
.hb-asst-typing span { width: 7px; height: 7px; border-radius: 50%; background: #8A88C9; animation: hbTyping 1.1s infinite ease-in-out; }
.hb-asst-typing span:nth-child(2) { animation-delay: .15s; }
.hb-asst-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes hbTyping { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-4px); opacity: 1; } }
.hb-asst-compose { display: grid; gap: 10px; border: 1px solid #CFCFD6; border-radius: 14px; padding: 10px; background: #fff; }
.hb-asst-compose:focus-within { border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px var(--wp--preset--color--tint); }
.hb-asst-compose textarea { border: 0; resize: none; font: 400 1rem/1.5 var(--wp--preset--font-family--body); padding: 4px 6px; min-height: 48px; outline: none; background: transparent; width: 100%; box-sizing: border-box; }
.hb-asst-compose-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hb-asst-send { min-height: 44px; padding: 0 20px; }
.hb-asst-send[disabled], .hb-asst-submit[disabled] { opacity: .55; cursor: progress; }
.hb-asst-attach { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--wp--preset--color--primary); font-weight: 600; font-size: 14.5px; cursor: pointer; position: relative; }
.hb-asst-attach:hover { background: var(--wp--preset--color--tint); }
.hb-asst-attach > span[aria-hidden] { font-size: 18px; line-height: 1; }
.hb-asst-attach.is-wide { justify-content: center; border: 1.5px dashed #B9B7E6; background: #FAFAFF; min-height: 56px; }
.hb-asst-alt { margin: 0; text-align: center; }
.hb-asst-alt button { border: 0; background: none; color: var(--wp--preset--color--muted); text-decoration: underline; text-underline-offset: 3px; font: 500 14px var(--wp--preset--font-family--body); cursor: pointer; min-height: 40px; }
.hb-asst-alt button:hover { color: var(--wp--preset--color--primary); }

/* Dosya kartları */
.hb-asst-files { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-asst-files:empty { display: none; }
.hb-asst-file { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 40px; padding: 4px 4px 4px 6px; border: 1px solid #DCDCE4; border-radius: 10px; background: #fff; font-size: 13.5px; box-sizing: border-box; }
.hb-asst-file-ext { flex: none; padding: 3px 6px; border-radius: 6px; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--primary); font-weight: 700; font-size: 11px; letter-spacing: .03em; }
.hb-asst-file-name { min-width: 0; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-asst-file-size { color: var(--wp--preset--color--muted); font-size: 12.5px; }
.hb-asst-file-bar { width: 64px; height: 4px; border-radius: 4px; background: #E6E6EE; overflow: hidden; }
.hb-asst-file-bar i { display: block; height: 100%; background: var(--wp--preset--color--primary); transition: width .2s; }
.hb-asst-file-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--wp--preset--color--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.hb-asst-file-x:hover { background: #F2F2F6; color: var(--wp--preset--color--contrast); }
.hb-asst-file.is-pending { border-style: dashed; }

/* Form alanları */
.hb-asst-form, .hb-asst-contact { display: grid; gap: 16px; }
.hb-f { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.hb-f > label, .hb-f > legend, .hb-f-label { font-weight: 600; font-size: .9375rem; padding: 0; margin-bottom: 2px; }
.hb-f input:not([type=radio]):not([type=checkbox]):not([type=file]), .hb-f select, .hb-f textarea { width: 100%; box-sizing: border-box; min-height: 50px; padding: 0 14px; border: 1px solid #CFCFD6; border-radius: 10px; background: #fff; font: 400 1rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--contrast); }
.hb-f textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 110px; }
.hb-f input:focus, .hb-f select:focus, .hb-f textarea:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 1px; border-color: transparent; }
.hb-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hb-f-row.is-3 { grid-template-columns: repeat(3, 1fr); }
.hb-f-help { margin: 0; font-size: 13px; color: var(--wp--preset--color--muted); }
.hb-f.has-error input, .hb-f.has-error textarea, .hb-f.has-error select { border-color: var(--hb-err); }
.hb-f.has-error > label, .hb-f.has-error > legend, .hb-f.has-error > .hb-f-label { color: var(--hb-err); }
.hb-f.has-error .hb-asst-attach.is-wide { border-color: var(--hb-err); }
.hb-asst-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-opt { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid #D6D6DC; border-radius: 999px; background: #fff; font-size: 14.5px; cursor: pointer; }
.hb-opt:hover { border-color: var(--wp--preset--color--primary); }
.hb-opt:has(input:checked) { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.hb-check { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; cursor: pointer; }
.hb-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wp--preset--color--primary); }
.hb-check a { color: var(--wp--preset--color--primary); }
.hb-check.has-error { color: var(--hb-err); }
.hb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Özet ve sonuç */
.hb-asst-h { margin: 0; font-size: 1.125rem; }
.hb-asst-summary { margin: 0; display: grid; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; overflow: hidden; }
.hb-asst-summary > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 12px; padding: 10px 14px; font-size: .9375rem; }
.hb-asst-summary > div:nth-child(odd) { background: #FAFAFC; }
.hb-asst-summary dt { color: var(--wp--preset--color--muted); font-weight: 500; }
.hb-asst-summary dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.hb-asst-contact { border-top: 1px solid var(--wp--preset--color--line); padding-top: 18px; }
.hb-asst-submit { width: 100%; }
.hb-asst-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #FDEEF2; color: var(--hb-err); font-size: .9375rem; }
.hb-asst-error[hidden] { display: none; }
.hb-asst-done { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 12px 0 4px; }
.hb-asst-done-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--dark); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.hb-asst-done-text { margin: 0; color: var(--wp--preset--color--muted); max-width: 40ch; }

/* Şifresiz giriş kutusu (Taleplerim) */
.hb-magic { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--wp--preset--color--line); display: grid; gap: 10px; }
.hb-magic-title { margin: 0; display: grid; gap: 2px; }
.hb-magic-title span { font-size: .9375rem; color: var(--wp--preset--color--muted); }
.hb-magic-row { display: flex; gap: 8px; }
.hb-magic-row input { flex: 1; min-width: 0; min-height: 52px; padding: 0 14px; border: 1px solid #CFCFD6; border-radius: 10px; font: inherit; box-sizing: border-box; }
.hb-magic-row input:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 1px; border-color: transparent; }
.hb-magic-row .hb-btn { flex: none; }
.hb-magic-msg { margin: 0; font-size: .9375rem; color: var(--wp--preset--color--primary); min-height: 1.4em; }
.hb-notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #FDEEF2; color: #B3123B; font-size: .9375rem; }

@media (max-width: 781px) {
  .hb-order:has(.hb-asst) .hb-order-text .hb-checklist { display: none; }
  .hb-asst .hb-assist-body { padding: 16px; }
  .hb-asst-steps { padding: 10px 16px; }
  .hb-asst-log { max-height: 56vh; }
  .hb-asst-log .hb-bubble { max-width: 94%; }
  .hb-f-row { grid-template-columns: 1fr; }
  .hb-f-row.is-3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hb-asst-summary > div { grid-template-columns: 1fr; gap: 2px; }
  .hb-asst-attach-t { display: none; }
  .hb-asst-attach.is-wide .hb-asst-attach-t { display: inline; }
  .hb-magic-row { flex-direction: column; }
  .hb-magic-row .hb-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-asst-typing span { animation: none; opacity: .7; }
  .hb-asst-log { scroll-behavior: auto; }
  .hb-asst-file-bar i { transition: none; }
}

/* Taleplerim — talep detayı */
.hb-back { margin: 0 0 16px; }
.hb-back a { color: var(--wp--preset--color--primary); font-weight: 600; text-decoration: none; }
.hb-back a:hover { text-decoration: underline; }
.hb-detail-head h1 { margin: .5rem 0 .25rem; font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
.hb-detail .hb-req { margin-top: 20px; }
.hb-detail-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; margin-top: 20px; align-items: start; }
.hb-detail-side { display: grid; gap: 20px; }
.hb-detail-card { background: #fff; border: 1px solid #E6E6EE; border-radius: 16px; padding: 20px 22px; }
.hb-detail-card h2 { margin: 0 0 14px; font-size: 1.125rem; }
.hb-detail-dl { margin: 0; display: grid; }
.hb-detail-dl > div { display: grid; grid-template-columns: minmax(120px, 36%) 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--wp--preset--color--line); font-size: .9688rem; }
.hb-detail-dl > div:first-child { border-top: 0; padding-top: 0; }
.hb-detail-dl dt { color: var(--wp--preset--color--muted); }
.hb-detail-dl dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.hb-detail-wait { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--wp--preset--color--tint); }
.hb-detail-wait .hb-ico { flex: none; color: var(--wp--preset--color--primary); margin-top: 2px; }
.hb-detail-wait p { margin: 0; font-size: .9375rem; }
.hb-detail-track { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; }
.hb-detail-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hb-detail-files li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; min-width: 0; }
.hb-detail-files img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; background: var(--wp--preset--color--tint); }
.hb-detail-files .hb-asst-file-ext { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; box-sizing: border-box; }
.hb-detail-files li > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-detail-files small { display: block; color: var(--wp--preset--color--muted); font-size: 12.5px; }
.hb-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 14px; border-left: 2px solid var(--wp--preset--color--soft); }
.hb-timeline li { position: relative; display: grid; gap: 2px; font-size: .9375rem; }
.hb-timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--wp--preset--color--primary); }
.hb-timeline li:first-child::before { background: var(--wp--preset--color--primary); }
.hb-timeline time { font-size: 13px; color: var(--wp--preset--color--muted); }
.hb-pass-login { margin-top: 18px; border-top: 1px solid var(--wp--preset--color--line); padding-top: 14px; }
.hb-pass-login summary { cursor: pointer; font-weight: 600; color: var(--wp--preset--color--muted); min-height: 40px; display: flex; align-items: center; }
.hb-pass-login summary:hover { color: var(--wp--preset--color--primary); }
.hb-pass-login[open] summary { color: var(--wp--preset--color--contrast); }
@media (max-width: 781px) {
  .hb-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .hb-detail-dl > div { grid-template-columns: 1fr; gap: 2px; }
}
.hb-asst, .hb-asst .hb-f { scroll-margin-top: 96px; }
.hb-asst-restart { white-space: nowrap; flex: none; }
.hb-asst .hb-assist-top > div { min-width: 0; }
@media (max-width: 781px) { .hb-asst .hb-assist-top span#hb-asst-sub { font-size: 12.5px; } }
.hb-detail-progress { margin-top: 20px; display: grid; gap: 12px; }
.hb-detail-progress .hb-steps { max-width: 640px; }
.hb-detail-progress .hb-req-meta { margin: 0; }
.hb-detail-progress .hb-btn { justify-self: start; }

/* ---- Faz 3: müşteri tasarım kartı (3D, katmanlar, fiyat, onay) ---- */
.hb-design { margin-top: 20px; scroll-margin-top: 96px; }
.hb-design-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.hb-design-head h2 { margin: 2px 0 0; font-size: 1.375rem; }
.hb-design-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.hb-design-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--wp--preset--color--tint); margin-bottom: 10px; }
.hb-design-tabs button { border: 0; background: transparent; padding: 7px 14px; white-space: nowrap; border-radius: 999px; font: inherit; font-size: .875rem; font-weight: 600; color: var(--wp--preset--color--muted); cursor: pointer; }
.hb-design-tabs button[aria-selected="true"] { background: #fff; color: var(--wp--preset--color--primary); box-shadow: 0 1px 3px rgba(22,20,58,.12); }
.hb-design-tabs button:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.hb-design-pane { position: relative; }
.hb-design-mv { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; background: radial-gradient(circle at 50% 38%, #fff 0%, #EEF0FF 70%); --poster-color: #EEF0FF; }
.hb-design-ar { position: absolute; left: 12px; bottom: 12px; min-height: 40px; font-size: .875rem; padding: 0 14px; box-shadow: 0 2px 8px rgba(22,20,58,.15); }
.hb-design-size { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--wp--preset--color--tint); font-size: .9375rem; }
.hb-design-size span { color: var(--wp--preset--color--muted); }
.hb-layers { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; background: #16143A; }
.hb-layers-ctl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.hb-layers-ctl input { flex: 1; accent-color: #3730A3; }
.hb-layers-ctl output { min-width: 92px; text-align: right; font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--wp--preset--color--muted); }
.hb-layers-play { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); background: #fff; cursor: pointer; font-size: 12px; }
.hb-design-img { display: block; width: 100%; border-radius: 14px; }
.hb-design-colors { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.hb-design-colors legend { font-size: .875rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.hb-color { display: inline-flex; align-items: center; gap: 6px; font-size: .8438rem; cursor: pointer; }
.hb-color input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hb-color span { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(22,20,58,.18); }
.hb-color em { font-style: normal; color: var(--wp--preset--color--muted); }
.hb-color input:checked + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3730A3; }
.hb-color input:checked ~ em { color: var(--wp--preset--color--contrast); font-weight: 600; }
.hb-color input:focus-visible + span { outline: 2px solid #3730A3; outline-offset: 4px; }
.hb-color input:disabled ~ * { cursor: default; }
.hb-design-side { display: grid; gap: 14px; }
.hb-design-msg { padding: 14px; border-radius: 12px; background: var(--wp--preset--color--tint); font-size: .9375rem; }
.hb-design-msg p { margin: 6px 0 0; }
.hb-price { margin: 0; display: grid; }
.hb-price > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--wp--preset--color--line); font-size: .9688rem; }
.hb-price > div:first-child { border-top: 0; }
.hb-price dt { color: var(--wp--preset--color--muted); }
.hb-price dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.hb-price .is-total { border-top: 2px solid var(--wp--preset--color--contrast); padding-top: 12px; }
.hb-price .is-total dt { color: var(--wp--preset--color--contrast); font-weight: 700; }
.hb-price .is-total dt small { font-weight: 400; color: var(--wp--preset--color--muted); }
.hb-price .is-total dd { font-size: 1.5rem; font-weight: 700; color: var(--wp--preset--color--primary); }
.hb-small { font-size: .8438rem; margin: 0; }
.hb-design-actions { display: grid; gap: 8px; }
.hb-design-actions .hb-btn { justify-content: center; width: 100%; }
.hb-rev-form { display: grid; gap: 8px; }
.hb-rev-form[hidden], .hb-design-pane[hidden] { display: none; }
.hb-rev-form label { font-weight: 600; font-size: .9375rem; }
.hb-rev-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; }
.hb-rev-form textarea:focus { outline: 2px solid #3730A3; outline-offset: 1px; border-color: #3730A3; }
.hb-design-status:empty { display: none; }
.hb-design-status { margin: 0; padding: 10px 12px; border-radius: 10px; background: #DDF5E9; color: #11663E; font-size: .9375rem; }
.hb-design-status.is-error { background: #FDEEF2; color: #B3123B; }
.hb-design-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--wp--preset--color--tint); font-size: .9375rem; }
.hb-design-note.is-ok { background: #DDF5E9; color: #11663E; margin: 0; }
.hb-design-note .hb-ico { flex: none; margin-top: 1px; }
@media (max-width: 781px) {
  .hb-design-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hb-design-head h2 { font-size: 1.1875rem; }
  .hb-design-tabs button { padding: 7px 11px; font-size: .8125rem; }
  .hb-design-ar { left: 8px; bottom: 8px; font-size: .8125rem; padding: 7px 12px; }
}

/* ---------------------------------------------------------------- Faz 4: ödeme */
.hb-alert.is-ok { background: #DDF5E9; color: #11663E; display: flex; gap: 10px; align-items: center; }
.hb-alert.is-info { background: #EEF0FF; color: #2A237F; display: flex; gap: 10px; align-items: center; }
.hb-alert a { color: inherit; font-weight: 600; }
.hb-pay { margin-top: 20px; }
.hb-pay h2 { margin: 0 0 12px; font-size: 1.25rem; }
.hb-pay-due { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: #EEF0FF; }
.hb-pay-due span { display: block; color: var(--wp--preset--color--muted); font-size: .9375rem; }
.hb-pay-due strong { font: 800 1.75rem/1.1 var(--wp--preset--font-family--heading, inherit); color: var(--wp--preset--color--contrast); }
.hb-pay-paid { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; color: #11663E; }
.hb-pay-paid span { display: grid; }
.hb-pay-paid strong { color: var(--wp--preset--color--contrast); font-size: 1.125rem; }
.hb-pay-paid small { color: var(--wp--preset--color--muted); }
.hb-pay-links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.hb-pay-links li { display: flex; align-items: center; gap: 8px; }
.hb-pay-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wp--preset--color--primary); min-height: 44px; }
.hb-pay-cancel { margin: 12px 0 0; }
.hb-pay-cancel .hb-link { background: none; border: 0; padding: 0; color: var(--wp--preset--color--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9375rem; }
.hb-pay-status:empty, .hb-checkout-status:empty { display: none; }
.hb-pay-status, .hb-checkout-status { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #DDF5E9; color: #11663E; font-size: .9375rem; }
.hb-pay-status.is-error, .hb-checkout-status.is-error { background: #FDEEF2; color: #B3123B; }

.hb-checkout, .hb-pay { --hb-err: #B3123B; }
.hb-checkout-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: start; margin-top: 20px; }
.hb-checkout-main { display: grid; gap: 16px; }
.hb-checkout-side { position: sticky; top: 96px; }
.hb-fs { border: 0; margin: 0; }
.hb-fs legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin: 0 0 16px; padding: 0; font-weight: 700; font-size: 1.125rem; }
.hb-fs legend + * { clear: both; }
.hb-fs legend span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #DCDDFB; color: #2A237F; font-size: .875rem; }
.hb-f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; clear: both; }
.hb-f-grid[hidden], [data-fatura-adres][hidden] { display: none !important; }
.hb-f.is-wide { grid-column: 1 / -1; }
.hb-f-grid .hb-f { align-content: start; }
.hb-f-err:empty { display: none; }
.hb-f-err { color: var(--hb-err, #B3123B); font-size: 13px; }
.hb-f.has-error .hb-f-err { display: block; }
.hb-fs .hb-check { margin-top: 14px; }
.hb-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: #EEF0FF; margin: 0 0 14px; clear: both; }
.hb-seg label { position: relative; cursor: pointer; }
.hb-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hb-seg span { display: block; padding: 9px 18px; border-radius: 9px; font-weight: 600; font-size: .9375rem; color: var(--wp--preset--color--text-2); }
.hb-seg input:checked + span { background: #fff; color: var(--wp--preset--color--primary); box-shadow: 0 1px 3px rgba(22, 20, 58, .12); }
.hb-seg input:focus-visible + span { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
.hb-contract { border: 1px solid var(--wp--preset--color--line); border-radius: 12px; clear: both; }
.hb-contract summary { cursor: pointer; padding: 14px 16px; font-weight: 600; min-height: 44px; box-sizing: border-box; }
.hb-contract-body { padding: 0 16px 14px; font-size: .9375rem; line-height: 1.55; }
section.hb-contract-body { padding: 24px; }
.hb-contract-table { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.hb-contract-table th { text-align: left; vertical-align: top; width: 34%; padding: 8px 14px 8px 0; color: var(--wp--preset--color--muted); font-weight: 600; border-top: 1px solid var(--wp--preset--color--line); }
.hb-contract-table td { padding: 8px 0; border-top: 1px solid var(--wp--preset--color--line); }
.hb-sum-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.hb-sum-head img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #EEF0FF; }
.hb-sum-head div { display: grid; }
.hb-sum-head small { color: var(--wp--preset--color--muted); }
.hb-checkout-go { width: 100%; justify-content: center; margin-top: 16px; }
.hb-sum-trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: .875rem; color: var(--wp--preset--color--text-2); }
.hb-sum-trust li { display: flex; gap: 8px; align-items: flex-start; }
.hb-sum-trust svg { flex: none; color: var(--wp--preset--color--primary); margin-top: 1px; }
.hb-testpay { max-width: 560px; margin-inline: auto; }
.hb-testpay h1 { margin: 6px 0 10px; }
@media (max-width: 900px) {
  .hb-checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .hb-checkout-side { position: static; }
}
@media (max-width: 600px) {
  .hb-f-grid { grid-template-columns: minmax(0, 1fr); }
  .hb-contract-table th { width: 40%; }
}
.hb-contract-body h1 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 6px 0 18px; }
.hb-contract-body b { font-weight: 700; }

/* ---------- Faz 5: çerez onay bandı ---------- */
.hb-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; background: var(--wp--preset--color--dark); color: #fff; border-radius: 14px; box-shadow: 0 18px 48px rgba(10,10,30,.32); }
.hb-consent[hidden] { display: none; }
.hb-consent-in { padding: 18px 20px; }
.hb-consent-t { margin: 0 0 6px; font-weight: 700; font-size: 1rem; }
.hb-consent-d { margin: 0 0 14px; font-size: .9rem; line-height: 1.5; color: var(--wp--preset--color--dark-muted); }
.hb-consent-d a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.hb-consent-opts { display: grid; gap: 8px; margin: 0 0 14px; }
.hb-consent-opts[hidden] { display: none; }
.hb-consent-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: .875rem; line-height: 1.45; color: var(--wp--preset--color--dark-muted); cursor: pointer; }
.hb-consent-opt b { display: block; color: #fff; }
.hb-consent-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--wp--preset--color--highlight); flex: none; }
.hb-consent-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.hb-consent-btns .hb-btn { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.hb-consent-btns .hb-btn[hidden] { display: none; }
.hb-consent-btns .hb-btn:not(.is-light) { background: var(--wp--preset--color--highlight); border-color: var(--wp--preset--color--highlight); color: var(--wp--preset--color--dark); }
.hb-consent-btns .hb-btn:not(.is-light):hover { background: #fff; border-color: #fff; }
.hb-consent .hb-btn:focus-visible, .hb-consent input:focus-visible, .hb-consent a:focus-visible { outline: 2px solid var(--wp--preset--color--highlight); outline-offset: 2px; }
@media (max-width: 781px) {
  .hb-consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); max-height: calc(100vh - 24px); overflow: auto; }
  .hb-consent-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .hb-consent-btns [data-consent="accept"] { grid-column: 1 / -1; order: -1; }
}

/* 404 */
.hb-404 { min-height: 56vh; }
.hb-404-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem !important; }
.hb-404-links .hb-chip { display: inline-flex; align-items: center; text-decoration: none; }

/* ---------- Mobil iyileştirmeler (2026-12-04) ---------- */
@media (max-width: 781px) {
  /* iOS, 16px altındaki alanlara odaklanınca sayfayı büyütüyor */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea { font-size: max(16px, 1em); }
  /* Alt bilgi: bağlantılar parmakla rahat dokunulacak yükseklikte (≥ 40px) */
  .hb-footcol { row-gap: 0 !important; }
  .hb-footcol p { font-size: 15px; }
  .hb-footcol p a { display: inline-flex; align-items: center; min-height: 40px; }
  .hb-footcol .hb-foothead { margin-bottom: 2px !important; }
  /* SSS / yasal sayfa konu başlığı içerikle aynı hizada */
  .hb-legal-nav-title { margin-left: 0; }
  /* Kaydırılabilir konu şeridinde son öğe kenara yapışmasın */
  .hb-faqnav ul, .hb-legal-nav ul { scroll-padding-inline: 16px; scrollbar-width: none; }
  .hb-faqnav ul::-webkit-scrollbar, .hb-legal-nav ul::-webkit-scrollbar { display: none; }
  /* Uzun Türkçe kelimeler dar ekranda taşmasın */
  h1, h2, h3 { overflow-wrap: break-word; }
  /* 404 */
  .hb-404 .hb-btnrow .hb-btn { flex: 1 1 100%; }
}
/* Ana sayfa önizleme kartı: dik duran figür için daha yüksek alan */
.hb-card-media.is-figure { aspect-ratio: 5 / 4; }
@media (max-width: 781px) { .hb-card-media.is-figure { aspect-ratio: 1 / 1; } }
