/* Кабинет и авторизация используют исходную типографику и цвета дизайн-системы. */
.account-page,.account-auth{font-family:var(--font-body);color:var(--color-text);box-sizing:border-box}
.account-page *, .account-auth *{box-sizing:border-box}
.account-page{padding:60px;min-height:900px;background:var(--color-bg)}
.account-greeting{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid #706c6833;padding-bottom:32px;margin-bottom:32px}
.account-greeting h1{font-family:var(--font-heading);font-size:48px;line-height:1.2;font-weight:400;margin:0}
.account-greeting button,.account-greeting>a{border:0;background:none;font:inherit;font-size:15px;white-space:nowrap;cursor:pointer;display:flex;gap:8px;align-items:center}
.account-layout{display:grid;grid-template-columns:minmax(230px,30%) minmax(0,1fr);gap:clamp(32px,6.25vw,120px)}
.account-nav{display:flex;flex-direction:column;gap:8px}
.account-nav a{display:flex;align-items:center;gap:12px;min-height:74px;padding:16px 40px;border:1px solid #91806e33;border-radius:4px;background:var(--color-block);text-decoration:none;color:inherit;font-size:17px;font-weight:600}
.account-nav a[aria-current]{background:var(--color-gold);color:white;border-color:transparent}
.account-icon{width:20px;height:20px;object-fit:contain;flex-shrink:0}
.account-nav a[aria-current] .account-icon{filter:brightness(0) invert(1)}
/* Мобильный кабинет использует свои точные SVG; desktop glyphs остаются в исходных slots. */
@media(max-width:767px){
 .account-nav .account-icon[src$='/profile-black.svg']{content:url('./assets/images/account/mobile-profile.svg')}
 .account-nav .account-icon[src$='/orders.svg']{content:url('./assets/images/account/mobile-orders.svg')}
 .account-nav .account-icon[src$='/wishlist.svg']{content:url('./assets/images/account/mobile-wishlist.svg')}
 .account-nav .account-icon[src$='/promocodes.svg']{content:url('./assets/images/account/mobile-promocodes.svg')}
 .account-nav .account-icon[src$='/newsletters.svg']{content:url('./assets/images/account/mobile-newsletters.svg')}
 .account-greeting .account-icon[src$='/logout.svg']{content:url('./assets/images/account/mobile-logout.svg')}
}
.account-content{min-width:0;min-height:700px}
.account-content>h2{font-size:28px;font-weight:600;margin:0 0 20px;line-height:1.4}
.account-profile{display:flex;flex-direction:column;gap:12px}
.account-profile article{background:white;border-radius:4px;padding:24px;position:relative}
.account-profile h3{font-size:16px;font-weight:700;margin:0 0 12px}
.account-profile p{font-size:16px;font-weight:500;margin:10px 0 0;overflow-wrap:anywhere}
.account-card-heading{display:flex;align-items:center;justify-content:space-between}
.account-profile details{margin-top:12px}
.account-profile summary{display:flex;gap:8px;align-items:center;cursor:pointer;font-size:13px;color:var(--color-muted)}
.account-profile form{max-width:646px;margin-top:24px;display:flex;flex-direction:column;gap:20px}
.account-button{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;min-height:54px;padding:16px 24px;background:var(--color-gold);color:white;border:1px solid transparent;border-radius:0;font:600 14px var(--font-body);text-decoration:none;cursor:pointer;text-align:center}
.account-button:disabled{cursor:not-allowed;opacity:.7}
.account-button--outline{border-color:var(--color-muted);background:transparent;color:var(--color-text)}
.account-button--yandex{background:var(--color-text)}
.account-button--yandex .account-icon{width:12px}
.account-field{display:flex;flex-direction:column;gap:14px;border-bottom:.5px solid var(--color-text);padding-bottom:14px;font-size:14px;min-width:0;width:100%}
.account-field__control{display:flex;align-items:center;gap:14px}
.account-field input{border:0;border-radius:0;background:transparent;outline-offset:4px;font:400 16px var(--font-body);color:inherit;min-width:0;width:100%;padding:0}
.account-eye{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;background:none;cursor:pointer;flex-shrink:0;padding:4px}
.account-eye .account-icon{width:18px;height:18px}
.account-field [aria-invalid=true]{outline:1px solid var(--color-accent)}
.account-field small:empty,.account-check small:empty,.account-status:empty{display:none}
.account-field small,.account-check small{color:var(--color-accent);font-size:12px;line-height:1.4}
.account-check{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5;position:relative;flex-wrap:wrap}
.account-check>span{flex:1;min-width:0}
.account-check input{appearance:auto;width:20px;height:20px;flex-shrink:0;margin:0;accent-color:var(--color-text)}
.account-check small{width:100%}
.account-check a{color:var(--color-accent);text-decoration:underline}
.account-status{font-size:14px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.account-text-link{color:var(--color-muted);font-size:13px;text-decoration:underline}
.account-empty{font-size:16px;line-height:1.6;margin-top:12px}
.account-empty a{color:var(--color-accent);text-decoration:underline}
.account-newsletters{display:flex;flex-direction:column;gap:16px}
.account-newsletters .account-check{font-size:16px;gap:16px}
.account-newsletters .account-button{width:200px;margin-top:8px}
.account-wishlist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 20px}
.account-browser-note{font-size:12px;color:var(--color-muted);margin:0 0 20px}
.account-orders{display:flex;flex-direction:column;gap:24px}
.account-order{background:white;padding:24px;border-radius:4px}
.account-order>header,.account-order>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.account-order h3{font-size:16px;margin:0}
.account-order header>span{font-size:13px;color:var(--color-muted)}
.account-order-item{background:var(--color-block);padding:24px;border-radius:4px;margin-top:20px}
.account-order-item h4{font:400 24px var(--font-heading);margin:0 0 16px}
.account-order-item p{font-size:14px}
.account-order-item strong{font-size:18px;color:var(--color-accent)}
.account-order>footer{font-size:14px;margin-top:20px}
.account-order>footer>span{color:var(--color-accent)}
.account-order details{margin-top:20px;font-size:13px;line-height:1.6}
.account-order summary{cursor:pointer;border:1px solid var(--color-gold);display:inline-block;padding:6px 16px}
.account-auth{min-height:920px;padding:70px 24px 100px;background:linear-gradient(#0005,#0005),url('/local/storefront/assets/images/account/auth-bedroom.png') center/cover;display:flex;flex-direction:column;align-items:center;gap:50px}
.account-auth>h1{color:white;font:400 32px var(--font-heading);margin:0;text-align:center}
.account-auth-card{background:white;padding:40px;width:460px;max-width:100%}
.account-auth-card--register{width:726px}
.account-auth-card>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:30px}
.account-auth-card h2{font:400 20px var(--font-heading);margin:0}
.account-close{font-size:28px;line-height:24px;text-decoration:none;color:inherit;width:24px;height:24px;text-align:center;display:flex;align-items:center;justify-content:center}
.account-auth-card form{display:flex;flex-direction:column;gap:20px}
.account-auth-card form>p{font-size:14px;line-height:1.6;margin:0}
.account-auth-card form>small{font-size:11px;color:var(--color-muted);text-align:center;margin-top:-12px}
.account-auth-bottom{margin-top:24px;text-align:center;font-size:14px;color:var(--color-muted)}
.account-auth-bottom>p{margin:0 0 24px}
.account-auth-bottom>a:not(.account-button){text-decoration:underline}
.account-login-mode{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--color-muted)}
.account-login-mode select{background:white;font:inherit;color:inherit;border:1px solid #91806e55;padding:8px;width:100%}
.account-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.account-field-wide{grid-column:1/-1}
.account-register-intro{font:400 24px var(--font-heading);margin:0 0 24px}
.account-register-second{display:flex;flex-direction:column;gap:20px}
.account-register-second>.account-button{margin-top:20px}
.account-register-next,.account-register-back,[data-register-step-label]{display:none}
.account-auth :focus-visible,.account-page :focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}
@media(max-width:1200px){.account-page{padding:40px 30px}.account-layout{grid-template-columns:260px minmax(0,1fr);gap:32px}.account-nav a{padding:16px 20px;font-size:15px}.account-wishlist{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.account-layout{grid-template-columns:1fr;gap:28px}.account-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.account-nav a{padding:12px 16px;font-size:13px;min-height:48px}.account-greeting h1{font-size:36px}.account-content{min-height:600px}}
@media(max-width:767px){.account-page{padding:24px 14px 40px;min-height:850px}.account-greeting{gap:16px;padding-bottom:16px;margin-bottom:24px}.account-greeting h1{font-size:24px}.account-greeting button,.account-greeting>a{font-size:12px}.account-layout{gap:24px}.account-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.account-nav a{min-height:38px;padding:8px 12px;gap:8px;font-size:12px;font-weight:500;border-radius:2px}.account-content>h2{font-size:18px;margin-bottom:16px}.account-content{min-height:700px}.account-profile article{padding:20px}.account-profile h3{font-size:12px}.account-profile p{font-size:12px;line-height:1.5}.account-profile summary{font-size:11px}.account-profile form{gap:16px}.account-empty{font-size:12px}.account-newsletters{margin:80px auto 0;width:max-content;max-width:100%;gap:16px}.account-newsletters .account-check{font-size:12px;gap:12px}.account-newsletters .account-button{width:140px;min-height:44px;margin-top:8px}.account-newsletters .account-status{max-width:250px}.account-wishlist{gap:24px 8px;grid-template-columns:repeat(2,minmax(0,1fr))}.account-order{padding:20px}.account-order h3{font-size:12px}.account-order header>span{font-size:11px}.account-order-item{padding:14px;margin-top:16px}.account-order-item h4{font-size:16px}.account-order-item p,.account-order>footer{font-size:12px}.account-order details{font-size:12px}.account-auth{min-height:820px;padding:40px 30px 60px;gap:24px}.account-auth>h1{font-size:24px}.account-auth-card{padding:24px;width:330px}.account-auth-card>header{margin-bottom:30px}.account-auth-card h2{font-size:20px}.account-auth-card form{gap:16px}.account-button{min-height:40px;padding:10px 16px;font-size:12px}.account-field{font-size:11px;gap:12px;padding-bottom:12px}.account-field input{font-size:14px}.account-check{font-size:11px}.account-check input{width:16px;height:16px}.account-auth-bottom{font-size:12px;margin-top:24px}.account-auth-bottom>p{margin-bottom:16px}.account-status{font-size:12px}.account-form-grid{grid-template-columns:1fr;gap:16px}.account-register-intro{display:none}.account-register-next{display:flex;margin-top:40px}.account-register-back{display:block;align-self:flex-start;border:0;background:transparent;font:inherit;padding:0;cursor:pointer}.account-register-second{gap:16px}.account-register-second>.account-button{margin-top:24px}[data-register-step-label]{display:inline;color:var(--color-accent);font-size:14px}[data-step="1"] .account-register-second,[data-step="2"] .account-register-first{display:none}.account-auth-card form>p{font-size:12px}}
/* Фотография текущего активного товара дополняет историческую строку заказа без подмены её имени/цены. */
.account-order-item{min-height:228px;display:flow-root}
.account-order-image{width:180px;height:180px;object-fit:cover;float:right;margin-left:24px;border-radius:4px}
@media(max-width:767px){.account-order-item{min-height:170px}.account-order-image{width:70px;height:70px;margin-left:14px}}

/* Увеличенная область нажатия сохраняет исходные размеры Figma-иконок. */
.account-eye,.account-close{width:44px;height:44px;min-width:44px;flex-shrink:0}
.account-close{margin:-10px -10px -10px 0}
.account-eye{margin:-8px -8px -8px 0}
.account-auth-card h2{line-height:1.3;min-width:0}
.account-auth-card>header{align-items:flex-start}
.account-field input{min-height:32px}
.account-login-mode select{min-height:44px;color:var(--color-text)}
.account-greeting h1{overflow-wrap:anywhere;min-width:0}
.account-greeting button,.account-greeting>a,.account-profile summary,.account-order summary{min-height:44px}
.account-text-link,.account-auth-bottom>a:not(.account-button){display:inline-flex;align-items:center;min-height:44px;align-self:flex-start}
.account-status[data-state=error]{color:var(--color-accent);border-left:2px solid var(--color-accent);padding:8px 12px;background:var(--color-block)}
.account-button:not(:disabled):hover{filter:brightness(.94)}
.account-nav a:not([aria-current]):hover{border-color:var(--color-gold)}
.account-empty p{margin:0 0 12px}
.account-empty>a{display:inline-flex;align-items:center;min-height:44px}
/* Native опции без фотографии занимают высоту текста, а не пустой image slot. */
.account-order-item--without-image{min-height:0}
/* Короткий кабинет заполняет viewport; длинные списки растут по содержимому. */
.account-page{min-height:calc(100vh - 77px);min-height:calc(100dvh - 77px)}
.account-content{min-height:0}
@media(max-width:767px){
  .account-page{min-height:calc(100vh - 64px);min-height:calc(100dvh - 64px)}
  .account-auth{padding-inline:14px}
  .account-button,.account-nav a{min-height:44px}
  .account-field input{font-size:16px}
  .account-auth-bottom>a:not(.account-button){justify-content:center}
  .account-profile summary,.account-empty,.account-status{font-size:14px;line-height:1.6}
  .account-register-back{min-height:44px;padding:8px 0}
  .account-newsletters .account-check{min-height:44px;align-items:center;font-size:14px}
}

/* Сцена авторизации включает прозрачную шапку и только существующую legal-строку footer. */
.site-auth{background:linear-gradient(#0009,#0009),url('/local/storefront/assets/images/account/auth-bedroom.png') center top/cover no-repeat;background-color:#1c1816;min-height:100vh}
.site-auth .shell-header{background:transparent;box-shadow:none}
.site-auth .shell-promo{display:none}
.site-auth .shell-footer{background:transparent;padding:0 24px 20px;gap:0}
.site-auth .shell-footer-columns{display:none}
.site-auth .shell-footer-bottom{border:0;padding:0;justify-content:center;gap:40px;font-size:13px}
.site-auth .shell-footer-bottom>p{margin:0}
.site-auth .shell-footer-bottom>div{display:flex;gap:40px}
.site-auth .account-auth{background:none;min-height:calc(100vh - 115px);padding:77px 24px 120px;gap:50px}
.account-auth-heading{text-align:center;color:white}
.account-auth-heading h1{font:400 32px/39px var(--font-heading);margin:0}
.account-auth-heading p{font:400 16px/22px var(--font-body);margin:16px 0 0}
.site-auth .account-auth--register{padding-top:40px}
.account-auth-card{position:relative}
.account-auth-card form{gap:20px}
.account-auth .account-field{line-height:19px;padding-bottom:14px}
.account-auth .account-field__control{height:22px}
.account-auth .account-field input{line-height:22px}
.account-auth .account-field input::placeholder{opacity:.4;color:var(--color-text)}
.account-auth .account-field input[type=tel]::placeholder{opacity:1}
.account-auth .account-eye{height:22px;margin:0 -10px;width:38px;min-width:38px}
.account-auth .account-check{align-items:center;line-height:19px;flex-wrap:wrap}
.account-login-actions{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.account-auth .account-button{min-height:51px;padding:16px 24px;line-height:19px}
.account-auth .account-button--yandex{opacity:1;border-color:var(--color-muted)}
.account-auth-bottom{margin-top:24px;line-height:19px}
.account-auth-bottom>p{margin-bottom:24px}
.account-auth-options{position:absolute;top:calc(100% + 10px);left:0;right:0;color:white;font-size:12px;text-align:center}
.account-auth-options>summary{cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px}
.account-auth-options>div{margin-top:8px;padding:16px;background:var(--color-text);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px}
.account-auth-options .account-text-link{background:none;border:0;padding:0;color:white;font:inherit;cursor:pointer}
.account-auth-options p{margin:0;width:100%;font-size:11px;color:#c8c0b8}
.account-auth-card--register>header{justify-content:flex-start}
.account-auth-card--register>header .account-close{margin-left:auto}
.account-auth-back{width:20px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px;flex-shrink:0}
.account-auth-back img,.account-auth-back picture{display:block}
.account-auth-card--register form{gap:20px}
.account-auth-card--register .account-field{padding-bottom:12px}
.account-register-second{gap:24px}
.account-register-second>.account-button{margin-top:0}
.account-register-consents{display:flex;flex-direction:column;gap:12px}
.account-auth-social{display:flex;align-items:center;gap:16px;margin-top:30px}
.account-auth-social>a{display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--color-block);width:44px;height:44px;flex-shrink:0}
.account-auth-social picture,.account-auth-social img{display:block}
.account-auth-social p{font:500 13px/18px var(--font-body);color:var(--color-muted);width:112px;margin:0}
@media(max-width:767px){
 .site-auth .shell-promo{display:flex}
 .site-auth .shell-footer{padding:0 14px 12px}
 .site-auth .shell-footer-bottom{font-size:11px;line-height:15px}
 .site-auth .shell-footer-bottom>div{display:none}
 .site-auth .account-auth{min-height:calc(100vh - 122px);padding:119px 30px 80px;gap:0}
 .account-auth-heading{display:none}
 .account-auth-card{padding:24px;width:330px}
 .account-auth-card h2{line-height:24px}
 .account-auth .account-field{font-size:11px;line-height:15px;gap:12px;padding-bottom:12px}
 .account-auth .account-field__control{height:18px}
 .account-auth .account-field input{font-size:14px;line-height:18px}
 .account-auth .account-eye{height:18px;width:38px;min-width:38px}
 .account-auth .account-check{font-size:11px;line-height:15px;gap:12px}
 .account-auth .account-check input{width:16px;height:16px}
 .account-auth-card form{gap:16px}
 .account-login-actions{margin-top:24px}
 .account-auth .account-button{min-height:40px;padding:11px 16px;font-size:12px;line-height:16px}
 .account-auth-bottom{font-size:12px;line-height:16px;margin-top:16px}
 .account-auth-bottom>p{margin-bottom:16px}
 .site-auth .account-auth--register{padding-top:103px}
 .site-auth .account-auth--register:has(form[data-step="2"]){padding-top:113px}
 .account-auth-card--register>header{position:relative;justify-content:center}
 .account-auth-card--register>header .account-close{position:absolute;right:0;margin-right:-10px}
 .account-auth-back{position:absolute;left:0;margin:0;width:20px}
 .account-auth-back::before{content:'';position:absolute;inset:-10px}
 [data-register-step-label]{font-size:20px}
 .account-auth-card--register .account-field{padding-bottom:12px}
 .account-auth-card--register form{gap:16px}
 .account-register-second{gap:16px}
 .account-register-consents{gap:12px}
 .account-register-second>.account-button{margin-top:24px}
 .account-auth-social{gap:12px;margin-top:30px}
 .account-auth-social>a{width:40px;height:40px}
 .account-auth-social p{font-size:11px;line-height:15px;width:112px;margin-left:4px}
 .account-auth-options{font-size:10px}
}
@media(max-width:359px){.site-auth .account-auth{padding-left:14px;padding-right:14px}.account-auth-card{padding:20px}.account-auth-card--register h2{font-size:18px}[data-register-step-label]{font-size:18px}}

/* Исходное квадратное фото кадрируется по центру, а не по верхнему краю стены. */
.site-auth{background-position:center center}
.account-auth-back img{transform:rotate(90deg)}
.account-auth-card>header{height:24px;position:relative}
.account-auth-card>header .account-close{position:absolute;right:0;margin:-10px}
.account-auth-card--register .account-check{font-size:13px;line-height:18px}
.account-auth-card--register .account-field__control{height:21px}
.account-auth-card--register .account-field input{line-height:21px}
.account-auth-card--register .account-button{min-height:51px}
@media(max-width:767px){
 .account-auth .account-field input{font-size:13px;line-height:18px}
 .account-auth .account-form-grid{gap:12px}
 .account-auth-card--register .account-check{font-size:11px;line-height:15px}
 .account-auth-card--register .account-field__control{height:18px}
 .account-auth-card--register .account-field input{line-height:18px}
 .account-auth-card--register .account-button{min-height:40px}
 .account-auth .account-button--yandex{height:40px;padding:10px 16px}
}

/* Затемнение соответствует сцене Figma; поля и CTA сохраняют исходную высоту строки. */
.site-auth{background-image:linear-gradient(#000c,#000c),url('/local/storefront/assets/images/account/auth-bedroom.png')}
.account-auth .account-button{padding:15px 24px}
.account-auth .account-button--yandex{padding:16px 24px}
.account-auth-card--register .account-auth-social{margin-top:30px}
@media(max-width:767px){.account-auth .account-button{padding:11px 16px}.account-auth .account-button--yandex{padding:10px 16px}.account-auth .account-field{border-bottom-color:#706c68}.account-auth .account-eye .account-icon{width:16px;height:16px}}

/* Полупиксельная линия не округляет высоту каждого поля до дополнительного CSS-пикселя. */
.account-auth .account-field{border-bottom:0;box-shadow:0 .5px 0 var(--color-text)}
.account-auth--login .account-auth-bottom{line-height:18px}
@media(max-width:767px){
 .account-auth .account-field{box-shadow:0 .5px 0 #706c68}
 .account-auth--login .account-auth-card form{gap:12px}
 .account-auth--login .account-login-actions{margin-top:28px}
 .account-auth--login .account-check{gap:8px}
 .account-auth--login .account-auth-bottom{line-height:15px}
 .account-auth--login .account-auth-bottom>p{font-size:11px}
}

/* Native input занимает высоту исходной строки внутри полноценного label-control. */
.account-auth .account-field input{min-height:0;height:100%}
.account-auth .account-close .account-icon{width:24px;height:24px}
@media(min-width:768px){.account-auth-card--register .account-field{border-bottom:.5px solid var(--color-text);box-shadow:none}}

/* Кабинет повторяет source сетку; высота растёт только от реального содержимого и открытых форм. */
.account-page{padding:40px 60px 60px;min-height:840px}
.account-greeting{padding-bottom:32px;margin-bottom:32px;border-bottom:1px solid #706c6826;gap:24px}
.account-greeting h1{line-height:59px;overflow-wrap:anywhere;min-width:0}
.account-layout{grid-template-columns:540px minmax(0,1fr);gap:120px}
.account-nav{gap:8px}
.account-nav a{height:74px;min-height:74px;padding:16px 40px;font-size:17px;line-height:23px;font-weight:500;border-radius:4px}
.account-content{min-height:0}
.account-content>h2,.account-newsletters>h2{font:600 28px/38px var(--font-body);margin:0 0 20px}
.account-profile{gap:12px}
.account-profile article{padding:32px 24px;min-width:0}
.account-profile h3{font:500 16px/22px var(--font-body);margin:0 44px 20px 0}
.account-profile p{font:500 16px/22px var(--font-body);margin:8px 44px 0 0;overflow-wrap:anywhere}
.account-profile article:last-child h3{margin-bottom:0}
.account-profile-editor{margin:0!important}
.account-profile-editor>summary{position:absolute;top:30px;right:24px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:inherit;list-style:none}
.account-profile-editor>summary::before{content:'';position:absolute;inset:-10px}
.account-profile-editor>summary::-webkit-details-marker{display:none}
.account-profile-editor>form{margin-top:24px}
.account-profile-editor .account-icon{width:24px;height:24px}
.account-empty{font-size:16px;line-height:22px;margin-top:40px}
.account-newsletters{gap:20px;align-items:flex-start}
.account-newsletters>h2{margin-bottom:0}
.account-newsletters .account-check{min-height:20px;font-size:16px;line-height:22px;gap:16px;align-items:center}
.account-newsletters .account-button{width:200px;margin-top:20px;min-height:54px}
.account-newsletters .account-status{max-width:100%}
.account-wishlist{gap:40px 20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.account-browser-note{font-size:11px;margin:0 0 12px;line-height:15px}
.account-orders{gap:40px}
.account-order{padding:24px;border-radius:4px}
.account-order>header{font-size:13px;line-height:18px;align-items:center;gap:16px}
.account-order h3{font-size:13px;line-height:18px;font-weight:400}
.account-order h3>span{color:var(--color-muted);margin-right:16px}
.account-order header>span{font-size:13px;line-height:18px}
.account-order-item{display:grid;grid-template-columns:180px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:20px 12px;padding:16px;margin-top:12px;min-height:0}
.account-order-image{float:none;width:180px;height:180px;margin:0;border-radius:4px;grid-row:1/3;grid-column:1}
.account-order-description{grid-column:2/4;min-width:0}
.account-order-description h4{font:400 24px/29px var(--font-heading);margin:0 0 12px;overflow-wrap:anywhere}
.account-order-description dl{font-size:14px;line-height:19px;margin:0;display:flex;flex-direction:column;gap:8px}
.account-order-description dl>div{display:flex;gap:8px;min-width:0}
.account-order-description dt{color:var(--color-muted);flex-shrink:0}
.account-order-description dd{margin:0;overflow-wrap:anywhere}
.account-order-item>strong{font:600 18px/25px var(--font-body);align-self:end;grid-row:2;grid-column:2}
.account-order-details{margin:0!important;grid-column:3;grid-row:2;align-self:end}
.account-order-details>summary{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--color-muted);padding:8px 12px;font-size:13px;line-height:18px;background:transparent;list-style:none}
.account-order-details>summary::-webkit-details-marker{display:none}
.account-order-details[open]{grid-column:2/4}
.account-order-details[open]>summary{width:max-content;margin-left:auto}
.account-order-details>div{margin-top:16px;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.account-order-details h5{font:600 14px/20px var(--font-body);margin:0 0 12px}
.account-order-details ul{padding:0;margin:0 0 16px;list-style:none;display:flex;flex-direction:column;gap:8px}
.account-order-details li{display:flex;justify-content:space-between;gap:16px}
.account-order-details li>span:last-child{white-space:nowrap}
.account-order-details p{margin:0}
.account-order-details a{color:var(--color-accent);text-decoration:underline}
.account-order>footer{margin-top:24px;align-items:flex-end;font-size:13px;line-height:18px}
.account-order>footer p{margin:0 0 6px}
.account-order>footer p:last-child{margin-bottom:0}
.account-order>footer>span{color:var(--color-text)}
.account-order-item--without-image{grid-template-columns:minmax(0,1fr) auto}
.account-order-item--without-image .account-order-description{grid-column:1/3}
.account-order-item--without-image>strong{grid-column:1}
.account-order-item--without-image .account-order-details{grid-column:2}
.account-order-item--without-image .account-order-details[open]{grid-column:1/3}
@media(max-width:1500px) and (min-width:901px){.account-layout{grid-template-columns:minmax(260px,30%) minmax(0,1fr);gap:6.25vw}}
@media(max-width:900px){.account-layout{grid-template-columns:1fr;gap:24px}.account-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.account-nav a{justify-content:center;padding:8px 12px;height:38px;min-height:38px;font-size:12px;line-height:16px;gap:12px}.account-greeting h1{font-size:36px;line-height:44px}}
@media(max-width:767px){
 .account-page{padding:24px 14px 60px;min-height:790px}
 .account-greeting{flex-direction:column-reverse;align-items:flex-start;gap:16px;padding-bottom:16px;margin-bottom:24px}
 .account-greeting h1{font-size:24px;line-height:29px}
 .account-greeting button,.account-greeting>a{font-size:12px;line-height:16px;gap:8px}
 .account-greeting button .account-icon{width:16px;height:16px}
 .account-layout{gap:24px}
 .account-content{min-height:0}
 .account-content>h2{font-size:18px;line-height:25px;margin-bottom:30px}
 .account-profile article{padding:20px}
 .account-profile h3{font-size:12px;line-height:16px;margin:0 30px 16px 0;color:var(--color-gold)}
 .account-profile p{font-size:13px;line-height:18px;margin:8px 0 0;overflow-wrap:anywhere}
 .account-profile article:last-child h3{margin-bottom:0}
 .account-profile-editor>summary{top:20px;right:20px;width:20px;height:20px}
 .account-profile-editor .account-icon{width:20px;height:20px}
 .account-profile-editor>form{margin-top:24px}
 .account-empty{font-size:12px;line-height:16px;margin-top:16px}
 .account-page--promocodes .account-content>h2{margin-bottom:16px}
 .account-page--profile{min-height:0;padding-bottom:60px}
 .account-page--orders,.account-page--wishlist{min-height:0}
 .account-newsletters{margin:76px auto 0;width:max-content;max-width:100%;gap:14px;align-items:flex-start}
 .account-newsletters>h2{font-size:18px;line-height:25px;align-self:center;margin-bottom:6px}
 .account-newsletters .account-check{min-height:16px;font-size:12px;line-height:16px;gap:12px;align-items:center}
 .account-newsletters .account-check input{width:16px;height:16px}
 .account-newsletters .account-button{width:140px;min-height:44px;font-size:12px;margin:18px auto 0}
 .account-newsletters .account-status{max-width:250px}
 .account-wishlist{gap:24px 8px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-browser-note{font-size:10px;line-height:14px;margin-bottom:10px}
 .account-page--wishlist .account-content>h2{margin-bottom:16px}
 .account-orders{gap:40px}
 .account-order{padding:20px}
 .account-order h3,.account-order header>span{font-size:12px;line-height:16px}
 .account-order h3>span{margin-right:8px}
 .account-order-item{grid-template-columns:minmax(0,1fr) 70px;grid-template-rows:auto auto;gap:40px 12px;padding:14px;margin-top:16px}
 .account-order-image{width:70px;height:70px;grid-row:1;grid-column:2}
 .account-order-description{grid-column:1;grid-row:1}
 .account-order-description h4{font-size:16px;line-height:20px;margin-bottom:8px}
 .account-order-description dl{font-size:12px;line-height:16px;gap:8px}
 .account-order-description dl>div{gap:8px}
 .account-order-item>strong{font-size:18px;line-height:25px;grid-row:2;grid-column:1}
 .account-order-details{grid-row:2;grid-column:2;justify-self:end}
 .account-order-details>summary{font-size:12px;line-height:16px;min-width:108px;padding:7px 12px}
 .account-order-details[open]{grid-column:1/3;justify-self:stretch}
 .account-order-details[open]>summary{margin-left:auto}
 .account-order-details>div{font-size:12px;line-height:18px}
 .account-order-details li{flex-wrap:wrap;gap:4px}
 .account-order>footer{margin-top:16px;font-size:12px;line-height:16px;gap:12px}
 .account-order-item--without-image{grid-template-columns:minmax(0,1fr) auto}
 .account-order-item--without-image .account-order-description{grid-column:1/3}
 .account-order-item--without-image>strong{grid-column:1}
 .account-order-item--without-image .account-order-details{grid-column:2}
}

/* Выход не наследует размер submit-кнопки; source строка остаётся компактной. */
.account-greeting button{min-height:0;padding:0;line-height:20px}
.account-nav .account-icon{width:20px;height:20px}
.account-profile-editor>summary{line-height:normal}
@media(max-width:767px){.account-greeting button{line-height:16px}.account-profile h3{margin-bottom:12px}.account-profile p{margin-top:6px}.account-page--profile{padding-bottom:40px}}

/* Компактные legal-ссылки остаются доступны на мобильной auth странице. */
.account-order-details>summary img{display:block;flex-shrink:0}
.account-order-details[open]>summary img{transform:rotate(180deg)}
@media(max-width:767px){
 .site-auth .shell-footer-bottom{flex-direction:column;gap:8px}
 .site-auth .shell-footer-bottom>div{display:flex;width:100%;justify-content:space-between;gap:16px;font-size:11px;line-height:15px}
 .account-page--promocodes,.account-page--newsletters{min-height:700px;padding-bottom:40px}
 .account-newsletters{margin-top:56px;gap:12px}
 .account-newsletters>h2{margin-bottom:0}
 .account-newsletters .account-check:nth-of-type(2){margin-top:2px}
 .account-newsletters .account-button{margin-top:28px}
 .account-order-details>summary{min-height:0}
}

/* Pencil использует отдельные исходные SVG20/24; расширенная hit area не меняет геометрию рисунка. */
/* Register eye в скрытом состоянии повторяет серый Source, сохраняя контраст активного toggle. */
.account-auth-card--register .account-eye[aria-pressed=false] .account-icon{filter:opacity(.4)}
/* Desktop header уже задаёт gap; newsletter отделяет heading, строки и CTA исходными интервалами. */
@media(min-width:768px){
 .account-auth-card--register .account-auth-back{margin-right:0}
 .account-newsletters{gap:16px}
 .account-newsletters>h2{margin-bottom:28px}
 .account-newsletters .account-check{min-height:24px}
 .account-newsletters .account-check input{width:24px;height:24px}
 .account-newsletters .account-button{margin-top:24px}
}
.account-profile-editor>summary{min-height:0}
.account-profile-editor picture,.account-edit-icon{display:block}
.account-page--wishlist .account-content{position:relative}
.account-browser-note{position:absolute;right:0;top:12px;margin:0;max-width:170px;text-align:right}
.account-page--wishlist .account-content>h2{padding-right:180px}
@media(max-width:767px){.account-profile h3{font-weight:700}.account-browser-note{top:6px;max-width:145px;font-size:10px;line-height:14px}.account-page--wishlist .account-content>h2{padding-right:150px}}
