/* =============================================================================
 * Lemann Home v3.16 — стили (СГЕНЕРИРОВАНО ИЗ ПРОТОТИПА)
 * Селекторы префиксированы 'body.lemann-home-v316'.
 * ============================================================================= */

/* === ОВЕРРАЙД ТЕМЫ BOOKORY — контейнер на всю ширину ===
 * Применяется только на главной (lemann-home), но НЕ на /my-account/library/,
 * где class lemann-home-v316 добавлен ради card-стилей, а layout должен оставаться от Bookory. */
body.lemann-home-v316:not(.lemann-library-page) #content,
body.lemann-home-v316:not(.lemann-library-page) .site-content,
body.lemann-home-v316:not(.lemann-library-page) .site-main,
body.lemann-home-v316:not(.lemann-library-page) .content-area,
body.lemann-home-v316:not(.lemann-library-page) .entry-content,
body.lemann-home-v316:not(.lemann-library-page) .page-content,
body.lemann-home-v316:not(.lemann-library-page) main {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.lemann-home-v316:not(.lemann-library-page) *,
body.lemann-home-v316:not(.lemann-library-page) *::before,
body.lemann-home-v316:not(.lemann-library-page) *::after {
 box-sizing: border-box; margin: 0; padding: 0;
}
body.lemann-home-v316.lemann-library-page *,
body.lemann-home-v316.lemann-library-page *::before,
body.lemann-home-v316.lemann-library-page *::after {
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body.lemann-home-v316 {

      font-family: 'Manrope', -apple-system, system-ui, sans-serif;
      background: #FAFAF7;
      color: #1A1A1A;
      font-size: 14px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
}

body.lemann-home-v316 a {
 color: inherit; text-decoration: none;
}

body.lemann-home-v316 button {
 background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; color: inherit;
}

body.lemann-home-v316 img {
 max-width: 100%; display: block;
}

body.lemann-home-v316 .container {
 max-width: 1500px; margin: 0 auto; padding: 0 24px;
}

body.lemann-home-v316 .site-header {

      background: white;
      border-bottom: 1px solid #ECECE6;
      padding: 12px 0;
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(10px);
}

body.lemann-home-v316 .header-row {
 display: flex; align-items: center; gap: 28px;
}

body.lemann-home-v316 .logo {

      font-family: 'Unbounded', sans-serif;
      font-weight: 700;
      font-size: 22px;
      letter-spacing: -0.8px;
      flex-shrink: 0;
      line-height: 1;
}

body.lemann-home-v316 .logo span {
 color: #D85A30;
}

body.lemann-home-v316 .nav {
 display: flex; gap: 24px; font-size: 14.5px; font-weight: 600;
}

body.lemann-home-v316 .nav a {
 color: #2A2A2A; transition: color 0.15s; position: relative; padding: 4px 0; letter-spacing: -0.1px;
}

body.lemann-home-v316 .nav a:hover {
 color: #D85A30;
}

body.lemann-home-v316 .nav a.active {
 color: #D85A30; font-weight: 600;
}

body.lemann-home-v316 .nav a.active::after {

      content: ''; position: absolute; bottom: -18px; left: 0; right: 0;
      height: 2px; background: #D85A30;
}

body.lemann-home-v316 .search {
 flex: 1; max-width: 380px; position: relative;
}

body.lemann-home-v316 .search input {

      width: 100%; height: 40px; padding: 0 16px 0 42px;
      background: #F4F4EE; border: 1.5px solid transparent;
      border-radius: 10px; font-family: inherit; font-size: 13px;
      color: #1A1A1A; outline: none; transition: all 0.15s;
}

body.lemann-home-v316 .search input::placeholder {
 color: #999;
}

body.lemann-home-v316 .search input:focus {
 border-color: #D85A30; background: white;
}

body.lemann-home-v316 .search-icon {

      position: absolute; left: 14px; top: 50%;
      transform: translateY(-50%); color: #888; pointer-events: none;
}

body.lemann-home-v316 .header-actions {
 display: flex; gap: 8px; margin-left: auto; align-items: center;
}

body.lemann-home-v316 .header-icon {

      width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
      color: #555; border-radius: 10px; transition: all 0.15s; position: relative;
}

body.lemann-home-v316 .header-icon:hover {
 background: #F4F4EE; color: #D85A30;
}

body.lemann-home-v316 .header-icon .badge {

      position: absolute; top: 6px; right: 6px;
      background: #D85A30; color: white;
      font-size: 10px; font-weight: 700;
      min-width: 16px; height: 16px; padding: 0 4px;
      border-radius: 8px; display: flex; align-items: center; justify-content: center; line-height: 1;
}

body.lemann-home-v316 .btn-login {

      display: inline-flex; align-items: center; gap: 6px;
      padding: 10px 22px; background: #D85A30; color: white;
      border-radius: 10px; font-weight: 700; font-size: 13px;
      transition: all 0.15s; box-shadow: 0 2px 8px rgba(216, 90, 48, 0.2);
      letter-spacing: 0.2px;
}

body.lemann-home-v316 .btn-login:hover {
 background: #B84520; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(216, 90, 48, 0.32);
}

body.lemann-home-v316 .btn-login svg {
 width: 16px; height: 16px;
}

body.lemann-home-v316 .user-menu {

      position: relative;
      margin-left: 4px;
}

body.lemann-home-v316 .user-avatar {

      display: inline-flex; align-items: center; gap: 4px;
      padding: 3px 8px 3px 3px;
      border: 1.5px solid #E8E5DD;
      border-radius: 100px;
      background: white;
      transition: all 0.18s;
      cursor: pointer;
}

body.lemann-home-v316 .user-avatar:hover {

      border-color: #16A34A;
      box-shadow: 0 4px 14px rgba(22,163,74,0.18);
}

body.lemann-home-v316 .user-avatar.logged-in {

      border-color: #16A34A;
      box-shadow: 0 0 0 2px rgba(22,163,74,0.12);
}

body.lemann-home-v316 .avatar-circle {

      width: 30px; height: 30px;
      border-radius: 50%;
      background: linear-gradient(135deg, #F0EDE5 0%, #E2DDD2 100%);
      color: #888;
      display: inline-flex; align-items: center; justify-content: center;
      flex-shrink: 0;
}

body.lemann-home-v316 .user-avatar.logged-in .avatar-circle {

      background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
      color: #16A34A;
}

body.lemann-home-v316 .avatar-circle svg {
 width: 17px; height: 17px;
}

body.lemann-home-v316 .avatar-chevron {

      color: #999;
      display: inline-flex;
      transition: transform 0.18s;
}

body.lemann-home-v316 .avatar-chevron svg {
 width: 12px; height: 12px;
}

body.lemann-home-v316 .user-menu:hover .avatar-chevron {
 transform: rotate(180deg); color: #16A34A;
}

body.lemann-home-v316 .user-dropdown {

      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 220px;
      background: white;
      border: 1px solid #E8E5DD;
      border-radius: 14px;
      box-shadow:
        0 12px 40px rgba(0,0,0,0.12),
        0 4px 12px rgba(0,0,0,0.06);
      padding: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: all 0.2s cubic-bezier(.2,.7,.2,1);
      z-index: 200;
}

body.lemann-home-v316 .user-dropdown::before {

      content: ''; position: absolute;
      top: -8px; left: 0; right: 0; height: 8px;
}

body.lemann-home-v316 .user-menu:hover .user-dropdown-out, body.lemann-home-v316 .user-menu:focus-within .user-dropdown-out {

      opacity: 1; visibility: visible; transform: translateY(0);
}

body.lemann-home-v316 .user-menu.is-logged-in .user-dropdown-out {
 display: none !important;
}

body.lemann-home-v316 .user-menu:not(.is-logged-in) .user-dropdown-in {
 display: none !important;
}

body.lemann-home-v316 .user-menu.is-logged-in:hover .user-dropdown-in, body.lemann-home-v316 .user-menu.is-logged-in:focus-within .user-dropdown-in {

      opacity: 1; visibility: visible; transform: translateY(0);
}

body.lemann-home-v316 .user-greeting {

      padding: 12px 14px 10px;
      font-size: 14px; font-weight: 700;
      color: #1A1A1A;
      border-bottom: 1px solid #ECECE6;
      margin-bottom: 6px;
}

body.lemann-home-v316 .user-greeting span {

      display: block;
      font-size: 12px; font-weight: 500;
      color: #888;
      margin-top: 3px;
}

body.lemann-home-v316 .user-item {

      display: flex; align-items: center; gap: 12px;
      padding: 10px 14px;
      font-size: 13.5px; font-weight: 500;
      color: #1A1A1A;
      border-radius: 9px;
      transition: all 0.12s;
      position: relative;
}

body.lemann-home-v316 .user-item:hover {

      background: #F4F4EE;
      color: #16A34A;
}

body.lemann-home-v316 .user-item svg {
 width: 17px; height: 17px; flex-shrink: 0; color: #555; transition: color 0.12s;
}

body.lemann-home-v316 .user-item:hover svg {
 color: #16A34A;
}

body.lemann-home-v316 .user-item-primary {

      background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
      color: white !important;
      margin: 4px 0;
      box-shadow: 0 4px 14px rgba(22,163,74,0.25);
}

body.lemann-home-v316 .user-item-primary svg {
 color: white !important;
}

body.lemann-home-v316 .user-item-primary:hover {

      background: linear-gradient(135deg, #15803D 0%, #14532D 100%);
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(22,163,74,0.35);
}

body.lemann-home-v316 .user-item-badge {

      margin-left: auto;
      background: #D85A30;
      color: white;
      font-size: 11px; font-weight: 700;
      min-width: 20px; height: 20px;
      padding: 0 6px;
      border-radius: 10px;
      display: inline-flex; align-items: center; justify-content: center;
      line-height: 1;
}

body.lemann-home-v316 .user-divider {

      height: 1px;
      background: #ECECE6;
      margin: 6px 8px;
}

body.lemann-home-v316 .user-item-logout {

      color: #999;
}

body.lemann-home-v316 .user-item-logout:hover {

      background: #FEF2F2;
      color: #DC2626;
}

body.lemann-home-v316 .user-item-logout:hover svg {
 color: #DC2626;
}

body.lemann-home-v316 main {
 padding: 8px 0 60px;
}

body.lemann-home-v316 .row {

      display: block;
      margin-bottom: 14px;
      padding-bottom: 14px;
      border-bottom: 1px solid #E8E5DD;
}

body.lemann-home-v316 .row:last-child {
 border-bottom: none;
}

body.lemann-home-v316 .row-head {

      display: flex; align-items: baseline;
      margin-bottom: 8px; gap: 16px;
}

body.lemann-home-v316 .row-title-h {

      margin: 0; font-weight: inherit;
}

body.lemann-home-v316 .row-title {

      font-family: 'Manrope', sans-serif;
      font-size: 21px; font-weight: 800; font-style: italic; line-height: 1.1;
      letter-spacing: -0.6px; color: #1A1A1A;
      display: flex; align-items: center; gap: 10px;
      cursor: pointer; transition: color 0.15s; white-space: nowrap;
}

body.lemann-home-v316 .row-title:hover {
 color: #D85A30;
}

body.lemann-home-v316 .row-title-arrow {
 color: #D85A30; transition: transform 0.2s; font-weight: 400;
}

body.lemann-home-v316 .row-title:hover .row-title-arrow {
 transform: translateX(4px);
}

body.lemann-home-v316 .row-meta {
 font-size: 12px; color: #888; font-weight: 500; white-space: nowrap;
 overflow-x: auto;
 scrollbar-width: none;
 -ms-overflow-style: none;
 mask-image: linear-gradient(to right, black 90%, transparent 100%);
 -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

body.lemann-home-v316 .row-meta::-webkit-scrollbar {
 display: none;
}

body.lemann-home-v316 .row-meta.hot {
 color: #C0392B; font-weight: 600;
}

body.lemann-home-v316 .carousel {

      position: relative;
}

body.lemann-home-v316 .track {

      display: flex; gap: 14px;

      padding: 28px 2px 6px 14px;
      overflow-x: auto;
      overflow-y: visible !important;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scrollbar-width: none;
      -ms-overflow-style: none;
      cursor: grab;
}

body.lemann-home-v316 .track:active {
 cursor: grabbing;
}

body.lemann-home-v316 .track::-webkit-scrollbar {
 display: none;
}

body.lemann-home-v316 .track.dragging {
 scroll-behavior: auto;
}

body.lemann-home-v316 .track.dragging .card {
 pointer-events: none;
}

body.lemann-home-v316 .row-arrow {

      position: absolute;
      top: 41.7%;
      transform: translateY(-50%);
      z-index: 30;
      width: 44px;
      height: 64px;
      background: white;
      border-radius: 10px;
      box-shadow:
        0 4px 16px rgba(0,0,0,0.10),
        0 2px 4px rgba(0,0,0,0.06),
        0 0 0 1px rgba(0,0,0,0.04);
      color: #1A1A1A;
      display: flex; align-items: center; justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.18s ease;
      cursor: pointer;
}

body.lemann-home-v316.lemann-arrows-visible .row-arrow {
      opacity: 0.7;
      pointer-events: auto;
      transition: opacity 0.15s ease 0s;
}

body.lemann-home-v316 .row-arrow:hover {

      color: #D85A30;
      opacity: 1;
      transform: translateY(-50%) scale(1.06);
      box-shadow:
        0 8px 24px rgba(0,0,0,0.15),
        0 4px 8px rgba(0,0,0,0.08),
        0 0 0 1px rgba(216, 90, 48, 0.3);
}

body.lemann-home-v316 .row-arrow:active {
 transform: translateY(-50%) scale(0.98);
}

body.lemann-home-v316 .row-arrow:disabled {
 opacity: 0; pointer-events: none;
}

body.lemann-home-v316 .row-arrow svg {
 width: 24px; height: 24px; stroke-width: 2.5;
}

body.lemann-home-v316 .row-arrow.prev {
 left: -28px;
}

body.lemann-home-v316 .row-arrow.next {
 right: -28px;
}

body.lemann-home-v316 .card-link {
      display: block;
      color: inherit;
      text-decoration: none;
      -webkit-tap-highlight-color: transparent;
      flex: 0 0 calc(100% / 7.5 - 12.2px);
      min-width: 0;
      scroll-snap-align: start;
}

body.lemann-home-v316 .card {

      min-width: 0; scroll-snap-align: start;
      cursor: pointer; user-select: none;
      position: relative;
}

body.lemann-home-v316 .cover-wrap {

      position: relative;
}

body.lemann-home-v316 .cover {

      position: relative;
      aspect-ratio: 2 / 3;
      border-radius: 12px;
      overflow: hidden;
      background: #2A2625;
      box-shadow: 0 2px 10px rgba(0,0,0,0.10);
      transition: transform 0.25s, box-shadow 0.25s;
}

body.lemann-home-v316 .card:hover .cover {

      transform: translateY(-4px);
      box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

body.lemann-home-v316 .cover-img {

      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
}

body.lemann-home-v316 .card:hover .cover-img {
 transform: scale(1.04);
}

body.lemann-home-v316 .cover::after {

      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
      pointer-events: none; z-index: 1;
}

body.lemann-home-v316 .card.featured {
      border-radius: 14px;
}

body.lemann-home-v316 .card.featured .cover {
      border: 2px solid #00C853 !important;
      border-radius: 12px;
      outline: 2px solid #16A34A;
      outline-offset: -2px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

body.lemann-home-v316 .card.featured:hover .cover {

      outline: 2px solid #16A34A;
      outline-offset: -2px;
      box-shadow: 0 14px 30px rgba(22,163,74,0.25);
}

body.lemann-home-v316 .ribbon {

      position: absolute;
      top: -26px;          
      left: 8px;
      min-width: 33%;
      padding: 6px 12px;
      text-align: center;
      font-size: 11px; font-weight: 700;
      color: white;
      border-radius: 6px;
      white-space: nowrap;
      letter-spacing: 0.3px;
      box-shadow: 0 4px 14px rgba(0,0,0,0.22);
      z-index: 10; line-height: 1.1;
}

body.lemann-home-v316 .ribbon.hit {
 background: #D85A30;
}

body.lemann-home-v316 .ribbon.excl {
 background: #4F46BF;
}

body.lemann-home-v316 .ribbon.new {
 background: #1E5BAA;
}

body.lemann-home-v316 .ribbon.free {
 background: #16A34A;
}

body.lemann-home-v316 .ribbon.sale {
 background: #C0392B; min-width: auto; padding: 6px 11px;
}

body.lemann-home-v316 .age {

      position: absolute; bottom: 10px; right: 10px;
      width: 26px; height: 26px;
      background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
      color: white; font-size: 10px; font-weight: 700;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      z-index: 5; letter-spacing: -0.3px;
}

body.lemann-home-v316 .heart, body.lemann-home-v316 .bookmark, body.lemann-home-v316 .eye {

      position: absolute;
      width: 32px; height: 32px;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(6px);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #555;
      opacity: 0;
      transform: translateY(-4px);
      /* hide: задержка 2s перед тем как погаснуть; show: мгновенно (см. правило ниже) */
      transition: opacity 0.35s ease 2s, transform 0.35s ease 2s, color 0.15s, background 0.15s;
      pointer-events: none;
      z-index: 5;
      box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

body.lemann-home-v316 .heart {
 top: 8px; right: 8px;
}

body.lemann-home-v316 .bookmark {
 top: 8px; right: 46px;
}

body.lemann-home-v316 .eye {
 top: 8px; right: 84px;
}

body.lemann-home-v316 .card:hover .heart, body.lemann-home-v316 .card:hover .bookmark, body.lemann-home-v316 .card:hover .eye {

      opacity: 1; transform: translateY(0);
      transition: opacity 0.15s ease 0s, transform 0.15s ease 0s, color 0.15s, background 0.15s;
      pointer-events: auto;
}

body.lemann-home-v316 .heart::after, body.lemann-home-v316 .bookmark::after, body.lemann-home-v316 .eye::after {

      content: attr(data-tip);
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      background: #1A1A1A;
      color: white;
      padding: 5px 9px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 500;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.15s;
      z-index: 20;
      letter-spacing: 0.2px;
}

body.lemann-home-v316 .bell {
      position: absolute;
      top: 8px; right: 8px;
      width: 32px; height: 32px;
      background: #FFC107;
      color: #1A1A1A;
      backdrop-filter: blur(6px);
      border: none;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      opacity: 0;
      transform: translateY(-4px);
      transition: opacity 0.35s ease 2s, transform 0.35s ease 2s, color 0.15s, background 0.15s;
      pointer-events: none;
      z-index: 5;
}

body.lemann-home-v316 .card:hover .bell {
      opacity: 1; transform: translateY(0);
      transition: opacity 0.15s ease 0s, transform 0.15s ease 0s, color 0.15s, background 0.15s;
      pointer-events: auto;
}

body.lemann-home-v316 .bell:hover {
      background: #FFB300;
}

body.lemann-home-v316 .bell::after {
      content: attr(data-tip);
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      background: #1A1A1A;
      color: white;
      padding: 5px 9px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 500;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.15s;
}

body.lemann-home-v316 .bell:hover::after {
      opacity: 1;
}

body.lemann-home-v316 .heart:hover::after, body.lemann-home-v316 .bookmark:hover::after, body.lemann-home-v316 .eye:hover::after {
 opacity: 1;
}

@keyframes heart-pulse {
0%, 100% {
 transform: scale(1);
}

30% {
 transform: scale(1.22);
}

60% {
 transform: scale(0.92);
}

}

body.lemann-home-v316 .heart:hover {
 color: #E11D48; background: white;
}

body.lemann-home-v316 .heart:hover svg {
 animation: heart-pulse 0.6s ease-in-out infinite;
}

body.lemann-home-v316 .bookmark:hover {
 color: #16A34A; background: white;
}

body.lemann-home-v316 .eye:hover {
 color: #16A34A; background: white;
}

/* ============================================
 * .active залитые состояния — на главной И в библиотеке.
 * Цвета: глазик СИНИЙ, закладка ЗЕЛЁНАЯ, сердце КРАСНОЕ.
 * Иконки на главной hover-only (opacity:0 → 1 при .card:hover);
 * после клика остаются с цветом и подгружаются из БД при перезагрузке.
 * ============================================ */
body.lemann-home-v316 .card .heart,
body.lemann-home-v316 .card .bookmark,
body.lemann-home-v316 .card .eye {
    /* delay управляется блоками выше (.card:hover ... vs default) */
}

/* ═══ ТЕРМОЯДЕРНЫЕ ЦВЕТА ═══
 * Белый фон + яркий насыщенный SVG + drop-shadow свечение.
 * Распространяется и на главную, и на библиотеку (.lib-row-cards внутри библиотеки). */

body.lemann-home-v316 .heart.active {
    background: #fff !important;
    color: #FF1744 !important;
}
body.lemann-home-v316 .heart.active svg {
    fill: #FF1744 !important;
    stroke: #FF1744 !important;
    filter: drop-shadow(0 0 4px rgba(255, 23, 68, .6));
}

body.lemann-home-v316 .bookmark.active {
    background: #fff !important;
    color: #00E676 !important;
}
body.lemann-home-v316 .bookmark.active svg {
    fill: #00E676 !important;
    stroke: #00E676 !important;
    filter: drop-shadow(0 0 4px rgba(0, 230, 118, .6));
}

body.lemann-home-v316 .eye.active {
    background: #fff !important;
    color: #00BFFF !important;
}
body.lemann-home-v316 .eye.active svg path {
    fill: #00BFFF !important;
    stroke: #00BFFF !important;
}
body.lemann-home-v316 .eye.active svg circle {
    fill: #fff !important;
    stroke: #00BFFF !important;
}
body.lemann-home-v316 .eye.active svg {
    filter: drop-shadow(0 0 4px rgba(0, 191, 255, .6));
}

/* ₽-бейдж "Куплено" в библиотеке — насыщенный коралл */
body.lemann-home-v316 .card .owned-badge {
    background: #fff !important;
    color: #FF3D00 !important;
    text-shadow: 0 0 4px rgba(255, 61, 0, .5);
}

/* Pending — лёгкое затемнение пока запрос летит */
body.lemann-home-v316 .heart[data-pending="1"],
body.lemann-home-v316 .bookmark[data-pending="1"],
body.lemann-home-v316 .eye[data-pending="1"] {
    opacity: .85;
    cursor: progress;
}

/* На главной активные иконки тоже скрыты без hover (hover-only). */
/* В библиотеке — отдельное правило на opacity:1 уже есть (см. ниже в файле). */

body.lemann-home-v316 .card-info,
body.lemann-home-v316 .card-body {
    padding: 8px 4px 0;
}

body.lemann-home-v316 .card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;                 /* было 13 — крупнее */
    font-weight: 600;
    color: #1F1E1B;
    line-height: 1.25;
    margin: 0 0 6px;                 /* было 2 — больше воздуха */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

body.lemann-home-v316 .card-author {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    color: #14406F !important;       /* МОРСКОЙ */
    font-weight: 500;
    margin: 0 0 6px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.15s;
}

body.lemann-home-v316 .card-author:hover {
    color: #D85A30 !important;
    text-decoration: underline;
}

/* ═══ META-блок: «Сейчас читают N» + цена в одну строку ═══ */
body.lemann-home-v316 .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    line-height: 1;
    flex-wrap: nowrap;
}

body.lemann-home-v316 .card-readers {
    font-family: 'Manrope', sans-serif;
    font-size: 10.5px !important;    /* немного уменьшено, чтобы влезали 3-значные числа */
    color: #00C853;                  /* ЗЕЛЁНЫЙ — как ценник «Бесплатно» */
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 3px !important;
}
body.lemann-home-v316 .card-readers .readers-now {
    font-weight: 600;
}

body.lemann-home-v316 .card-price {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
body.lemann-home-v316 .card-price .price-current {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #D85A30;
    line-height: 1;
}
body.lemann-home-v316 .card-price .price-old {
    font-size: 10px;
    color: #aaa;
    text-decoration: line-through;
    line-height: 1;
}

/* ═══ Рейтинг-бейдж в левом нижнем углу обложки — только на hover ═══ */
body.lemann-home-v316 .card .cover { position: relative; }
body.lemann-home-v316 .card-rating-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255,255,255,.96);
    color: #1F1E1B;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    opacity: 0;
    /* hide: задержка 2s, как у иконок */
    transition: opacity 0.35s ease 2s;
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
body.lemann-home-v316 .card:hover .card-rating-badge {
    opacity: 1;
    transition: opacity 0.15s ease 0s;
}

body.lemann-home-v316 .banner {

      margin: 0 0 22px;
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      min-height: 220px;
      display: flex; align-items: stretch;
      color: white;
      isolation: isolate;
}

body.lemann-home-v316 .banner-content {

      position: relative; z-index: 3;
      padding: 28px 40px;
      flex: 1;
      display: flex; flex-direction: column;
      justify-content: center;
      max-width: 60%;
}

body.lemann-home-v316 .banner-pre {

      display: inline-flex; align-items: center; gap: 8px;
      font-family: 'Unbounded', sans-serif;
      font-size: 11px; letter-spacing: 2px;
      text-transform: uppercase; font-weight: 600;
      margin-bottom: 14px;
      align-self: flex-start;
      padding: 6px 12px;
      background: rgba(255,255,255,0.13);
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 100px;
      backdrop-filter: blur(10px);
}

body.lemann-home-v316 .banner-pre::before {

      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: #FFD700; box-shadow: 0 0 8px #FFD700;
}

body.lemann-home-v316 .banner-title {

      font-family: 'Unbounded', sans-serif;
      font-size: 30px; font-weight: 700; line-height: 1.05;
      margin-bottom: 12px; letter-spacing: -1px;
      text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

body.lemann-home-v316 .banner-title em {

      font-style: normal;
      background: linear-gradient(120deg, #FFE0B2 0%, #FFD180 60%, #FFAB40 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
}

body.lemann-home-v316 .banner-sub {

      font-size: 13.5px; color: rgba(255,255,255,0.88);
      max-width: 460px; line-height: 1.5;
      margin-bottom: 16px;
}

body.lemann-home-v316 .banner-actions {
 display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}

body.lemann-home-v316 .banner-btn {

      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 24px;
      background: white; color: #1A0F0A;
      border-radius: 11px; font-weight: 700; font-size: 13.5px;
      transition: all 0.18s;
      box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

body.lemann-home-v316 .banner-btn:hover {
 transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

body.lemann-home-v316 .banner-btn-ghost {

      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 22px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.25);
      color: white; backdrop-filter: blur(8px);
      border-radius: 11px; font-weight: 600; font-size: 13.5px;
      transition: all 0.18s;
}

body.lemann-home-v316 .banner-btn-ghost:hover {
 background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.4);
}

body.lemann-home-v316 .banner-btn .btn-short,
body.lemann-home-v316 .banner-btn-ghost .btn-short {
    display: none;
}

body.lemann-home-v316 .banner-stats {

      display: flex; gap: 24px; margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(255,255,255,0.13);
}

body.lemann-home-v316 .banner-stat-num {

      font-family: 'Unbounded', sans-serif;
      font-size: 18px; font-weight: 700;
      letter-spacing: -0.4px;
      line-height: 1;
}

body.lemann-home-v316 .banner-stat-label {

      font-size: 10.5px; color: rgba(255,255,255,0.65);
      text-transform: uppercase; letter-spacing: 0.8px;
      margin-top: 4px;
}

body.lemann-home-v316 .banner-visual {

      position: absolute;
      right: 40px; top: 50%;
      transform: translateY(-50%);
      width: 360px; height: 100%;
      pointer-events: none;
      z-index: 2;
}

body.lemann-home-v316 .banner-cover {

      position: absolute;
      width: 130px; aspect-ratio: 2/3;
      border-radius: 10px;
      background-size: cover; background-position: center;
      box-shadow: 0 14px 36px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.4);
      transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}

body.lemann-home-v316 .banner-cover.c1 {

      right: 200px; top: 50%; transform: translateY(-50%) rotate(-8deg);
      z-index: 1; opacity: 0.88;
}

body.lemann-home-v316 .banner-cover.c2 {

      right: 100px; top: 50%; transform: translateY(-50%) rotate(0deg);
      z-index: 3;
      box-shadow: 0 20px 46px rgba(0,0,0,0.6), 0 6px 16px rgba(0,0,0,0.4);
}

body.lemann-home-v316 .banner-cover.c3 {

      right: 0; top: 50%; transform: translateY(-50%) rotate(8deg);
      z-index: 1; opacity: 0.88;
}

body.lemann-home-v316 .banner:hover .banner-cover.c1 {
 transform: translateY(-50%) rotate(-13deg) translateX(-12px); opacity: 1;
}

body.lemann-home-v316 .banner:hover .banner-cover.c2 {
 transform: translateY(-58%) rotate(0deg) scale(1.04);
}

body.lemann-home-v316 .banner:hover .banner-cover.c3 {
 transform: translateY(-50%) rotate(13deg) translateX(12px); opacity: 1;
}

body.lemann-home-v316 .banner.dark {

      background:
        radial-gradient(circle at 20% 30%, rgba(216,90,48,0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(216,90,48,0.12) 0%, transparent 60%),
        linear-gradient(135deg, #1A0E12 0%, #2D1115 40%, #4A1810 100%);
}

body.lemann-home-v316 .banner.coral {

      background:
        radial-gradient(circle at 10% 20%, rgba(255,180,140,0.25) 0%, transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(20,8,10,0.4) 0%, transparent 50%),
        linear-gradient(120deg, #6B0A05 0%, #B82812 50%, #E2693E 100%);
}

body.lemann-home-v316 .banner.serious {

      background:
        radial-gradient(ellipse at 75% 50%, rgba(180,30,20,0.25) 0%, transparent 55%),
        radial-gradient(circle at 15% 90%, rgba(0,0,0,0.5) 0%, transparent 50%),
        linear-gradient(135deg, #0A0506 0%, #15080A 40%, #2A0E0E 100%);
}

body.lemann-home-v316 .banner.serious .banner-pre.serious-pre {

      background: rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.18);
      color: rgba(255,255,255,0.85);
}

body.lemann-home-v316 .banner.serious .banner-pre.serious-pre::before {

      content: ''; width: 4px; height: 4px; border-radius: 50%;
      background: #C0392B; box-shadow: none;
      animation: none;
}

body.lemann-home-v316 .banner.serious .banner-title em {

      background: linear-gradient(120deg, #E8C8A0 0%, #C49870 60%, #8B6840 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
}

body.lemann-home-v316 .banner.serious .banner-glow {

      background: radial-gradient(circle, rgba(180,40,30,0.45) 0%, transparent 70%);
      right: -120px; top: -80px;
}

body.lemann-home-v316 .banner.serious .banner-cover-glow {

      background: radial-gradient(ellipse, rgba(140,30,20,0.55) 0%, transparent 60%);
}

body.lemann-home-v316 .banner.serious .banner-stat-num {
 color: #E8C8A0;
}

body.lemann-home-v316 .banner-glow {

      position: absolute;
      width: 600px; height: 600px;
      border-radius: 50%;
      pointer-events: none; z-index: 1;
      filter: blur(80px);
      opacity: 0.4;
}

body.lemann-home-v316 .banner.dark .banner-glow {

      background: radial-gradient(circle, rgba(216,90,48,0.5) 0%, transparent 70%);
      right: -100px; top: -100px;
}

body.lemann-home-v316 .banner.coral .banner-glow {

      background: radial-gradient(circle, rgba(255,180,100,0.4) 0%, transparent 70%);
      left: -150px; bottom: -150px;
}

body.lemann-home-v316 .banner.featured-book .banner-visual {

      width: 280px;
}

body.lemann-home-v316 .banner.featured-book .banner-cover-single {

      position: absolute;
      right: 30px; top: 50%;
      transform: translateY(-50%) rotate(-3deg);
      width: 150px; aspect-ratio: 2/3;
      border-radius: 12px;
      background-size: cover; background-position: center;
      box-shadow:
        0 24px 50px rgba(0,0,0,0.55),
        0 10px 20px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.06);
      transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}

body.lemann-home-v316 .banner.featured-book:hover .banner-cover-single {

      transform: translateY(-52%) rotate(0deg) scale(1.06);
}

body.lemann-home-v316 .banner-cover-glow {

      position: absolute;
      right: 50px; top: 50%;
      transform: translateY(-50%);
      width: 200px; height: 280px;
      background: radial-gradient(ellipse, rgba(255,200,150,0.5) 0%, transparent 60%);
      filter: blur(40px);
      pointer-events: none;
      z-index: 1;
}

body.lemann-home-v316 .banner.interactive .banner-glow {
}

body.lemann-home-v316 .banner-particles {

      position: absolute; inset: 0;
      pointer-events: none;
      z-index: 1;
      background-image:
        radial-gradient(circle 1.5px at 12% 22%, rgba(255,255,255,0.55), transparent 100%),
        radial-gradient(circle 1px   at 84% 38%, rgba(255,200,150,0.7), transparent 100%),
        radial-gradient(circle 1.5px at 50% 70%, rgba(255,255,255,0.4), transparent 100%),
        radial-gradient(circle 1px   at 28% 82%, rgba(255,200,150,0.5), transparent 100%),
        radial-gradient(circle 2px   at 72% 12%, rgba(255,255,255,0.5), transparent 100%),
        radial-gradient(circle 1px   at 92% 62%, rgba(255,255,255,0.5), transparent 100%),
        radial-gradient(circle 1px   at 8% 55%,  rgba(255,200,150,0.6), transparent 100%);
      opacity: 0.7;
}

body.lemann-home-v316 .banner-pre .pre-dot {

      width: 7px; height: 7px; border-radius: 50%;
      background: #FFD700;
      box-shadow: 0 0 8px #FFD700, 0 0 14px rgba(255,215,0,0.5);
}

body.lemann-home-v316 .banner.coral .banner-pre .pre-dot {

      background: #FF8050;
      box-shadow: 0 0 8px #FF8050, 0 0 14px rgba(255,128,80,0.5);
}

body.lemann-home-v316 .super-banner {

      position: relative;
      margin: 0 0 22px;
      border-radius: 20px;
      overflow: hidden;
      min-height: 230px;
      isolation: isolate;
      background: #0F0A0C;
}

body.lemann-home-v316 .super-track {

      position: relative;
      width: 100%; height: 230px;
}

body.lemann-home-v316 .super-slide {

      position: absolute; inset: 0;
      opacity: 0;
      transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
      display: flex; align-items: center;
      pointer-events: none;
}

body.lemann-home-v316 .super-slide.active {

      opacity: 1;
      pointer-events: auto;
      z-index: 2;
}

body.lemann-home-v316 .super-slide.theme-crime {

      background:
        radial-gradient(ellipse 800px 600px at 70% 50%, rgba(216,90,48,0.35) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(255,80,40,0.18) 0%, transparent 50%),
        linear-gradient(135deg, #0F0507 0%, #1F0A0D 35%, #3D1208 100%);
}

body.lemann-home-v316 .super-slide.theme-subscription {

      background:
        radial-gradient(ellipse 700px 500px at 30% 30%, rgba(80,120,200,0.25) 0%, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(216,90,48,0.18) 0%, transparent 60%),
        linear-gradient(120deg, #0A0E1A 0%, #14182B 50%, #1F1018 100%);
}

body.lemann-home-v316 .super-slide.theme-sale {

      background:
        radial-gradient(ellipse at 50% 40%, rgba(255,80,80,0.4) 0%, transparent 60%),
        radial-gradient(circle at 90% 90%, rgba(255,200,80,0.18) 0%, transparent 55%),
        linear-gradient(135deg, #4A0608 0%, #8B1A1A 40%, #C0392B 100%);
}

body.lemann-home-v316 .super-slide.theme-free {

      background:
        radial-gradient(ellipse at 70% 50%, rgba(50,180,100,0.35) 0%, transparent 55%),
        radial-gradient(circle at 20% 70%, rgba(20,120,80,0.4) 0%, transparent 50%),
        linear-gradient(135deg, #051A12 0%, #0E2A1E 40%, #1F4030 100%);
}

body.lemann-home-v316 .super-slide::before {

      content: '';
      position: absolute; inset: -20%;
      background:
        radial-gradient(circle 200px at 30% 30%, rgba(255,255,255,0.06) 0%, transparent 60%),
        radial-gradient(circle 300px at 70% 70%, rgba(255,200,150,0.05) 0%, transparent 60%);
      
      pointer-events: none;
      z-index: 1;
}

body.lemann-home-v316 .super-slide::after {

      content: '';
      position: absolute; inset: 0;
      background-image:
        radial-gradient(circle 2px at 15% 25%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 85% 35%, rgba(255,200,150,0.7) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 50% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 25% 85%, rgba(255,200,150,0.6) 0%, transparent 100%),
        radial-gradient(circle 2px at 75% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(circle 1px at 92% 65%, rgba(255,255,255,0.5) 0%, transparent 100%);
      
      opacity: 0.7;
      pointer-events: none;
      z-index: 1;
}

body.lemann-home-v316 .super-content {

      position: relative; z-index: 4;
      padding: 26px 40px;
      max-width: 60%;
      color: white;
}

body.lemann-home-v316 .super-pre {

      display: inline-flex; align-items: center; gap: 9px;
      font-family: 'Unbounded', sans-serif;
      font-size: 10.5px; letter-spacing: 2.2px;
      text-transform: uppercase; font-weight: 600;
      margin-bottom: 12px;
      padding: 6px 12px;
      background: rgba(255,255,255,0.13);
      border: 1px solid rgba(255,255,255,0.22);
      border-radius: 100px;
      backdrop-filter: blur(12px);
}

body.lemann-home-v316 .super-pre::before {

      content: ''; width: 7px; height: 7px; border-radius: 50%;
      background: #FFD700;
      box-shadow: 0 0 10px #FFD700, 0 0 18px rgba(255,215,0,0.5);
}

body.lemann-home-v316 .super-slide.theme-sale .super-pre::before {
 background: #FF8050; box-shadow: 0 0 10px #FF8050;
}

body.lemann-home-v316 .super-slide.theme-free .super-pre::before {
 background: #4ADE80; box-shadow: 0 0 10px #4ADE80;
}

body.lemann-home-v316 .super-slide.theme-subscription .super-pre::before {
 background: #60A5FA; box-shadow: 0 0 10px #60A5FA;
}

body.lemann-home-v316 .super-title {

      font-family: 'Unbounded', sans-serif;
      font-size: 32px; font-weight: 700; line-height: 1.04;
      margin-bottom: 12px;
      letter-spacing: -1px;
      text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

body.lemann-home-v316 .super-title em {

      font-style: normal;
      background: linear-gradient(120deg, #FFE0B2 0%, #FFD180 50%, #FFAB40 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
}

body.lemann-home-v316 .super-slide.theme-free .super-title em {

      background: linear-gradient(120deg, #BBF7D0 0%, #4ADE80 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
}

body.lemann-home-v316 .super-slide.theme-subscription .super-title em {

      background: linear-gradient(120deg, #BFDBFE 0%, #60A5FA 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
}

body.lemann-home-v316 .super-sub {

      font-size: 13.5px; color: rgba(255,255,255,0.85);
      max-width: 460px; line-height: 1.5;
      margin-bottom: 16px;
}

body.lemann-home-v316 .super-actions {
 display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}

body.lemann-home-v316 .super-btn {

      display: inline-flex; align-items: center; gap: 8px;
      padding: 11px 20px;
      background: white; color: #1A0F0A;
      border-radius: 10px; font-weight: 700; font-size: 13px;
      transition: all 0.18s;
      box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

body.lemann-home-v316 .super-btn:hover {
 transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.32);
}

body.lemann-home-v316 .super-btn-ghost {

      display: inline-flex; align-items: center; gap: 8px;
      padding: 11px 18px;
      background: rgba(255,255,255,0.13);
      border: 1px solid rgba(255,255,255,0.28);
      color: white; backdrop-filter: blur(10px);
      border-radius: 10px; font-weight: 600; font-size: 13px;
      transition: all 0.18s;
}

body.lemann-home-v316 .super-btn-ghost:hover {
 background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5);
}

body.lemann-home-v316 .super-slide.active .super-pre, body.lemann-home-v316 .super-slide.active .super-title, body.lemann-home-v316 .super-slide.active .super-sub, body.lemann-home-v316 .super-slide.active .super-actions {

      animation: super-text-in 0.7s cubic-bezier(.2,.7,.2,1) backwards;
}

body.lemann-home-v316 .super-slide.active .super-title {
 animation-delay: 0.1s;
}

body.lemann-home-v316 .super-slide.active .super-sub {
 animation-delay: 0.2s;
}

body.lemann-home-v316 .super-slide.active .super-actions {
 animation-delay: 0.3s;
}

@keyframes super-text-in {
from {
 opacity: 0; transform: translateY(18px);
}

to {
 opacity: 1; transform: translateY(0);
}

}

body.lemann-home-v316 .super-visual {

      position: absolute;
      right: 0; top: 0;
      width: 50%; height: 100%;
      pointer-events: none;
      z-index: 2;
}

body.lemann-home-v316 .super-cover-single {

      position: absolute;
      right: 80px; top: 50%;
      transform: translateY(-50%) rotate(-4deg);
      width: 170px; aspect-ratio: 2/3;
      border-radius: 12px;
      background-size: cover; background-position: center;
      box-shadow:
        0 24px 56px rgba(0,0,0,0.55),
        0 10px 22px rgba(0,0,0,0.4);
}

body.lemann-home-v316 .super-slide.active .super-cover-single {

      animation: super-cover-in 0.9s cubic-bezier(.2,.7,.2,1) backwards;
}

@keyframes super-cover-in {
from {
 opacity: 0; transform: translateY(-50%) rotate(-4deg) translateX(50px) scale(0.92);
}

to {
 opacity: 1; transform: translateY(-50%) rotate(-4deg) translateX(0) scale(1);
}

}

body.lemann-home-v316 .super-cover-stack {
 position: absolute; right: 50px; top: 50%; transform: translateY(-50%); width: 380px; height: 100%;
}

body.lemann-home-v316 .super-cover-stack .sc {

      position: absolute; top: 50%;
      width: 120px; aspect-ratio: 2/3;
      border-radius: 10px;
      background-size: cover; background-position: center;
      box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

body.lemann-home-v316 .super-cover-stack .sc1 {
 right: 230px; transform: translateY(-50%) rotate(-9deg); z-index: 1; opacity: 0.9;
}

body.lemann-home-v316 .super-cover-stack .sc2 {
 right: 130px; transform: translateY(-50%) rotate(0deg); z-index: 3; box-shadow: 0 24px 56px rgba(0,0,0,0.6);
}

body.lemann-home-v316 .super-cover-stack .sc3 {
 right: 30px;  transform: translateY(-50%) rotate(9deg);  z-index: 1; opacity: 0.9;
}

body.lemann-home-v316 .super-cover-grid {

      position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
      width: 320px;
}

body.lemann-home-v316 .super-cover-grid .gc {

      aspect-ratio: 2/3;
      border-radius: 8px;
      background-size: cover; background-position: center;
      box-shadow: 0 10px 22px rgba(0,0,0,0.45);
      transition: transform 0.4s;
}

body.lemann-home-v316 .super-cover-grid .gc:nth-child(2) {
 transform: translateY(-8px);
}

body.lemann-home-v316 .super-cover-grid .gc:nth-child(5) {
 transform: translateY(-8px);
}

body.lemann-home-v316 .super-cover-glow {

      position: absolute;
      right: 80px; top: 50%;
      transform: translateY(-50%);
      width: 240px; height: 320px;
      filter: blur(50px);
      opacity: 0.55;
      z-index: 1;
      pointer-events: none;
}

body.lemann-home-v316 .super-slide.theme-crime .super-cover-glow {
 background: radial-gradient(ellipse, #FF6030 0%, transparent 60%);
}

body.lemann-home-v316 .super-slide.theme-sale .super-cover-glow {
 background: radial-gradient(ellipse, #FF4040 0%, transparent 60%);
}

body.lemann-home-v316 .super-slide.theme-subscription .super-cover-glow {
 background: radial-gradient(ellipse, #4080FF 0%, transparent 60%);
}

body.lemann-home-v316 .super-slide.theme-free .super-cover-glow {
 background: radial-gradient(ellipse, #4ADE80 0%, transparent 60%);
}

body.lemann-home-v316 .super-stats {

      display: flex; gap: 24px; margin-top: 16px;
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,0.15);
}

body.lemann-home-v316 .super-stat-num {

      font-family: 'Unbounded', sans-serif;
      font-size: 17px; font-weight: 700; letter-spacing: -0.4px;
      line-height: 1;
}

body.lemann-home-v316 .super-stat-label {

      font-size: 10px; color: rgba(255,255,255,0.65);
      text-transform: uppercase; letter-spacing: 0.8px;
      margin-top: 4px;
}

body.lemann-home-v316 .super-progress {
 display: none;
}

body.lemann-home-v316 .super-dots {

      position: absolute;
      left: 44px; bottom: 18px;
      display: flex; gap: 6px; z-index: 6;
}

body.lemann-home-v316 .super-dots .dot {

      width: 28px; height: 3px;
      border-radius: 2px;
      background: rgba(255,255,255,0.25);
      transition: all 0.25s;
}

body.lemann-home-v316 .super-dots .dot.active {

      background: white;
      width: 42px;
}

body.lemann-home-v316 .super-dots .dot:hover {
 background: rgba(255,255,255,0.6);
}

body.lemann-home-v316 .super-arrows {

      position: absolute;
      right: 18px; bottom: 14px;
      display: flex; gap: 8px; z-index: 6;
}

body.lemann-home-v316 .super-arrow {

      width: 36px; height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.13);
      border: 1px solid rgba(255,255,255,0.25);
      backdrop-filter: blur(10px);
      color: white;
      display: flex; align-items: center; justify-content: center;
      transition: all 0.18s;
}

body.lemann-home-v316 .super-arrow:hover {

      background: rgba(255,255,255,0.25);
      border-color: rgba(255,255,255,0.5);
      transform: scale(1.05);
}

body.lemann-home-v316 .super-arrow svg {
 width: 16px; height: 16px;
}

@media (max-width: 992px) {
body.lemann-home-v316 .super-banner {
 min-height: 320px;
}

body.lemann-home-v316 .super-track {
 height: 320px;
}

body.lemann-home-v316 .super-content {
 padding: 32px 28px; max-width: 70%;
}

body.lemann-home-v316 .super-title {
 font-size: 30px;
}

body.lemann-home-v316 .super-cover-single {
 width: 180px; right: 30px;
}

body.lemann-home-v316 .super-cover-grid {
 width: 260px;
}

body.lemann-home-v316 .super-cover-stack {
 width: 300px; right: 20px;
}

body.lemann-home-v316 .super-cover-stack .sc {
 width: 130px;
}

body.lemann-home-v316 .super-stats {
 display: none;
}

}

@media (max-width: 768px) {
body.lemann-home-v316 .super-content {
 max-width: 100%; padding: 24px 20px;
}

body.lemann-home-v316 .super-visual {
 display: none;
}

body.lemann-home-v316 .super-title {
 font-size: 24px;
}

body.lemann-home-v316 .super-stats {
 display: none;
}

}

body.lemann-home-v316 .hero-strip {

      display: flex; gap: 6px;
      margin-top: 8px;
      margin-bottom: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding-bottom: 2px;
      padding-right: 48px;
      mask-image: linear-gradient(to right, black 95%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, black 95%, transparent 100%);
}

body.lemann-home-v316 .hero-strip::-webkit-scrollbar {
 display: none;
}

body.lemann-home-v316 .hero-tag {

      flex-shrink: 0;
      white-space: nowrap;
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 14px;
      background: white; border: 1px solid #E8E5DD;
      border-radius: 8px;
      font-size: 13px; font-weight: 500; color: #444;
      transition: all 0.15s; cursor: pointer;
      line-height: 1.2;
}

body.lemann-home-v316 .hero-tag:hover {
 border-color: #D85A30; color: #D85A30; background: #FFF8F4;
}

body.lemann-home-v316 .hero-tag.primary {
 background: #1A1A1A; border-color: #1A1A1A; color: white; font-weight: 600;
}

body.lemann-home-v316 .hero-tag.primary:hover {
 background: #D85A30; border-color: #D85A30; color: white;
}

body.lemann-home-v316 .hero-strip.strip-themes {

      margin-top: 0;
      margin-bottom: 10px;
      padding-top: 12px;
      border-top: 1px solid #E8E5DD;
}

body.lemann-home-v316 .row:has(+ .hero-strip.strip-themes) {

      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 8px;
}

@media (max-width: 1280px) {
body.lemann-home-v316 .card-link {
 flex: 0 0 calc(100% / 6.5 - 12px);
}

body.lemann-home-v316 .nav a:nth-child(n+5) {
 display: none;
}

}

@media (max-width: 992px) {
body.lemann-home-v316 .card-link {
 flex: 0 0 calc(100% / 5.5 - 11px);
}

body.lemann-home-v316 .nav {
 display: none;
}

body.lemann-home-v316 .row-title {
 font-size: 18px;
}

body.lemann-home-v316 .banner-title {
 font-size: 24px;
}

}

@media (max-width: 768px) {
body.lemann-home-v316 .card-link {
 flex: 0 0 calc(100% / 3.5 - 10px);
}

body.lemann-home-v316 .search {
 display: none;
}

body.lemann-home-v316 .container {
 padding: 0 16px;
}

body.lemann-home-v316 .banner {
 padding: 24px 24px; min-height: 140px;
}

body.lemann-home-v316 .banner-content {
 max-width: 100%;
 padding: 24px;
}

body.lemann-home-v316 .banner-visual {
 display: none;
}

body.lemann-home-v316 .banner-btn,
body.lemann-home-v316 .banner-btn-ghost {
 padding: 11px 16px;
 font-size: 12.5px;
}

body.lemann-home-v316 .banner-btn .btn-full,
body.lemann-home-v316 .banner-btn-ghost .btn-full {
 display: none;
}

body.lemann-home-v316 .banner-btn .btn-short,
body.lemann-home-v316 .banner-btn-ghost .btn-short {
 display: inline;
}

body.lemann-home-v316 .banner-title {
 font-size: 20px;
}

body.lemann-home-v316 .row {
 margin-bottom: 44px;
}

body.lemann-home-v316 .row-arrow {
 display: none;
}

}

@media (max-width: 480px) {
body.lemann-home-v316 .card-link {
 flex: 0 0 calc(100% / 2.4 - 8px);
}

body.lemann-home-v316 .row-title {
 font-size: 15px;
}

body.lemann-home-v316 .btn-login {
 padding: 8px 14px; font-size: 12px;
}

}



    
  
/* === ФИКС: обложки строго 2:3 (object-fit cover) === */
body.lemann-home-v316 .cover-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* === aspect-ratio fallback === */
@supports not (aspect-ratio: 2 / 3) {
    body.lemann-home-v316 .cover {
        height: 0 !important;
        padding-top: 150% !important;
    }
}

/* === МИНИМАЛЬНЫЙ ОВЕРРАЙД ТЕМЫ BOOKORY ===
 * Только то что НЕОБХОДИМО для интеграции с темой WordPress.
 * Без этого тема может сжимать наш main в свой узкий контейнер.
 */
body.lemann-home-v316:not(.lemann-library-page) #content,
body.lemann-home-v316:not(.lemann-library-page) .site-content,
body.lemann-home-v316:not(.lemann-library-page) .site-main,
body.lemann-home-v316:not(.lemann-library-page) .content-area,
body.lemann-home-v316:not(.lemann-library-page) .entry-content,
body.lemann-home-v316:not(.lemann-library-page) .page-content {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

/* === ЗАЩИТА ОТ ТЕМ КОТОРЫЕ СТАВЯТ height: auto !important НА IMG === */
body.lemann-home-v316 .cover-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

/* ============================================================================
 * LEMANN LIBRARY (/my-account/library/) — 4 ряда: Reading/Purchased/Liked/Bookmarks
 * Селекторы под .lemann-library без префикса body — рисуем внутри WC my-account.
 * Card-стили (.card .cover .heart …) уже определены выше с префиксом
 * body.lemann-home-v316 — на этой странице body имеет этот же класс, поэтому
 * карточки работают без дублирования.
 * ============================================================================ */

/* Внутри my-account контент-зона может быть узкой — расширяем под библиотеку */
body.lemann-library-page .woocommerce-MyAccount-content {
    max-width: none;
    width: 100%;
}
body.lemann-library-page .u-columns,
body.lemann-library-page .woocommerce-account .woocommerce {
    max-width: 1500px;
}

.lemann-library {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px 24px 80px;
    box-sizing: border-box;
}

/* WC page-title бар уже выводит "Моя библиотека" — скрываем дубликат внутри контента */
body.lemann-library-page .page-title {
    display: none;
}

.lemann-library-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1F1E1B;
    margin: 0 0 24px;
    letter-spacing: -0.5px;
}

.lemann-library-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.lib-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #E5E2D8;
    border-radius: 999px;
    background: #FAF9F5;
    color: #1F1E1B;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: border-color .15s, color .15s, background .15s;
}
.lib-tab:hover { border-color: #D85A30; color: #D85A30; }

.lib-tab .lib-tab-ico {
    width: 18px; height: 18px;
    display: inline-flex; align-items: center; justify-content: center;
}
.lib-tab .lib-tab-ico svg { width: 16px; height: 16px; }
.lib-tab .lib-icon-reading   { color: #2E7D5B; }
.lib-tab .lib-icon-purchased { color: #D85A30; }
.lib-tab .lib-icon-liked     { color: #C84545; }
.lib-tab .lib-icon-bookmark  { color: #2563EB; }

.lemann-library-row {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}

.lib-row-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-right: 96px;
}

.lib-row-header h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1F1E1B;
    margin: 0;
}

.lib-icon {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    padding: 6px;
    flex-shrink: 0;
}
.lib-icon svg { width: 22px; height: 22px; }
.lib-icon-reading   { color: #2E7D5B; background: #DCF1E5; }
.lib-icon-purchased { color: #D85A30; background: #FBE9E0; }
.lib-icon-liked     { color: #C84545; background: #FCEDEE; }
.lib-icon-bookmark  { color: #2563EB; background: #DDE9FB; }

.lib-count {
    color: #8A8780;
    font-size: 16px;
    font-weight: 500;
}

.lib-row-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E5E2D8;
    display: flex; align-items: center; justify-content: center;
    color: #1F1E1B;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.lib-row-arrow:hover { background: #FAF9F5; border-color: #D85A30; color: #D85A30; }
.lib-arrow-left  { right: 48px; }
.lib-arrow-right { right: 0; }

.lib-row-cards {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 0 8px !important;
    margin: 0 !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #E5E2D8 transparent;
}
.lib-row-cards::-webkit-scrollbar { height: 6px; }
.lib-row-cards::-webkit-scrollbar-thumb { background: #E5E2D8; border-radius: 6px; }

/* Карточка адаптивной ширины внутри библиотеки — РОВНО 6 в ряд без обрезов.
   formula: (контейнер - 5 gap'ов) / 6  →  адаптируется под любую ширину родителя. */
body.lemann-home-v316.lemann-library-page .lib-row-cards .card-link {
    flex: 0 0 calc((100% - 14px * 5) / 6) !important;
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
}
body.lemann-home-v316.lemann-library-page .lib-row-cards .card .cover {
    aspect-ratio: 2 / 3;
    width: 100%;
    height: auto;
}
body.lemann-home-v316.lemann-library-page .lemann-library-row { padding: 0 !important; }

/* hover-кнопки в библиотеке должны быть постоянно видны (это инструменты для удаления) */
body.lemann-home-v316.lemann-library-page .lib-row-cards .card .heart,
body.lemann-home-v316.lemann-library-page .lib-row-cards .card .bookmark,
body.lemann-home-v316.lemann-library-page .lib-row-cards .card .eye {
    opacity: 1;
    transform: translateY(0);
}

.lib-empty {
    padding: 40px;
    background: #FAF9F5;
    border: 1px dashed #E5E2D8;
    border-radius: 12px;
    text-align: center;
    color: #8A8780;
    font-size: 15px;
}
.lib-empty a {
    color: #D85A30;
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
}
.lib-empty a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .lemann-library-title { font-size: 24px; }
    .lib-row-header h2 { font-size: 18px; }
    .lib-icon { width: 30px; height: 30px; padding: 4px; }
    .lib-icon svg { width: 18px; height: 18px; }
    body.lemann-home-v316.lemann-library-page .lib-row-cards .card-link {
        flex: 0 0 calc((100% - 12px * 2) / 3) !important;
    }
    body.lemann-home-v316.lemann-library-page .lib-row-cards { gap: 12px !important; }
}


/* ============================================ */
/* SEO-блок "Добро пожаловать" + контейнер подвала                                */
/* Специфичность с body.lemann-home-v316 нужна, чтобы перебить                    */
/* универсальный reset `body.lemann-home-v316:not(.lemann-library-page) *`        */
/* (0,2,1), который иначе зануляет margin/padding.                                */
/* max-width 1500 = совпадает с .container карточек выше — выравнивает по ряду.   */
/* ============================================ */
body.lemann-home-v316 .lemann-seo-block {
    padding: 50px 0 70px;
    background: #FAF9F5;
}
body.lemann-home-v316 .lemann-seo-block .lemann-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
body.lemann-home-v316 .lemann-seo-block h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #1F1E1B;
    margin: 0 0 20px;
    line-height: 1.2;
}
body.lemann-home-v316 .lemann-seo-block p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #5C5A53;
    margin: 0 0 12px;
    max-width: 1100px;
}

/* Подвал lemann-prod-footer — тёмный фон во всю ширину, контент центрируем
   на ту же max-width что и ряды карточек. Без этих правил универсальный
   reset убивает margin: 0 auto и padding на .lpf-container, и тёмная часть
   уезжает к левому краю. */
body.lemann-home-v316 .lemann-prod-footer {
    margin-top: 60px;
}
body.lemann-home-v316 .lemann-prod-footer .lpf-main {
    padding: 50px 0 40px;
}
body.lemann-home-v316 .lemann-prod-footer .lpf-bottom {
    padding: 28px 0;
}
body.lemann-home-v316 .lemann-prod-footer .lpf-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
body.lemann-home-v316 .lemann-prod-footer .lpf-heading {
    margin: 0 0 16px;
}

@media (max-width: 768px) {
    body.lemann-home-v316 .lemann-seo-block { padding: 40px 0 50px; }
    body.lemann-home-v316 .lemann-seo-block h2 { font-size: 24px; margin-bottom: 16px; }
}

/* ============================================================================
 * LEMANN LIBRARY — фиксы поверх Elementor/Bookory + ₽-бейдж + confirm modal
 * ============================================================================ */

/* Полностью скрыть полосу с хлебными крошками и тайтлом на странице библиотеки */
body.lemann-library-page .bookory-woocommerce-title,
body.lemann-library-page .elementor-widget-bookory-woocommerce-breadcrumb,
body.lemann-library-page .page-header,
body.lemann-library-page .woocommerce-account .page-title,
body.lemann-library-page .elementor-section:has(.elementor-widget-bookory-woocommerce-breadcrumb) {
    display: none !important;
}

/* Поднять содержимое библиотеки к самому верху */
body.lemann-library-page .woocommerce-MyAccount-content { padding-top: 0 !important; }
body.lemann-library-page .lemann-library {
    padding-top: 16px !important;
    margin-top: 0 !important;
}
body.lemann-library-page .lemann-library-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 22px !important;
}
body.lemann-library-page .lemann-library-tabs { margin-bottom: 20px !important; }
body.lemann-library-page .lemann-library-row { margin-bottom: 32px !important; }

/* Ряд "Куплено": вместо 3-х hover-кнопок — единая ₽-метка в углу */
body.lemann-library-page #purchased .card .heart,
body.lemann-library-page #purchased .card .bookmark,
body.lemann-library-page #purchased .card .eye {
    display: none !important;
}
body.lemann-library-page .card .owned-badge {
    position: absolute;
    top: 8px; right: 8px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    color: #16A34A;
    font-weight: 800;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: background .15s, color .15s, transform .15s;
    border: none;
    font-family: 'Manrope', sans-serif;
    line-height: 1;
}
body.lemann-library-page .card .owned-badge:hover {
    background: #C84545;
    color: #fff;
}
body.lemann-library-page .card .owned-badge::after {
    content: 'Убрать';
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #1A1A1A;
    color: #fff;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
}
body.lemann-library-page .card .owned-badge:hover::after { opacity: 1; }

/* Confirm-модалка */
/* ============================================
 * LemannConfirm — модалка подтверждения снятия статуса
 * Объёмные кнопки: зелёная «Нет» / красная «Да, убрать»
 * !important — чтобы перебить кнопочные стили темы Bookory
 * ============================================ */
.lemann-confirm-overlay {
    position: fixed; inset: 0;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .15s;
}
.lemann-confirm-overlay.is-open { opacity: 1; }

.lemann-confirm-box {
    background: #fff !important;
    padding: 28px 32px !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.25) !important;
    max-width: 400px !important;
    width: calc(100% - 32px) !important;
    transform: translateY(8px) scale(.98);
    transition: transform .18s;
}
.lemann-confirm-overlay.is-open .lemann-confirm-box { transform: translateY(0) scale(1); }

.lemann-confirm-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1F1E1B !important;
    margin-bottom: 8px !important;
    text-align: center !important;
}
.lemann-confirm-text {
    font-family: 'Manrope', sans-serif !important;
    font-size: 13.5px !important;
    color: #6B6862 !important;
    margin-bottom: 18px !important;
    line-height: 1.45 !important;
    text-align: center !important;
}

.lemann-confirm-buttons {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    margin-top: 8px !important;
}

.lemann-confirm-no,
.lemann-confirm-yes {
    padding: 12px 26px !important;
    border-radius: 10px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
    min-width: 110px !important;
    line-height: 1 !important;
    letter-spacing: .2px !important;
    text-transform: none !important;
}

.lemann-confirm-no {
    background: #2E7D5B !important;
    background-image: linear-gradient(180deg, #3A9670 0%, #2E7D5B 100%) !important;
    color: #fff !important;
    border: 1px solid #256647 !important;
    box-shadow: 0 2px 6px rgba(46, 125, 91, .35), inset 0 1px 0 rgba(255,255,255,.2) !important;
}
.lemann-confirm-no:hover {
    background: #256647 !important;
    background-image: linear-gradient(180deg, #2E7D5B 0%, #1F5239 100%) !important;
    box-shadow: 0 3px 10px rgba(46, 125, 91, .5), inset 0 1px 0 rgba(255,255,255,.15) !important;
    transform: translateY(-1px);
}
.lemann-confirm-no:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(46, 125, 91, .35), inset 0 1px 2px rgba(0,0,0,.15) !important;
}

.lemann-confirm-yes {
    background: #C84545 !important;
    background-image: linear-gradient(180deg, #D85959 0%, #C84545 100%) !important;
    color: #fff !important;
    border: 1px solid #A03535 !important;
    box-shadow: 0 2px 6px rgba(200, 69, 69, .35), inset 0 1px 0 rgba(255,255,255,.2) !important;
}
.lemann-confirm-yes:hover {
    background: #A03535 !important;
    background-image: linear-gradient(180deg, #C84545 0%, #8A2B2B 100%) !important;
    box-shadow: 0 3px 10px rgba(200, 69, 69, .5), inset 0 1px 0 rgba(255,255,255,.15) !important;
    transform: translateY(-1px);
}
.lemann-confirm-yes:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(200, 69, 69, .35), inset 0 1px 2px rgba(0,0,0,.15) !important;
}

/* ============================================================
 * Баннер 1 — Подписка 299 ₽ (text + cta | 3 книги | 3 книги)
 * ============================================================ */
body.lemann-home-v316 .lemann-banner-subscription {
    display: grid;
    grid-template-columns: 1.2fr auto auto;
    gap: 32px;
    background: linear-gradient(135deg, #1F1E1B 0%, #2D2B26 100%);
    color: #fff;
    border-radius: 16px;
    padding: 48px 56px;
    margin: 32px 0;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
}
body.lemann-home-v316 .lemann-banner-subscription .banner-left h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    margin: 0 0 12px;
    line-height: 1.2;
    color: #fff;
}
body.lemann-home-v316 .lemann-banner-subscription .banner-left p {
    font-size: 15px;
    line-height: 1.5;
    color: #C8C5BE;
    margin: 0 0 20px;
}
body.lemann-home-v316 .lemann-banner-subscription .banner-cta-btn {
    display: inline-block;
    background: #D85A30;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(216, 90, 48, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}
body.lemann-home-v316 .lemann-banner-subscription .banner-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(216, 90, 48, .45);
    color: #fff;
}
body.lemann-home-v316 .lemann-banner-subscription .banner-books-middle,
body.lemann-home-v316 .lemann-banner-subscription .banner-books-right {
    display: flex;
    gap: 12px;
    justify-content: center;
}
body.lemann-home-v316 .lemann-banner-subscription .banner-book-mini {
    display: block;
    width: 130px;
    height: 195px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    transition: transform .2s ease;
}
body.lemann-home-v316 .lemann-banner-subscription .banner-book-mini:hover {
    transform: translateY(-4px);
}
body.lemann-home-v316 .lemann-banner-subscription .banner-book-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 992px) {
    body.lemann-home-v316 .lemann-banner-subscription {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px 24px;
    }
    body.lemann-home-v316 .lemann-banner-subscription .banner-books-middle,
    body.lemann-home-v316 .lemann-banner-subscription .banner-books-right {
        flex-wrap: wrap;
    }
}

