/*
Theme Name: Agent Neda Zlatna CENTAR V3
Author: Agent Neda
Description: Crno-zlatna tema za nekretnine i štampu.
Version: 14.0
Text Domain: agent-neda
*/
a[href^="tel:"] .phone-number{font-size:clamp(20px,5vw,26px);font-weight:800;letter-spacing:.3px}a[href^="tel:"]{white-space:nowrap}

/* 011 BG: dugmad jedno ispod drugog na telefonu i računaru */
.services{display:grid;grid-template-columns:1fr!important;max-width:390px;margin:20px auto;gap:12px}
.services .service{display:block;width:100%;text-align:center}


:root{--gold:#c99b4a;--dark:#15100c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px Arial,sans-serif;background:#fffaf3;color:#292017}header{background:linear-gradient(100deg,#0b0908,#4c3117,#0b0908);color:#f8e5b3;padding:17px 5%;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px}header strong{font:26px Georgia}nav{display:flex;gap:16px;flex-wrap:wrap}nav a{color:#fff4d9;text-decoration:none}.hero{background:radial-gradient(circle at 20% 15%,#6b4924,transparent 52%),linear-gradient(120deg,#0b0908,#2c2016);color:#fff;padding:50px max(5%,calc((100vw - 1180px)/2));display:grid;grid-template-columns:minmax(210px,36%) 1fr;align-items:center;gap:38px}.hero img{width:100%;max-height:390px;object-fit:cover;object-position:top;border-radius:8px;mask-image:linear-gradient(#000 82%,transparent)}h1{font:clamp(40px,6vw,75px) Georgia;color:#f1cc81;margin:8px 0}.hero p{line-height:1.7}.pill{display:inline-block;border:1px solid #d9af65;background:linear-gradient(110deg,#100d0a,#6b4620,#17100a);color:#ffe8b6;padding:10px 17px;border-radius:40px}.btn,button{display:inline-block;background:linear-gradient(110deg,#a97525,#f4d28b,#b68231);color:#1a1208;text-decoration:none;border:0;border-radius:24px;padding:13px 20px;font-weight:bold;cursor:pointer;margin:8px 7px 8px 0}main{max-width:1160px;margin:auto;padding:22px 5%}.panel{background:#fff;border:1px solid #e7d5b5;box-shadow:0 8px 30px #5c401215;border-radius:18px;padding:25px;margin:22px 0}h2{font:32px Georgia;color:#5b391b;margin-top:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.fields{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}label{font-size:14px}input,select,textarea{width:100%;margin-top:6px;padding:13px;border:1px solid #cdb78d;border-radius:9px;font:inherit}.card{border:1px solid #ead5b2;border-radius:14px;overflow:hidden}.cover{height:125px;background:linear-gradient(130deg,#17100c,#94682c,#2a1a10);color:#f8dfab;display:grid;place-items:center;font:24px Georgia}.card section{padding:16px}.small{font-size:13px;color:#71604b}.print{text-align:center}.circle{display:inline-grid;place-items:center;width:125px;height:125px;border-radius:50%;border:2px solid #c69a4b;background:linear-gradient(130deg,#17110c,#765020);color:#fff0c5;text-decoration:none;font:21px Georgia}footer{text-align:center;background:#130f0b;color:#f5d89a;padding:24px 10px}footer .line{white-space:nowrap;font-size:clamp(12px,3.2vw,17px)}@media(max-width:700px){.hero{grid-template-columns:1fr;padding:25px 6%;gap:10px}.hero img{width:65%;max-height:260px}.grid,.fields{grid-template-columns:1fr}header{justify-content:center;text-align:center}nav{justify-content:center}.panel{padding:18px}}

.hero{grid-template-columns:1fr;text-align:center;justify-items:center;padding-top:34px}.hero .identity{display:flex;justify-content:center;align-items:center;gap:22px;width:100%;max-width:550px}.hero img{width:155px;height:170px;object-fit:cover;object-position:top;border-radius:12px;mask-image:linear-gradient(#000 88%,transparent)}.socials{display:flex;flex-direction:column;gap:13px}.socials a{display:grid;place-items:center;width:43px;height:43px;border:1px solid #b98a3f;border-radius:50%;background:#1c140e;color:#f4d597;text-decoration:none;font-weight:900;font-size:20px}.hero>div:last-child{max-width:760px}.hero .actions{display:flex;flex-direction:column;align-items:center;gap:8px}.hero .actions a{min-width:min(92vw,340px);text-align:center}.hero .actions a.feature{background:linear-gradient(110deg,#130d09,#ad7d30,#130d09);color:white;border:1px solid #f0ca80;text-transform:uppercase;font-size:16px}.services{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:20px 0}.service{padding:23px 12px;background:linear-gradient(135deg,#1b140e,#6d4a21);color:#fce9be;border:1px solid #c89c52;border-radius:13px;text-decoration:none;font-size:19px;font-weight:bold}.back{display:inline-block;margin:12px 0;color:#f0d397}.servicepage{display:none}.servicepage:target{display:block}.servicepage:target~.servicehome{display:none}.adminnote{font-size:13px;color:#6d5d47}@media(max-width:700px){.hero img{width:116px;height:133px}.hero .identity{gap:14px}.services{grid-template-columns:1fr}}

html,body{max-width:100%;overflow-x:hidden}
header{justify-content:center;text-align:center;gap:18px}
header nav{width:100%;justify-content:center;align-items:center;gap:12px}
header nav a{font-size:13px;padding:7px 9px}
header nav .print-nav{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,#f5d898,#a77729 70%,#3e280e);color:#17100b;border:2px solid #f5dfaa;box-shadow:0 0 0 3px #ffffff26}
.hero .actions a{min-width:0;width:min(100%,285px);margin:2px auto;padding:10px 12px;font-size:13px}
.hero .actions a.feature{font-size:13px}
.hero,.panel,main{min-width:0}
.hero>div:last-child{width:100%}
@media(max-width:700px){
 header{padding:12px 3%}header nav{gap:6px}
 header nav a{font-size:11px;padding:6px 3px}
 header nav .print-nav{width:55px;height:55px;font-size:11px;flex-shrink:0}
 .hero{padding:24px 5%}.hero .actions a{width:min(100%,260px)}
 .hero h1{font-size:clamp(36px,10vw,55px)}
}

body{background:linear-gradient(100deg,#8c6037 0%,#53351f 52%,#21150f 100%);background-attachment:fixed}.panel{background:#fffdf9}.hero{background:linear-gradient(100deg,#91673d 0%,#53341f 54%,#1d120e 100%)}.hero .actions a.feature{color:#fff}

/* Raspored usluga: centrirano na laptopu i telefonu */
#stampa .servicehome{width:100%;text-align:center}
#stampa .services{display:grid;grid-template-columns:minmax(0,1fr);width:min(100%,440px);margin:22px auto;gap:12px;justify-items:stretch}
#stampa .service{display:flex;justify-content:center;align-items:center;width:100%;box-sizing:border-box;min-height:62px;text-align:center;padding:15px 20px}
#stampa .servicehome>.btn{margin-left:auto;margin-right:auto;max-width:100%;white-space:normal}
@media(max-width:700px){#stampa .services{width:100%;max-width:350px}#stampa .service{min-height:56px}}

/* FIX v1.0.2: centriranje kartica u prikazu uzivo i na sajtu */
html body main #stampa.panel.print .servicehome {display:block!important;width:100%!important;max-width:none!important;text-align:center!important;}
html body main #stampa.panel.print .servicehome .services {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;float:none!important;position:static!important;transform:none!important;width:100%!important;max-width:100%!important;margin:24px auto!important;padding:0!important;gap:12px!important;}
html body main #stampa.panel.print .servicehome .services > a.service {display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:min(100%,400px)!important;max-width:400px!important;margin:0 auto!important;min-height:65px!important;text-align:center!important;}
@media(max-width:700px){html body main #stampa.panel.print .servicehome .services > a.service {width:min(100%,340px)!important;}}

/* Definitivni raspored u posebnoj temi */
#stampa.panel.print .servicehome { display:block!important; width:100%!important; }
#stampa.panel.print .servicehome .services { display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important; gap:12px!important; width:100%!important; max-width:none!important; margin:20px auto!important; padding:0!important; }
#stampa.panel.print .servicehome .services a.service { display:flex!important; align-items:center!important; justify-content:center!important; width: min(100%,400px)!important; max-width:400px!important; min-height:66px!important; margin:0 auto!important; float:none!important; position:static!important; box-sizing:border-box!important; }

/* V4: jedina vizuelna izmena - tri reda u zaglavlju. */
header .agent-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;width:100%}
header .agent-brand strong{font:26px Georgia,serif;color:#f1cc81}
header .agent-license{font-size:15px;font-weight:600;color:#e6c47e}
header .agent-agency{font-size:11px;letter-spacing:1.1px;color:#f5e9d6}
header nav{width:100%;justify-content:center}

/* V5: jasno razdvojena tri reda, bez lepljenja teksta */
html body header .agent-brand {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;text-align:center!important;margin:0 auto 12px!important;}
html body header .agent-brand > strong {display:block!important;font:normal 30px Georgia,serif!important;line-height:1.3!important;color:#f1cc81!important;}
html body header .agent-brand > .agent-license {display:block!important;font-size:16px!important;font-weight:600!important;line-height:1.5!important;color:#e6c47e!important;}
html body header .agent-brand > .agent-agency {display:block!important;font-size:11px!important;letter-spacing:1.1px!important;line-height:1.6!important;color:#f5e9d6!important;}
html body header nav {width:100%!important;justify-content:center!important;}

/* V6: potvrđeni izgled sa slike: tri centrirana, odvojena reda */
html body header .agent-brand {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;row-gap:10px!important;width:100%!important;margin:0 auto 14px!important;white-space:normal!important;}
html body header .agent-brand > strong {display:block!important;font-family:Arial,sans-serif!important;font-size:26px!important;font-weight:700!important;line-height:1.25!important;margin:0!important;}
html body header .agent-brand > .agent-license {display:block!important;font-family:Arial,sans-serif!important;font-size:18px!important;font-weight:700!important;line-height:1.3!important;margin:0!important;}
html body header .agent-brand > .agent-agency {display:block!important;font-family:Arial,sans-serif!important;font-size:12px!important;font-weight:400!important;letter-spacing:0!important;line-height:1.4!important;margin:0!important;}
html body header nav {width:100%!important;}

/* V7: discreet language selector; preserves the three-line brand and layout */
header{position:relative;}
.language-picker{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px auto 0;color:#f5e9d6;font-size:12px;}
.language-picker select{background:#281a12;color:#f5e9d6;border:1px solid #d5b16a;border-radius:8px;padding:7px 10px;cursor:pointer;font-size:13px;max-width:180px;}
@media(max-width:600px){.language-picker{margin-top:14px;}.language-picker select{font-size:14px;}}

/* V8: single-property details, preserving V7 visual language */
.agent-property-page main{max-width:1050px;margin:30px auto;padding:0 15px}.agent-property-page .property-detail{padding:25px}.property-detail h1{color:#e6c47e}.property-image img{max-width:100%;height:auto;border-radius:12px}.property-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:22px 0}.property-facts>div{padding:12px;border:1px solid #8d6b39;border-radius:9px}.property-description{white-space:normal;line-height:1.7;overflow-wrap:anywhere}.property-description p{margin:0 0 1em}.details-link{display:inline-block;margin-right:15px;color:#e6c47e;text-decoration:underline}

/* V9: responsive approximate map */
.agent-map-section{margin:26px 0}.agent-map-section iframe{display:block;width:100%;height:340px;border:1px solid #8d6b39;border-radius:12px;background:#eee}.agent-map-section a{color:#e6c47e}@media(max-width:600px){.agent-map-section iframe{height:270px}}

/* V13 additions */
.agent-advanced{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:16px 0}.agent-advanced label{display:flex;flex-direction:column;gap:5px}.agent-advanced input,.agent-advanced select{width:100%;box-sizing:border-box;min-width:0}.agent-status,.agent-urgent{display:inline-block;border-radius:8px;padding:5px 10px;font-size:.8rem;font-weight:700;letter-spacing:.04em;background:#403327;color:#f6dfac;margin:4px 5px 4px 0}.agent-urgent{background:#76500c;color:#fff}.agent-heart{border:1px solid #bd9853;border-radius:50%;background:#261b13;color:#efcc82;font-size:24px;line-height:1;padding:7px 11px;cursor:pointer}.agent-messengers{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.agent-messengers .btn{flex:1;min-width:125px;text-align:center}.agent-favs-toggle{margin-right:8px}@media(max-width:600px){.agent-advanced{grid-template-columns:1fr 1fr}.agent-messengers{flex-direction:column}}

.agent-v15-fields{margin:18px 0;padding:16px;border:1px solid #a98c57;border-radius:12px}.agent-v15-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;margin:14px 0}.agent-v15-checks label{display:flex;align-items:center;gap:7px}.agent-v15-checks input{width:auto!important}

/* V16: luxury listing cards and detail view, portrait/landscape without cropping */
.an16-card{border:1px solid #c5a46b!important;border-radius:15px!important;background:#fff;overflow:hidden;min-width:0}
.an16-head{background:#211c18;color:#f4eee5;padding:16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.an16-head h3,.an16-head h1{font:600 clamp(16px,2vw,22px) Georgia,serif;color:#f0d6a0;margin:0 0 10px}.an16-head p{margin:0 0 7px;font-size:13px}.an16-head small{color:#c6a46c;font-size:12px}.an16-head-price{text-align:right;flex-shrink:0}.an16-head-price strong{display:block;color:#f0d6a0;font-size:clamp(16px,2vw,22px);white-space:nowrap}.an16-head-price small{display:block;color:#f4eee5;margin-top:7px;white-space:nowrap}
.an16-photo{display:flex;align-items:center;justify-content:center;background:#f0eeeb;border:9px solid #c5a46b;min-height:200px;aspect-ratio:16/10;text-decoration:none;overflow:hidden}.an16-photo img{display:block;width:100%;height:100%;max-height:460px;object-fit:contain}.an16-no-photo{color:#6b6258;font-size:13px}.an16-body{padding:16px}.an16-badges{min-height:35px;display:flex;align-items:center;justify-content:space-between}.an16-badges .agent-heart{margin:0 0 5px auto}.an16-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 10px;padding:15px 0}.an16-fact{display:flex;gap:8px;align-items:center;min-width:0}.an16-icon{font-size:26px;color:#b69255;line-height:1}.an16-fact strong{display:block;font-size:16px;color:#27211c;overflow-wrap:anywhere}.an16-fact small{display:block;color:#7d7165;font-size:11px;margin-top:3px}.an16-bottom{border-top:1px solid #c5a46b;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.an16-bottom span{font-size:12px;color:#756859}.an16-bottom strong{display:block;font-size:21px;color:#211c18;margin-top:3px}.an16-view{background:#211c18;color:#f0d6a0!important;padding:11px 12px;border-radius:8px;text-decoration:none;font-size:12px;text-align:center}
.an16-detail{padding:0!important;overflow:hidden}.an16-detail .an16-head{padding:23px}.an16-detail .an16-photo{aspect-ratio:auto;min-height:240px;max-height:600px}.an16-detail .an16-photo img{height:auto;width:auto;max-width:100%;max-height:580px}.an16-detail>.property-facts,.an16-detail>h2,.an16-detail>.property-description,.an16-detail>.agent-map-section,.an16-detail>.agent-messengers,.an16-detail>.actions{margin-left:22px;margin-right:22px}.an16-detail .an16-body{padding:22px}
@media(max-width:600px){.an16-head{padding:12px;gap:7px}.an16-head h3,.an16-head h1{font-size:16px}.an16-head-price strong{font-size:15px}.an16-head-price small{font-size:10px}.an16-photo{border-width:6px;min-height:150px}.an16-facts{gap:14px 6px}.an16-fact{gap:4px;flex-direction:column;text-align:center}.an16-icon{font-size:23px}.an16-fact strong{font-size:14px}.an16-bottom strong{font-size:17px}.an16-view{padding:9px 8px;font-size:11px}}

/* V19: listing cards use available width on phones and tablets. */
#oglasi, #oglasi .grid, #cards {width:100%;max-width:none;min-width:0;box-sizing:border-box;}
#cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px;align-items:stretch;}
#cards > .an16-card {width:100%;max-width:none;min-width:0;margin:0;justify-self:stretch;}
#cards .an16-photo {width:100%;box-sizing:border-box;}
#cards .an16-photo img {max-width:100%;object-fit:contain;}
@media (max-width: 900px) {
  #cards {grid-template-columns:minmax(0,1fr)!important;gap:16px;}
  #oglasi.panel {padding:clamp(10px,2.5vw,20px);}
  #cards > .an16-card {width:100%!important;max-width:none!important;}
}
@media (max-width: 600px) {
  main {width:100%;max-width:100%;padding-left:10px;padding-right:10px;}
  #oglasi.panel {margin-left:0;margin-right:0;padding:10px;}
  #cards {width:100%!important;grid-template-columns:minmax(0,1fr)!important;}
  #cards .an16-head {min-width:0;}
  #cards .an16-head > div:first-child {min-width:0;overflow-wrap:anywhere;}
  #cards .an16-head-price {flex-shrink:0;}
  #cards .an16-facts {grid-template-columns:repeat(3,minmax(0,1fr));}
}

/* V20: Additional offer form fields */
#offer .agent-offer-note{display:block;margin:16px 0;}#offer .agent-offer-note textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:110px;margin-top:8px;padding:12px;border-radius:8px;}

/* V21: price appears only in the lower-left section of listing cards. */
#cards .an21-bottom-price{display:block;min-width:0;}
#cards .an21-bottom-price small{display:block;margin-top:5px;font-size:12px;color:#756859;white-space:nowrap;}
#cards .an16-bottom{align-items:center;}

/* V22: never display the old upper price block on listing cards. */
#cards .an16-card .an16-head-price,
#cards .an16-card .an16-head .an16-price,
#cards .an16-card .an16-head .price-block,
#cards .an16-card .an16-head .price-per-sqm {display:none!important;}
#cards .an16-card .an16-head{justify-content:flex-start!important;}
#cards .an16-card .an16-bottom .an21-bottom-price{display:flex;flex-direction:column;align-items:flex-start;}
#cards .an16-card .an16-bottom .an21-bottom-price strong{display:block;}
#cards .an16-card .an16-bottom .an21-bottom-price small{display:block;white-space:normal;}

/* V24: agency fee directly below every listing photo */
#cards .an24-fee{padding:11px 16px;background:#211c18;color:#e8c98d;font-size:13px;line-height:1.45;font-weight:600;border-bottom:1px solid #b69255;overflow-wrap:anywhere}
@media(max-width:600px){#cards .an24-fee{font-size:12px;padding:10px 12px}}
