:root {
  --like-blue: #1E4DC8;
  --like-red: #E8001C;
  --like-ink: #111827;
  --like-muted: #5B6472;
  --like-line: #E5E9F2;
  --like-soft: #F5F7FB;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --lo-mobile-bar-height: 92px;
}

html body {
  color: var(--like-ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body h1,
body h2,
body h3,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.uagb-heading-text {
  color: var(--like-ink);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

/* Карточки — единый стиль заголовков как на промо */
.lo-offer-grid h3,
.lo-promo-cards h3,
.lo-promo-page-card h3,
.lo-category-grid h3,
.lo-three h3,
.lo-hero-panel h2 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

body h1,
.entry-content h1 {
  max-width: 860px;
  margin-bottom: 14px;
  font-size: 36px;
}

body h2,
.entry-content h2 {
  font-size: 24px;
}

body h3,
.entry-content h3 {
  font-size: 19px;
}

.entry-content p {
  max-width: 760px;
  margin-bottom: 14px;
}

.ast-container,
.site-content .ast-container {
  max-width: 1180px;
}

.site-main > article,
.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 0;
}

.site-logo-img img,
.custom-logo {
  max-height: 54px;
  width: auto;
}

.main-header-menu .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 922px) {
  .main-header-menu,
  .ast-builder-menu-1 .main-header-menu {
    flex-wrap: nowrap;
  }
  .ast-builder-menu-1 .menu-item > .menu-link {
    white-space: nowrap;
  }
}

@media (min-width: 922px) and (max-width: 1280px) {
  .ast-builder-menu-1 .menu-item > .menu-link {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 15px;
  }
}

@media (min-width: 922px) and (max-width: 1060px) {
  .ast-builder-menu-1 .menu-item > .menu-link {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 14px;
  }
}

@media (min-width: 922px) and (max-width: 949px) {
  .ast-builder-menu-1 .menu-item > .menu-link {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 14px;
    white-space: nowrap;
  }
}

.ast-site-header-cart,
.ast-menu-cart-outline,
.woocommerce-mini-cart,
.wc-block-mini-cart,
.cartflows-menu-item {
  display: none !important;
}

.wp-block-button__link,
.ast-button,
.button,
button {
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.lo-primary .wp-block-button__link {
  border-color: var(--like-red);
  background: var(--like-red);
  color: #fff;
}

.lo-hero-clean {
  padding: 54px 0 34px;
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--like-line);
}

.lo-hero-clean h1 {
  font-size: 40px;
}

.lo-hero-clean > .lo-kicker,
.lo-hero-clean > .wp-block-heading,
.lo-hero-clean > .lo-page-lead,
.lo-hero-clean > .wp-block-buttons {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.lo-hero-clean > .lo-kicker,
.lo-hero-clean > h1,
.lo-hero-clean > .wp-block-heading,
.lo-hero-clean > .lo-page-lead {
  margin-top: 0 !important;
}

.lo-hero-clean > .wp-block-buttons {
  justify-content: flex-start;
}

.lo-lead,
.lo-page-lead {
  max-width: 720px;
  color: var(--like-muted);
  font-size: 19px;
}

.lo-three,
.lo-category-grid,
.lo-promo-grid {
  gap: 14px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.lo-category-grid.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lo-category-grid > .wp-block-column {
  min-width: 0;
  margin-left: 0 !important;
  flex-basis: auto !important;
}

.lo-three > .wp-block-column,
.lo-category-grid > .wp-block-column,
.lo-promo-grid > .wp-block-column {
  min-height: 190px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--like-line);
  border-top: 4px solid var(--like-blue);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(17,24,39,.06);
}

.lo-promo-grid > .wp-block-column {
  border-top-color: var(--like-red);
}

@media (max-width: 1024px) {
  .lo-category-grid.wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lo-category-grid.wp-block-columns {
    grid-template-columns: 1fr;
  }
}

/* ─── Promo page wrapper ─────────────────────────────────────────── */
.lo-promo-page {
  padding: 34px 0 18px;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* ─── Disclaimer note ───────────────────────────────────────────── */
.lo-promo-note {
  max-width: 820px;
  padding: 14px 18px;
  margin: 18px 0 8px;
  color: var(--like-muted);
  background: var(--like-soft);
  border-left: 3px solid var(--like-line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

/* ─── Section ───────────────────────────────────────────────────── */
.lo-promo-section-page {
  margin-top: 40px;
}

.lo-promo-page > .lo-promo-section-page:first-child {
  margin-top: 0;
}

.lo-promo-page > .lo-promo-section-page,
.lo-promo-page > .lo-promo-note {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Section header — mirrors contacts hero rhythm */
.lo-promo-section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--like-line);
}

.lo-promo-section-header h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--like-ink);
}

.lo-promo-section-header h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--like-ink);
}

