/* Listing detail follows frontend/icerik-detay.html; the template main.css styles the header,
   three columns, seller card, gallery, facts table, tabs and owner panel. Page rules cover the
   dynamic hooks (h1 title, forms, gallery dialog) and app.css resets. */
/* text colour inherits the template body colour (#515660); headings keep the template black; no extra bottom padding (the
   template's footer starts 100px under the ad box) */
.sc-listing .breadcrumb_left ul{margin:0;padding:0;list-style:none}
.sc-listing .breadcrumb_left ul li a,.sc-listing .breadcrumb_left ul li span{color:#000}
.sc-listing .breadcrumb_right a{color:#000;white-space:nowrap}
.sc-listing .sc-listing-backlinks{gap:1rem}
.sc-listing .search-results-backlink{font-size:.8125rem;color:#ff6200;text-decoration:underline}
/* Header card: the page keeps one h1 styled as the template h3 */
.sc-listing .product_page_header{gap:1rem}
.sc-listing .product_page_header h1{font-size:1.1rem;color:#000;font-weight:400;margin:0;padding:0;min-width:0;overflow-wrap:anywhere}
.sc-listing .product_page_header_end{flex-wrap:wrap;row-gap:.5rem}
.sc-listing .product_page_header_end form{margin:0;display:inline-flex}
.sc-listing .product_page_header_end a,.sc-listing .product_page_header_end button{font-size:.85rem;display:flex;justify-content:flex-start;align-items:center;background:none;border:0;padding:0;color:#000;cursor:pointer}
.sc-listing .product_page_header_end button i,.sc-listing .product_page_header_end a i{color:#ff6200;margin-right:5px}
.sc-listing .product_page_header_end button[aria-pressed=true] i{color:#d95300}
.sc-listing .product_page_header_end [hidden]{display:none!important}
/* Owner panel: keep the template look for buttons that are real forms */
.sc-listing .product_edit_fixed_button{cursor:pointer}/* colour from main.css (#437db9) */
.sc-listing .product_edit_fixed_wrapper_body_list form{margin:0}
.sc-listing .product_edit_fixed_wrapper_body_list button{display:flex;align-items:center;background:none;border:0;padding:0;color:#3a7ce2;font-size:.9rem;margin-bottom:.4rem;font-weight:500;cursor:pointer;text-align:left}
.sc-listing .product_edit_fixed_wrapper_body_list button i{color:#3a7ce2}
.sc-listing .product_edit_fixed_wrapper_body_list a{display:flex;align-items:center}
.sc-listing .sc-listing-panel-close{background:none;border:0;padding:0;color:#c3c3d6;font-size:1.5rem;position:absolute;right:20px;top:18px;cursor:pointer}
/* main.css positions the header icon (right:20px;top:18px); inside the real close button that offset would apply twice. */
.sc-listing .sc-listing-panel-close i{position:static;display:block}
/* Seller card */
.sc-listing .product_author_img{flex:none;position:relative}
.sc-listing .sc-listing-avatar{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;margin-right:1rem;border-radius:50%;background:#d9dde2;color:#fff}
.sc-listing .sc-listing-avatar .icon{width:36px;height:36px}
.sc-listing .product_author_img .sc-listing-avatar-photo{width:60px;height:60px;object-fit:cover;border-radius:.25rem}
.sc-listing .product_author_text{min-width:0}
.sc-listing .product_author_text h2,.sc-listing .product_author_text h3{overflow-wrap:anywhere}
.sc-listing .product_author_info_item .icon{width:1em;height:1em;flex:none}
.sc-listing .product_author_info_item a{overflow-wrap:anywhere}
.sc-listing .sidebar_box_title_blue h4{font-weight:500}
/* Gallery: the cover and the thumbnails keep the template sample's shape (mercedes1@2x.png 603×430 → 483.5×344.8px cover at 1440,
   mercedes1.png thumbnails 96.9×69px) whatever the uploaded photo's own shape; main.css pads and spaces the thumbnails. */
.sc-listing .shop-about_images_cover2{height:auto;position:relative}
.sc-listing .shop-about_images_cover2>a[data-gallery-open]{display:flex;width:100%;aspect-ratio:603/430;overflow:hidden;border-radius:5px 5px 0 0;background:#f1f3f5}
.sc-listing .shop-about_images_cover2 img{width:100%;height:100%;object-fit:cover;aspect-ratio:603/430}
.sc-listing .product_gallerytab{border-bottom:0;box-shadow:none;flex-wrap:wrap}
.sc-listing .product_gallerytab .nav-item{flex:none;text-align:center}
.sc-listing .product_gallerytab .nav-link[aria-disabled=true]{color:#a0a0a0;cursor:not-allowed}
.sc-listing .product_small_image{display:block}
.sc-listing .product_small_image img{display:block;width:100%;aspect-ratio:302/215;object-fit:cover}
.sc-listing .product_small_image[aria-current]{outline:0}/* template: no active-thumbnail border; keyboard focus keeps the focus ring below */
/* Price history (template icerik-detay.html:242-277): real listing_price_history rows, opened by the fa-history toggle */
.sc-listing .collapsatoggle{display:inline-flex;align-items:center;background:none;border:0;padding:0;cursor:pointer;font-size:1rem}
.sc-listing .price_history.collapse:not(.show){display:none}
.sc-listing .price_history.collapse.show{display:block}
.sc-listing .price_history .price-history-table{width:100%}
.sc-listing .price_history_content_summary_item{max-width:45%;overflow-wrap:anywhere}
/* Cyprus 360 / date bump: template elements without a provider or backend action yet → closed state, never a dead link */
.sc-listing [data-closed-feature]{cursor:not-allowed;opacity:.6}
.sc-listing .sc-listing-closed-note{font-size:.75rem;color:#707070;margin:.25rem 0 0}
/* Konum / Teknik Özellikler tabs (template icerik-detay.html:379-381): real location and attribute data, no map provider */
.sc-listing .product_tab_content_info_tables table{width:100%}
.sc-listing .product_tab_content_info_tables td{padding:.5rem .4rem;border-bottom:1px solid #f1f1f1;overflow-wrap:anywhere}
.sc-listing .product_tab_content_info_tables td:first-child{width:40%;color:#707070}
.sc-listing .sc-listing-map-closed{background:#f1f3f5;border-radius:6px;padding:1.5rem 1rem;text-align:center;color:#707070;font-size:.85rem}
.sc-listing .sc-listing-map-closed strong{display:block;color:#000;font-size:1rem;margin-bottom:.25rem}
.sc-listing .product_details_page_center_picture_info p{margin:0}
/* Facts */
.sc-listing .product_details_list_price h3{overflow-wrap:anywhere;text-align:center}
.sc-listing .product_details_list_breadcrumb ul{margin:0;padding:0;list-style:none;flex-wrap:wrap}
.sc-listing .product_details_list_table td{overflow-wrap:break-word}/* the template's automatic column widths; only an unbreakable value wraps */
/* Description and contact cards */
.sc-listing .product_details_page_tabs .nav-tabs{border-bottom:0}
.sc-listing .sc-listing-description-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}/* template paragraphs: body line-height 1.5 */
/* Schema 019 rich description: only what app/rich-text.php allows, inside the template's description block (no global styles) */
.sc-listing .sc-listing-description-rich{white-space:normal;min-width:0;max-width:100%}
.sc-listing .sc-listing-description-rich>:first-child{margin-top:0}
.sc-listing .sc-listing-description-rich>:last-child{margin-bottom:0}
.sc-listing .sc-listing-description-rich p{margin:0 0 1rem}
.sc-listing .sc-listing-description-rich :is(h2,h3,h4){color:#000;font-weight:700;line-height:1.4;margin:1.1rem 0 .5rem}
.sc-listing .sc-listing-description-rich h2{font-size:1.15rem}
.sc-listing .sc-listing-description-rich h3{font-size:1.05rem}
.sc-listing .sc-listing-description-rich h4{font-size:.95rem}
.sc-listing .sc-listing-description-rich :is(strong,b){font-weight:700}
.sc-listing .sc-listing-description-rich :is(em,i){font-style:italic}
.sc-listing .sc-listing-description-rich a{color:#0087f7;text-decoration:underline}
.sc-listing .sc-listing-description-rich :is(ul,ol){margin:0 0 .75rem;padding-left:1.5rem}
.sc-listing .sc-listing-description-rich ul>li{list-style:disc}
.sc-listing .sc-listing-description-rich ol>li{list-style:decimal}
.sc-listing .sc-listing-description-rich ul ul>li{list-style:circle}
.sc-listing .sc-listing-description-rich li{margin:.15rem 0}
.sc-listing .sc-listing-description-rich li :is(ul,ol){margin:.2rem 0 0}
.sc-listing .sc-listing-description-rich blockquote{margin:0 0 .75rem;padding:.25rem 0 .25rem 1rem;border-left:3px solid #d8dde2;color:#555;font-style:italic}
/* a wide table keeps readable columns and scrolls inside its figure, never the page (cells break words only when they must) */
.sc-listing .sc-listing-description-rich figure{margin:0 0 .75rem;max-width:100%;overflow-x:auto}
.sc-listing .sc-listing-description-rich table{border-collapse:collapse;min-width:50%;font-size:.8rem}
.sc-listing .sc-listing-description-rich :is(td,th){border:1px solid #d8dde2;padding:.35rem .6rem;vertical-align:top;text-align:left;overflow-wrap:break-word}
.sc-listing .sc-listing-description-rich th{background:#f5f7f9;font-weight:700;color:#000}
.sc-listing .sc-listing-description-rich :is(td,th) p{margin:0}
.sc-listing .sc-listing-contact .form-group{margin-bottom:1rem}
.sc-listing .sc-listing-contact .form-group label,.sc-listing .sc-listing-report .form-group label{font-size:.8rem}
.sc-listing .sc-listing-contact textarea.form-control,.sc-listing .sc-listing-report textarea.form-control{min-height:120px;font-size:.875rem}
.sc-listing .sc-listing-contact .btn,.sc-listing .sc-listing-report .btn{font-size:.875rem;min-height:0;border-radius:1.2rem;padding:.5rem 1.5rem;align-self:flex-start;width:auto}
/* Contact card heading follows the template product_tab_title (1.2rem, black, padded) instead of the h4 default */
.sc-listing .sc-listing-contact .product_tab_title h4{color:#000;margin:0;font-size:1.2rem;padding-bottom:.5rem}
.sc-listing .sc-listing-report{scroll-margin-top:20px}
.sc-listing .sc-listing-report summary{cursor:pointer;list-style-position:inside}
.sc-listing .sc-listing-report p,.sc-listing .sc-listing-contact p{font-size:.85rem}
.sc-listing .product_details_page_notification p{overflow-wrap:anywhere}
/* Gallery dialog (app feature) */
.sc-listing .sc-listing-dialog:not([open]){display:none}
.sc-listing .sc-listing-dialog{margin:auto;padding:0;border:0;border-radius:9px;background:#111b22;color:#fff;max-width:calc(100vw - 32px);width:1080px;max-height:calc(100dvh - 32px)}
.sc-listing .sc-listing-dialog::backdrop{background:#05111de6}
.sc-listing .sc-listing-dialog-panel{padding:14px}
/* The dialog's bars are plain boxes (not <header>/<footer>): the page keeps one banner and one contentinfo landmark. */
.sc-listing .sc-listing-dialog-head,.sc-listing .sc-listing-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:13px}
.sc-listing .sc-listing-dialog-head{padding-bottom:12px}
.sc-listing .sc-listing-dialog-foot{padding-top:12px}
.sc-listing .sc-listing-dialog button{border:1px solid #708492;border-radius:5px;background:#263a49;color:#fff;padding:9px 14px;line-height:1.4;font-size:13px}
.sc-listing .sc-listing-dialog [data-gallery-step]:disabled{color:#888;cursor:default}
.sc-listing .sc-listing-dialog [data-gallery-close]{margin-left:auto}
.sc-listing .sc-listing-dialog img{width:100%;height:min(70vh,680px);object-fit:contain;display:block}
.sc-listing :is(a,button,input,select,summary,textarea):focus-visible{outline:3px solid #ffae7a;outline-offset:3px}
@media(max-width:991px){
 .sc-listing .breadcrumb_right{flex-wrap:wrap;justify-content:flex-end}
 .sc-listing .product_details_page_sideleft .product_author{flex-wrap:wrap}
}
@media(max-width:767px){
 .sc-listing .product_details_page{flex-direction:column}
 .sc-listing .product_details_page_sideleft,.sc-listing .product_details_page_center,.sc-listing .product_details_page_sideright{width:100%;margin:0 0 1rem}
 .sc-listing .product_page_header{flex-direction:column;align-items:flex-start;gap:.75rem}
 .sc-listing .product_page_header_end{padding:0;margin:0}
 .sc-listing .product_page_header_end{row-gap:.6rem}
 .sc-listing .product_page_header_end>*{margin-left:0!important;margin-right:1.25rem}
}
@media(max-width:575px){
 /* Template phone header (main.css ≈18324): centred title, icon-only action row (labels hidden; the controls keep title/aria-label) */
 .sc-listing .product_page_header{align-items:center;text-align:left;gap:0}
 .sc-listing .product_page_header_end{justify-content:center;margin-top:1rem;padding-left:1rem;padding-right:1rem}/* main.css ≤575: source px-4 and actions 1rem under the title */
 .sc-listing .product_details_page_sideleft,.sc-listing .product_details_page_center,.sc-listing .product_details_page_sideright{margin:0}
 .sc-listing .product_details_page_sideright{margin-top:1rem}
 /* main.css ≤575: .product_page_header_end a{padding:0 .4rem;margin:0 0 .6rem} — also for the print button and the favourite form.
    The padding belongs to the control itself (the template's link box is its tap target), so the member's favourite button,
    not its form, takes it: the same 33×14 target as the visitor's link and the template. */
 .sc-listing .product_page_header_end>a{padding:0 .4rem}
 .sc-listing .product_page_header_end>form,.sc-listing .product_page_header_end>button{margin:0 0 .6rem!important}
 .sc-listing .product_page_header_end>button,.sc-listing .product_page_header_end>form>button{padding:0 .4rem}
 .sc-listing .product_page_header_end>*{margin-right:0}
 .sc-listing .sc-listing-dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 .sc-listing .sc-listing-dialog-panel{padding:10px}
 .sc-listing .sc-listing-dialog img{height:65vh}
}
@media print{
 body .header,body .topbar,body .mobile_menu,body .general_search,body .footer,body .skip-link{display:none!important}
 .sc-listing .breadcrumb_fix,.sc-listing .sc-listing-backlinks,.sc-listing .product_page_header_end,.sc-listing .product_edit_fixed,.sc-listing .product_edit_fixed_button,.sc-listing .sc-listing-contact-layout,.sc-listing .sc-listing-dialog,.sc-listing .product_details_list_link{display:none!important}
 .sc-listing .container{max-width:none;width:100%;padding:0}
 .sc-listing .product_page_header{box-shadow:none}
}
/* Phone band (icerik-detay.html at 390): the template's single row and height. Crumbs keep their min-content word breaks; the four
   account links keep theirs inside a band-only scroller (breadcrumb-band.js reveals the focused link), so every link is
   reachable by touch and keyboard without shifting the page. Like the template, the scroller has no padding or margin, so
   it keeps the source box height (54px) and x; the in-band focus ring is drawn inset so the scroller never clips it (G1-21,
   recorded decision of 7 Oct: the source's single line and height, local scroll). When the crumbs leave less than 6rem (longer languages or paths) the links take their own row,
   and crumbs wider than the row wrap instead of leaving the screen. Same rules as search-ui.css. */
@media(max-width:575px){.sc-listing .breadcrumb_fix .flex.justify-between{flex-wrap:wrap;column-gap:0;row-gap:.5rem}.sc-listing .breadcrumb_left ul{flex-wrap:wrap;justify-content:flex-start}.sc-listing .breadcrumb_left li{max-width:min-content}.sc-listing .breadcrumb_right{flex:1 1 0;min-width:6rem;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-padding:0 1rem 0 6px;scrollbar-width:none}.sc-listing .breadcrumb_right::-webkit-scrollbar{display:none}.sc-listing .breadcrumb_right a:focus-visible{outline-offset:-3px}.sc-listing .breadcrumb_right a{white-space:normal}.sc-listing .breadcrumb_right a:first-child{margin-left:0}}
/* Template ad boxes on the detail page keep the blank banner proportions and never exceed the column. */
.sc-listing .card_box img,.sc-listing .product_details_page_box img{display:block;max-width:100%;height:auto}
.sc-listing .card_box .sc-ad-space,.sc-listing .product_details_page_box .sc-ad-space{display:block;max-width:100%}
/* Phone: the three template tabs wrap (Russian/English labels are longer than the template words). */
@media(max-width:575px){.sc-listing .product_details_page_tabs .nav-tabs{flex-wrap:wrap}.sc-listing .product_details_page_tabs .nav-tabs .nav-item{flex:1 1 auto}}
/* Features list: real "label: value" items wrap inside the template columns (25% desktop, 50% ≤767 from main.css). */
.sc-listing .product_details_page_listdetail_content_list ul li{min-width:0;overflow-wrap:anywhere;padding-right:0}
/* Seller card links (icerik-detay.html:162): "Favori Satıcılarıma Ekle" is a real add/remove form (schema 023); its button keeps
   the template link look (main.css .product_author_link a: #707070, .75rem), the owner/DEMO cases stay a closed link. */
.sc-listing .product_author_link{gap:.5rem}/* like the template the two links stay on one line in a narrow column (each wraps inside) */
.sc-listing .product_author_link form{margin:0;display:inline-flex}
.sc-listing .product_author_link button{background:none;border:0;padding:0;margin:0;color:#707070;font-size:.75rem;line-height:1.5;cursor:pointer;text-align:right}
.sc-listing .product_author_link button[aria-pressed=true]{color:#ff6200}
.sc-listing .product_author_link button:hover,.sc-listing .product_author_link a[href]:hover{text-decoration:underline}
/* Schema 027 "Video" tab: the listing's own file in the template's gallery slot (below the tab strip, where the template shows
   the video thumbnails); the pane is also reachable without scripts through its #fragment. */
.sc-listing .sc-listing-video{padding:0 8px}
.sc-listing .sc-listing-video video{display:block;width:100%;max-height:70vh;aspect-ratio:16/9;background:#000;border-radius:4px}
.sc-listing #productGallery_videoTabContent:target{display:block;opacity:1}
/* Owner panel "Tarihini Güncelle": the reason or the current end date, visible under the item (not only as a tooltip). */
.sc-listing .sc-listing-renew-note{margin:-.2rem 0 .5rem 1.5rem}
/* App-only comparison control on the main photo's corner (the header keeps the template's six actions), in the look of the
   template's type label (main.css .ribbon_type span); absolute, so the gallery keeps its geometry. */
.sc-listing .sc-listing-compare{position:absolute;right:0;bottom:0;z-index:2;margin:0 .6rem .6rem 0;max-width:calc(100% - 1.2rem)}
.sc-listing .sc-listing-compare :is(.sc-comparison-add,.sc-comparison-limit){display:block;min-height:0;margin:0;padding:.3rem .8rem;border-radius:10px;background:rgba(0,0,0,.41);color:#fff;font-size:.75rem;font-weight:400;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-listing .sc-listing-compare .sc-comparison-add:hover{background:rgba(0,0,0,.6)}
/* Verified shop (app-only): a check badge on the photo's bottom-right corner instead of its own row (+28px) — no layout box */
.sc-listing .product_author_img .sc-listing-verified{position:absolute;left:44px;top:44px;font-size:16px;line-height:1;color:#ff6200;background:#fff;border-radius:50%}
/* "Diğer Fotoğraflar" on the eighth thumbnail opens the gallery: pointer like a link */
.sc-listing [data-gallery-more]{cursor:pointer}
