/* V5.1 detail pages: fits the live markup to the design reference (see ev-v51-system.css). */

/* ---- Listing detail (design-references/V5.1/ilan.html; rules ported from the design's ev-v4.css, scoped) ---- */
.ev-det{--det-orange:#ff6b00;--det-orange-dark:#db5600;--det-pale:#fff3e9;--det-navy:#16243a;--det-text:#182338;--det-muted:#69788b;--det-border:#e4e9ef;--det-shadow:0 12px 35px rgba(19,33,54,.07);color:var(--det-text);font-size:14px;line-height:1.5;background:#fff}
.ev-det .ev-det-page{padding-top:28px;padding-bottom:55px}
.ev-det h1,.ev-det h2,.ev-det h3,.ev-det p{margin-top:0}
.ev-det h2{font-size:22px;letter-spacing:-.025em;font-weight:700;color:var(--det-text);line-height:1.25}
.ev-det h3{font-size:15px;font-weight:700;color:var(--det-text)}
.ev-det p{color:var(--det-muted)}
.ev-det .i{width:17px;height:17px;vertical-align:-3px}
.ev-det .breadcrumbs{font-size:12px;color:#8090a1;margin-bottom:26px;overflow-wrap:anywhere}
.ev-det .breadcrumbs a{color:inherit}.ev-det .breadcrumbs a:hover{color:var(--det-orange)}
.ev-det .breadcrumbs>span[aria-hidden]{padding:0 2px}
.ev-det .eyebrow{display:block;font-weight:900;font-size:10px;letter-spacing:.14em;color:var(--det-orange);margin-bottom:8px;text-transform:uppercase}
.ev-det .softpill{display:inline-block;border:1px solid #ffddc4;color:#bd5000;background:#fff6f0;border-radius:100px;padding:5px 10px;font-weight:700;font-size:11px;margin-bottom:6px}
.ev-det .textlink{font-size:12px;font-weight:800;color:var(--det-orange);border:0;background:transparent;padding:5px;cursor:pointer}
.ev-det .textlink:hover{color:var(--det-orange-dark)}
.ev-det .primarybtn,.ev-det .outlinebtn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;border:1px solid var(--det-orange);padding:11px 17px;font-weight:800;font-size:14px;line-height:1.3;transition:background .15s,color .15s;white-space:nowrap;text-decoration:none;cursor:pointer}
.ev-det .primarybtn{background:var(--det-orange);color:#fff;box-shadow:0 5px 12px #ff6b0026}
.ev-det .primarybtn:hover{background:var(--det-orange-dark);color:#fff}
.ev-det .outlinebtn{background:#fff;color:var(--det-orange)}
.ev-det .outlinebtn:hover{background:var(--det-pale);color:var(--det-orange)}
/* head */
.ev-det .detail-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:18px}
.ev-det .detail-head-text{min-width:0}
.ev-det .detail-head h1{max-width:820px;font-size:27px;margin-bottom:7px;font-weight:800;letter-spacing:-.035em;line-height:1.15;color:var(--det-text);overflow-wrap:break-word}
.ev-det .detail-meta{margin:0;font-size:14px}
.ev-det .detail-meta .i{width:14px;height:14px;color:var(--det-muted)}
.ev-det .v51-listing-owner{margin:12px 0 0;max-width:820px}
.ev-det .v51-listing-owner a{color:#c45200;font-weight:800}
.ev-det .detail-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;align-items:center;flex:0 1 auto}
.ev-det .detail-actions .outlinebtn{font-size:12px;padding:8px 10px;gap:5px;min-height:34px;line-height:1.2}
.ev-det .detail-actions .outlinebtn span{display:inline;padding:0;margin:0;line-height:inherit;height:auto;min-height:0;font-size:inherit}
.ev-det .detail-actions .outlinebtn i{font-size:13px;line-height:1;width:auto;height:auto;margin:0}
.ev-det .detail-actions .outlinebtn .i{width:14px;height:14px}
.ev-det .detail-actions .btn-add-remove-wishlist.is-saved{background:var(--det-pale)}
.ev-det .detail-actions .btn-add-compare.active{background:var(--det-pale)!important;color:var(--det-orange-dark)}
.ev-det .ev-det-share{position:relative}
.ev-det .ev-det-share-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:240px;padding:12px;border:1px solid var(--det-border);border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(16,40,63,.16)}
.ev-det .ev-det-share-panel .product-share{margin:0}
.ev-det .ev-det-share-panel .product-share ul{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 6px;padding:0;list-style:none}
.ev-det .ev-det-share-panel .product-share li a,.ev-det .ev-det-share-panel .product-share li button{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid var(--det-border);border-radius:9px;background:#fff;color:var(--det-navy)}
.ev-det .ev-det-share-panel .product-share li a:hover,.ev-det .ev-det-share-panel .product-share li button:hover{border-color:var(--det-orange);color:var(--det-orange)}
/* gallery */
.ev-det .gallery-layout{height:380px;display:grid;grid-template-columns:2fr 1fr;gap:7px;border-radius:16px;overflow:hidden;background:#eef2f6}
.ev-det .gallery-layout.is-single{grid-template-columns:1fr}
.ev-det .gallery-main{position:relative;display:block;border:0;padding:0;min-width:0;min-height:0;overflow:hidden}
.ev-det .gallery-main img,.ev-det .gallery-side img{display:block;width:100%;height:100%;object-fit:cover;max-width:none;transition:transform .2s ease}
.ev-det .gallery-layout a:hover img,.ev-det .gallery-layout a:focus-visible img{transform:scale(1.025)}
.ev-det .gallery-layout a:focus-visible{outline:3px solid var(--det-orange);outline-offset:-3px}
.ev-det .gallery-count{position:absolute;bottom:13px;right:12px;background:#17263bcb;border-radius:8px;color:#fff;font-size:11px;padding:7px 10px}
.ev-det .gallery-side{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:7px;min-height:0}
.ev-det .gallery-side>a:not([hidden]){position:relative;display:block;padding:0;min-width:0;min-height:0;overflow:hidden;background:#e8edf2}
.ev-det .gallery-layout.side-1 .gallery-side{grid-template-columns:1fr;grid-template-rows:1fr}
.ev-det .gallery-layout.side-2 .gallery-side{grid-template-columns:1fr}
.ev-det .gallery-layout.side-3 .gallery-side>a:first-child{grid-row:span 2}
.ev-det .gallery-more{position:absolute;inset:auto 10px 10px auto;background:#17263bcb;border-radius:8px;color:#fff;font-size:12px;font-weight:800;padding:6px 9px}
.ev-det .ev-det-media{display:flex;gap:8px;margin-top:10px}
/* columns */
.ev-det .detail-columns{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:20px;margin-top:24px;align-items:start}
.ev-det .detail-main{display:grid;gap:20px;min-width:0}
.ev-det .detail-section,.ev-det .seller-card{border:1px solid var(--det-border);background:#fff;border-radius:16px}
.ev-det .detail-section{padding:25px;min-width:0}
.ev-det .detail-section h2{margin-bottom:16px}
.ev-det .detail-section p{line-height:1.8}
.ev-det .section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ev-det .section-head h2{margin-bottom:16px}
.ev-det .quick-info{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.ev-det .quick-info div{border-right:1px solid var(--det-border);min-width:0;padding-right:8px}
.ev-det .quick-info div:last-child{border:0}
.ev-det .quick-info span,.ev-det .detail-specs span{display:block;color:var(--det-muted);font-size:12px}
.ev-det .quick-info strong,.ev-det .detail-specs strong{font-size:15px;font-weight:700;color:var(--det-text);overflow-wrap:anywhere}
.ev-det .ev-det-description{color:var(--det-muted);line-height:1.8;overflow-wrap:break-word}
.ev-det .ev-det-description h2,.ev-det .ev-det-description h3{font-size:17px;margin:18px 0 8px;letter-spacing:-.01em}
.ev-det .ev-det-description>:first-child{margin-top:0}
.ev-det .ev-det-description img{height:auto}
.ev-det .ev-det-description.is-collapsed{max-height:300px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.ev-det .detail-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px}
.ev-det .detail-specs div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--det-border);min-width:0}
.ev-det .detail-specs strong{text-align:right}
.ev-det .ev-det-featgroup+.ev-det-featgroup{margin-top:18px}
.ev-det .ev-det-featgroup h3{font-size:13px;color:var(--det-muted);margin-bottom:10px}
.ev-det .feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ev-det .feature-grid span{background:#f7f9fc;padding:13px;border-radius:10px;font-size:12px;min-width:0;overflow-wrap:anywhere}
.ev-det .detail-map{height:210px;background:linear-gradient(130deg,#c6e0d9,#e2e7c8);border-radius:13px;margin:18px 0;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;padding:0 16px;overflow:hidden}
.ev-det .detail-map.has-map{height:320px;padding:0;display:block}
.ev-det .detail-map #emlakvitrin_product_map{width:100%;height:100%}
.ev-det .detail-map .leaflet-control-layers-toggle{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316243a' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E");background-size:24px 24px}
.ev-det .detail-map span{font-size:35px;color:#f60}
.ev-det .detail-map small{color:#657d7c}
.ev-det .similar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ev-det .similar-grid .ev-listing{min-width:0}
.ev-det .similar-grid .ev-listing-photo{height:110px}
.ev-det .similar-grid .ev-listing-price{font-size:15px}
/* sidebar */
.ev-det .detail-sidebar{position:sticky;top:95px;min-width:0}
.ev-det .seller-card{padding:24px;box-shadow:var(--det-shadow)}
.ev-det .seller-card>small{display:block;color:var(--det-text);font-size:12px}
.ev-det .detail-price{font-size:29px;font-weight:900;color:var(--det-navy);letter-spacing:-.04em;line-height:1.3}
.ev-det .detail-price .lbl-price{font-weight:900;color:inherit;font-size:inherit}
.ev-det .detail-price .lbl-sold{display:inline-block;font-size:12px;letter-spacing:0;color:#fff;background:#d64545;border-radius:6px;padding:2px 8px;vertical-align:middle;margin-right:6px}
.ev-det .price-meta{display:block;color:var(--det-muted);font-size:12px}
.ev-det .price-meta .textlink{padding:0;font-size:12px}
.ev-det .seller-card hr{border:0;border-top:1px solid var(--det-border);margin:20px 0}
.ev-det .seller-identity{display:flex;align-items:center;gap:10px}
.ev-det .seller-identity strong{display:block;font-size:14px;color:var(--det-text);overflow-wrap:anywhere}
.ev-det .seller-avatar{background:var(--det-orange);color:#fff;border-radius:12px;width:51px;height:51px;display:grid;place-items:center;font-weight:900;flex:0 0 auto}
.ev-det .seller-identity span{display:block;color:var(--det-muted);font-size:11px}
.ev-det .seller-actions{display:grid;gap:10px;margin:20px 0 0}
.ev-det .seller-actions .primarybtn,.ev-det .seller-actions .outlinebtn{white-space:normal;text-align:center}
.ev-det .seller-actions .ev-det-wa{border-color:#25d366;color:#128c4a}
.ev-det .seller-actions .ev-det-wa:hover{background:#eafaf0;color:#0f7a40}
.ev-det .seller-card .product-add-to-cart-container .button-container{margin-top:12px}
.ev-det .seller-card .product-add-to-cart-container .btn-product-cart{width:100%;border-radius:10px;background:var(--det-orange);border-color:var(--det-orange)}
.ev-det .seller-card .product-delivery-est{margin-top:14px;padding:12px;border-radius:12px;background:var(--det-pale);font-size:12px}
.ev-det .seller-note{display:flex;gap:8px;align-items:flex-start;margin-top:12px;padding:15px;background:#fff5ed;border-radius:11px;font-size:12px;color:#92522c}
.ev-det .seller-note .i{margin-top:1px}
.ev-det .detail-section .table{margin:0}
@media(max-width:1180px){.ev-det .quick-info{grid-template-columns:repeat(3,minmax(0,1fr))}.ev-det .quick-info div:nth-child(3n){border-right:0}}
@media(max-width:1000px){.ev-det .detail-columns{grid-template-columns:minmax(0,1fr) 285px}.ev-det .similar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev-det .feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
    .ev-det .ev-det-page{padding-top:18px;padding-bottom:96px}
    .ev-det .breadcrumbs{margin-bottom:16px}
    .ev-det .detail-head{flex-direction:column}
    .ev-det .detail-head h1{font-size:24px}
    .ev-det .detail-actions{justify-content:flex-start}
    .ev-det .ev-det-share-panel{left:0;right:auto}
    .ev-det .gallery-layout{height:260px;grid-template-columns:1fr}
    .ev-det .gallery-side{display:none}
    .ev-det .detail-columns{grid-template-columns:1fr}
    .ev-det .detail-sidebar{position:static;grid-row:1}
    .ev-det .detail-section{padding:17px}
    .ev-det .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ev-det .detail-price{font-size:24px}
    .ev-det .detail-specs{grid-template-columns:1fr}
    .ev-det .similar-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:360px){.ev-det .quick-info{grid-template-columns:repeat(2,minmax(0,1fr))}.ev-det .quick-info div{border-right:0}.ev-det .similar-grid{grid-template-columns:1fr}}
.ev-det .section-head .textlink{white-space:nowrap}

/* ---- Comparison (design-references/V5.1/karsilastirma.html; base styles from ev-v51-extension.css) ---- */
.ev-cmp{min-height:0;padding-bottom:56px;font-size:14px}
.ev-cmp .v51-pagehead h1{color:#132842;font-weight:800}
.ev-cmp .v51-table th,.ev-cmp .v51-table td{vertical-align:top;overflow-wrap:anywhere}
.ev-cmp .v51-table thead th{vertical-align:bottom}
.ev-cmp .v51-table th:first-child{width:24%}
.ev-cmp .v51-table tbody th{color:#3d4f66;font-size:13px;font-weight:500}
.ev-cmp .v51-table td{color:#132842}
.ev-cmp .ev-cmp-head{display:grid;gap:8px;color:#132842;font-size:13px;font-weight:750;line-height:1.35}
.ev-cmp .ev-cmp-head img{width:120px;height:80px;object-fit:cover;border-radius:10px;background:#eef2f6}
.ev-cmp .ev-cmp-head:hover span{color:#c35a13}
.ev-cmp .ev-cmp-empty{color:#718196;font-weight:600}
.ev-cmp .ev-cmp-price td{font-weight:850;font-size:15px}
.ev-cmp .ev-cmp-actions th,.ev-cmp .ev-cmp-actions td{border-bottom:0}
.ev-cmp .v51-outline{display:inline-block}
@media(max-width:640px){.ev-cmp .v51-table{table-layout:fixed}.ev-cmp .v51-table th:first-child{width:28%}.ev-cmp .v51-table tbody th{font-size:11px}.ev-cmp .ev-cmp-head{font-size:11px}.ev-cmp .ev-cmp-head img{width:100%;max-width:110px;height:58px}.ev-cmp .ev-cmp-price td{font-size:12px}.ev-cmp .v51-outline{padding:7px 9px}}

/* ---- Favourites (design-references/V5.1/favoriler.html, ilan-karti-bilesenleri.html) ---- */
.ev-fav{min-height:0;padding-bottom:56px;font-size:14px}
.ev-fav .v51-pagehead h1{color:#132842;font-weight:800}
.ev-fav .v51-tab{text-decoration:none}
.ev-fav .v51-tab:hover{border-color:#ff6b00;color:#c35a13}
.ev-fav .v51-tab.is-on:hover{color:#fff}
.ev-fav .ev-fav-grid{margin-bottom:18px}
.ev-fav .v51-listing-card{display:flex;flex-direction:column;min-width:0}
.ev-fav .ev-fav-card-photo{display:block;background:#dde2e8}
.ev-fav .v51-listing-body{display:flex;flex-direction:column;flex:1}
.ev-fav .v51-listing-title{color:#172946;font-weight:750;text-decoration:none}
.ev-fav .v51-listing-title:hover{color:#c35a13}
.ev-fav .v51-listing-features{margin-bottom:0}
.ev-fav .v51-divider{margin-top:auto;padding-top:15px;border-top:0;position:relative}
.ev-fav .v51-divider::after{content:"";position:absolute;left:0;right:0;bottom:0;border-top:1px solid #edf0f4}
.ev-fav .v51-row .v51-muted{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev-fav .v51-controls{flex-wrap:nowrap}
.ev-fav .v51-controls .v51-outline{cursor:pointer;line-height:1.2}
.ev-fav .ev-fav-remove{color:#ff6b00}
.ev-fav .btn-add-compare.active{background:#fff3e9!important;border-color:#ff6b00}
.ev-fav .ev-fav-empty,.ev-fav .ev-fav-account{margin-bottom:18px}
.ev-fav .ev-fav-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:0;border-radius:10px;background:#ff6b00;color:#fff;font-size:13px;font-weight:800;text-decoration:none}
.ev-fav .ev-fav-btn:hover{background:#db5600;color:#fff}
.ev-fav .ev-fav-pager:empty{display:none}
.ev-fav .ev-fav-pager{margin:0 0 18px}
