/* İşletmen Portal Refresh 1.0: Websodi'den esinlenen bağımsız PHP arayüz katmanı. */
:root {
  --ink:#232c33;--ink-soft:#36424b;--muted:#6c7882;--line:#e5e9ed;--line-dark:#d3dce2;
  --soft:#f7f8f9;--soft-blue:#fff1e7;--brand:#e97815;--brand-dark:#bc570e;--accent:#e97815;
  --radius:12px;--radius-lg:14px;--shadow:0 12px 28px rgba(25,33,41,.065);--shadow-sm:0 5px 16px rgba(25,33,41,.045)
}
body.portal-refresh{background:#f1f3f5;color:#232c33;font-size:14px;line-height:1.55}
body.portal-refresh .wrap{width:min(1180px,calc(100% - 36px))}
body.portal-refresh a{text-underline-offset:3px}
body.portal-refresh :is(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(233,120,21,.42);outline-offset:2px}
body.portal-refresh .site-topbar{display:none!important}
body.portal-refresh .site-header{position:relative;top:auto;background:transparent;border:0;box-shadow:none;backdrop-filter:none;z-index:55}
body.portal-refresh .masthead{display:flex;align-items:center;justify-content:space-between;min-height:76px;margin-top:14px;padding:17px 21px 13px;border-radius:13px 13px 0 0;background:#fff}
body.portal-refresh .masthead .brand{color:#222a30;font-size:23px;letter-spacing:-.6px}
body.portal-refresh .masthead .brand-mark{width:38px;height:38px;border-radius:9px;box-shadow:0 3px 10px rgba(0,0,0,.08)}
body.portal-refresh .brand-copy{display:grid;gap:1px}
body.portal-refresh .brand-copy b{font-weight:850;line-height:1.13}
body.portal-refresh .brand-copy small{margin-top:3px;color:#8a96a0;font-size:9px;letter-spacing:1px;font-weight:800}
body.portal-refresh .nav-shell{display:flex;align-items:center;gap:11px;min-height:52px;padding:6px 12px;background:#222a30;border-bottom:3px solid #e97815;border-radius:0 0 11px 11px}
body.portal-refresh .nav-shell .main-nav{display:flex;align-items:center;flex:1 1 auto;min-width:0;gap:2px}
body.portal-refresh .nav-shell .main-nav>a{display:inline-flex;align-items:center;padding:8px 9px;border-radius:6px;color:#f2f5f6;font-size:12px;font-weight:750;white-space:nowrap}
body.portal-refresh .nav-shell .main-nav>a:hover{background:#3a4249;color:#fff}
body.portal-refresh .nav-shell .nav-actions{display:flex;align-items:center;gap:6px;margin-left:auto;flex:0 0 auto;width:auto}
body.portal-refresh .nav-shell .nav-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:34px;padding:7px 9px;border-radius:6px;font-size:11px;font-weight:800;white-space:nowrap}
body.portal-refresh .nav-shell .nav-actions .nav-cta{background:#e97815!important;border-color:#e97815!important;color:#fff!important}
body.portal-refresh .nav-shell .nav-actions .nav-cta:hover{background:#bc570e!important}
body.portal-refresh .nav-shell .nav-actions .nav-account{background:#343d43!important;border-color:#4a545b!important;color:#fff!important}
body.portal-refresh .nav-shell .search{display:flex;align-items:center;order:initial;flex:0 1 210px;min-width:0;width:210px;margin-left:0;padding:2px;border-radius:6px;background:#323b42;border:1px solid #4b555d;box-shadow:none}
body.portal-refresh .nav-shell .search input{min-width:0;padding:7px 9px;border:0;color:#fff;font-size:11px;background:transparent;box-shadow:none}
body.portal-refresh .nav-shell .search input::placeholder{color:#c2c8ce}
body.portal-refresh .nav-shell .search button{display:grid;place-items:center;width:34px;height:30px;padding:0;border-radius:5px;font-size:18px;background:#e97815!important;border-color:#e97815!important;color:#fff}
body.portal-refresh main.wrap{min-height:50vh}

/* Ana sayfa: ana arama alanı, temiz bölümler, gerçek veri odaklı kartlar. */
body.portal-refresh .home-webhisto-intro{display:block;overflow:visible;margin:18px 0 14px!important}
body.portal-refresh .home-webhisto-main{width:100%;margin:0;background:transparent;border:0}
body.portal-refresh .home-feature-card{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,.75fr);align-items:center;gap:35px;width:100%;min-height:290px;padding:34px 40px;border:0;border-bottom:3px solid #e97815;border-radius:12px;background:radial-gradient(circle at 95% 9%,rgba(255,255,255,.06),transparent 23%),linear-gradient(135deg,#20282e,#30383f);box-shadow:var(--shadow)}
body.portal-refresh .home-feature-card .eyebrow{color:#ffa34b;font-size:10px;letter-spacing:.85px}
body.portal-refresh .home-feature-card h1{margin:8px 0 12px;max-width:690px;font-size:clamp(30px,3.3vw,43px);line-height:1.13;letter-spacing:-1.4px}
body.portal-refresh .home-feature-card p{margin:0 0 18px;max-width:590px;color:#d9e1e5;font-size:13px;line-height:1.65}
body.portal-refresh .home-feature-card .home-feature-search{display:flex;align-items:stretch;max-width:660px;margin:0;padding:5px;border:0;border-radius:8px}
body.portal-refresh .home-feature-search input{min-width:0;padding:12px;border:0;font-size:13px}
body.portal-refresh .home-feature-search button{padding:10px 16px;border-radius:6px;background:#e97815;font-size:12px}
body.portal-refresh .home-feature-links{display:flex;flex-wrap:wrap;gap:20px;margin-top:13px}
body.portal-refresh .home-feature-links a{color:#edf3f5;font-size:11px;font-weight:700}
body.portal-refresh .home-feature-links a span{color:#ffa34b}
body.portal-refresh .home-hero-highlights{display:grid;gap:9px;min-width:0}
body.portal-refresh .home-hero-highlights>div{padding:12px 15px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:rgba(255,255,255,.055)}
body.portal-refresh .home-hero-highlights strong{display:block;color:#fff;font-size:13px;line-height:1.35}
body.portal-refresh .home-hero-highlights small{display:block;margin-top:3px;color:#cbd4d8;font-size:10px;line-height:1.45}
body.portal-refresh .portal-section{margin:14px 0;padding:22px 24px 24px;border-radius:12px;background:#fff;border:1px solid #e8ecef;box-shadow:0 3px 12px rgba(24,33,40,.025)}
body.portal-refresh .portal-section .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 16px}
body.portal-refresh .portal-section .section-head .eyebrow{color:#bd5912;font-size:9px;letter-spacing:.8px}
body.portal-refresh .portal-section .section-head h2{margin:5px 0 0;color:#232c33;font-size:21px;line-height:1.2;letter-spacing:-.4px}
body.portal-refresh .portal-section .section-head>a{color:#a74e10;font-size:12px;font-weight:800;white-space:nowrap}
body.portal-refresh .portal-section .section-head>p{margin:0;color:#7c8a95;font-size:11px;text-align:right}
body.portal-refresh .portal-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.portal-refresh .portal-shortcut-grid a{display:flex;align-items:center;gap:10px;min-height:78px;padding:12px;border:1px solid #e7ebee;border-radius:9px;background:#fbfcfc;color:#273039}
body.portal-refresh .portal-shortcut-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:8px;background:#fff0e4;color:#b95b12;font-size:18px}
body.portal-refresh .portal-shortcut-grid a>span:nth-child(2){display:grid;gap:2px;min-width:0}
body.portal-refresh .portal-shortcut-grid strong{font-size:12px}
body.portal-refresh .portal-shortcut-grid small{color:#788591;font-size:10px;line-height:1.4}
body.portal-refresh .portal-shortcut-grid i{margin-left:auto;color:#d77721;font-style:normal}
body.portal-refresh .portal-shortcut-grid a:hover,body.portal-refresh .portal-section .category-card:hover,body.portal-refresh .portal-section .bank-card:hover,body.portal-refresh .portal-section .city-feature-grid a:hover{border-color:#efb58a;box-shadow:var(--shadow-sm);transform:translateY(-1px)}
body.portal-refresh .portal-section .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.portal-refresh .portal-section .category-card{min-height:109px;padding:15px 17px;border-radius:9px;border-color:#e7ebee;background:#fbfcfc;box-shadow:none;gap:2px}
body.portal-refresh .portal-section .category-card::after{display:none}
body.portal-refresh .portal-section .category-number{color:#bd5c11;font-size:10px}
body.portal-refresh .portal-section .category-card b{margin:5px 0 0;font-size:14px}
body.portal-refresh .portal-section .category-card small{font-size:11px}
body.portal-refresh .portal-section .category-card i{position:absolute;right:16px;top:12px;font-size:16px}
body.portal-refresh .portal-section .city-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.portal-refresh .portal-section .city-feature-grid a{padding:11px 12px;border-radius:8px;border-color:#e7ebee;background:#fbfcfc}
body.portal-refresh .portal-section .city-feature-grid b{font-size:12px;line-height:1.4}
body.portal-refresh .portal-section .city-feature-grid span{font-size:10px}
body.portal-refresh .portal-section .bank-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.portal-refresh .portal-section .bank-card{min-height:76px;padding:12px;border-radius:9px;border-color:#e7ebee;background:#fbfcfc}
body.portal-refresh .portal-section .bank-card b{font-size:12px}
body.portal-refresh .portal-section .bank-card small{font-size:10px}
body.portal-refresh .portal-section .bank-logo,body.portal-refresh .portal-section .bank-mark{width:42px;height:42px;flex:0 0 42px;object-fit:contain}
body.portal-refresh .portal-section .listing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.portal-refresh .portal-section .listing-card{border-radius:9px;background:#fbfcfc}
body.portal-refresh .portal-section .listing-card>a{min-height:94px;padding:13px}
body.portal-refresh .portal-section .listing-card h3{font-size:13px}
body.portal-refresh .portal-section .listing-card p{font-size:11px}
body.portal-refresh .portal-section .listing-card .card-image,body.portal-refresh .portal-section .listing-card .card-icon{width:42px;height:42px;border-radius:9px;font-size:18px}
body.portal-refresh .home-after-hero-ad{max-width:100%;margin:10px 0!important}
body.portal-refresh .home-after-hero-ad:empty{display:none}
body.portal-refresh .portal-join{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:14px 0 28px;padding:24px 28px;border-bottom:3px solid #e97815;border-radius:11px;background:#222a30;color:#fff}
body.portal-refresh .portal-join .eyebrow{color:#ffa34b;font-size:9px}
body.portal-refresh .portal-join h2{margin:5px 0;font-size:20px;line-height:1.3}
body.portal-refresh .portal-join p{margin:0;color:#d4dde1;font-size:12px}
body.portal-refresh .portal-join .button{white-space:nowrap;border-radius:7px;background:#e97815;font-size:12px}

/* Kategori, şehir, eczane, banka, arama ve firma detayları. */
body.portal-refresh .breadcrumbs{margin:18px 0 9px;font-size:11px}
body.portal-refresh .archive-head{margin:10px 0 14px;padding:23px 27px;border:1px solid #e5e9ec;border-radius:12px;background:#fff;box-shadow:none}
body.portal-refresh .archive-head h1{font-size:clamp(26px,3.1vw,36px);letter-spacing:-.7px;line-height:1.2}
body.portal-refresh .archive-head p{font-size:13px;line-height:1.6}
body.portal-refresh .count b{font-size:30px}
body.portal-refresh :is(.filter-panel,.facet-box,.archive-seo-copy,.info-card,.content,.side-panel,.detail-head){border-color:#e5e9ec;border-radius:12px;background:#fff;box-shadow:none}
body.portal-refresh .filter-panel{padding:18px;margin-bottom:14px}
body.portal-refresh .facet-box{padding:19px}
body.portal-refresh .facet-chips-grid a{padding:10px 12px;border-radius:8px;background:#fbfcfc}
body.portal-refresh .listing-card{border-color:#e5e9ec;border-radius:10px;box-shadow:none}
body.portal-refresh .listing-card:hover{border-color:#efb58a}
body.portal-refresh .listing-card h3{font-size:14px}
body.portal-refresh .detail-head{padding:26px;background:#fff}
body.portal-refresh .detail-head h1{font-size:clamp(26px,3.1vw,35px)}
body.portal-refresh .pagination a{border-radius:7px}
body.portal-refresh input,body.portal-refresh select,body.portal-refresh textarea{border-radius:8px}
body.portal-refresh input:focus,body.portal-refresh select:focus,body.portal-refresh textarea:focus{border-color:#e97815;box-shadow:0 0 0 3px rgba(233,120,21,.12)}
body.portal-refresh .button,body.portal-refresh .archive-filter-form button{border-radius:7px}
body.portal-refresh .site-footer{margin-top:28px;padding-top:34px;background:#20282e!important;border-top:3px solid #e97815;color:#dce2e5}
body.portal-refresh .site-footer .footer-grid{gap:28px;grid-template-columns:1.3fr .85fr .85fr 1.1fr}
body.portal-refresh .site-footer .footer-grid strong{font-size:12px}
body.portal-refresh .site-footer .footer-grid a{margin:7px 0;font-size:12px}
body.portal-refresh .site-footer .footer-grid p{font-size:12px;line-height:1.65}
body.portal-refresh .site-footer .footer-note{padding:15px;border-radius:9px;border-color:#3b454d}
body.portal-refresh .site-footer .brand{font-size:20px}
body.portal-refresh .site-footer .copyright{margin-top:27px;padding:15px 0;font-size:11px}

@media(max-width:1080px){
  body.portal-refresh .nav-shell .search{flex-basis:165px;width:165px}
  body.portal-refresh .nav-shell .main-nav>a{padding-inline:7px;font-size:11px}
  body.portal-refresh .portal-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.portal-refresh .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  body.portal-refresh .masthead{min-height:64px;margin-top:9px;padding:14px 17px}
  body.portal-refresh .masthead .menu-toggle{display:grid;place-items:center;margin-left:auto;background:#f3f5f6;color:#222a30}
  body.portal-refresh .nav-shell{position:relative;flex-direction:column;align-items:stretch;gap:0;min-height:50px;padding:9px 12px}
  body.portal-refresh .nav-shell .search{display:flex;order:0;width:100%;flex:1 1 auto}
  body.portal-refresh .nav-shell .search input{font-size:13px}
  body.portal-refresh .nav-shell .main-nav{position:absolute;top:calc(100% + 4px);left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:2px;padding:10px;background:#222a30;border:1px solid #424c54;border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.19);z-index:60}
  body.portal-refresh .nav-shell .main-nav.open{display:flex}
  body.portal-refresh .nav-shell .main-nav>a{padding:12px;font-size:13px;color:#f5f7f8}
  body.portal-refresh .nav-shell .main-nav .nav-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:8px 0 0}
  body.portal-refresh .nav-shell .main-nav .nav-actions a{width:100%;min-height:42px;font-size:12px}
  body.portal-refresh .home-feature-card{grid-template-columns:1fr;gap:22px;padding:27px 25px}
  body.portal-refresh .home-hero-highlights{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.portal-refresh .home-hero-highlights>div{padding:11px}
  body.portal-refresh .portal-section .category-grid,body.portal-refresh .portal-section .bank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.portal-refresh .portal-section .city-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.portal-refresh .portal-section .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  body.portal-refresh .wrap{width:min(100% - 20px,1180px)}
  body.portal-refresh .masthead{padding:12px 13px}
  body.portal-refresh .masthead .brand{font-size:19px}
  body.portal-refresh .brand-copy small{font-size:8px;letter-spacing:.5px}
  body.portal-refresh .home-webhisto-intro{margin-top:10px!important}
  body.portal-refresh .home-feature-card{padding:24px 18px;border-radius:10px}
  body.portal-refresh .home-feature-card h1{font-size:30px}
  body.portal-refresh .home-feature-card p{font-size:12px}
  body.portal-refresh .home-feature-card .home-feature-search{display:flex;gap:2px}
  body.portal-refresh .home-feature-search input{min-width:0;padding:10px}
  body.portal-refresh .home-feature-search button{width:auto;padding-inline:13px;white-space:nowrap}
  body.portal-refresh .home-hero-highlights{grid-template-columns:1fr;gap:7px}
  body.portal-refresh .home-hero-highlights>div{padding:10px 12px}
  body.portal-refresh .portal-section{padding:19px 16px;border-radius:11px}
  body.portal-refresh .portal-section .section-head{align-items:flex-start}
  body.portal-refresh .portal-section .section-head h2{font-size:19px}
  body.portal-refresh .portal-section .section-head>p{display:none}
  body.portal-refresh .portal-section .section-head>a{max-width:115px;font-size:11px;white-space:normal;text-align:right}
  body.portal-refresh .portal-shortcut-grid,body.portal-refresh .portal-section .category-grid,body.portal-refresh .portal-section .bank-grid,body.portal-refresh .portal-section .listing-grid{grid-template-columns:1fr}
  body.portal-refresh .portal-shortcut-grid a{min-height:64px}
  body.portal-refresh .portal-section .city-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.portal-refresh .portal-section .category-card{min-height:96px}
  body.portal-refresh .portal-join{align-items:stretch;flex-direction:column;padding:22px}
  body.portal-refresh .portal-join .button{text-align:center}
  body.portal-refresh .archive-head{padding:20px}
  body.portal-refresh .archive-head h1{font-size:27px}
  body.portal-refresh .site-footer .footer-grid{grid-template-columns:1fr;gap:22px}
}
@media(prefers-reduced-motion:reduce){body.portal-refresh .portal-section a,body.portal-refresh .portal-shortcut-grid a{transition:none}}

/* v1.1 — İçerik önce, reklam sonra. Reklam kodu ve gösterim hakları aynen korunur. */
body.portal-refresh .detail:not(.premium-detail) .standard-profile-hero {
  border-color:#e4e9ed;
  border-radius:13px;
  box-shadow:0 4px 15px rgba(25,33,41,.035);
}
body.portal-refresh .detail:not(.premium-detail) .standard-profile-grid {
  margin-top:14px;
}
body.portal-refresh .detail:not(.premium-detail) .standard-info-card,
body.portal-refresh .detail:not(.premium-detail) .standard-content-card,
body.portal-refresh .detail:not(.premium-detail) .standard-related-section,
body.portal-refresh .detail:not(.premium-detail) .standard-side-card {
  border-radius:12px;
  border-color:#e5e9ed;
  box-shadow:none;
}
body.portal-refresh .detail:not(.premium-detail) .standard-info-card {
  padding:22px 25px;
}
body.portal-refresh .detail:not(.premium-detail) .standard-info-card .section-head h2 {
  font-size:23px;
  letter-spacing:-.45px;
}
body.portal-refresh .standard-profile-main > .portal-profile-after-info-ad {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.portal-refresh .standard-profile-main > .standard-profile-content-ad {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.portal-refresh .standard-phone-link {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#a84c08!important;
  font-size:13px;
  font-weight:850!important;
}
body.portal-refresh .standard-phone-link::before {
  content:"☎";
  display:inline-grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:7px;
  background:#fff1e7;
  color:#b25b19;
  font-size:13px;
}
body.portal-refresh .pharmacy-neutral-icon {
  display:grid;
  place-items:center;
  background:#eef8f5!important;
  border:1px solid #d6ece4!important;
  color:#13836b!important;
  font-size:22px!important;
  font-weight:800;
}
body.portal-refresh .listing-card .card-icon.pharmacy-neutral-icon {
  flex:0 0 56px;
  width:56px;
  height:56px;
  border-radius:11px;
}
body.portal-refresh .portal-section .listing-card .card-icon.pharmacy-neutral-icon {
  flex-basis:42px;
  width:42px;
  height:42px;
}
@media(max-width:720px){
  body.portal-refresh .detail:not(.premium-detail) .standard-info-card {
    padding:19px 17px;
  }
  body.portal-refresh .detail:not(.premium-detail) .standard-info-card .section-head h2 {
    font-size:20px;
  }
  body.portal-refresh .listing-card .card-icon.pharmacy-neutral-icon {
    flex-basis:48px;
    width:48px;
    height:48px;
  }
}

/* v1.2 — Eczane kartlarında tutarlı görsel dil ve reklam alanında sakin hizalama. */
body.portal-refresh .pharmacy-listing-card .card-icon.pharmacy-neutral-icon,
body.portal-refresh .standard-profile-logo.pharmacy-neutral-icon {
  background:#edf8f4!important;
  border:1px solid #d1e9df!important;
  color:#087e66!important;
}
body.portal-refresh .standard-profile-main > .portal-profile-after-info-ad > .ad-wrap,
body.portal-refresh .standard-profile-main > .standard-profile-content-ad > .ad-wrap {
  display:flex;
  width:100%;
  max-width:100%;
  justify-content:center;
  margin-inline:auto!important;
}
body.portal-refresh .standard-profile-main > .portal-profile-after-info-ad .ad-box,
body.portal-refresh .standard-profile-main > .standard-profile-content-ad .ad-box {
  margin-inline:auto;
  text-align:center;
}
