/* =========================================================
       НАСТРОЙКИ (можно менять прямо здесь)
       ========================================================= */
:root{
  --bg0:#fffdfc;
  --bg1:#f8ecea;
  --bg2:#f2dedd;
  --ink:#2f2427;
  --muted:rgba(47,36,39,.72);
  --stroke:rgba(47,36,39,.12);

  --rose:#f0b9b7;
  --peach:#f6d3c9;
  --sand:#ead7c8;

  --glass: rgba(255,255,255,.54);
  --glass2: rgba(255,255,255,.36);

  --shadow: 0 22px 70px rgba(47,36,39,.14);
  --shadow2: 0 10px 28px rgba(47,36,39,.10);

  --r16:16px;
  --r22:22px;
  --r30:30px;

  --max: 1120px;

  --t-fast: 140ms;
  --t-med: 220ms;
  --t-slow: 420ms;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(900px 520px at 12% 10%, rgba(240,185,183,.60), transparent 60%),
    radial-gradient(900px 520px at 88% 18%, rgba(246,211,201,.65), transparent 60%),
    radial-gradient(900px 520px at 50% 92%, rgba(234,215,200,.65), transparent 62%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height:100vh;
  overflow-x:hidden;
}

/* (полезно по всему сайту) чтобы любые картинки не вылезали из контейнеров */
img{ max-width:100%; height:auto; }

/* Animated “aurora” */
.aurora{
  position: fixed;
  inset: -18vh -18vw;
  z-index:-1;
  filter: blur(40px);
  opacity:.70;
  pointer-events:none;
}
.aurora::before,
.aurora::after{
  content:"";
  position:absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 18% 22%, rgba(240,185,183,.92), transparent 62%),
    radial-gradient(closest-side at 80% 28%, rgba(246,211,201,.92), transparent 62%),
    radial-gradient(closest-side at 52% 86%, rgba(234,215,200,.92), transparent 62%);
  transform: translate3d(0,0,0);
  animation: drift 18s ease-in-out infinite;
}
.aurora::after{
  opacity:.7;
  mix-blend-mode: multiply;
  animation-duration: 26s;
  animation-direction: reverse;
}
@keyframes drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.00) rotate(0deg); }
  50%  { transform: translate3d( 2%,  1%, 0) scale(1.04) rotate(6deg); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1.00) rotate(0deg); }
}

a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding: 0 18px;}

/* Top bar */
.top{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(47,36,39,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.46));
  backdrop-filter: blur(12px);
}
.top__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  min-width: 260px;
}
.brand__logo{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(47,36,39,.12);
  box-shadow: var(--shadow2);
  object-fit: cover;
  background: rgba(255,255,255,.75);
}
.brand__name{
  font-weight: 750;
  letter-spacing:.2px;
  line-height: 1.1;
  font-size: 15.5px;
}
.brand__tag{
  display:block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex;
  gap: 8px;
  align-items:center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a{
  text-decoration:none;
  font-weight: 650;
  font-size: 12.5px;
  color: rgba(47,36,39,.74);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease;
}
.nav a:hover{
  background: rgba(255,255,255,.55);
  border-color: rgba(47,36,39,.12);
  transform: translateY(-1px);
}

/* Progress bar */
.progress{
  height: 2px;
  background: linear-gradient(90deg, rgba(240,185,183,.0), rgba(240,185,183,.90), rgba(246,211,201,.90), rgba(234,215,200,.90), rgba(240,185,183,.0));
  transform-origin: 0 50%;
  transform: scaleX(0);
  opacity:.85;
}

/* Glass card */
.card{
  border: 1px solid rgba(47,36,39,.12);
  border-radius: var(--r30);
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.42));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background: radial-gradient(600px 220px at 20% 20%, rgba(255,255,255,.55), transparent 60%);
  opacity:.55;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(47,36,39,.14);
  background: rgba(255,255,255,.62);
  text-decoration:none;
  font-weight: 750;
  letter-spacing:.1px;
  box-shadow: var(--shadow2);
  cursor:pointer;
  user-select:none;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease;
  position: relative;
  overflow: hidden;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.78);
  border-color: rgba(47,36,39,.18);
}
.btn:active{ transform: translateY(0px); }
.btn .shine{
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.75), transparent);
  transform: translateX(-60%) rotate(12deg);
  opacity: 0;
  transition: opacity var(--t-fast) ease;
}
.btn:hover .shine{
  opacity: .6;
  animation: shine 1.1s ease;
}
@keyframes shine {
  0%{ transform: translateX(-70%) rotate(12deg); }
  100%{ transform: translateX(70%) rotate(12deg); }
}