/* ─── Grid ──────────────────────────────────────────────────────── */
.lo-promo-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


/* ─── Card base ─────────────────────────────────────────────────── */
.lo-promo-page-card {
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid var(--like-line);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .04);
  transition: box-shadow .18s ease, transform .18s ease;
}

.lo-promo-page-card:hover {
  box-shadow: 0 4px 16px rgba(17, 24, 39, .1), 0 12px 32px rgba(17, 24, 39, .07);
  transform: translateY(-2px);
}

/* ─── Featured card variant ─────────────────────────────────────── */
.lo-promo-featured {
  background: #fff;
  border-color: rgba(30, 77, 200, .25);
  border-top: 3px solid var(--like-blue);
  box-shadow:
    0 2px 8px rgba(30, 77, 200, .07),
    0 8px 28px rgba(30, 77, 200, .08);
}

.lo-promo-featured:hover {
  box-shadow:
    0 4px 16px rgba(30, 77, 200, .12),
    0 14px 36px rgba(30, 77, 200, .1);
  transform: translateY(-2px);
}

body.page-id-9 .lo-promo-page-grid:not(.lo-promo-page-grid--featured) .lo-promo-page-card {
  border-top: 3px solid var(--like-red);
}

/* ─── Badge ─────────────────────────────────────────────────────── */
.lo-promo-page-card__top {
  margin-bottom: 14px;
}

.lo-promo-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  background: rgba(232, 0, 28, .08);
  color: var(--like-red);
}

.lo-promo-featured .lo-promo-badge--deadline {
  background: rgba(30, 77, 200, .09);
  color: var(--like-blue);
}

/* ─── Card typography ───────────────────────────────────────────── */
.lo-promo-page-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--like-ink);
}

.lo-promo-page-card p,
.lo-promo-page-card li {
  color: var(--like-muted);
  line-height: 1.55;
}

.lo-promo-page-card > p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lo-promo-page-card p:last-child {
  margin-bottom: 0;
}

/* ─── Details / summary ─────────────────────────────────────────── */
.lo-promo-details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--like-line);
}

.lo-promo-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--like-blue);
  user-select: none;
  outline-offset: 3px;
}

.lo-promo-details summary::-webkit-details-marker {
  display: none;
}

.lo-promo-details summary::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  background-color: var(--like-blue);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.22 5.72a.75.75 0 0 1 1.06 0L8 9.44l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L3.22 6.78a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.22 5.72a.75.75 0 0 1 1.06 0L8 9.44l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L3.22 6.78a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: transform .2s ease;
}

.lo-promo-details[open] summary::after {
  transform: rotate(180deg);
}

.lo-promo-details summary:hover {
  color: var(--like-ink);
}

.lo-promo-details summary:hover::after {
  background-color: var(--like-ink);
}

.lo-promo-details__body {
  padding-top: 12px;
}

.lo-promo-details__body ul {
  margin: 8px 0 10px 18px;
  padding: 0;
}

.lo-promo-details__body li {
  margin-bottom: 4px;
  font-size: 15px;
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lo-promo-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lo-band,
.lo-contact-panel {
  padding: 26px;
  margin-top: 26px;
  background: var(--like-soft);
  border-left: 5px solid var(--like-red);
  border-radius: 8px;
}

.lo-contact-panel p {
  margin-bottom: 10px;
}

body:not(.home) .lo-hero-clean {
  padding-top: 45px;
}

body:not(.home) .lo-hero-clean .wp-block-buttons {
  margin-top: 18px;
}

.lo-source-list {
  max-width: 760px;
  margin-left: 0;
}

.lo-source-list li {
  margin-bottom: 8px;
}

.lo-legal-note {
  padding: 14px 16px;
  color: var(--like-muted);
  background: var(--like-soft);
  border-left: 4px solid var(--like-blue);
  border-radius: 8px;
  font-size: 15px;
}

body.blog .ast-archive-description {
  padding: 30px 0 14px;
  margin-bottom: 8px;
  background: transparent;
}

body.blog.ast-separate-container,
body.blog.ast-separate-container .site-content,
body.blog.ast-separate-container #primary {
  background: #fff;
}

body.blog.ast-separate-container #primary {
  margin-top: 0;
  margin-bottom: 0;
}

/* Blog card icon + title row */
body.blog .ast-blog-featured-section {
  display: none;
}

.lo-blog-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.lo-blog-card-head .entry-title {
  margin-bottom: 0;
}

.lo-blog-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--like-blue);
  background: linear-gradient(135deg, rgba(30, 77, 200, .10), rgba(232, 0, 28, .06));
  border: 1px solid rgba(30, 77, 200, .16);
  border-radius: 10px;
}

.lo-blog-card-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lo-blog-hero {
  padding: 34px 0 20px;
  border-bottom: 1px solid var(--like-line);
}

