/* HotSki — вход и кабинет (template 5). B1: the client's offer −5% as the sign of the page + a form on the line;
   B2: the cabinet as three steps of the brand dots (history · subscription · discount program).
   Grid 4 × 338, one outlined button, [ links ], fields on the line. Motion: transform/opacity only. */

.acc { padding-top: var(--hdr); }
.acc [hidden] { display: none !important; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }

/* ---------------- B1 · вход и регистрация ---------------- */
.acc-in { position: relative; padding-top: 24px; padding-bottom: 56px; }
.acc-in__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); align-items: center; margin-top: 34px; }
/* the sign of the page: the client's 5 % as the one big figure (Alumni — figures, like the four dots) */
.acc-offer__num {
  grid-column: 1 / 3; display: block; margin: 0 0 0 -0.035em; color: var(--red); font-weight: 900; white-space: nowrap;
  font-size: clamp(230px, 28.5vw, 440px); line-height: 0.74; letter-spacing: -0.02em; padding-top: 0.05em; min-width: 0;
}
.acc-offer__num .ch { display: inline-block; will-change: transform; }
/* right column: the offer above the form (NEW_MAP_3 §5 B1), one vertical line as in the mega menu */
.acc-side { grid-column: 3 / 5; position: relative; padding: 4px 0 6px 40px; border-left: 1px solid var(--ink); min-width: 0; }
.acc-offer { max-width: 600px; }
.acc-offer__title { max-width: 600px; }
.acc-offer__text { margin-top: 16px; max-width: 560px; }

.acc-form { position: relative; margin-top: 44px; max-width: 600px; }
.acc-form__tabs { display: flex; gap: 30px; }
.acc-form__tabs .tab { font-size: 15px; padding: 6px 0; color: var(--gray); transition: color var(--tr); }
.acc-form__tabs .tab.is-on, .acc-form__tabs .tab:hover { color: var(--ink); }
.acc-form__hint { margin-top: 18px; font-size: 12px; color: var(--gray); }
.acc-field { margin-top: 30px; padding-bottom: 20px; }
.acc-field input { padding: 8px 0 10px; font-size: 15px; }
.acc-field input:focus { border-bottom-color: var(--ink); }
.acc-field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease-out); pointer-events: none; }
.acc-field:focus-within::after, .acc-field.is-err::after { transform: scaleX(1); }
.acc-field--pass input { padding-right: 110px; }
.acc-eye { position: absolute; right: 0; bottom: 31px; color: var(--gray); }
.acc-eye:hover { color: var(--ink); }
.acc-field__err { position: absolute; left: 0; bottom: 2px; font-size: 11px; letter-spacing: 0.02em; color: var(--red); opacity: 0; transform: translateY(-4px); transition: opacity 0.25s, transform 0.35s var(--ease-out); }
.is-err > .acc-field__err, .is-err .acc-field__err { opacity: 1; transform: none; }
.acc-field.is-err .field__label { color: var(--red); }
.acc-go { margin-top: 26px; min-height: 46px; }
.acc-go span { display: inline-block; }

/* ---------------- B2 · кабинет ---------------- */
/* two columns: rows on the line (history · subscription) | the client's discount paragraph as a lead */
.acc-cab { padding-top: 44px; padding-bottom: 100px; }
.acc-cab__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); align-items: start; }
.acc-cab__main { grid-column: 1 / 3; min-width: 0; }
.acc-cab__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.acc-cab__head .t30 .ln { overflow: hidden; }
.acc-cab__user { display: flex; align-items: baseline; gap: 22px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.acc-cab__who { color: var(--gray); text-transform: none; letter-spacing: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-cab__disc span { margin-left: 8px; font-family: var(--f-disp); font-weight: 800; font-size: 40px; line-height: 0.8; letter-spacing: 0; }
.acc-row { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 0 40px; }
.acc-row__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: 0 50%; }
.acc-row__head { display: flex; align-items: baseline; justify-content: space-between; width: 100%; margin-bottom: 4px; }
.acc-row__n { font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--gray); }
.acc-row > .t15 { max-width: 520px; }

.acc-lead { grid-column: 3 / 5; position: sticky; top: calc(var(--hdr) + 30px); padding-top: 6px; }
.acc-lead__cap { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }
.acc-lead__text { margin-top: 26px; font-size: 30px; line-height: 1.22; font-weight: 300; letter-spacing: -0.005em; max-width: 660px; text-wrap: pretty; }

/* order history (orders placed on this device in cart.html — no numbers, the data has none) */
.acc-orders { display: grid; gap: 14px; width: 100%; justify-items: start; }
.acc-orders__none { color: var(--ink); }
.acc-order { width: 100%; display: grid; gap: 8px; padding: 12px 0 14px; border-bottom: 1px solid #e3e3e3; }
.acc-order:first-child { padding-top: 0; }
.acc-order__top { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; }
.acc-order__top span:last-child { color: var(--gray); }
.acc-order__sum { font-family: var(--f-disp); font-weight: 800; font-size: 36px; line-height: 0.85; }
.acc-order__pics { display: flex; gap: 6px; }
.acc-order__pics img { width: 38px; aspect-ratio: 338 / 479; object-fit: cover; background: var(--snow); }
.acc-order__how { font-size: 12px; color: var(--gray); }

/* subscription on the line: e-mail · [ Подписаться ] (coolzone footer form) */
.acc-sub { width: 100%; margin-top: 6px; }
.acc-sub__field { position: relative; display: block; padding-bottom: 20px; }
.acc-sub__line { position: relative; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); }
.acc-sub__line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease-out); }
.acc-sub__field:focus-within .acc-sub__line::after, .acc-sub__field.is-err .acc-sub__line::after { transform: scaleX(1); }
.acc-sub__line input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 8px 0 10px; font-size: 15px; }
.acc-sub__line .blink { flex: 0 0 auto; }

@media (max-width: 1100px) {
  .acc-in__grid { grid-template-columns: 1fr; gap: 50px; }
  .acc-offer__num, .acc-side { grid-column: 1 / -1; }
  .acc-side { border-left: 0; padding-left: 0; }
  .acc-cab__grid { grid-template-columns: 1fr; }
  .acc-cab__main, .acc-lead { grid-column: 1 / -1; }
  .acc-lead { position: static; margin-top: 30px; }
  .acc-cab__head { flex-direction: column; align-items: flex-start; }
}
