:root{
  --legal-ink:#211d19;
  --legal-muted:#716960;
  --legal-paper:#fffdf9;
  --legal-canvas:#eee5d9;
  --legal-line:#ddd0c0;
  --legal-gold:#c59a4e;
}

body:has(#allrecords[data-tilda-page-alias="privacy-policy"]),
body:has(#allrecords[data-tilda-page-alias="exchange-return"]),
body:has(#allrecords[data-tilda-page-alias="useragreement"]),
body:has(#allrecords[data-tilda-page-alias="oferta"]){
  margin:0!important;
  color:var(--legal-ink)!important;
  background:
    radial-gradient(circle at 8% 7%,rgba(197,154,78,.18),transparent 24rem),
    radial-gradient(circle at 93% 92%,rgba(135,102,60,.11),transparent 28rem),
    var(--legal-canvas)!important;
  font-family:Inter,Arial,sans-serif!important;
}

#allrecords[data-tilda-page-alias="privacy-policy"],
#allrecords[data-tilda-page-alias="exchange-return"],
#allrecords[data-tilda-page-alias="useragreement"],
#allrecords[data-tilda-page-alias="oferta"]{
  position:relative;
  min-height:calc(100vh - 84px);
  padding:clamp(54px,7vw,112px) 20px clamp(80px,9vw,140px)!important;
  background:transparent!important;
}

#allrecords[data-tilda-page-alias="privacy-policy"]::before,
#allrecords[data-tilda-page-alias="exchange-return"]::before,
#allrecords[data-tilda-page-alias="useragreement"]::before,
#allrecords[data-tilda-page-alias="oferta"]::before{
  position:absolute;
  top:28px;
  left:max(20px,calc(50% - 530px));
  width:42px;
  height:1px;
  background:var(--legal-gold);
  content:"";
}

#allrecords[data-tilda-page-alias="privacy-policy"]>.t-rec,
#allrecords[data-tilda-page-alias="exchange-return"]>.t-rec,
#allrecords[data-tilda-page-alias="useragreement"]>.t-rec,
#allrecords[data-tilda-page-alias="oferta"]>.t-rec{
  width:min(1060px,100%)!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
}

#allrecords[data-tilda-page-alias="privacy-policy"] .t004,
#allrecords[data-tilda-page-alias="exchange-return"] .t004,
#allrecords[data-tilda-page-alias="useragreement"] .t004,
#allrecords[data-tilda-page-alias="oferta"] .t004{
  position:relative;
  overflow:hidden;
  padding:clamp(52px,6vw,86px) clamp(28px,7vw,92px) clamp(58px,7vw,96px)!important;
  background:
    linear-gradient(135deg,rgba(197,154,78,.055),transparent 28%),
    var(--legal-paper)!important;
  border:1px solid rgba(109,88,63,.16);
  border-radius:30px;
  box-shadow:0 28px 90px rgba(55,43,29,.10);
}

#allrecords[data-tilda-page-alias="privacy-policy"] .t004::after,
#allrecords[data-tilda-page-alias="exchange-return"] .t004::after,
#allrecords[data-tilda-page-alias="useragreement"] .t004::after,
#allrecords[data-tilda-page-alias="oferta"] .t004::after{
  position:absolute;
  top:0;
  right:0;
  width:180px;
  height:180px;
  border:1px solid rgba(197,154,78,.18);
  border-radius:50%;
  content:"";
  transform:translate(48%,-58%);
  box-shadow:0 0 0 28px rgba(197,154,78,.035),0 0 0 56px rgba(197,154,78,.02);
  pointer-events:none;
}

#allrecords[data-tilda-page-alias="privacy-policy"] .t004::before,
#allrecords[data-tilda-page-alias="exchange-return"] .t004::before,
#allrecords[data-tilda-page-alias="useragreement"] .t004::before,
#allrecords[data-tilda-page-alias="oferta"] .t004::before{
  position:relative;
  z-index:1;
  display:block;
  max-width:820px;
  margin:0 0 clamp(38px,5vw,62px);
  padding:0 0 28px;
  color:var(--legal-ink);
  border-bottom:1px solid var(--legal-line);
  font:500 clamp(40px,5vw,68px)/.98 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
}

#allrecords[data-tilda-page-alias="privacy-policy"] .t004::before{content:"Политика конфиденциальности"}
#allrecords[data-tilda-page-alias="exchange-return"] .t004::before{content:"Условия обмена и возврата"}
#allrecords[data-tilda-page-alias="useragreement"] .t004::before{content:"Пользовательское соглашение"}
#allrecords[data-tilda-page-alias="oferta"] .t004::before{content:"Публичная оферта"}

#allrecords[data-tilda-page-alias] .t-container,
#allrecords[data-tilda-page-alias] .t-col{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

#allrecords[data-tilda-page-alias="privacy-policy"] .t-text,
#allrecords[data-tilda-page-alias="exchange-return"] .t-text,
#allrecords[data-tilda-page-alias="useragreement"] .t-text,
#allrecords[data-tilda-page-alias="oferta"] .t-text{
  position:relative;
  z-index:1;
  max-width:820px;
  margin:0!important;
  color:var(--legal-muted)!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(15px,1.3vw,17px)!important;
  font-weight:400!important;
  line-height:1.9!important;
  letter-spacing:.002em!important;
  overflow-wrap:anywhere;
}

#allrecords[data-tilda-page-alias] .t-text strong{
  color:var(--legal-ink)!important;
  font-weight:650!important;
}

#allrecords[data-tilda-page-alias] .t-text em{
  color:#6f5a3d;
}

#allrecords[data-tilda-page-alias] .t-text a{
  color:#745626!important;
  text-decoration-color:rgba(116,86,38,.35)!important;
  text-underline-offset:4px;
}

#allrecords[data-tilda-page-alias] .t-text br+br{
  display:block;
  height:18px;
  content:"";
}

body:has(#allrecords[data-tilda-page-alias="privacy-policy"])>.t-tildalabel,
body:has(#allrecords[data-tilda-page-alias="exchange-return"])>.t-tildalabel,
body:has(#allrecords[data-tilda-page-alias="useragreement"])>.t-tildalabel,
body:has(#allrecords[data-tilda-page-alias="oferta"])>.t-tildalabel{
  display:none!important;
}

@media(max-width:720px){
  #allrecords[data-tilda-page-alias="privacy-policy"],
  #allrecords[data-tilda-page-alias="exchange-return"],
  #allrecords[data-tilda-page-alias="useragreement"],
  #allrecords[data-tilda-page-alias="oferta"]{padding:38px 12px 72px!important}
  #allrecords[data-tilda-page-alias] .t004{padding:38px 22px 52px!important;border-radius:20px}
  #allrecords[data-tilda-page-alias] .t004::before{margin-bottom:30px;padding-bottom:22px;font-size:clamp(34px,11vw,48px)}
  #allrecords[data-tilda-page-alias] .t-text{font-size:15px!important;line-height:1.78!important}
}

@media print{
  .lumetry-fallback-header,.t-tildalabel{display:none!important}
  body:has(#allrecords[data-tilda-page-alias]){background:#fff!important}
  #allrecords[data-tilda-page-alias]{padding:0!important}
  #allrecords[data-tilda-page-alias] .t004{padding:24px!important;border:0!important;box-shadow:none!important}
}
