
  
   :root{
      --text:#0f172a;
      --muted:#475569;
      --border:#e2e8f0;
      --accent:#1e66ff;
      --accent2:#0b4fe0;
      --ok:#16a34a;
      --soft-shadow: 0 10px 22px rgba(15,23,42,.06);
      --title:#1f2a44;
      --cons:#dc2626;
      --author-bg:#dbeafe;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}

    body{
      margin:0;
      font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
      color:var(--text);
      background:#fff;
    }

    a{color:var(--accent);text-decoration:none}
    a:hover{color:var(--accent2);text-decoration:underline}

    .wrap{max-width:1120px;margin:0 auto;padding:20px}

    .topbar{
      position:sticky;
      top:0;
      z-index:20;
      background:rgba(255,255,255,.90);
      backdrop-filter: blur(10px);
      border-bottom:1px solid var(--border);
    }

    .row{
      display:flex;
      gap:14px;
      align-items:center;
      justify-content:space-between;
      flex-wrap:wrap;
    }

    .nav{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      align-items:center;
    }

    .nav a{
  font-size:18.2px;
  font-weight:800;

  /* same color vibe as .brand-name */
  color:#1e40af;
  text-decoration:none;
  text-shadow:
    0 2px 0 rgba(255,255,255,.70),
    0 10px 18px rgba(15,23,42,.22);
}

.nav a:hover{
  color:#1d4ed8;
  text-decoration:underline;
}
    .nav a:hover{ color:#000; text-decoration:underline; }

    /* BRAND */
    .brand-name{
      font-size:26px;
      font-weight:900;
      letter-spacing:.2px;
      color:#1e40af;
      text-decoration:none;
      line-height:1.05;
      text-shadow:
        0 2px 0 rgba(255,255,255,.70),
        0 10px 18px rgba(15,23,42,.22);
    }
    .brand-name:hover{
      color:#1d4ed8;
      text-decoration:none;
    }

    .btn{
      cursor:pointer;
      background:var(--accent);
      color:#fff;
      padding:10px 14px;
      border-radius:12px;
      font-weight:800;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      white-space:nowrap;
      box-shadow: 0 12px 26px rgba(30,102,255,.22);
      border:0;
    }
    .btn:hover{background:var(--accent2)}
    .btn.ghost{
      background:#fff;
      color:var(--accent);
      border:1px solid rgba(30,102,255,.25);
      box-shadow:none;
      font-weight:700;
    }

    .hero{padding:32px 0 10px}

    .grid{display:grid;gap:16px}
    @media(min-width:920px){ .grid.cols-2{grid-template-columns:1.1fr .9fr} }

    h1{font-size:40px;line-height:1.12;margin:0 0 10px}
    h2{margin:26px 0 10px;font-size:22px}

    p{margin:10px 0;color:var(--muted)}
    ul{margin:8px 0 0;padding-left:18px;color:var(--muted)}

    .split{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}
    .mini{font-size:13px;color:var(--muted)}
    .section{padding:10px 0}

    label{display:block;font-size:13px;color:var(--title);margin:10px 0 6px}
    input, textarea{
      width:100%;
      border:1px solid var(--border);
      border-radius:12px;
      padding:10px 12px;
      font:inherit;
      outline:none;
      background:#fff;
    }
    input:focus, textarea:focus{
      border-color: rgba(30,102,255,.55);
      box-shadow: 0 0 0 4px rgba(30,102,255,.12);
    }

    details{border:1px solid var(--border);border-radius:14px;padding:12px 14px;background:#fff}
    summary{cursor:pointer;font-weight:800;color:var(--title)}

    footer{
      margin-top:24px;
      padding:18px 0 34px;
      border-top:1px solid var(--border);
      color:var(--muted);
      font-size:13px;
    }

    /* Full-width pharmacies section */
    .fullbleed{
      width:100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
    }
    .pharmas-wrap{max-width:1120px;margin:0 auto;padding:0 20px}

    .pharmas-title{
      margin:20mm 0 10mm;
      text-align:center;
      font-size: clamp(21px, 2.4vw, 32px);
      line-height:1.1;
      color:var(--title);
    }

    /* Pharmacy card */
    .pharma-card{
      padding:18px 20px;
      border-radius:14px;
      border:1px solid var(--border);
      background:#fff;
      box-shadow:var(--soft-shadow);
    }
    .pharma-card + .pharma-card{ margin-top:14px; }

    .pharma-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
    }

    .pharma-summary{flex:1 1 auto;min-width:0}

    .rb-title{
      margin:0;
      font-size:27px;
      font-weight:950;
      color:var(--title);
      line-height:1.15;
    }

    .pharma-summary .muted{margin:6px 0 0}

    .pharma-actions{
      flex:0 0 auto;
      min-width:220px;
      display:flex;
      justify-content:flex-end;
      align-items:center;
    }

    @media (max-width: 820px){
      .pharma-head{flex-direction:column;align-items:flex-start}
      .pharma-actions{min-width:0;width:100%;justify-content:flex-start}
    }

    .pharma-logo{
      width:92px;
      height:92px;
      object-fit:contain;
      display:block;
      border-radius:14px;
      border:1px solid var(--border);
      box-shadow:var(--soft-shadow);
      background:#fff;
      flex:0 0 92px;
    }

    /* Pros / Cons */
    .proscons{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:14px;
      margin-top:14px;
    }

    .pc-col{
      border:1px solid var(--border);
      border-radius:14px;
      padding:12px 14px;
      background:#fff;
      box-shadow:var(--soft-shadow);
    }

    .pc-title{
      margin:0 0 8px;
      font-size:14px;
      font-weight:900;
      color:var(--title);
    }

    .pc-col.pros .pc-title{ color: var(--ok); }
    .pc-col.cons .pc-title{ color: #b45309; }

    @media (max-width: 820px){
      .proscons{ grid-template-columns: 1fr; }
    }

    /* Pros/Cons lists */
    .pc-list{
      margin:0;
      padding-left:0;
      list-style:none;
      color:var(--muted);
    }

    .pc-list li{
      margin:8px 0;
      display:flex;
      gap:10px;
      align-items:flex-start;
    }

    .pc-col.pros .pc-list li::before{
      content:"✓";
      color:var(--ok);
      font-weight:1000;
      line-height:1.1;
      margin-top:1px;
    }

    .pc-col.cons .pc-list li::before{
      content:"✓";
      color:var(--cons);
      font-weight:1000;
      line-height:1.1;
      margin-top:1px;
    }

    /* Payments */
    .payments{
      margin-top:14px;
      border:1px solid var(--border);
      border-radius:14px;
      padding:12px 14px;
      background:#fff;
      box-shadow:var(--soft-shadow);
    }

    .payments-title{
      margin:0 0 10px;
      font-size:14px;
      font-weight:900;
      color:var(--title);
    }

    .pay-badges{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      align-items:center;
    }

    .pay-badge{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:7px 10px;
      border-radius:999px;
      border:1px solid var(--border);
      background:#fff;
      color:var(--title);
      font-size:13px;
      font-weight:800;
      box-shadow: 0 10px 18px rgba(15,23,42,.04);
      user-select:none;
    }

    .pay-dot{
      width:10px;height:10px;border-radius:999px;
      background:rgba(30,102,255,.18);
      border:1px solid rgba(30,102,255,.22);
      flex:0 0 10px;
    }

    /* Author meta */
    .author-meta{
      display:flex;
      align-items:center;
      gap:14px;
      flex-wrap:nowrap;
      white-space:nowrap;
      overflow:hidden;

      padding:12px 14px;
      margin:1cm 0 6px;
      border:1px solid var(--border);
      border-radius:14px;
      background:var(--author-bg);
      box-shadow:var(--soft-shadow);
    }

    .author-photo-wrap{
      width:52px;
      height:52px;
      border-radius:999px;
      overflow:hidden;
      flex:0 0 52px;
      border:1px solid rgba(226,232,240,.9);
      background:#fff;
    }
    .author-photo{width:100%;height:100%;object-fit:cover;display:block}
    .author-info{
      display:flex;
      align-items:center;
      gap:14px;
      flex:1 1 auto;
      min-width:0;
      flex-wrap:nowrap;
    }
    .author-name{
      margin:0;
      font-size:14px;
      color:var(--title);
      font-weight:800;
      line-height:1.25;
      flex:1 1 auto;
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .author-role{font-weight:700;color:var(--muted);white-space:nowrap}
    .author-badges{
      display:flex;
      align-items:center;
      gap:12px;
      flex:0 0 auto;
      flex-wrap:nowrap;
      margin-top:0;
    }
    .author-date strong,.author-verified strong{font-size:13px;color:var(--title);white-space:nowrap}
    .author-verified .green{color: var(--ok)}

    /* Reviews */
    .reviews-grid{
      margin-top:12px;
      display:grid;
      gap:14px;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    @media (max-width: 820px){
      .reviews-grid{ grid-template-columns: 1fr; }
    }
    .review-card{
      border:1px solid var(--border);
      border-radius:14px;
      padding:14px 14px;
      background:#fff;
      box-shadow:var(--soft-shadow);
    }
    .review-top{
      display:flex;
      gap:12px;
      align-items:center;
      justify-content:space-between;
    }
    .review-person{
      display:flex;
      gap:10px;
      align-items:center;
      min-width:0;
    }
    .review-avatar{
      width:44px;
      height:44px;
      border-radius:999px;
      border:1px solid var(--border);
      background: #eef2ff;
      display:flex;
      align-items:center;
      justify-content:center;
      font-weight:900;
      color:#1e40af;
      flex:0 0 44px;
    }
    .review-name{
      margin:0;
      font-weight:900;
      color:var(--title);
      line-height:1.2;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .review-meta{
      margin:2px 0 0;
      font-size:12px;
      color:var(--muted);
      white-space:nowrap;
    }
    .review-stars{
      flex:0 0 auto;
      font-size:14px;
      letter-spacing:1px;
      color:#f59e0b;
      white-space:nowrap;
    }
    .review-text{
      margin:10px 0 0;
      color:var(--muted);
    }
	
	/* Official resources block */
.resources-card{
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 14px;
  background:#fff;
  box-shadow:var(--soft-shadow);
}

.resources-title{
  margin:0 0 6px;
  font-size:16px;
  font-weight:900;
  color:var(--title);
}

.resources-text{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
}

.resources-list{
  margin:0;
  padding-left:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.resources-item{
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  background:#fff;
}

.resources-item a{
  display:inline-block;
  font-weight:900;
  color:var(--title);
  text-decoration:none;
}

.resources-item a:hover{
  text-decoration:underline;
}

.resources-domain{
  margin:3px 0 0;
  font-size:12px;
  color:var(--muted);
}

/* About Us */
.about-card{
  margin-top:16px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 14px;
  background:#fff;
  box-shadow:var(--soft-shadow);
}
.about-card h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:900;
  color:var(--title);
}
.about-card p{
  margin:0;
  color:var(--muted);
}
.logos-row.footer-logos {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;  /* НЕ переносить на новую строку */
  margin: 15px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: auto !important;  /* Гориз. скролл если не влезут */
  white-space: nowrap !important;
}

.logos-row.footer-logos img.logo-img {
  height: 28px !important;
  width: auto !important;
  min-width: 45px !important;
  flex-shrink: 0 !important;  /* Не сжимать логотипы */
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .logos-row.footer-logos {
    gap: 12px !important;
  }
  .logos-row.footer-logos img.logo-img {
    height: 24px !important;
    min-width: 35px !important;
  }
}


.logos-row.footer-logos {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 48px !important;  /* Было 24px, удвоено для баланса */
  flex-wrap: nowrap !important;
  margin: 18px 0 !important;
  padding: 8px 0 !important;
}

.logos-row.footer-logos img.logo-img {
  height: 120px !important;  /* Было 60px */
  width: auto !important;
  min-width: 192px !important;  /* Было 96px */
  max-width: 260px !important;  /* Было 130px */
  flex-shrink: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.logos-row.footer-logos img.logo-img::before {
  content: '' !important;
  display: block !important;
  padding-top: 100% !important;  /* Сохраняет пропорции */
}

.payments-icons{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}

.pay-icon{
  height:26px;
  width:auto;
  object-fit:contain;
}

.topbar .brand {
  display: flex !important;
  align-items: center !important;
}

.topbar .brand-logo {
  height: 50px !important;  /* Настройте размер, как в футере */
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.media-cas-play img[src*="online_pharmacy_works.jpg"] {
  margin-left: -10mm !important;  /* 1 см влево */
}