.btn--primary{
  background: linear-gradient(180deg, rgba(240,185,183,.60), rgba(255,255,255,.60));
  border-color: rgba(211,157,141,.40);
}
.btn--ghost{
  background: transparent;
  box-shadow:none;
}

/* Hero */
.hero{ padding: 26px 0 10px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  align-items: stretch;
}
.hero__main{ padding: 22px; }
.h1{
  margin: 0 0 10px;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.05;
  letter-spacing: .2px;
}
.lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 64ch;
}

.chips{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 10px; }
.chip{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.52);
  font-size: 12.5px;
  color: rgba(47,36,39,.78);
  transition: transform var(--t-fast) ease, background var(--t-fast) ease;
}
.chip:hover{ transform: translateY(-1px); background: rgba(255,255,255,.70); }

.hero__actions{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 14px; }
.hero__side{ padding: 18px; display:flex; flex-direction:column; gap: 10px; }

.avatar{
  border-radius: var(--r22);
  border: 1px solid rgba(47,36,39,.12);
  box-shadow: var(--shadow2);
  overflow:hidden;
  background: rgba(255,255,255,.55);
  position: relative;
}
.avatar img{
  width:100%;
  display:block;
  object-fit: cover;
  aspect-ratio: 1/1;
  transform: translateZ(0);
}
.avatar::after{
  content:"";
  position:absolute;
  inset: -25%;
  background: radial-gradient(closest-side at 30% 30%, rgba(255,255,255,.58), transparent 65%);
  pointer-events:none;
  animation: floaty 6s ease-in-out infinite;
  opacity:.55;
}
@keyframes floaty {
  0%{ transform: translate3d(-2%, -1%, 0) rotate(0deg); }
  50%{ transform: translate3d( 2%,  1%, 0) rotate(4deg); }
  100%{ transform: translate3d(-2%, -1%, 0) rotate(0deg); }
}

.sideBlock{
  border-radius: var(--r22);
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.52);
  box-shadow: var(--shadow2);
  padding: 14px;
  position: relative;
  overflow:hidden;
}
.sideBlock::before{
  content:"";
  position:absolute;
  inset:-40% -20%;
  background: radial-gradient(closest-side at 30% 30%, rgba(240,185,183,.55), transparent 60%);
  opacity:.55;
  pointer-events:none;
}
.sideTitle{ margin:0 0 6px; font-weight:800; font-size: 14px; }
.sideText{ margin:0; color: var(--muted); font-size: 13.2px; line-height: 1.55; }

/* Sections */
section{ padding: 18px 0; }
.head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin: 8px 0 12px;
}
.h2{ margin:0; font-size: 22px; letter-spacing:.1px; }
.sub{ margin:0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

.grid3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.grid2{ display:grid; grid-template-columns: repeat(2,1fr); gap: 12px; }

.tile{
  border-radius: var(--r30);
  border: 1px solid rgba(47,36,39,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.40));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
  padding: 16px;
  position: relative;
  overflow:hidden;
  transform: translateZ(0);
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease, border-color var(--t-fast) ease;
}
.tile:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(47,36,39,.18);
}
.tile::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(420px 240px at 25% 20%, rgba(255,255,255,.55), transparent 60%);
  opacity:.6;
  pointer-events:none;
}
.tile h3{ margin:0 0 8px; font-size: 14.5px; font-weight: 850; }
.tile p{ margin:0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* Promo pills */
.promo{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
}
.promo .pill{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.54);
  box-shadow: var(--shadow2);
  cursor: default;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease, background var(--t-fast) ease;
}
.promo .pill:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.76);
}
.pill .tag{
  font-weight: 900;
  letter-spacing:.2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240,185,183,.62), rgba(246,211,201,.50));
  border: 1px solid rgba(211,157,141,.35);
  white-space: nowrap;
}
.pill .txt{ font-weight: 650; color: rgba(47,36,39,.78); font-size: 13px; }
.pill .small{ display:block; font-weight: 550; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* New items */
.items{ display:grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.item{
  border-radius: var(--r30);
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 320px;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.item:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }

/* ✅ зона под фото (портретная) + обрезка */
.item__img{
  display:block;
  height:auto;
  aspect-ratio: 4 / 5;     /* “в рост” (можно 3/4 если хотите ещё выше) */
  overflow:hidden;         /* ключевое: обрезаем всё лишнее */
  border-bottom: 1px solid rgba(47,36,39,.12);
  background:
    radial-gradient(520px 260px at 20% 20%, rgba(240,185,183,.70), transparent 60%),
    radial-gradient(520px 260px at 84% 30%, rgba(246,211,201,.70), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.35));
}

/* ✅ картинка заполняет окно аккуратно */
.item__img img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 18%; /* чуть выше центра — полезно для “в рост” */
}

