/* v1.7.347 — Müşteri paneli / Yeni İlan mobil kompakt düzen */
@media (max-width: 680px){
  html,body{overflow-x:hidden!important}
  .wpky-customer-panel,
  .wpky-customer-content,
  .wpky-customer-content > *{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .wpky-customer-panel{
    padding-bottom:104px!important;
  }

  /* Yeni ilan üst alanı: daha kısa ve doğrudan forma odaklı. */
  .wpky-customer-content > .wpky-panel-hero.wpky-new-listing-hero{
    display:block!important;
    min-height:0!important;
    height:auto!important;
    padding:16px!important;
    border-radius:20px!important;
    background:linear-gradient(135deg,#0f55c9 0%,#2383ef 100%)!important;
    box-shadow:0 14px 30px rgba(23,93,196,.16)!important;
  }
  .wpky-customer-content > .wpky-panel-hero.wpky-new-listing-hero:before,
  .wpky-customer-content > .wpky-panel-hero.wpky-new-listing-hero:after{
    display:none!important;
  }
  .wpky-new-listing-hero-copy{
    width:100%!important;
    max-width:none!important;
  }
  .wpky-new-listing-hero-copy .wpky-eyebrow{
    margin:0 0 6px!important;
    font-size:9.5px!important;
    line-height:1.2!important;
    letter-spacing:.07em!important;
    color:#8fd2ff!important;
  }
  .wpky-customer-content > .wpky-new-listing-hero h1{
    margin:0!important;
    font-size:22px!important;
    line-height:1.12!important;
    color:#fff!important;
  }
  .wpky-customer-content > .wpky-new-listing-hero p{
    margin:7px 0 0!important;
    max-width:31ch!important;
    font-size:11.5px!important;
    line-height:1.5!important;
    color:rgba(255,255,255,.9)!important;
  }
  .wpky-new-listing-hero-badges{
    margin-top:11px!important;
    gap:6px!important;
  }
  .wpky-new-listing-hero-badges span{
    min-height:28px!important;
    padding:0 9px!important;
    font-size:9.5px!important;
    border-radius:999px!important;
  }
  .wpky-new-listing-hero-badges span:nth-child(3){display:none!important}
  .wpky-new-listing-hero-panel{display:none!important}

  /* Form kabı ve adım göstergesi. */
  .wpky-listing-form-v1328{
    margin-top:10px!important;
    padding:12px!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 10px 26px rgba(15,39,77,.045)!important;
  }
  .wpky-listing-progress{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    margin:0 0 12px!important;
    padding:0!important;
  }
  .wpky-listing-progress span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:30px!important;
    padding:0 5px!important;
    border-radius:999px!important;
    font-size:9.5px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .wpky-listing-desktop-layout{
    display:block!important;
    min-width:0!important;
  }
  .wpky-listing-main{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    min-width:0!important;
  }
  .wpky-listing-section,
  .wpky-listing-section.is-intro{
    padding:14px!important;
    border-radius:17px!important;
    box-shadow:none!important;
  }
  .wpky-listing-form-head,
  .wpky-listing-section-head{
    margin-bottom:11px!important;
    padding-bottom:0!important;
  }
  .wpky-listing-form-head{
    display:block!important;
  }
  .wpky-listing-form-head .wpky-eyebrow,
  .wpky-listing-section-head .wpky-eyebrow{
    font-size:9.5px!important;
    margin-bottom:5px!important;
  }
  .wpky-listing-form-head h3,
  .wpky-listing-section-head h4{
    margin:0!important;
    font-size:17px!important;
    line-height:1.2!important;
  }
  .wpky-listing-form-head p,
  .wpky-listing-section-head p{
    margin:5px 0 0!important;
    font-size:11px!important;
    line-height:1.45!important;
  }
  .wpky-listing-free-badge{display:none!important}

  .wpky-listing-form label{
    margin-bottom:10px!important;
  }
  .wpky-listing-form label>span{
    font-size:11.5px!important;
    line-height:1.35!important;
  }
  .wpky-listing-form label>small,
  .wpky-listing-form small{
    font-size:9.5px!important;
    line-height:1.4!important;
  }
  .wpky-listing-form input[type="text"],
  .wpky-listing-form input[type="number"],
  .wpky-listing-form input[type="date"],
  .wpky-listing-form input[type="file"],
  .wpky-listing-form select,
  .wpky-listing-form textarea{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    border-radius:12px!important;
    font-size:13px!important;
  }
  .wpky-listing-form input[type="text"],
  .wpky-listing-form input[type="number"],
  .wpky-listing-form input[type="date"],
  .wpky-listing-form select{
    min-height:42px!important;
  }
  .wpky-listing-form textarea{
    min-height:116px!important;
    max-height:180px!important;
  }
  .wpky-listing-form input[type="file"]{
    padding:8px!important;
    min-height:44px!important;
  }
  .wpky-listing-form .wpky-grid-2,
  .wpky-listing-form .wpky-grid-3,
  .wpky-listing-service-picker{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  .wpky-listing-urgent{
    min-height:70px!important;
    padding:12px!important;
    border-radius:14px!important;
  }
  .wpky-listing-urgent span strong{
    font-size:12px!important;
  }
  .wpky-listing-urgent span small{
    font-size:9.5px!important;
  }

  /* Yayınla / geri dön: sağa taşma ve dock ile sıkışma yok. */
  .wpky-listing-submit{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
    margin-top:12px!important;
    padding-top:12px!important;
  }
  .wpky-listing-submit .wpky-btn,
  .wpky-listing-submit a.wpky-btn,
  .wpky-listing-submit button.wpky-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 14px!important;
    border-radius:13px!important;
    box-sizing:border-box!important;
    font-size:12.5px!important;
    text-align:center!important;
  }

  /* Masaüstü yardımcı yan kartlarını mobilde kaldır; form daha kısa olur. */
  .wpky-listing-side{display:none!important}

  /* AI butonu artık içerik kartlarına / alt navigasyona binmez. */
  body .wpky-customer-panel ~ .wpky-ai-assistant,
  body .wpky-customer-panel .wpky-ai-assistant,
  body.wpky-customer-panel-active .wpky-ai-assistant{
    position:fixed!important;
    left:auto!important;
    right:14px!important;
    bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
    z-index:240!important;
  }
  body.wpky-customer-panel-active .wpky-ai-launcher,
  body .wpky-customer-panel .wpky-ai-launcher{
    display:grid!important;
    place-items:center!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    padding:0!important;
    border-radius:16px!important;
  }
  body.wpky-customer-panel-active .wpky-ai-launcher>span,
  body .wpky-customer-panel .wpky-ai-launcher>span{
    width:34px!important;
    height:34px!important;
    border-radius:11px!important;
  }
  body.wpky-customer-panel-active .wpky-ai-launcher>b,
  body .wpky-customer-panel .wpky-ai-launcher>b{display:none!important}
  body.wpky-customer-panel-active .wpky-ai-window{
    left:10px!important;
    right:10px!important;
    bottom:calc(146px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    max-width:none!important;
  }

  /* Dock yüzünden son içeriğin kesilmesini önle. */
  .wpky-customer-content{
    padding-bottom:18px!important;
  }
}

@media (max-width: 370px){
  .wpky-customer-content > .wpky-panel-hero.wpky-new-listing-hero{padding:14px!important}
  .wpky-new-listing-hero-copy h1{font-size:20px!important}
  .wpky-listing-form-v1328{padding:10px!important}
  .wpky-listing-section,.wpky-listing-section.is-intro{padding:12px!important}
  .wpky-listing-progress span{font-size:8.7px!important;padding:0 3px!important}
  body.wpky-customer-panel-active .wpky-ai-assistant{right:10px!important}
}