.lo-blog-hero h1 {
  max-width: 860px;
  margin: 0 0 12px;
  color: var(--like-ink);
  font-size: 36px;
  line-height: 1.15;
}

.lo-blog-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--like-muted);
  font-size: 18px;
}

body.blog .ast-archive-title {
  margin-bottom: 8px;
  color: var(--like-ink);
  font-size: 36px;
  line-height: 1.15;
}

body.blog .ast-article-post {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  background: transparent;
}

body.blog .site-main .ast-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 44px;
}

body.blog .site-main .ast-row::before,
body.blog .site-main .ast-row::after {
  display: none;
  content: none;
}

body.blog .ast-article-post.ast-grid-common-col {
  float: none !important;
  width: auto !important;
  min-width: 0;
}

body.blog .ast-article-post .ast-article-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--like-line);
  border-top: 4px solid var(--like-red);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .055);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

body.blog .ast-article-post .ast-article-inner:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 77, 200, .28);
  box-shadow: 0 16px 34px rgba(17, 24, 39, .08);
}

body.blog .post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

body.blog .ast-excerpt-container {
  flex: 1;
}

body.blog .lo-blog-card-head .entry-title {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.2;
}

body.blog .entry-title a {
  color: var(--like-ink);
  text-decoration: none;
}

body.blog .entry-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
}

body.blog .entry-title a:hover {
  color: var(--like-blue);
}

body.blog .entry-title a:focus-visible {
  outline: none;
}

body.blog .entry-title a:focus-visible::after {
  outline: 3px solid rgba(30, 77, 200, .45);
  outline-offset: 4px;
}

body.blog .ast-blog-meta-container,
body.single-post .entry-meta {
  display: none;
}

body.blog .entry-content:empty {
  display: none;
}

body.blog .entry-content p {
  color: var(--like-muted);
}

@media (max-width: 1000px) {
  body.blog .site-main .ast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.blog .site-main .ast-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

body.single-post .entry-title {
  max-width: 860px;
  margin: 0;
  color: var(--like-ink);
  font-size: 40px;
  line-height: 1.15;
}

body.single-post .entry-header {
  padding: 38px 0 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--like-line);
}

