@font-face {
  font-family: "Tilda Sans";
  src:
    url("/static/fonts/tilda/TildaSans-VF.225e749cd26e.woff2") format("woff2"),
    url("/static/fonts/tilda/TildaSans-VF.64cecfd84e1b.woff") format("woff");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tilda Sans VF";
  src:
    url("/static/fonts/tilda/TildaSans-VF.225e749cd26e.woff2") format("woff2"),
    url("/static/fonts/tilda/TildaSans-VF.64cecfd84e1b.woff") format("woff");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TildaSans-Bold";
  src:
    url("/static/fonts/tilda/TildaSans-Bold.5afcc96dec53.woff2") format("woff2"),
    url("/static/fonts/tilda/TildaSans-Bold.f2bc29bc2dab.woff") format("woff");
  font-style: normal;
  font-display: swap;
}

/* Убираем подчёркивание у карточек-элементов */
.item,
.item * {
  text-decoration: none;
}

/* На всякий случай при hover/focus */
.item:hover,
.item:focus,
.item *:hover,
.item *:focus {
  text-decoration: none;
}








:root{
  --pink:#ff4f8f;
  --pink2:#ff7aa7;
  --bg:#f6f7fb;
  --text:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --border:#e5e7eb;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-extra-gap: 8px;
  --tabbar-height: calc(72px + var(--safe-bottom) + var(--tabbar-extra-gap));
  --font-head: "TildaSans-Bold", "Tilda Sans VF", "Tilda Sans", sans-serif;
  --font-body: "Tilda Sans VF", "Tilda Sans", sans-serif;
  --fw-regular: 450;
  --fw-bold: 800;
  --fw-black: 900;
}

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  word-break:normal;
  overflow-wrap:normal;
}

body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

*{box-sizing:border-box}
body{
  margin:0;
  
  
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
}

button,
input,
select,
textarea{
  
}
a{color:inherit}

