/* İlanPlus v36 — scoped refinements. Loaded AFTER v35 to prevent cascade conflicts. */
:root{--v36-ink:#183552;--v36-border:#dde8f6;--v36-blue:#2563eb;--v36-sub:#5e7694}

/* Exactly the same inner horizontal gutter as the v19 footer; never change its design. */
@media(min-width:1200px){
 html body main.main-wrap.container,
 html body .site-header .head-inner.container,
 html body .category-nav .nav-inner.container,
 html body .microbar .micro-inner.container,
 html body .site-footer-v19 .footer-editorial-links.container{
   width:calc(100% - 96px)!important;max-width:1320px!important;margin-inline:auto!important;
 }
}
@media(min-width:901px) and (max-width:1199px){
 html body main.main-wrap.container,
 html body .site-header .head-inner.container,
 html body .category-nav .nav-inner.container,
 html body .microbar .micro-inner.container,
 html body .site-footer-v19 .footer-editorial-links.container{
   width:calc(100% - 48px)!important;max-width:1320px!important;margin-inline:auto!important;
 }
}
@media(max-width:900px){
 html body main.main-wrap.container,
 html body .site-header .head-inner.container,
 html body .category-nav .nav-inner.container{width:calc(100% - 30px)!important;max-width:100%!important;margin-inline:auto!important}
}
@media(max-width:680px){
 html body main.main-wrap.container,
 html body .site-header .head-inner.container,
 html body .category-nav .nav-inner.container{width:calc(100% - 24px)!important}
}

/* Search action, header primary CTA and normal button labels share a stable baseline. */
html body .site-header .header-search{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;box-sizing:border-box!important}
html body .site-header .header-search>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
html body .site-header .header-search input[type="search"]{flex:1 1 0!important;min-width:0!important;width:auto!important;margin:0!important;line-height:1.4!important}
html body .site-header .header-search button[type="submit"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;align-self:center!important;margin:0!important;padding:0 18px!important;height:35px!important;min-height:35px!important;line-height:1!important;box-sizing:border-box!important;white-space:nowrap!important;vertical-align:middle!important}
html body .btn,html body .site-header .sell-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;vertical-align:middle;line-height:1.25;min-width:0;box-sizing:border-box}
html body .btn svg,html body .site-header .sell-btn svg{flex:0 0 auto}
@media(max-width:680px){html body .site-header .header-search button[type="submit"]{height:33px!important;min-height:33px!important;padding:0 15px!important}}