.item__body{ padding: 14px; display:flex; flex-direction:column; gap: 8px; flex:1; }
.item__title{ margin:0; font-size: 14.5px; font-weight: 850; }
.meta{ display:flex; flex-wrap:wrap; gap: 8px; color: var(--muted); font-size: 12.5px; }
.price{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.price b{ font-size: 16px; }
.link{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(211,157,141,.40);
  background: rgba(246,211,201,.35);
  text-decoration:none;
  font-weight: 800;
  font-size: 12px;
  transition: transform var(--t-fast) ease;
  white-space: nowrap;
}
.link:hover{ transform: translateY(-1px); }

/* Rules (accordion) */
.rules details{
  border-radius: var(--r30);
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
  padding: 14px 16px;
  overflow:hidden;
}
.rules details + details{ margin-top: 10px; }
.rules summary{
  cursor:pointer;
  font-weight: 900;
  font-size: 14px;
  list-style:none;
  outline:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.rules summary::-webkit-details-marker{ display:none; }
.rules summary .chev{
  width: 10px; height: 10px;
  border-right: 2px solid rgba(47,36,39,.55);
  border-bottom: 2px solid rgba(47,36,39,.55);
  transform: rotate(45deg);
  transition: transform var(--t-fast) ease;
  flex: 0 0 auto;
  margin-left: 10px;
}
.rules details[open] summary .chev{ transform: rotate(225deg); }
.rules p{ margin:10px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* Footer */
footer{ padding: 16px 0 30px; color: var(--muted); }
.foot{
  border-top: 1px solid rgba(47,36,39,.12);
  padding-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.note{ font-size: 12.5px; line-height: 1.45; }

/* Floating actions */
.float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display:flex;
  gap: 10px;
}

/* ===========================
   Scroll arrows (up/down)
   =========================== */
.scrollFab{
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--float-offset, 0px));
  z-index: 65;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scrollFab__btn{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow2);
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease, opacity var(--t-fast) ease;
}

.scrollFab__btn:hover{
  background: rgba(255,255,255,.92);
  border-color: rgba(47,36,39,.18);
  transform: translateY(-1px);
}

.scrollFab__btn:active{ transform: translateY(0px); }

.scrollFab__btn[disabled]{
  opacity: .45;
  cursor: default;
  transform: none;
}

.scrollFab__icon{
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  color: rgba(47,36,39,.72);
}


/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity var(--t-slow) ease, transform var(--t-slow) ease; }
.reveal.is-visible{ opacity:1; transform: translateY(0px); }

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 70;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow2);
  font-weight: 800;
  font-size: 12.5px;
  opacity: 0;
  pointer-events:none;
  transition: opacity var(--t-med) ease, transform var(--t-med) ease;
}
.toast.is-on{
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .items{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px){
  .nav{ display:none; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .items{ grid-template-columns: 1fr; }
  .float{ left: 16px; right: 16px; }
  .float .btn{ flex:1; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .aurora::before, .aurora::after{ animation: none !important; }
  .avatar::after{ animation: none !important; }
  .reveal{ transition: none !important; }
  .btn .shine{ animation: none !important; }
}

/* =========================================================
   WordPress helpers
   ========================================================= */
.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:18px; top:18px; width:auto; height:auto; padding:10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(47,36,39,.18);
  box-shadow: var(--shadow2);
  z-index: 9999;
}

/* Custom logo wrapper */
.brand__logo{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(47,36,39,.12);
  box-shadow: var(--shadow2);
  overflow:hidden;
  background: rgba(255,255,255,.75);
  display:grid;
  place-items:center;
}
.brand__logo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.brand__logo a{ display:block; width:100%; height:100%; }
.brand__logo a img{ width:100%; height:100%; object-fit:cover; display:block; }

.brand__logo--fallback{
  background:
    radial-gradient(closest-side at 30% 30%, rgba(240,185,183,.95), transparent 65%),
    radial-gradient(closest-side at 70% 50%, rgba(246,211,201,.95), transparent 65%),
    radial-gradient(closest-side at 50% 80%, rgba(234,215,200,.95), transparent 65%),
    rgba(255,255,255,.75);
}

/* Content inside page/post */
.ti-content{ color: rgba(47,36,39,.86); line-height: 1.7; }
.ti-content a{ text-decoration: underline; text-underline-offset: 3px; }
.ti-content img{ max-width:100%; height:auto; border-radius: 18px; border:1px solid rgba(47,36,39,.10); }

/* =========================================================
   Catalog (ti-like) on light theme
   ========================================================= */
.glass{
  border: 1px solid rgba(47,36,39,.12);
  border-radius: var(--r30);
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.42));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.glass::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background: radial-gradient(600px 220px at 20% 20%, rgba(255,255,255,.55), transparent 60%);
  opacity:.55;
}