body.single-post .entry-header::before {
  content: "Статья";
  display: block;
  margin-bottom: 10px;
  color: var(--like-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.single-post .entry-content h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 25px;
}

.entry-content > .lo-band,
.entry-content > .lo-contact-panel {
  padding: 26px !important;
}

.entry-content .lo-band > h2:first-child,
.entry-content .lo-contact-panel > h2:first-child {
  margin-top: 0 !important;
}

.site-footer,
.ast-footer-copyright {
  background: #0B1B4D;
  color: #fff;
}

.site-footer a,
.ast-footer-copyright a {
  color: #fff;
}

.woocommerce,
.woocommerce-page .content-area {
  display: none;
}

@media (max-width: 768px) {
  body h1,
  .entry-content h1,
  .lo-hero-clean h1 {
    font-size: 30px;
  }

  .lo-hero-clean {
    padding: 34px 0 20px;
  }

  .lo-three > .wp-block-column,
  .lo-category-grid > .wp-block-column,
  .lo-promo-grid > .wp-block-column {
    min-height: 0;
  }

  .lo-promo-page {
    padding: 22px 0 calc(18px + var(--lo-mobile-bar-height, 92px));
  }

  .lo-promo-section-page {
    margin-top: 28px;
  }

  .lo-promo-section-header {
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  .lo-promo-section-header h1 {
    font-size: 28px;
  }

  .lo-promo-section-header h2 {
    font-size: 24px;
  }

  .lo-promo-page-grid,
  .lo-promo-page-grid--featured {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lo-promo-page-card {
    padding: 18px 18px 16px;
  }

  .lo-promo-page-card h3 {
    font-size: 18px;
  }

  .lo-promo-badge {
    font-size: 12px;
    padding: 4px 10px;
  }
}

.site-logo-img img, .custom-logo { filter: none !important; max-width: 160px !important; width: 160px !important; height: auto !important; }
@media (max-width: 768px) { .site-logo-img img, .custom-logo { max-width: 124px !important; width: 124px !important; } }

/* Keep uploaded SVG logo in original colors. Astra Brandstore added SVG recolor filters. */
body .site-logo-img img.custom-logo,
body .custom-logo-link img.custom-logo,
body.ast-theme-transparent-header .site-logo-img img.custom-logo,
body.ast-replace-site-logo-transparent .site-logo-img img.custom-logo,
#masthead .site-logo-img img.custom-logo {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* Header phone/hours block */
.lo-header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 250px;
  line-height: 1.1;
}

.lo-header-phone {
  color: #1E4DC8 !important;
  font-size: 28px;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
}

.lo-header-phone:hover {
  color: #E8001C !important;
}

.lo-header-hours {
  margin-top: 8px;
  color: #666;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.ast-builder-html-element p {
  margin: 0;
}

@media (max-width: 1100px) {
  .lo-header-contact { min-width: 210px; }
  .lo-header-phone { font-size: 23px; }
  .lo-header-hours { font-size: 15px; }
}

@media (max-width: 921px) {
  .lo-header-contact { display: none; }
}

/* LIKEOPTIKA HOME OFFER START */
html body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
}

.entry-content a {
  color: var(--like-blue);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.lo-hero-offer {
  padding: 30px 0 12px !important;
  margin-bottom: 10px;
  background: transparent;
  border-bottom: 1px solid var(--like-line);
}

.lo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  align-items: center;
}

.lo-kicker,
.lo-card-label,
.lo-page-kicker {
  margin: 0 0 10px;
  color: var(--like-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.entry-content p.lo-kicker {
  max-width: none;
  margin: 0 0 10px;
  line-height: 1.2;
}

.lo-hero-copy h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.08;
}

.lo-hero-copy .lo-lead {
  max-width: 780px;
  margin-bottom: 14px;
  color: #455064;
  font-size: 19px;
  line-height: 1.62;
}

.lo-hero-actions {
  gap: 12px;
  margin-bottom: 12px;
}

.lo-hero-actions .wp-block-button__link {
  padding: 14px 22px;
  font-size: 16px;
}

.lo-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--like-muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}

.lo-trust-line li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lo-trust-line li::before {
  content: "✓";
  color: var(--like-blue);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.lo-trust-line a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.lo-trust-line a:hover,
.lo-trust-line a:focus-visible {
  color: var(--like-blue);
}

.lo-place-line {
  margin: 0;
  color: #647084;
  font-size: 15px;
  font-weight: 700;
}

.lo-hero-panel {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--like-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(17, 24, 39, .08);
}

.lo-hero-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.lo-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lo-check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid #EEF1F6;
  color: #334155;
  font-weight: 700;
}

.lo-check-list li:first-child {
  border-top: 0;
}

.lo-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 10px;
  background: var(--like-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(30, 77, 200, .12);
}

.lo-section {
  margin: 16px 0 22px;
}

body.home .entry-content > .wp-block-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.home .entry-content > .wp-block-group + .wp-block-group {
  margin-top: 0 !important;
}

body.home .entry-content > .lo-section,
body.home .entry-content > .lo-seo-services-home {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

body.home .entry-content > .lo-section > h2,
body.home .entry-content > .lo-section > .wp-block-heading,
body.home .entry-content > .lo-seo-services-home > h2,
body.home .entry-content > .lo-seo-services-home > .wp-block-heading {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.18;
}

.lo-offer-grid,
.lo-category-grid,
.lo-promo-cards {
  gap: 14px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.lo-offer-grid {
  align-items: stretch !important;
}

.lo-offer-grid > .wp-block-column,
.lo-category-grid > .wp-block-column,
.lo-promo-cards > .wp-block-column {
  min-height: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--like-line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .055);
}

.lo-offer-grid > .wp-block-column {
  border-top: 4px solid var(--like-blue);
}

.entry-content .lo-offer-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: var(--like-ink) !important;
  font-weight: 400;
  text-decoration: none !important;
}

.entry-content .lo-offer-card-link:hover,
.entry-content .lo-offer-card-link:focus-visible {
  color: var(--like-ink) !important;
  text-decoration: none !important;
  outline: none;
}

.entry-content .lo-offer-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.entry-content .lo-offer-card-link h3 {
  min-width: 0;
  margin: 0;
  color: var(--like-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
  text-decoration: none !important;
}

.entry-content .lo-offer-card-link p {
  color: var(--like-muted);
  font-weight: 400;
  line-height: 1.55;
  text-decoration: none !important;
}

.entry-content .lo-offer-card-link > span:not(.lo-offer-icon) {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  color: var(--like-blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
}

.entry-content .lo-offer-card-link > span:not(.lo-offer-icon)::after {
  content: "→";
  margin-left: 6px;
}

.entry-content .lo-offer-icon {
  display: inline-flex !important;
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 0;
  color: var(--like-blue);
  background: linear-gradient(135deg, rgba(30, 77, 200, .10), rgba(232, 0, 28, .06));
  border: 1px solid rgba(30, 77, 200, .16);
  border-radius: 12px;
  line-height: 0;
  text-decoration: none !important;
}

.entry-content .lo-offer-icon svg {
  display: block !important;
  width: 23px !important;
  height: 23px !important;
  max-width: 23px !important;
  max-height: 23px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 922px) and (max-width: 1180px) {
  .entry-content .lo-offer-head {
    gap: 10px;
  }

  .entry-content .lo-offer-card-link h3 {
    font-size: 19px;
  }
}

.lo-category-grid > .wp-block-column {
  border-top: 4px solid var(--like-blue);
  border-left: 1px solid var(--like-line);
}

.lo-promo-cards > .wp-block-column {
  border-top: 4px solid var(--like-red);
  background: #fff;
}

.lo-promo-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 20px;
  color: var(--like-ink) !important;
  font-weight: 400;
  text-decoration: none !important;
}

.lo-promo-card-link:hover,
.lo-promo-card-link:focus-visible {
  color: var(--like-ink) !important;
  text-decoration: none !important;
  outline: none;
}

.entry-content .lo-promo-card-link h3 {
  margin: 0 0 10px;
  color: var(--like-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none !important;
}

.entry-content .lo-promo-card-link p {
  color: var(--like-muted);
  font-weight: 400;
  line-height: 1.55;
  text-decoration: none !important;
}

.entry-content .lo-promo-card-link p:last-child {
  margin-bottom: 0;
}

.entry-content .lo-promo-deadline {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  color: var(--like-blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
}

.lo-promo-cards > .wp-block-column:has(.lo-promo-card-link) {
  padding: 0;
  cursor: pointer;
  transition: box-shadow .15s, transform .15s;
}

.lo-promo-cards > .wp-block-column:has(.lo-promo-card-link):hover,
.lo-promo-cards > .wp-block-column:has(.lo-promo-card-link:focus-visible) {
  box-shadow: 0 14px 32px rgba(17, 24, 39, .09);
  transform: translateY(-1px);
}

.lo-offer-grid h3,
.lo-category-grid h3,
.lo-promo-cards h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.lo-offer-grid p,
.lo-category-grid p,
.lo-promo-cards p {
  color: #4B5565;
}

.lo-offer-grid p:last-child,
.lo-category-grid p:last-child,
.lo-promo-cards p:last-child {
  margin-bottom: 0;
}

.lo-find-us {
  padding: 24px !important;
  margin: 18px 0 0;
  background: #F7F9FC;
  border-left: 5px solid var(--like-red);
  border-radius: 8px;
}

.lo-find-us h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

@media (max-width: 921px) {
  .lo-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .lo-hero-offer {
    padding: 22px 0 14px !important;
  }

  body.home .entry-content > .wp-block-group + .wp-block-group {
    margin-top: 0 !important;
  }

  .lo-section {
    margin: 12px 0 18px;
  }

  body.home .entry-content > .lo-section,
  body.home .entry-content > .lo-seo-services-home {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .lo-hero-copy h1 {
    font-size: 30px;
  }

  .lo-hero-copy .lo-lead {
    font-size: 17px;
  }

  body.home .entry-content > .lo-section > h2,
  body.home .entry-content > .lo-section > .wp-block-heading,
  body.home .entry-content > .lo-seo-services-home > h2,
  body.home .entry-content > .lo-seo-services-home > .wp-block-heading {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.2;
  }

  .lo-find-us h2 {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .lo-hero-panel,
  .lo-offer-grid > .wp-block-column,
  .lo-category-grid > .wp-block-column,
  .lo-promo-cards > .wp-block-column,
  .lo-find-us {
    padding: 18px;
  }

  .lo-promo-cards > .wp-block-column:has(.lo-promo-card-link) {
    padding: 0;
  }

  .lo-promo-card-link {
    padding: 18px;
  }
}
/* LIKEOPTIKA HOME OFFER END */

/* LIKEOPTIKA BRANDS START */
.lo-promo-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lo-promo-cards > .wp-block-column {
  margin-left: 0 !important;
}

.lo-all-promos-card {
  background: #F7F9FC !important;
  border-top-color: var(--like-red) !important;
}

.lo-brand-strip {
  padding: 18px 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--like-line);
  border-bottom: 1px solid var(--like-line);
}

.lo-brand-strip h2,
.lo-brand-strip p {
  padding-left: 22px;
  padding-right: 22px;
}

.lo-brand-strip h2 {
  margin-top: 0;
}

.lo-brand-carousel {
  position: relative;
  margin: 12px 0 8px;
  overflow: hidden;
}

.lo-brand-carousel::before,
.lo-brand-carousel::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
}

.lo-brand-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.lo-brand-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.lo-brand-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 4px 22px 8px;
  animation: lo-brand-marquee 28s linear infinite;
}

.lo-brand-carousel:hover .lo-brand-track {
  animation-play-state: paused;
}

.lo-brand-card {
  display: inline-flex;
  min-width: 150px;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  color: #111827;
  background:
    linear-gradient(135deg, rgba(30,77,200,.10), rgba(232,0,28,.06)),
    #fff;
  border: 1px solid #E1E7F0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .055);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

@keyframes lo-brand-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .lo-brand-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

@media (max-width: 1000px) {
  .lo-promo-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .lo-promo-cards {
    grid-template-columns: 1fr;
  }

  .lo-brand-strip {
    padding: 14px 0;
  }

  .lo-brand-card {
    min-width: 132px;
    min-height: 62px;
    font-size: 16px;
  }
}
/* LIKEOPTIKA BRANDS END */

/* ── DESIGN REFRESH 2026-04-27 ── */

/* Унификация серых через переменные */
.lo-hero-copy .lo-lead,
.lo-place-line,
.lo-check-list li,
.lo-offer-grid p,
.lo-category-grid p,
.lo-promo-cards p,
.lo-promo-page-card p,
.lo-promo-page-card li {
  color: var(--like-muted);
}

/* Атмосферный фон героя — геометрические круги (мотив линз) */
.lo-hero-offer {
  position: relative;
  overflow: hidden;
  background: transparent !important;
}

.lo-hero-offer::before,
.lo-hero-offer::after {
  content: none;
  display: none;
}

.lo-hero-offer::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -80px;
  border: 40px solid rgba(30, 77, 200, .06);
}

.lo-hero-offer::after {
  width: 220px;
  height: 220px;
  bottom: -60px;
  right: 180px;
  border: 24px solid rgba(232, 0, 28, .06);
}

/* Hover на offer-grid карточках (как у promo-cards) */
.lo-offer-grid > .wp-block-column {
  transition: box-shadow .18s ease, transform .18s ease;
  cursor: pointer;
}

.lo-offer-grid > .wp-block-column:hover,
.lo-offer-grid > .wp-block-column:has(.lo-offer-card-link:focus-visible) {
  box-shadow: 0 14px 32px rgba(17, 24, 39, .10);
  transform: translateY(-2px);
}

.lo-offer-grid > .wp-block-column:has(.lo-offer-card-link:focus-visible),
.lo-promo-cards > .wp-block-column:has(.lo-promo-card-link:focus-visible) {
  outline: 3px solid rgba(30, 77, 200, .38);
  outline-offset: 4px;
}

/* Нумерованный checklist в hero-панели вместо точек */
.lo-check-list {
  counter-reset: lo-step;
}

.lo-check-list li {
  counter-increment: lo-step;
  padding-left: 38px;
  font-weight: 500;
  color: var(--like-ink);
}

.lo-check-list li::before {
  content: counter(lo-step);
  width: 22px;
  height: 22px;
  top: 12px;
  background: var(--like-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(30, 77, 200, .12);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Чистый фон brand-card (убираем мутный сине-красный градиент) */
.lo-brand-card {
  background: var(--like-soft) !important;
  border-color: var(--like-line);
  font-family: var(--font-display);
  font-size: 17px;
}

/* lo-find-us в стиле карточек (убираем устаревший left-border) */
.lo-find-us {
  border-left: none !important;
  border-top: 4px solid var(--like-red) !important;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .06);
  background: #fff !important;
}

/* lo-band и lo-contact-panel — тот же паттерн */
.lo-band,
.lo-contact-panel {
  border-left: none;
  border-top: 4px solid var(--like-red);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
  background: #fff;
}

/* Stagger-анимация появления секций главной */
@keyframes lo-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.home .lo-hero-offer {
  animation: lo-fade-up .55s ease both;
}

body.home .lo-section {
  animation: lo-fade-up .55s ease both;
}

body.home .lo-section--delay-1 { animation-delay: .08s; }
body.home .lo-section--delay-2 { animation-delay: .16s; }
body.home .lo-section--delay-3 { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  body.home .lo-hero-offer,
  body.home .lo-section {
    animation: none;
  }
}

/* footer — display-шрифт для брендинга */
.site-footer,
.ast-footer-copyright {
  font-family: var(--font-body);
}

/* ── END DESIGN REFRESH ── */

/* ── CONTACTS PAGE ── */

.lo-contacts-hero {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 38px 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--like-line);
}

.lo-contacts-hero h1,
.lo-contacts-hero .wp-block-heading {
  margin: 0 0 6px;
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0;
  color: var(--like-ink);
}

.lo-page-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--like-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lo-contacts-hero .lo-page-sub {
  margin: 0;
  font-size: 16px;
  color: var(--like-muted);
}

.lo-contacts-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-bottom: 4px;
}

.lo-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--like-blue) !important;
  background: #fff;
  border: 1px solid var(--like-line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(17, 24, 39, .05);
  transition: transform .15s, border-color .15s, color .15s, background .15s;
}

.lo-contact-action:hover {
  border-color: rgba(30, 77, 200, .35);
  color: var(--like-red) !important;
  transform: translateY(-1px);
}

.lo-contact-action:focus-visible,
.lo-route-link:focus-visible,
.lo-btn-messenger:focus-visible {
  outline: 3px solid rgba(30, 77, 200, .38);
  outline-offset: 3px;
}

.lo-contact-action-primary {
  color: #fff !important;
  background: var(--like-red);
  border-color: var(--like-red);
}

.lo-contact-action-primary:hover {
  color: #fff !important;
  background: #cf0019;
  border-color: #cf0019;
}

.lo-contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: start;
  margin-top: 0;
  margin-bottom: 26px;
}

