/* Homepage shop cards: native shop links, images, rating and counts. */
html.dp-public .widget-shops-container .widget-shops-item-link{display:block;height:100%;color:var(--dp-text,#19212f);text-decoration:none;outline-offset:4px}
html.dp-public .widget-shops-container .widget-shops-item{position:relative;isolation:isolate;display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:18px 14px;min-height:190px;height:100%;padding:22px 20px 18px;box-sizing:border-box;overflow:hidden;border:1px solid var(--dp-line,#dfe4ed);border-radius:19px;background:var(--dp-panel,#fff);box-shadow:0 6px 24px #111c3608;transition:transform .18s,border-color .18s,box-shadow .18s}
html.dp-public .widget-shops-container .widget-shops-item::before{content:'';position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--dp-accent,#454cee) 12%,transparent),transparent 65%);pointer-events:none}
html.dp-public .widget-shops-container .widget-shops-item-image{width:64px;height:64px;min-width:0;margin:0;padding:0;flex-shrink:0}
html.dp-public .widget-shops-container .widget-shops-item-image>div{width:64px;height:64px;overflow:hidden;border:1px solid var(--dp-line,#dfe4ed);border-radius:16px;box-shadow:0 4px 12px #0001;background:var(--dp-panel,#fff)}
html.dp-public .widget-shops-container .widget-shops-item-image img{display:block;width:100%;height:100%;object-fit:cover}
html.dp-public .widget-shops-container .widget-shops-item-content{min-width:0;margin:0;padding:0}
html.dp-public .widget-shops-container .widget-shops-item-content-title{display:block;overflow:visible;margin:0;font-size:16px;font-weight:650;line-height:1.35;letter-spacing:-.025em;white-space:normal;overflow-wrap:anywhere;color:var(--dp-text,#19212f)}
html.dp-public .widget-shops-container .widget-shops-item-content-title::before{content:'Магазин';display:block;margin-bottom:6px;font-size:9px;font-weight:500;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;color:var(--dp-muted,#647089)}
html.dp-public[lang="en"] .widget-shops-container .widget-shops-item-content-title::before{content:'Shop'}
html.dp-public .widget-shops-container .widget-shops-item-content .mt10{margin-top:9px}
html.dp-public .widget-shops-container .widget-shops-item-content-rating{display:inline-flex;align-items:center;font-size:12px;line-height:1.3}
html.dp-public .widget-shops-container .stamp-user-rating{display:inline-flex;align-items:center;gap:4px;font-size:12px;line-height:1.3}
html.dp-public .widget-shops-container .stamp-user-rating i{color:#d6a243}
html.dp-public .widget-shops-container .widget-shops-item-content-count{display:block;margin-top:5px;font-size:11px;line-height:1.4;color:var(--dp-muted,#647089)}
html.dp-public .widget-shops-container .widget-shops-item::after{content:'Открыть магазин  ↗';grid-column:1/-1;align-self:end;display:block;padding-top:13px;border-top:1px solid var(--dp-line,#dfe4ed);font-size:12px;font-weight:550;line-height:1.3;color:var(--dp-link,var(--dp-accent,#454cee))}
html.dp-public[lang="en"] .widget-shops-container .widget-shops-item::after{content:'Visit shop  ↗'}
html.dp-public.dp-timeweb .widget-shops-container .widget-shops-item::after{color:var(--dp-wallet,#aabaff)}
html.dp-public .widget-shops-container .widget-shops-item-link:focus-visible{outline:3px solid var(--dp-accent,#454cee);border-radius:19px}
@media(hover:hover) and (pointer:fine){html.dp-public .widget-shops-container .widget-shops-item-link:hover .widget-shops-item{transform:translateY(-4px);border-color:color-mix(in srgb,var(--dp-accent,#454cee) 45%,var(--dp-line,#dfe4ed));box-shadow:0 14px 30px #111c3616}}
/* Registration stays on the first screen at normal desktop widths. */
html.dp-public .auth-section{padding:48px 0 60px;min-height:0}
html.dp-public .auth-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,440px);gap:clamp(32px,4vw,64px);align-items:center;width:100%;max-width:1160px;margin:0 auto}
html.dp-public .auth-motivation,html.dp-public .auth-card-wrapper{min-width:0}
html.dp-public .auth-card-wrapper{width:100%;max-width:440px;margin:0;justify-self:end;align-self:center}
html.dp-public .auth-card{width:100%;max-width:100%;height:auto;padding:32px;box-sizing:border-box;border-radius:24px}
html.dp-public .auth-bonus-tag{position:static;display:flex;transform:none;animation:none;width:fit-content;max-width:100%;margin:0 0 12px auto;padding:8px 12px;box-sizing:border-box;border-radius:10px;white-space:normal;text-align:center;font-size:12px;line-height:1.35;box-shadow:none}
html.dp-public .auth-motivation h1{font-size:clamp(32px,3.4vw,46px);line-height:1.15;letter-spacing:-.035em;margin:0 0 20px;overflow-wrap:normal}
html.dp-public .auth-motivation>p{max-width:600px;margin:0 0 28px;font-size:16px;line-height:1.65}
html.dp-public .auth-motivation .benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 22px}
html.dp-public .auth-motivation .benefit-item{display:flex;flex-direction:row;align-items:flex-start;gap:12px;min-width:0}
html.dp-public .auth-motivation .benefit-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px}
html.dp-public .auth-motivation .benefit-text{min-width:0}
html.dp-public .auth-motivation .benefit-text h3{font-size:16px;line-height:1.3;margin:0 0 6px}
html.dp-public .auth-motivation .benefit-text p{font-size:13px;line-height:1.5;margin:0}
html.dp-public .auth-card h4{font-size:22px;line-height:1.25;overflow-wrap:anywhere}
html.dp-public .auth-card p{font-size:14px;line-height:1.5}
html.dp-public .auth-card :is(input:not([type=hidden]):not([type=checkbox]),select,textarea){max-width:100%;min-width:0;font-size:16px;box-sizing:border-box}
html.dp-public .auth-card :is(input:not([type=hidden]):not([type=checkbox]),button,.btn-custom){min-height:44px}
html.dp-public .auth-card .block-social-auth-list{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
html.dp-public .auth-card small{font-size:12px;line-height:1.55}
@media(max-width:991px){html.dp-public .auth-section{padding:32px 0 44px}html.dp-public .auth-grid{grid-template-columns:minmax(0,1fr);gap:42px;max-width:680px}html.dp-public .auth-card-wrapper{order:-1;justify-self:center;max-width:460px;margin:0 auto}html.dp-public .auth-motivation{order:1;text-align:center}html.dp-public .auth-motivation>p{margin-left:auto;margin-right:auto}html.dp-public .auth-motivation .benefit-item{text-align:left}}
@media(max-width:600px){html.dp-public .auth-section{padding:24px 0 32px}html.dp-public .auth-card{padding:24px 20px;border-radius:20px}html.dp-public .auth-bonus-tag{margin:0 auto 12px}html.dp-public .auth-motivation{padding:0 6px}html.dp-public .auth-motivation h1{font-size:28px;line-height:1.2}html.dp-public .auth-motivation>p{font-size:14px;line-height:1.55}html.dp-public .auth-motivation .benefits-grid{gap:22px 14px}html.dp-public .auth-motivation .benefit-item{flex-direction:column;align-items:center;text-align:center;gap:10px}html.dp-public .auth-motivation .benefit-text h3{font-size:14px}html.dp-public .auth-motivation .benefit-text p{font-size:12px}html.dp-public .widget-shops-container .widget-shops-item{min-height:172px;padding:19px 17px 16px}}
@media(prefers-reduced-motion:reduce){html.dp-public .widget-shops-container .widget-shops-item{transition:none!important;transform:none!important}}
html.dp-public .widget-shops-container .widget-shops-item-content-title{height:auto;max-height:none}
html.dp-public .auth-motivation{text-align:left}
html.dp-public .auth-motivation h1,html.dp-public .auth-motivation>p{text-align:inherit}
@media(max-width:991px){html.dp-public .auth-motivation{text-align:center}}
html.dp-public .widget-shops-container .widget-shops-item-content-rating .stamp-user-rating{color:var(--dp-text,#19212f)!important}