.ti-cat{ padding: 18px; margin: 18px auto 0; }
.ti-cat__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 14px; flex-wrap: wrap;
}
.ti-cat__title{ margin:0; font-size: 22px; letter-spacing:.1px; }
.ti-cat__sub{ color: var(--muted); font-size: 13.5px; margin-top: 4px; }

.ti-cat__search{ display:flex; gap:10px; align-items:center; flex-wrap: wrap; }
.ti-input{
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(47,36,39,.14);
  background: rgba(255,255,255,.70);
  color: var(--ink);
  min-width: 240px;
  outline: none;
  box-shadow: var(--shadow2);
}
.ti-input:focus{
  border-color: rgba(211,157,141,.55);
  box-shadow: 0 0 0 4px rgba(240,185,183,.22);
}
.ti-btn{
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(47,36,39,.14);
  background: rgba(255,255,255,.62);
  font-weight: 850;
  cursor:pointer;
  box-shadow: var(--shadow2);
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease, background var(--t-fast) ease;
}
.ti-btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); background: rgba(255,255,255,.82); }
.ti-btn--ghost{ background: transparent; box-shadow:none; }

.ti-cat__filters{ margin-top: 12px; display:flex; flex-direction:column; gap: 10px; }
.ti-filters__row{ display:flex; align-items:flex-start; gap: 10px; flex-wrap: wrap; }
.ti-filters__label{ font-weight: 850; color: rgba(47,36,39,.78); min-width: 70px; padding-top: 6px; }
.ti-pills{ display:flex; flex-wrap:wrap; gap: 8px; }

.ti-pill{
  display:inline-flex; align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.52);
  font-size: 12.5px;
  color: rgba(47,36,39,.78);
  text-decoration:none;
  transition: transform var(--t-fast) ease, background var(--t-fast) ease, border-color var(--t-fast) ease;
}
.ti-pill:hover{ transform: translateY(-1px); background: rgba(255,255,255,.72); border-color: rgba(47,36,39,.18); }
.ti-pill.is-active{
  background: linear-gradient(180deg, rgba(240,185,183,.55), rgba(255,255,255,.65));
  border-color: rgba(211,157,141,.45);
  color: rgba(47,36,39,.88);
}