.lo-contacts-data {
  display: flex;
  flex-direction: column;
  padding: 2px 0;
}

.lo-contact-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
  align-items: flex-start;
}

.lo-contact-item:first-child { padding-top: 0; }

.lo-contact-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--like-blue);
  background: rgba(30, 77, 200, .09);
  border-radius: 50%;
}

.lo-contact-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.lo-contact-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.lo-contact-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--like-muted);
}

.lo-phone-big {
  width: fit-content;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--like-blue) !important;
  text-decoration: none !important;
  line-height: 1.15;
  transition: color .15s;
}
.lo-phone-big:hover { color: var(--like-red) !important; }

.lo-hours-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--like-ink);
}

.lo-hours-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(30, 77, 200, .12);
  color: var(--like-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  margin-top: 2px;
}

.lo-contact-body strong {
  font-size: 16px;
  color: var(--like-ink);
}

.lo-contact-body span {
  font-size: 14px;
  color: var(--like-muted);
  line-height: 1.45;
}

.lo-route-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: 4px;
  color: var(--like-blue) !important;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
  transition: color .15s;
}

.lo-route-link::after {
  content: "→";
  margin-left: 6px;
  transition: transform .15s;
}

.lo-route-link:hover {
  color: var(--like-red) !important;
}

.lo-route-link:hover::after {
  transform: translateX(2px);
}