.topbar{
  position:sticky; top:0; z-index:20;
  height:56px; background:#fff; border-bottom:1px solid var(--border);
  display:grid; grid-template-columns:1fr auto 1fr;
  align-items:center; padding:0 12px;
}
.topbar__left,.topbar__right{display:flex; align-items:center; gap:8px;}
.topbar__right{justify-content:flex-end;}
.topbar-link{
  position:relative;
  width:132px;
  min-height:36px;
  padding:0 12px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(15, 23, 42, 0.08);
  background:#fff;
  color:#334155;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(15, 23, 42, 0.06);
  font-size:14px;
  line-height:1;
  white-space:nowrap;
}
.topbar-link.is-active{
  color:var(--pink);
  border-color:rgba(255, 79, 143, 0.24);
  background:#fff4f8;
}
.topbar-link__badge{
  margin-left:8px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--pink);
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:700;
  box-shadow:0 8px 18px rgba(255, 79, 143, 0.28);
}
.topbar__brand{
  text-decoration:none;
  justify-self:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.brand__logo{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.brand__logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
@media (max-width: 420px){
  .topbar{
    padding:0 10px;
  }
  .topbar-link{
    width:116px;
    min-height:34px;
    padding:0 10px;
    font-size:13px;
  }
  .topbar-link__badge{
    min-width:18px;
    height:18px;
    padding:0 5px;
    font-size:10px;
  }
}

.desknav{
  display:none;
  background:#fff;
  border-bottom:1px solid var(--border);
  padding:10px 16px;
  gap:10px;
}
.desknav__item{
  text-decoration:none;
  
  color:#64748b;
  padding:10px 12px;
  border-radius:14px;
}
.desknav__item.is-active{color:var(--pink); background:#fff0f5; border:1px solid #ffd2e1;}

.page{
  padding:16px 16px calc(88px + var(--safe-bottom) + var(--tabbar-extra-gap));
  flex:1 0 auto;
  width:100%;
}
.flash{
  display:grid;
  gap:8px;
  margin:12px 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.flash.is-hiding{
  opacity:0;
  transform: translateY(-6px);
}
.flash__item{background:#fff; border:1px solid var(--border); border-left:4px solid var(--pink); padding:10px 12px; border-radius:12px; }

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 8px 20px rgba(15,23,42,0.05);
  padding:14px;
}

.section-title{margin:18px 0 10px; font-size:22px; }
.muted{color:var(--muted);}
.list{display:grid; gap:12px;}

.hero{
  background:linear-gradient(135deg,var(--pink),var(--pink2));
  color:#fff;
  border-radius:22px;
  padding:16px;
  box-shadow:0 12px 30px rgba(255,79,143,0.25);
  display:flex; gap:14px; align-items:center;
}
.hero__avatar{
  width:46px;height:46px;border-radius:50%;
  background:rgba(255,255,255,0.25);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
}
.hero__name{font-size:22px;line-height:1.1;}
.hero__club{opacity:0.9;margin-top:4px;}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 16px; border-radius:16px;
  border:1px solid transparent;
  font-size:16px;
  line-height:1.2;
  font-weight:500;
  cursor:pointer; text-decoration:none;
}
.btn--action{
  font-size:18px;
  line-height:1.2;
}
.btn--primary{background:var(--pink); color:#fff;}
.btn--ghost{background:#fff; border-color:var(--border); color:var(--text);}
.btn--muted{background:#f1f5f9; color:#334155; border-color:#e2e8f0;}
.btn--full{width:100%;}

.item{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:12px;
  border-radius:18px; border:1px solid var(--border);
  background:#fff;
}
.item__left{display:flex; gap:12px; align-items:center;}
.item__icon{
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#fde2ea;color:var(--pink);font-size:20px;
}
.item__title{}
.item__subtitle{color:var(--muted); margin-top:2px; font-size:13px; }
.item__chev{color:var(--pink);  font-size:20px;}

.tabbar{
  position:fixed; bottom:0; left:0; right:0;
  height:var(--tabbar-height); background:#fff; border-top:1px solid var(--border);
  display:flex; justify-content:space-around; align-items:center;
  padding:8px 8px calc(10px + var(--safe-bottom) + var(--tabbar-extra-gap)); z-index:30;
}
.tabbar__item{
  flex:1 1 0; display:flex; flex-direction:column; align-items:center; gap:4px;
  text-decoration:none; color:#94a3b8;  position:relative;
  min-width:0;
}
.tabbar__item.is-active{color:var(--pink);}
.tabbar__icon{font-size:22px; line-height:1;}
.tabbar__icon--img{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.tabbar__icon--img img{
  width:100%;
  height:100%;
  object-fit:contain;
  transform:scale(1.44);
  transform-origin:center;
  display:block;
}

.tabbar__icon--shop img,
.tabbar__icon--profile img{
  transform:scale(1.28);
}
.tabbar__label{
  font-size:12px;
  line-height:1.1;
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
  hyphens:none;
}
.tabbar__badge{
  position:absolute; top:0; right:18px;
  background:var(--pink); color:#fff; border-radius:999px;
  padding:2px 6px; font-size:11px; 
}

.sticky-cartbar{
  position:sticky; bottom:calc(84px + var(--safe-bottom) + var(--tabbar-extra-gap)); z-index:10;
  background:linear-gradient(135deg,var(--pink),var(--pink2));
  color:#fff; border-radius:18px;
  padding:14px 14px;
  display:flex; justify-content:space-between; align-items:center;
  box-shadow:0 12px 28px rgba(255,79,143,0.28);
  text-decoration:none;
}
.sticky-cartbar__left{display:flex; gap:12px; align-items:center;}
.sticky-cartbar__cart{
  width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,0.18);
  display:flex;align-items:center;justify-content:center;font-size:22px;
}
.sticky-cartbar__sum{font-size:22px;line-height:1;}
.sticky-cartbar__meta{opacity:0.9;margin-top:4px;font-size:13px;}
.sticky-cartbar__chev{font-size:24px;}

input, select{
  width:100%; padding:12px 12px; border-radius:14px;
  border:1px solid var(--border); background:#fff;
   margin-top:6px;
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine){
  .page{max-width:1040px; margin:0 auto; padding-bottom:30px;}
  .tabbar{display:none;}
  .desknav{
    display:flex;
    width:100%;
    margin:0;
    justify-content:center;
    border-left:0;
    border-right:0;
    border-radius:0;
  }
}

/* iOS focus zoom fix: на мобильных все текстовые поля минимум 16px */
@media (max-width: 1024px){
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  select,
  textarea{
    font-size:16px !important;
  }
}

/* ===========================
   NEWS — фиксированный размер
   + наложение текста (1-в-1)
   =========================== */

.news-row{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-snap-type:x mandatory;
}
.news-row::-webkit-scrollbar{ height:8px; }
.news-row::-webkit-scrollbar-thumb{ border-radius:10px; background:rgba(0,0,0,0.12); }

.news-card{
  position:relative;
  flex:0 0 auto;
  width:132px;
  height:132px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 18px rgba(0,0,0,0.12);
  scroll-snap-align:start;
  display:block;
  text-decoration:none;
}
.news-card__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.news-card__img--stub{
  width:100%;
  height:100%;
  background:linear-gradient(135deg, rgba(255,79,143,0.25), rgba(255,79,143,0.05));
}

.news-card__shade{
  position:absolute;
  inset:0;
}
.news-card__shade--gradient{
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0.00) 40%,
    rgba(var(--news-ovl-rgb), var(--news-ovl-a)) 100%
  );
}
.news-card__shade--solid{
  background:rgba(var(--news-ovl-rgb), var(--news-ovl-a));
}

.news-card__label{
  position:absolute;
  left:12px;
  bottom:10px;
  right:10px;

  color:var(--news-text);
  
  
  letter-spacing:0.8px;
  font-size:18px;
  line-height:1;
  text-transform:uppercase;

  text-shadow:0 2px 10px rgba(0,0,0,0.35);
}

.news-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:14px;}
@media (max-width: 640px){.news-grid{grid-template-columns:repeat(3, 1fr);} }
@media (max-width: 420px){.news-grid{grid-template-columns:repeat(2, 1fr);} }
.news-feed{
  padding-top:18px;
  padding-bottom:18px;
}

.news-feed__title{
  margin:12px 0 26px;
  text-align:center;
  font-size:28px;
  line-height:1.05;
  
}

.news-feed__list{
  display:grid;
  gap:26px;
  justify-items:center;
  padding:0 6px;
}

.news-feed-card{
  width:min(470px, calc(100vw - 72px));
  display:block;
  border-radius:30px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(218, 224, 236, 0.95);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.08),
    0 6px 14px rgba(15, 23, 42, 0.06);
  text-decoration:none;
}

.news-feed-card__media{
  position:relative;
  width:100%;
  aspect-ratio:4 / 4.4;
  background:#e2e8f0;
}

.news-feed-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.news-feed-card__stub{
  width:100%;
  height:100%;
  background:linear-gradient(135deg, rgba(255,79,143,0.25), rgba(255,79,143,0.05));
}

.news-feed-card__badge{
  position:absolute;
  left:14px;
  top:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255, 255, 255, 0.92);
  border:1px solid rgba(255, 219, 232, 0.98);
  color:#b83280;
  font-size:12px;
  line-height:1;
  font-weight:700;
  box-shadow:0 10px 24px rgba(148, 163, 184, 0.18);
  z-index:1;
}

.news-feed-card__share{
  position:absolute;
  top:14px;
  right:14px;
  width:46px;
  height:46px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(255,255,255,0.86), rgba(244,246,251,0.78));
  border:1px solid rgba(255,255,255,0.98);
  box-shadow:
    0 10px 24px rgba(148, 163, 184, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.news-feed-card__share::before{
  content:"";
  width:19px;
  height:19px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6.25 13.75L13.75 6.25' stroke='%236b7280' stroke-width='1.85' stroke-linecap='round'/%3E%3Cpath d='M8 6.25h5.75V12' stroke='%236b7280' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.news-feed-card__body{
  padding:11px 13px 14px;
  background:#fff;
}

.news-feed-card__title{
  margin:0;
  font-size:21px;
  line-height:1.1;
  
}

.news-feed-card__text{
  margin:6px 0 0;
  color:#1f2937;
  font-size:14px;
  line-height:1.25;
}

.news-feed__pager{
  width:min(470px, calc(100vw - 72px));
  margin:24px auto 12px;
}

@media (max-width: 900px){
  .news-feed__title{
    font-size:26px;
  }
  .news-feed-card__title{
    font-size:19px;
  }
  .news-feed-card__text{
    font-size:13px;
  }
}

@media (max-width: 560px){
  .news-feed__title{
    font-size:14px;
    margin:18px 0 24px;
  }
  .news-feed__list{
    gap:24px;
    padding:0 10px;
  }
  .news-feed-card{
    width:min(386px, calc(100vw - 54px));
    border-radius:26px;
  }
  .news-feed-card__body{
    padding:10px 12px 12px;
  }
  .news-feed-card__share{
    top:12px;
    right:12px;
    width:42px;
    height:42px;
  }
  .news-feed-card__badge{
    left:12px;
    top:12px;
    min-height:28px;
    padding:0 10px;
    font-size:11px;
  }
  .news-feed-card__share::before{
    width:17px;
    height:17px;
  }
  .news-feed-card__title{
    font-size:16px;
    line-height:1.15;
  }
  .news-feed-card__text{
    margin-top:5px;
    font-size:10px;
    line-height:1.25;
  }
  .news-feed__pager{
    width:min(386px, calc(100vw - 54px));
    margin:22px auto 12px;
  }
}

.pager{display:flex; align-items:center; justify-content:space-between; gap:10px; margin:16px 0 8px;}

.news-detail__cover{width:100%; border-radius:18px; display:block; margin:10px 0 6px;}
.news-detail__badge{display:inline-flex; padding:6px 10px; border-radius:999px; background:#fff0f5; border:1px solid #ffd2e1; color:var(--pink);  margin:6px 0 10px;}
.news-detail__body{color:#0f172a; line-height:1.5;}
.news-detail__photos{display:grid; gap:12px; margin-top:12px;}
.news-detail__photo img{width:100%; border-radius:16px; display:block;}
.news-detail__photo figcaption{margin-top:6px; color:var(--muted); }

.legal-footer{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  align-items:center;
  justify-content:center;
  margin-top:auto;
  padding:8px 16px 92px;
  color:#64748b;
  font-size:12px;
  
}
.legal-footer a{color:#64748b; text-decoration:underline;}
.legal-footer__btn{
  border:0;
  background:transparent;
  color:#64748b;
  text-decoration:underline;
  font:inherit;
  cursor:pointer;
  padding:0;
}

.cookie-consent{
  position:fixed;
  left:12px;
  right:12px;
  bottom:84px;
  z-index:70;
}
.cookie-consent.is-hidden{display:none;}

.cookie-consent__card{
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:0 16px 36px rgba(15,23,42,0.18);
  padding:14px;
}
.cookie-consent__title{
  font-size:18px;
  
  margin-bottom:8px;
}
.cookie-consent__text{
  color:#475569;
  font-size:13px;
  
  line-height:1.45;
}
.cookie-consent__text a{
  color:var(--pink);
  
}
.cookie-consent__actions{
  display:grid;
  gap:8px;
  margin-top:12px;
}

.cookie-settings{
  border-top:1px solid var(--border);
  margin-top:12px;
  padding-top:12px;
  display:grid;
  gap:10px;
}
.cookie-settings.is-hidden{display:none;}

.cookie-settings__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  font-size:13px;
  
  color:#334155;
}
.cookie-settings__row input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:0;
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine){
  .legal-footer{padding:16px 16px 20px;}
  .cookie-consent{
    left:50%;
    transform:translateX(-50%);
    width:min(620px, calc(100vw - 24px));
    right:auto;
    bottom:16px;
  }
}

@media (max-width: 640px){
  .legal-footer{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 12px;
    align-items:start;
    justify-items:center;
    text-align:center;
    font-size:13px;
    line-height:1.35;
    padding:10px 16px 96px;
  }
  .legal-footer a,
  .legal-footer__btn{
    max-width:100%;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }
  .tabbar__label{
    font-size:11px;
  }
}

/* Единая легкая типографика по всему сайту */
:root{
  --font-main: "Tilda Sans VF", "Tilda Sans", sans-serif;
}

body,
body *{
  font-family: var(--font-main) !important;
  font-weight: 400 !important;
}