.ti-posts{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.ti-post{
  border-radius: var(--r30);
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
  display:flex;
  flex-direction:column;
  min-height: 320px;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.ti-post:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.ti-post__cover{
  height: 180px;
  border-bottom: 1px solid rgba(47,36,39,.12);
  background:
    radial-gradient(520px 260px at 20% 20%, rgba(240,185,183,.70), transparent 60%),
    radial-gradient(520px 260px at 84% 30%, rgba(246,211,201,.70), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.35));
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.ti-post__cover img{ width:100%; height:100%; object-fit: cover; display:block; }
.ti-post__ph{ font-weight: 900; color: rgba(47,36,39,.70); }
.ti-post__body{ padding: 14px; display:flex; flex-direction:column; gap: 8px; flex:1; }
.ti-post__title{ font-size: 14.8px; font-weight: 900; }
.ti-post__excerpt{ color: var(--muted); font-size: 13.4px; line-height: 1.55; }
.ti-post__meta{ margin-top:auto; display:flex; align-items:center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.ti-dot{ opacity:.6; }

.ti-post__hit{ position:absolute; inset:0; text-indent:-9999px; }

.ti-badges{ display:flex; flex-wrap:wrap; gap: 6px; }
.ti-badge{
  display:inline-flex; align-items:center;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.55);
  text-decoration:none;
  font-size: 12px;
  font-weight: 850;
  color: rgba(47,36,39,.78);
}
.ti-badge--tag{
  background: rgba(246,211,201,.40);
  border-color: rgba(211,157,141,.35);
}

.ti-pager{ margin-top: 14px; display:flex; flex-wrap:wrap; gap: 8px; }
.ti-page a, .ti-page span{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.55);
  text-decoration:none;
  font-weight: 900;
  color: rgba(47,36,39,.78);
}
.ti-page .current{
  background: linear-gradient(180deg, rgba(240,185,183,.55), rgba(255,255,255,.65));
  border-color: rgba(211,157,141,.45);
}

.ti-empty{
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--r30);
  border: 1px solid rgba(47,36,39,.12);
  background: rgba(255,255,255,.62);
  color: var(--muted);
}

@media (max-width: 980px){
  .ti-posts{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px){
  .ti-posts{ grid-template-columns: 1fr; }
  .ti-input{ min-width: 220px; width: 100%; }
  .ti-cat__search{ width: 100%; }
  .ti-btn{ width: auto; }
}

/* Портретная зона под фото (лучше для “в рост”) */
.ti-post__cover{
  height: auto;
  aspect-ratio: 4 / 5;  /* можно 3/4 если хотите ещё выше */
  overflow: hidden;
  background:
    radial-gradient(520px 260px at 20% 20%, rgba(240,185,183,.70), transparent 60%),
    radial-gradient(520px 260px at 84% 30%, rgba(246,211,201,.70), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.35));
}

/* Фото заполняет окно аккуратно */
.ti-post__cover img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;     /* заполнение без “полос” */
  object-position: 50% 18%; /* чуть выше центр — полезно для “в рост” */
}


/* =========================================================
   HOTFIX: "Новинки" на главной — текст строго ПОД фото
   (перебивает возможные старые/инлайновые правила)
   ========================================================= */
#new .items .item{
  display:flex;
  flex-direction:column;
}

#new .items .item__img{
  position: relative !important;
  inset: auto !important;
  order: 0;
  flex: 0 0 auto;
  height: auto !important;
  aspect-ratio: 4 / 5;
  overflow: hidden !important;
  display: block !important;
}

#new .items .item__img > img{
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  object-position: 50% 18%;
}

#new .items .item__body{
  position: relative !important;
  inset: auto !important;
  order: 1;
}



.price{ margin-top:auto; display:flex; align-items:center; justify-content:flex-end; }
.price .actions{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }

/* Вторая кнопка чуть “мягче”, чтобы не спорила с основной */
.link--tg{
  background: rgba(255,255,255,.55);
  border-color: rgba(47,36,39,.14);
}
.link--tg:hover{ transform: translateY(-1px); }


/* Заголовок как ссылка, но без “подчеркивания” */
.ti-post__title{
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
.ti-post__title:hover{ opacity: .9; }

/* Кнопка на TG */
.ti-post__actions{
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
.ti-post__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(211,157,141,.40);
  background: rgba(246,211,201,.35);
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
  transition: transform var(--t-fast) ease, background var(--t-fast) ease;
}
.ti-post__btn:hover{
  transform: translateY(-1px);
  background: rgba(246,211,201,.50);
}