.lo-contact-messengers {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 2px;
  flex-wrap: wrap;
}

.lo-btn-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
  transition: opacity .15s, transform .15s;
  line-height: 1;
}
.lo-btn-messenger:hover { opacity: .88; transform: translateY(-1px); }
.lo-btn-messenger svg {
  flex-shrink: 0;
  fill: currentColor;
}

.lo-btn-tg  { background: #2AABEE; color: #fff !important; }
.lo-btn-vk  { background: #0077FF; color: #fff !important; }

.lo-contacts-map {
  position: sticky;
  top: 80px;
  height: 420px;
  min-height: 360px;
  border: 1px solid var(--like-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .09);
}

.lo-contacts-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 920px) {
  .lo-contacts-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .lo-contacts-hero-actions {
    justify-content: flex-start;
  }

  .lo-contacts-grid {
    grid-template-columns: 1fr;
  }

  .lo-contacts-map {
    position: static;
  }
}

@media (max-width: 768px) {
  .lo-contacts-hero {
    gap: 14px;
    padding: 28px 0 18px;
    margin-bottom: 18px;
  }

  .lo-contacts-hero h1,
  .lo-contacts-hero .wp-block-heading {
    font-size: 28px !important;
  }

  .lo-contacts-hero .lo-page-sub {
    font-size: 15px;
    line-height: 1.45;
  }

  .lo-contacts-hero-actions {
    display: none;
  }

  .lo-contact-action {
    min-height: 40px;
    padding: 10px 14px;
  }

  .lo-contact-item {
    gap: 12px;
    padding: 16px 0;
  }

  .lo-contact-icon {
    width: 34px;
    height: 34px;
  }

  .lo-contacts-map {
    height: 320px;
    min-height: 320px;
    margin-top: 4px;
  }

  .lo-contact-messengers {
    flex-wrap: wrap;
  }

  .lo-contact-messengers .lo-btn-messenger {
    flex: 1 1 auto;
    min-width: 160px;
  }

  .lo-phone-big {
    font-size: 23px !important;
  }

  .lo-contacts-grid {
    margin-bottom: var(--lo-mobile-bar-height);
  }
}

/* ── END CONTACTS PAGE ── */

/* ── REVIEWS PAGE ── */

/* Buttons */
.lo-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--like-blue);
  background: var(--like-blue);
  color: #fff !important;
  transition: opacity 0.15s, transform 0.15s;
  font-family: inherit;
  line-height: 1.4;
}
.lo-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.lo-btn--outline {
  background: transparent;
  color: var(--like-blue) !important;
}
.lo-btn--outline:hover { background: var(--like-blue); color: #fff !important; }
.lo-btn--primary {
  background: var(--like-blue);
  color: #fff !important;
}

/* Section header for latest block */
.lo-reviews-latest .lo-section-header {
  margin-bottom: 28px;
}
.lo-reviews-latest .lo-section-header h2 {
  margin: 4px 0 0;
  font-size: 1.6rem;
  font-weight: 800;
}

.lo-reviews-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.lo-reviews-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 32px;
  padding: 22px;
  border: 1px solid #DCE5FF;
  border-left: 4px solid var(--like-blue);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #F7FAFF 0%, #fff 58%, #FFF8E1 100%);
  box-shadow: 0 18px 42px rgba(30, 77, 200, 0.08);
}
.lo-reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lo-reviews-avg {
  font-size: 3rem;
  font-weight: 800;
  color: var(--like-blue);
  line-height: 1;
}
.lo-reviews-score {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.lo-reviews-stars {
  display: flex;
  gap: 2px;
  line-height: 1;
}
.lo-reviews-aggregate .lo-star { color: #D1D5DB; font-size: 1.35rem; }
.lo-reviews-aggregate .lo-star.lo-star--on { color: #FFB800; }
.lo-reviews-count { color: #6B7280; font-size: 0.95rem; }
.lo-reviews-cta {
  position: relative;
  min-width: 0;
  padding: 2px 96px 2px 0;
}
.lo-reviews-cta-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(30, 77, 200, 0.1);
  color: var(--like-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lo-reviews-cta-text {
  max-width: 420px;
  margin: 10px 0 14px;
  color: #1F2937;
  font-size: 1rem;
  line-height: 1.5;
}
.lo-reviews-cta-link { box-shadow: 0 10px 22px rgba(30, 77, 200, 0.2); }
.lo-reviews-map-mark {
  position: absolute;
  top: 2px;
  right: 0;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 18px 18px 18px 4px;
  background: var(--like-blue);
  color: #FFB800;
  font-size: 2rem;
  font-weight: 800;
  transform: rotate(-6deg);
  box-shadow: 0 14px 28px rgba(30, 77, 200, 0.22);
}
@media (max-width: 760px) {
  .lo-reviews-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .lo-reviews-cta { padding-right: 0; }
  .lo-reviews-map-mark { display: none; }
  .lo-reviews-avg { font-size: 2.5rem; }
  .lo-reviews-cta-link { width: 100%; text-align: center; }
}

/* Cards grid */
.lo-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .lo-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lo-reviews-grid { grid-template-columns: 1fr; } }

/* Card */
.lo-review-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-top: 3px solid var(--like-blue);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lo-review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.lo-review-author { font-weight: 600; font-size: 0.95rem; color: #111827; }
.lo-review-stars  { white-space: nowrap; }
.lo-star     { color: #D1D5DB; }
.lo-star.lo-star--on { color: #FFB800; }
.lo-review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lo-review-date { font-size: 0.8rem; color: #9CA3AF; }
.lo-review-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.lo-review-badge--yandex { background: var(--like-blue); color: #fff; }
.lo-review-badge--site   { background: #F3F4F6; color: #374151; }
.lo-review-text { font-size: 0.9rem; color: #374151; line-height: 1.55; margin: 0; }

/* Empty state */
.lo-reviews-empty {
  padding: 40px 20px;
  text-align: center;
  color: #6B7280;
  background: #f8f9fb;
  border-radius: 8px;
  margin-bottom: 32px;
}

/* Pagination */
.lo-reviews-pagination { text-align: center; margin-bottom: 40px; }

/* Latest block on homepage */
.lo-reviews-latest { padding: 48px 0; }
.lo-reviews-latest .lo-reviews-grid--latest { margin-bottom: 24px; }
.lo-reviews-more { text-align: center; }

/* Review form */
.lo-review-form-wrap {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #E5E7EB;
}
.lo-review-form-wrap h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; }
.lo-review-form { max-width: 520px; display: flex; flex-direction: column; gap: 16px; }
.lo-form-field  { display: flex; flex-direction: column; gap: 6px; }
.lo-form-field label { font-size: 0.9rem; font-weight: 600; color: #374151; }
.lo-form-field input[type="text"],
.lo-form-field textarea {
  padding: 10px 12px;
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.lo-form-field input[type="text"]:focus,
.lo-form-field textarea:focus { outline: none; border-color: var(--like-blue); }

/* Star picker (radio reverse trick) */
.lo-star-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.lo-star-picker input[type="radio"] { display: none; }
.lo-star-picker label { font-size: 2rem; color: #D1D5DB; cursor: pointer; transition: color 0.1s; line-height: 1; }
.lo-star-picker input:checked ~ label,
.lo-star-picker label:hover,
.lo-star-picker label:hover ~ label { color: #FFB800; }

/* Form messages */
.lo-form-msg { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 0.9rem; }
.lo-form-msg--success { background: #D1FAE5; color: #065F46; }
.lo-form-msg--notice  { background: #DBEAFE; color: #1E40AF; }
.lo-form-msg--error   { background: #FEE2E2; color: #991B1B; }

/* Honeypot */
.lo-hp { display: none !important; }

/* ── END REVIEWS PAGE ── */