/* Listing title now leads: category/condition/location/views all sit in consistent chips below. */
html body .detail-pro-layout.v35-detail-layout .detail-main-info h1{margin-top:0!important;margin-bottom:13px!important;font-size:clamp(26px,2.5vw,39px)!important;letter-spacing:-.035em!important;line-height:1.19!important}
html body .detail-pro-layout.v35-detail-layout .v36-listing-meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 18px!important}
html body .detail-pro-layout.v35-detail-layout .v36-listing-meta>span{display:inline-flex;gap:7px;align-items:center;justify-content:center;max-width:100%;border-radius:12px;background:#f5f8ff;border:1px solid #e2ebfa;color:#496985;font-size:12px;line-height:1.3;font-weight:750;padding:9px 12px;white-space:normal}
html body .detail-pro-layout.v35-detail-layout .v36-listing-meta>.v36-category-chip{color:#174d9d;background:#eaf2ff;border-color:#cfdffc;font-weight:850}
html body .v36-listing-meta svg{width:14px!important;height:14px!important;flex:0 0 auto!important}

/* Gallery > description > optional AI insight > secure payment: one reading order. */
html body .detail-pro-layout.v35-detail-layout .detail-visual-column{min-width:0;display:flex;flex-direction:column;gap:15px}
html body .detail-pro-layout.v35-detail-layout .detail-visual-column>*{min-width:0}
html body .detail-pro-layout.v35-detail-layout .detail-visual-column .detail-visual-card{margin-bottom:0!important}
html body .detail-pro-layout.v35-detail-layout .v36-description-card{
  margin:0!important;padding:clamp(19px,2.1vw,27px)!important;max-width:100%;
  background:#fff!important;border:1px solid #e0e9f4!important;border-radius:21px!important;
  box-shadow:0 9px 32px rgba(28,58,96,.045);color:var(--v36-ink)
}
html body .v36-description-heading{display:flex;gap:13px;align-items:center;margin-bottom:17px}
html body .v36-description-symbol{width:45px;height:45px;flex:0 0 45px;display:grid;place-items:center;background:linear-gradient(135deg,#eaf1ff,#f4f8ff);border:1px solid #d5e3fa;border-radius:14px;color:#265db3}
html body .v36-description-symbol svg{width:22px;height:22px}
html body .v36-description-heading small{font-size:10px;letter-spacing:.15em;font-weight:900;color:#6284b7}
html body .v36-description-heading h2{font-size:21px!important;margin:3px 0 0!important;line-height:1.3!important;color:#173453!important;font-weight:850!important}
html body .v36-description-card .detail-description-text{font-size:14.5px!important;line-height:1.87!important;max-height:none!important;overflow:visible!important;color:#48607a!important;overflow-wrap:anywhere}
html body .v36-description-card .v36-ai-inside{
 display:flex;flex-direction:column;align-items:stretch;gap:13px;position:relative;
 margin:24px 0 0!important;padding:19px!important;border:1px solid #cadcfb!important;
 border-radius:17px!important;background:linear-gradient(120deg,#f0f6ff,#f9faff 70%,#f1efff)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.95)!important;min-width:0
}
html body .v36-ai-inside .v36-ai-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}
html body .v36-ai-inside .v36-ai-icon{flex:0 0 41px;height:41px;border-radius:12px;display:grid;place-items:center;font-size:25px;color:#fff;background:linear-gradient(135deg,#2366db,#7659da);box-shadow:0 7px 19px #295bcf2b}
html body .v36-ai-inside .v36-ai-heading>div{min-width:0}
html body .v36-ai-inside .v36-ai-heading>div>span{font-size:10px;letter-spacing:.11em;color:#5368ab;font-weight:850}
html body .v36-ai-inside .v36-ai-heading h3{font-size:17px!important;color:#253d69;font-weight:850;line-height:1.32;margin:3px 0 6px}
html body .v36-ai-inside .v36-ai-heading p{font-size:12px!important;color:#637b9d;line-height:1.6;margin:0}
html body .v36-ai-inside #getAiSummary{align-self:flex-start;margin:0!important;padding:10px 18px!important;min-height:40px!important;border-radius:12px!important;border:1px solid #bcd2f7!important;background:#fff!important;color:#235bb1!important;font-size:12px;font-weight:850;box-shadow:none!important}
html body .v36-ai-inside #aiSummaryResult{width:100%;min-width:0;border:1px solid #dbe7f9;border-radius:12px;background:#fff;padding:15px;overflow-wrap:anywhere}
html body .v36-ai-inside #aiSummaryResult[hidden]{display:none!important}
html body .detail-pro-layout.v35-detail-layout .v34-payment-card{margin-top:0!important;max-width:100%}

/* Both primary listing actions remain visibly side by side and equal-width. */
html body .detail-pro-layout.v35-detail-layout .v36-action-row{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:11px!important;align-items:stretch!important;width:100%;margin:20px 0 0
}
html body .detail-pro-layout.v35-detail-layout .v36-action-row>.detail-message-form{display:block!important;width:100%!important;min-width:0!important;margin:0!important}
html body .detail-pro-layout.v35-detail-layout .v36-action-row>.btn,
html body .detail-pro-layout.v35-detail-layout .v36-action-row>.detail-message-form>.btn,
html body .detail-pro-layout.v35-detail-layout .v36-action-row>.detail-message-form>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;line-height:1.26!important;min-width:0!important;width:100%!important;min-height:48px!important;padding:11px 12px!important;margin:0!important;border-radius:13px!important;font-size:clamp(11px,.98vw,13px)!important}
html body .detail-pro-layout.v35-detail-layout .v36-action-row>.btn[href^="tel:"]{grid-column:1/-1!important}
@media(max-width:420px){html body .detail-pro-layout.v35-detail-layout .v36-action-row{gap:7px!important}html body .detail-pro-layout.v35-detail-layout .v36-action-row>.btn,html body .detail-pro-layout.v35-detail-layout .v36-action-row>.detail-message-form>button{font-size:11px!important;padding:9px 5px!important}}

/* v34 modal has a high-specificity width/max-height reset; give v36 a stable viewport-layer. */
html body #filtersPanel.v35-fullscreen-filters.v36-filter-portal{
 position:fixed!important;inset:0!important;top:0!important;left:0!important;
 display:none!important;width:100%!important;max-width:none!important;height:100vh!important;height:100dvh!important;
 min-height:0!important;max-height:100dvh!important;box-sizing:border-box!important;
 padding:clamp(16px,2.3vw,32px)!important;margin:0!important;border:0!important;border-radius:0!important;
 background:#ecf2fa!important;box-shadow:inset 0 0 0 100vmax rgba(239,244,252,.45)!important;
 overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
 transform:none!important;z-index:2147483000!important;scrollbar-gutter:auto!important
}
html body #filtersPanel.v35-fullscreen-filters.v36-filter-portal.open{display:block!important}
html body #filtersPanel.v36-filter-portal .v34-filter-top{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:12px!important;width:100%!important;max-width:1020px!important;margin:0 auto 14px!important;
 position:relative!important;top:auto!important;z-index:1!important;
 background:transparent!important;padding:6px 2px 10px!important;
 border:0!important;border-bottom:1px solid #d9e5f4!important;border-radius:0!important
}
html body #filtersPanel.v36-filter-portal .v34-filter-top>div{min-width:0}
html body #filtersPanel.v36-filter-portal .v34-filter-top strong{font-size:21px!important}
html body #filtersPanel.v36-filter-portal #closeFilters{display:inline-grid!important;place-items:center!important;visibility:visible!important;opacity:1!important;width:42px!important;height:42px!important;min-width:42px!important;background:#fff!important;border:1px solid #cfdced!important;border-radius:12px!important;font-size:19px!important;color:#204e8c!important;position:static!important;margin:0!important}
html body #filtersPanel.v36-filter-portal #instantFilters.v34-filter-form{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:19px 24px!important;width:100%!important;max-width:1020px!important;
 min-width:0!important;margin:0 auto!important;padding:clamp(19px,2.5vw,30px)!important;
 border:1px solid #dae6f4!important;border-radius:22px!important;background:#fff!important;
 box-shadow:0 14px 44px rgba(33,65,113,.09)!important;align-items:start!important
}
html body #filtersPanel.v36-filter-portal #instantFilters>*{min-width:0!important;box-sizing:border-box!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-filter-field{min-width:0!important;width:100%!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-filter-wide{grid-column:1/-1!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-price-range{display:flex!important;width:100%!important;gap:10px!important;min-width:0!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-price-range input{flex:1 1 0!important;width:0!important;min-width:0!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-price-range>span{flex:0 0 auto!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-filter-footer{position:static!important;z-index:auto!important;grid-column:1/-1!important;width:100%!important;margin:0!important;padding:20px 0 0!important;gap:16px!important;border-top:1px solid #e8edf6!important;background:transparent!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-filter-footer>.btn{margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.2!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-radio-field .radio-stack{gap:8px!important}
html body #filtersPanel.v36-filter-portal #instantFilters .v34-filter-extras{gap:9px!important;flex-wrap:wrap!important}
@media(max-width:720px){
 html body #filtersPanel.v36-filter-portal{padding:12px 12px max(80px,env(safe-area-inset-bottom))!important}
 html body #filtersPanel.v36-filter-portal .v34-filter-top{margin-bottom:11px!important;padding:5px 2px 13px!important}
 html body #filtersPanel.v36-filter-portal .v34-filter-top strong{font-size:19px!important}
 html body #filtersPanel.v36-filter-portal #instantFilters.v34-filter-form{grid-template-columns:minmax(0,1fr)!important;padding:17px!important;gap:15px!important;border-radius:17px!important}
 html body #filtersPanel.v36-filter-portal #instantFilters .v34-filter-wide{grid-column:1!important}
 html body #filtersPanel.v36-filter-portal #instantFilters .v34-filter-footer{align-items:stretch!important;gap:10px!important;flex-direction:column!important}
 html body #filtersPanel.v36-filter-portal #instantFilters .v34-filter-footer>.btn{width:100%!important;max-width:none!important}
}
