/* r13 (2026-12-01): shop pricing section (/hosting-dlya-internet-magazina/). Scoped to .hm-r13shop. Matches r9 home plans. */
.hm-r13shop {
  --s-accent: #0d9488; --s-soft: #e7f6f3; --s-ink: #0f1b2a; --s-ink2: #334155; --s-muted: #64748b; --s-line: #e4e9f0; --s-panel: #f2f6f5;
  margin-top: clamp(2.5rem, 5vw, 3.75rem); color: var(--s-ink);
}
.hm-r13shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.hm-r13shop__headtext { min-width: 0; max-width: 640px; }
.hm-r13shop__title { margin: 0 0 .75rem; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--s-ink); text-align: left; }
.hm-r13shop__sub { margin: 0; color: var(--s-muted); font-size: 1rem; line-height: 1.5; }
.hm-r13shop__headside { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.hm-r13shop__note { margin: 0; display: inline-flex; align-items: center; gap: .4rem; color: var(--s-muted); font-size: .9rem; font-weight: 600; }
.hm-r13shop__note .ph { color: var(--s-accent); font-size: 1.05rem; }
.hm-r13shop__all { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .95rem; color: #0b6b63 !important; text-decoration: none !important; }
.hm-r13shop__all .ph { transition: transform .15s; }
.hm-r13shop__all:hover .ph { transform: translateX(3px); }

.hm-r13shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.hm-r13plan, .hm-r13plan.hm-tariff { position: relative; display: flex; flex-direction: column; min-width: 0; padding: .4rem; border-radius: 22px; background: #fff; border: 1px solid var(--s-line); box-shadow: none; color: var(--s-ink); transform: none; transition: border-color .15s, background .15s; }
.hm-r13plan:hover { border-color: #c9e9e3; background: #fbfefd; transform: none; box-shadow: none; }
.hm-r13plan__top { display: flex; flex-direction: column; flex: 1 1 auto; background: var(--s-panel); border-radius: 18px; padding: 1.2rem 1.2rem 1.2rem; transition: background .15s; }
.hm-r13plan:not(.is-featured):hover .hm-r13plan__top { background: #ebf4f2; }
.hm-r13plan__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem .5rem; min-height: 1.9rem; }
.hm-r13plan__size { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .55rem; border-radius: 999px; background: #fff; color: var(--s-ink); font-size: .82rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.hm-r13plan__size .ph { color: var(--s-accent); font-size: 1rem; }
.hm-r13plan__badge { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .6rem; border-radius: 999px; background: rgba(255,255,255,.22); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.hm-r13plan__namerow { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-top: 1.1rem; }
.hm-r13plan__name { margin: 0; font-size: 1.3rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: inherit; }
.hm-r13plan__pill { padding: .14rem .5rem; border-radius: 6px; background: var(--s-soft); color: #0b6b63; font-size: .75rem; font-weight: 700; }
.hm-r13plan__price { margin: .7rem 0 0; display: flex; align-items: baseline; gap: .35rem; }
.hm-r13plan__price strong { font-size: 2.35rem; line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }
.hm-r13plan__price span { font-weight: 700; font-size: 1rem; }
.hm-r13plan__desc { margin: .75rem 0 1.25rem; font-size: .92rem; font-weight: 600; line-height: 1.45; color: var(--s-ink2); min-height: 2.9em; }
.hm-r13plan__cta { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 2.9rem; border-radius: 12px; background: var(--s-ink); color: #fff !important; font-weight: 700; text-decoration: none !important; transition: background .15s, color .15s, transform .1s; }
.hm-r13plan__cta:hover { background: var(--s-accent); }
.hm-r13plan__cta:active { transform: scale(.97); }
.hm-r13plan__specs { list-style: none; margin: 0; padding: 1rem .8rem .8rem; display: grid; gap: .6rem; }
.hm-r13plan__specs li { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .92rem; color: var(--s-ink2); line-height: 1.3; }
.hm-r13plan__specs li b { color: var(--s-ink); font-weight: 800; }
.hm-r13plan__chk { color: var(--s-accent); font-size: .95rem; flex-shrink: 0; }
.hm-r13plan__specs .hm-flag { width: 20px; height: 13px; flex-shrink: 0; border-radius: 2px; }
.hm-r13plan .hm-r9tip { position: relative; display: inline-flex; color: #94a3b8; cursor: help; outline: none; }
.hm-r13plan .hm-r9tip__b { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 240px; padding: .5rem .65rem; border-radius: 10px; background: var(--s-ink); color: #fff; font-size: .78rem; line-height: 1.35; font-weight: 500; opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 5; pointer-events: none; }
.hm-r13plan .hm-r9tip:hover .hm-r9tip__b, .hm-r13plan .hm-r9tip:focus .hm-r9tip__b { opacity: 1; visibility: visible; }

/* featured */
.hm-r13plan.is-featured { border-color: #9fe3d3; }
.hm-r13plan.is-featured:hover { border-color: #7fd8c4; }
.hm-r13plan.is-featured .hm-r13plan__top { background: linear-gradient(160deg, #0b8f84 0%, #14b8a6 50%, #8fdcca 100%); color: #fff; }
.hm-r13plan.is-featured:hover .hm-r13plan__top { background: linear-gradient(160deg, #0a857b 0%, #12ad9c 50%, #85d6c3 100%); }
.hm-r13plan.is-featured .hm-r13plan__size { background: rgba(255,255,255,.95); }
.hm-r13plan.is-featured .hm-r13plan__pill { background: #fff; color: #0b6b63; }
.hm-r13plan.is-featured .hm-r13plan__desc { color: rgba(255,255,255,.92); }
.hm-r13plan.is-featured .hm-r13plan__cta { background: #fff; color: var(--s-ink) !important; }
.hm-r13plan.is-featured .hm-r13plan__cta:hover { background: var(--s-ink); color: #fff !important; }

/* dedicated strip */
.hm-r13ded { margin-top: 1rem; display: grid; grid-template-columns: auto minmax(0, 1.2fr) auto auto; align-items: center; gap: 1.25rem 2rem; padding: 1.4rem 1.5rem; border-radius: 22px; color: #fff;
  background: radial-gradient(60% 140% at 100% 0%, rgba(45,212,191,.26), transparent 60%), radial-gradient(40% 120% at 0% 100%, rgba(20,184,166,.14), transparent 60%), #0f1f2c; transition: background-color .15s; }
.hm-r13ded:hover { background-color: #12253a; }
.hm-r13ded__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(45,212,191,.14); color: #5eead4; font-size: 1.7rem; }
.hm-r13ded__title { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hm-r13ded__text p { margin: 0; color: rgba(255,255,255,.74); font-size: .93rem; line-height: 1.45; }
.hm-r13ded__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.hm-r13ded__list li { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .9rem; color: rgba(255,255,255,.88); white-space: nowrap; }
.hm-r13ded__list .ph { color: #5eead4; font-size: .95rem; }
.hm-r13ded__act { display: flex; flex-direction: column; align-items: stretch; gap: .45rem; text-align: center; }
.hm-r13ded__btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.9rem; padding: 0 1.3rem; border-radius: 12px; background: #fff; color: var(--s-ink) !important; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s, transform .1s; }
.hm-r13ded__btn:hover { background: #5eead4; }
.hm-r13ded__btn:active { transform: scale(.97); }
.hm-r13ded__count { font-size: .8rem; color: rgba(255,255,255,.6); }

@media (max-width: 1100px) {
  .hm-r13ded { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hm-r13ded__list { display: none; }
}
@media (max-width: 900px) {
  .hm-r13shop__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hm-r13shop__head { align-items: flex-start; }
  .hm-r13shop__headside { align-items: flex-start; }
  .hm-r13plan__desc { min-height: 0; }
}
@media (max-width: 640px) {
  .hm-r13shop { margin-top: 2rem; }
  .hm-r13shop__head { flex-direction: column; gap: .75rem; margin-bottom: 1.1rem; }
  .hm-r13shop__title { font-size: 1.6rem; }
  .hm-r13shop__sub { font-size: .95rem; }
  .hm-r13shop__note { font-size: .84rem; }
  .hm-r13shop__grid { gap: .75rem; }
  .hm-r13plan__top { padding: 1rem; }
  .hm-r13plan__badge { letter-spacing: .03em; padding: .26rem .5rem; }
  .hm-r13plan__badge .ph { display: none; }
  .hm-r13plan__namerow { margin-top: .9rem; }
  .hm-r13plan__price strong { font-size: 2.1rem; }
  .hm-r13plan__desc { margin: .6rem 0 1rem; }
  .hm-r13plan__specs { padding: .85rem .7rem .7rem; gap: .5rem; }
  .hm-r13ded { grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.2rem; border-radius: 20px; }
  .hm-r13ded__ic { width: 48px; height: 48px; border-radius: 14px; font-size: 1.45rem; align-self: start; }
  .hm-r13ded__list { display: grid; grid-column: 1 / -1; }
  .hm-r13ded__act { grid-column: 1 / -1; }
  .hm-r13ded__btn { width: 100%; }
}
