
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial Light.ttf') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial DemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial Black.ttf') format('truetype'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'TT Commons Pro'; src: url('../Fonts/TT Commons Pro Trial 3-400/TT Commons Pro Trial Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; }


@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded Light.ttf') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded DemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded Black.ttf') format('truetype'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'TT Commons Pro Expanded'; src: url('../Fonts/tt com_2/TT Commons Pro Trial Expanded Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; }


@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Ultralight.otf') format('opentype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Light.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Semibold.otf') format('opentype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Heavy.otf') format('opentype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'SF Pro Display'; src: url('../Fonts/San Francisco Pro Display/SF-Pro-Display-Black.otf') format('opentype'); font-weight: 900; font-style: normal; }


:root {
  
  --white: #FFFFFF;
  --black: #000000;
  --bg: #FFFFFF;
  --bg-gray: #F5F5F5;
  --bg-light: #FAFAFA;
  --border: #E5E5E5;
  --border-light: #F0F0F0;

  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-muted: #9CA3AF;
  --text-link: #0071E3;

  
  --blue: #0071E3;
  --blue-hover: #0563C1;
  --blue-light: rgba(0,113,227,0.08);

  
  --yellow: #FFF535;
  --yellow-hover: #F0E520;

  
  --vb-green-1: #1E6B2E;
  --vb-green-2: #2D9142;
  --vb-blue-1: #0D4A8F;
  --vb-blue-2: #1A6ACC;
  --vb-purple-1: #5B1FA8;
  --vb-purple-2: #7C3DD4;
  --vb-orange-1: #B84A0A;
  --vb-orange-2: #E0681A;

  
  --green: #16A34A;
  --green-light: rgba(22,163,74,0.1);
  --red: #DC2626;
  --red-light: rgba(220,38,38,0.1);
  --orange: #F59E0B;
  --orange-light: rgba(245,158,11,0.1);

  
  --tg-blue: #29B6F6;

  
  --font: 'SF Pro Display', -apple-system, 'Inter', Arial, sans-serif;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 40px;

  
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s8: 32px;
  --s10: 40px;
  --s12: 48px;
  --s16: 64px;

  
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 20px;
  --r-full: 9999px;

  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  
  --max-w: 1280px;
  --px: 80px;

  --transition: 0.15s ease;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: var(--text-base); color: var(--text-primary); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }

img[src$=".svg"], img[src$=".png"] { font-size: 0; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); font-size: var(--text-base); }
input, textarea, select { font-family: var(--font); font-size: var(--text-base); outline: none; }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }


@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.main--entering {
  animation: page-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.main--exiting {
  animation: page-out 0.18s ease-in forwards;
  pointer-events: none;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}


.page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.main { flex: 1; padding: var(--s6) 0 var(--s16); }


.header {
  background: #1F2B39;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  font-family: 'TT Commons Pro Expanded', 'TT Commons Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.header > .container {
  height: 100%;
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  justify-content: center;
}

.header__brand {
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  left: 11.46%;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  height: auto;
}

.header__brand img {
  height: 32px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 0 0 auto;
  justify-content: center;
}

.header__link {
  font-family: 'TT Commons Pro Expanded', 'TT Commons Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 25px;
  color: #F2F2F2;
  padding: 6px 12px;
  border-radius: var(--r-md);
  transition: color var(--transition), background var(--transition), filter var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.header__link:hover {
  color: #FFF535;
}

.header__link.active {
  color: #FFF535;
  font-weight: 500;
}

.header__icon {
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  position: absolute;
  right: var(--px);
}

.header__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition);
}

.header__cart:hover { opacity: 0.7; }

.header__badge {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
  line-height: 14px;
  display: none;
}

.header__badge.visible { display: inline-block; }


.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--s4) 0 var(--s3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--text-secondary); }
.breadcrumbs__sep { color: var(--border); }
.breadcrumbs__current { color: var(--text-secondary); }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-weight: 600;
  border-radius: var(--r-lg);
  padding: 10px 20px;
  font-size: var(--text-sm);
  line-height: 1;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: none;
}
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 4px 12px rgba(0,113,227,0.3); }

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
  border: none;
  font-weight: 700;
}
.btn-yellow:hover { background: var(--yellow-hover); box-shadow: 0 4px 12px rgba(255,245,53,0.4); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-secondary); background: var(--bg-gray); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  font-weight: 500;
}
.btn-ghost:hover { background: var(--bg-gray); color: var(--text-primary); }

.btn-sm { padding: 7px 14px; font-size: var(--text-xs); border-radius: var(--r-md); }
.btn-lg { padding: 13px 28px; font-size: var(--text-md); }
.btn-full { width: 100%; }


.page-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--s8);
  letter-spacing: -0.02em;
}


.section-head {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.section-head h2 {
  font-family: 'SF Pro Display', var(--font);
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: #1D1D1F;
}
.section-head__count {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}


/* Главная: логотип ровно в 72px от шапки (убираем верхний паддинг main). */
.home-main { padding-top: 0; }
.game-section {
  padding: 72px 0;
  margin-bottom: 0;
}
.game-section__inner {
  position: relative;
  padding-bottom: 18px;
}
/* 96px от полосы под логотипом до заголовка «V-BUCKS». */
.game-section + .page-sep { margin-bottom: 96px; }
.game-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.game-logo__img {
  height: 56px;
  width: auto;
}
.game-section__duck {
  position: absolute;
  right: 265px;
  bottom: -74px;
  width: 78px;
  height: auto;
  transform: rotate(-20deg);
  transform-origin: center bottom;
  pointer-events: none;
  z-index: 2;
}


.vbucks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-bottom: 72px;
}

.vb-card {
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.vb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.vb-card--green  { background: linear-gradient(165deg, var(--vb-green-1), var(--vb-green-2)); }
.vb-card--blue   { background: linear-gradient(165deg, var(--vb-blue-1), var(--vb-blue-2)); }
.vb-card--purple { background: linear-gradient(165deg, var(--vb-purple-1), var(--vb-purple-2)); }
.vb-card--orange { background: linear-gradient(165deg, var(--vb-orange-1), var(--vb-orange-2)); }

.vb-card__img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s6);
  position: relative;
  overflow: hidden;
}
.vb-card__bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}


.vb-coin {
  background: radial-gradient(circle at 30% 30%, #FFE566, #FFD80B 50%, #D4A000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3), inset 0 -3px 6px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.vb-coin--sm  { width: 64px; height: 64px; font-size: 28px; }
.vb-coin--md  { width: 80px; height: 80px; font-size: 36px; }
.vb-coin--lg  { width: 96px; height: 96px; font-size: 42px; }
.vb-coin--xl  { width: 110px; height: 110px; font-size: 48px; }

.vb-card__amount-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.3);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}

.vb-card__footer {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
  padding: var(--s3) var(--s4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}

.vb-card__label { color: var(--white); }
.vb-card__label-name { font-size: var(--text-sm); font-weight: 700; }
.vb-card__label-sub { font-size: var(--text-xs); color: rgba(255,255,255,0.7); margin-top: 1px; }

.vb-card__price {
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: 6px 10px;
  border-radius: var(--r-md);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.vb-card__buy-btn {
  background: var(--yellow);
  color: var(--black);
  font-family: 'SF Pro Display', var(--font);
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: background var(--transition);
}
.vb-card__buy-btn:hover { background: var(--yellow-hover); }
.vb-card__buy-btn img { width: 32px; height: 28px; display: block; flex-shrink: 0; }


.crew-banner {
  display: flex;
  border-radius: 0;
  overflow: hidden;
  background: #F5F5F7;
  margin-bottom: var(--s8);
  min-height: 300px;
}
.crew-banner__img-wrap {
  position: relative;
  width: 55%;
  flex-shrink: 0;
}
.crew-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.crew-pack-wrap {
  position: relative;
  margin-bottom: 72px;
}
.crew-banner__new {
  position: absolute;
  top: -14px;
  left: 0;
  width: 100px;
  height: auto;
  z-index: 10;
  pointer-events: none;
}
.crew-pack-wrap .crew-banner {
  margin-bottom: 0;
}
.crew-banner__info {
  flex: 1;
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s5);
}
.crew-banner__title {
  font-family: 'SF Pro Display', var(--font);
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  color: #1D1D1F;
  margin: 0;
}
.crew-banner__perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
  color: #6E6E73;
}
.crew-banner__buy-btn {
  width: 100%;
  font-family: 'SF Pro Display', var(--font) !important;
  font-size: 28px !important;
  line-height: 32px !important;
  font-weight: 600 !important;
  padding: 16px !important;
  border-radius: 8px !important;
}


.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s4);
  margin-bottom: var(--s8);
}

.set-card {
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--bg-gray);
}
.set-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.set-card__img {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}
.set-card__img img { pointer-events: none; }
.set-card__img--1 { background: linear-gradient(135deg, #0D1B2E, #1A3354); }
.set-card__img--2 { background: linear-gradient(135deg, #1A0D2E, #3A1A5C); }

.set-card__footer {
  background: var(--white);
  padding: var(--s3) var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  border-top: 1px solid var(--border-light);
}

.set-card__info { min-width: 0; }
.set-card__name { font-weight: 700; font-size: var(--text-base); color: var(--text-primary); }
.set-card__desc { font-size: var(--text-xs); color: var(--text-muted); margin-top: 1px; }

.set-card__buy {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: 7px 12px;
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}
.set-card__buy:hover { background: var(--yellow-hover); }

.set-card__bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.set-card__buy-btn {
  background: var(--yellow);
  color: var(--black);
  font-family: 'SF Pro Display', var(--font);
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: background var(--transition);
}
.set-card__buy-btn:hover { background: var(--yellow-hover); }
.set-card__buy-btn img { width: 32px; height: 28px; display: block; flex-shrink: 0; }


.gifts-banner {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5) var(--s8);
  display: flex;
  align-items: center;
  gap: var(--s6);
}
.gifts-banner__icon { font-size: 28px; flex-shrink: 0; }
.gifts-banner__text { flex: 1; font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5; }
.gifts-banner__arrow {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.gifts-banner__arrow:hover { background: var(--blue-hover); }


.sel-wrap {
  width: 100%;
  max-width: 100%;
  /* ~96px от шапки до первой строки товаров (с учётом крошек) */
  margin: 28px 0 0;
}

.sel-grid-4,
.sel-grid-3 {
  display: grid;
  /* Плитки фиксированной ширины, прижаты к левому краю, переносятся при нехватке места */
  grid-template-columns: repeat(auto-fill, 160px);
  justify-content: start;
  /* 24px между строками, 30px между колонками */
  gap: 24px 30px;
}
.sel-grid-4 { margin-bottom: 24px; }   /* отступ между категориями V-BUCKS → НАБОРЫ */
.sel-grid-3 { margin-bottom: 64px; }   /* отступ до блока выбранных товаров */

.sel-tile {
  cursor: pointer;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: visible;
  position: relative;
  user-select: none;
  width: 100%;
  max-width: 160px;
  height: 162px;
  justify-self: center;
  box-sizing: border-box;
  transition:
    border-color 0.25s ease,
    border-radius 0.25s ease,
    padding      0.25s ease,
    transform    0.3s  cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow   0.3s  ease;
}
.sel-tile:hover:not(.sel-tile--selected) {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.sel-tile--selected {
  border-color: #004E8F;
  border-radius: 14px;
  padding: 2px;
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0, 78, 143, 0.3);
}


.sel-tile__inner {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: border-radius 0.25s ease;
}
.sel-tile--selected .sel-tile__inner {
  border-radius: 11px;
}


.sel-tile__badge {
  position: absolute;
  top: 0;
  left: 50%;
  background: #004E8F;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  z-index: 10;
  white-space: nowrap;
  letter-spacing: 0.01em;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -60%) scale(0.55);
  transition:
    opacity   0.22s ease,
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sel-tile--selected .sel-tile__badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.sel-tile__img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sel-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}


.sel-tile__price-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-family: 'SF Pro Display', var(--font);
  font-weight: 600;
  font-size: 17px;
  line-height: 21px;
  padding: 7px 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.sel-tile--selected .sel-tile__price-bar {
  background: #004E8F;
  color: #FFFFFF;
}

.sel-summary {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-family: 'SF Pro Display', var(--font);
  font-size: 15px;
  line-height: 22px;
  color: #1D1D1F;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 20px;
  margin-bottom: 0;
  border-color: transparent;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    margin-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
}
.sel-summary.is-open {
  max-height: 600px;
  opacity: 1;
  padding: 14px 20px;
  margin-bottom: 12px;
  border-color: var(--border);
}
.sel-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 0;
}
.sel-summary__name { color: #1D1D1F; flex: 1; text-align: left; }
.sel-summary__price { color: #1D1D1F; font-weight: 600; white-space: nowrap; }

@keyframes sel-btn-on {
  0%   { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(255,245,53,0); }
  55%  { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(255,245,53,0.22), 0 6px 22px rgba(255,245,53,0.5); }
  100% { transform: scale(1);    box-shadow: 0 4px 16px rgba(255,245,53,0.38); }
}

@keyframes sel-btn-off {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.sel-buy-btn {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  font-size: 20px;
  font-weight: 700;
  padding: 18px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font);
  margin-bottom: 10px;
  transition:
    background    0.4s ease,
    color         0.4s ease,
    border-color  0.4s ease,
    box-shadow    0.35s ease;
}
.sel-buy-btn:hover:not(:disabled) {
  background: var(--yellow-hover);
  box-shadow: 0 4px 14px rgba(255,245,53,0.4);
}
.sel-buy-btn.btn-lit {
  animation: sel-btn-on 0.48s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.sel-buy-btn.btn-dimmed {
  animation: sel-btn-off 0.28s ease forwards;
}
.sel-buy-btn:disabled {
  background: rgba(255, 245, 53, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 245, 53, 0.3);
  color: rgba(0, 0, 0, 0.25);
  cursor: not-allowed;
  box-shadow: none;
}

.sel-hint {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}


.info-tabs {
  margin-top: 36px;
}

.info-tabs__nav {
  /* «Инструкция» строго по центру страницы, по 72px до «Описание» и «FAQ» */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 72px;
  align-items: center;
  padding: 16px 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  width: 100vw;
  border-top: 1px solid #D2D2D7;
  border-bottom: 1px solid #D2D2D7;
  position: relative;
}
.info-tab:nth-child(1) { justify-self: end; }
.info-tab:nth-child(2) { justify-self: center; }
.info-tab:nth-child(3) { justify-self: start; }

/* Серая подложка под содержимым вкладок */
.info-tabs__body {
  background: #F5F5F7;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--s6) 0 var(--s10);
}

.info-tab {
  background: none;
  border: none;
  padding: 0;
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
  color: #6E6E73;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
  user-select: none;
}

.info-tab:hover { color: #1D1D1F; }

.info-tab.active {
  color: #1D1D1F;
}

.info-panel {
  padding: 0 var(--s5);
  width: 730px;
  max-width: 100%;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.info-panel.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: fade-in 0.4s ease forwards;
}

.info-panel:not(.active) {
  display: none;
}


.info-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.info-desc p { margin: 0 0 var(--s3); }


.instr-warning {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: var(--s4);
}

.instr-warning__summary {
  display: flex;
  padding: var(--s4) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  line-height: 1.4;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  user-select: none;
}

.instr-warning__summary::-webkit-details-marker { display: none; }

.instr-warning__icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: rgba(0, 113, 227, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s ease;
}
.instr-warning__summary:hover .instr-warning__icon { background: rgba(0, 113, 227, 0.95); }
.instr-warning__icon svg { display: block; }

.instr-warning[open] .instr-warning__icon { transform: rotate(180deg); }

.instr-warning p {
  margin: 0;
  padding: var(--s2) 0 var(--s4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.instr-heading {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--s2);
}

.instr-subtext {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--s6);
}

.instr-subtext a {
  color: var(--blue);
  text-decoration: none;
}

.instr-subtext a:hover { text-decoration: underline; }

.instr-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.instr-step {
  display: flex;
  gap: var(--s4);
  position: relative;
  padding-bottom: var(--s6);
}

.instr-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 0;
  width: 4px;
  background: var(--blue);
}

.instr-step__num {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--blue);
  color: #CCE3F9;
  font-size: var(--text-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.instr-step__body { padding-top: 6px; }

.instr-step__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.instr-step__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}


.info-faq {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.info-faq details {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  transition: background 0.2s, border-color 0.2s;
}

.info-faq details:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

.info-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.info-faq summary::-webkit-details-marker { display: none; }

.info-faq summary .faq-icon {
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.info-faq details[open] summary .faq-icon { transform: rotate(45deg); }

.info-faq details p {
  margin: 0;
  padding: 0 var(--s5) var(--s4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}


.catalog-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s8);
  align-items: start;
}

.filters {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  position: sticky;
  top: 68px;
}
.filters__title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--s4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filters__group { margin-bottom: var(--s4); }
.filters__group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--s2);
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  margin: 2px;
}
.chip:hover, .chip.active {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.product-card__img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__body { padding: var(--s3) var(--s4) 0; }
.product-card__name { font-weight: 700; font-size: var(--text-sm); }
.product-card__type { font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s4) var(--s4);
  margin-top: var(--s3);
  border-top: 1px solid var(--border-light);
}
.product-card__price { font-weight: 700; font-size: var(--text-md); }


.buy-steps {
  margin-top: var(--s8);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
}
.buy-steps__title { font-weight: 700; font-size: var(--text-md); margin-bottom: var(--s5); }
.buy-steps__list { display: flex; flex-direction: column; gap: var(--s4); }
.buy-step {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}
.buy-step__num {
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.buy-step__text { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5; }


.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--s8);
  align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: var(--s3); }

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--transition);
}
.cart-item:hover { border-color: var(--blue); }

.cart-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-weight: 700; font-size: var(--text-base); }
.cart-item__sub { font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.qty-btn {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: var(--text-lg);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}
.qty-btn:hover { border-color: var(--blue); color: var(--blue); }
.qty-val { font-weight: 700; font-size: var(--text-base); min-width: 20px; text-align: center; }

.cart-item__price { font-weight: 700; font-size: var(--text-md); min-width: 72px; text-align: right; }

.cart-item__del {
  color: var(--text-muted);
  padding: var(--s2);
  border-radius: var(--r-md);
  transition: all var(--transition);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__del:hover { color: var(--red); background: var(--red-light); }

.cart-summary {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  position: sticky;
  top: 68px;
}
.cart-summary__title { font-weight: 700; font-size: var(--text-md); margin-bottom: var(--s5); padding-bottom: var(--s4); border-bottom: 1px solid var(--border); }
.cart-summary__row { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--s3); }
.cart-summary__total { display: flex; justify-content: space-between; font-weight: 700; font-size: var(--text-lg); padding-top: var(--s3); border-top: 1px solid var(--border); margin-top: var(--s1); }

.promo-row { display: flex; gap: var(--s2); margin: var(--s4) 0; }
.promo-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 12px;
  font-size: var(--text-xs);
  background: var(--white);
  transition: border-color var(--transition);
}
.promo-input:focus { border-color: var(--blue); }


.payment-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--s8);
  align-items: start;
}

.steps-progress {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s8);
}
.step-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}
.step-item.done .step-num { background: var(--green); }
.step-item.active .step-num { background: var(--blue); color: var(--white); }
.step-item.active { color: var(--text-primary); }
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-line { flex: 1; max-width: 40px; height: 1.5px; background: var(--border); }
.step-line.done { background: var(--green); }

.form-block {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  margin-bottom: var(--s4);
}
.form-block__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.form-block__num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-group { margin-bottom: var(--s4); }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: block; font-size: var(--text-xs); font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: var(--text-sm);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,0.1); }
.form-input::placeholder { color: var(--text-muted); }

.pay-methods { display: flex; flex-direction: column; gap: var(--s2); }
.pay-method {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--transition);
}
.pay-method:hover, .pay-method.selected { border-color: var(--blue); background: var(--blue-light); }
.pay-method__radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pay-method.selected .pay-method__radio { border-color: var(--blue); }
.pay-method.selected .pay-method__radio::after { content: ''; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.pay-method__icon { font-size: 20px; width: 32px; text-align: center; }
.pay-method__name { font-size: var(--text-sm); font-weight: 600; }
.pay-method__desc { font-size: var(--text-xs); color: var(--text-muted); }


.tabs {
  display: flex;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: var(--s6);
  gap: 0;
}
.tab {
  padding: var(--s2) var(--s5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  background: none;
  transition: all var(--transition);
}
.tab:hover { color: var(--text-secondary); }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }


.tg-banner {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s5);
}
.tg-banner__icon { font-size: 20px; flex-shrink: 0; color: var(--tg-blue); }
.tg-banner__text { flex: 1; font-size: var(--text-xs); }
.tg-banner__text strong { display: block; font-weight: 700; color: var(--text-primary); }
.tg-banner__text span { color: var(--text-secondary); }
.tg-banner__btn {
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: background var(--transition);
}
.tg-banner__btn:hover { background: var(--blue-hover); }
.tg-badge {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
  line-height: 14px;
}


.purchase-list { display: flex; flex-direction: column; gap: var(--s3); }

.purchase-item {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--transition);
  cursor: pointer;
}
.purchase-item:hover { border-color: var(--blue); }

.purchase-item__logo {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--text-primary);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  text-transform: uppercase;
}

.purchase-item__id {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: monospace;
  flex-shrink: 0;
  min-width: 90px;
}


.order-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.order-step {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
}
.order-step.done { background: var(--blue); border-color: var(--blue); color: var(--white); }
.order-step.active { background: var(--white); border-color: var(--blue); color: var(--blue); }
.order-step.done-star { background: var(--blue); border-color: var(--blue); color: var(--white); font-size: 9px; }
.order-step.green { background: var(--green); border-color: var(--green); color: var(--white); }

.order-step-line { width: 16px; height: 2px; background: var(--border); }
.order-step-line.done { background: var(--blue); }

.purchase-item__date { font-size: var(--text-xs); color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.purchase-item__price { font-weight: 700; font-size: var(--text-base); margin-left: auto; white-space: nowrap; }


.active-order {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.active-order__header {
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.active-order__body { padding: var(--s5); }
.active-order__title { font-size: var(--text-sm); font-weight: 600; color: var(--text-secondary); margin-bottom: var(--s4); }
.active-order__hint {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  font-size: var(--text-xs);
  color: #92400E;
  line-height: 1.5;
  margin-top: var(--s4);
}

.chat-row {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-light);
}
.chat-input-inline {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px 12px;
  font-size: var(--text-sm);
  background: var(--bg-light);
  transition: border-color var(--transition);
}
.chat-input-inline:focus { border-color: var(--blue); background: var(--white); }


.appeal-list { display: flex; flex-direction: column; gap: var(--s3); }

.appeal-item {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: border-color var(--transition);
}
.appeal-item:hover { border-color: var(--blue); }

.appeal-item__type { font-size: var(--text-xs); color: var(--text-muted); }
.appeal-item__id { font-size: var(--text-sm); font-weight: 700; color: var(--blue); }
.appeal-item__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xs); font-weight: 700; color: var(--white);
  flex-shrink: 0;
}

.messengers {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
}
.messengers__label { font-size: var(--text-xs); color: var(--text-muted); margin-right: var(--s1); }
.messenger-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.messenger-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-md); }
.messenger-btn--tg { background: #29B6F6; }
.messenger-btn--vk { background: #0077FF; }
.messenger-btn--wa { background: #25D366; }


.no-auth {
  text-align: center;
  padding: var(--s12) var(--s8);
  max-width: 420px;
  margin: 0 auto;
}
.no-auth__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--s6);
}


.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s8);
  align-items: start;
}

.profile-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  position: sticky;
  top: 68px;
}

.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #EF4444);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900;
  color: var(--white);
  margin: 0 auto var(--s4);
}

.profile-name { text-align: center; font-size: var(--text-lg); font-weight: 700; }
.profile-id { text-align: center; font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; margin-bottom: var(--s5); }

.profile-tabs {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.profile-tab {
  flex: 1;
  padding: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.profile-tab.active { background: var(--blue); color: var(--white); }
.profile-tab:first-child { border-right: 1.5px solid var(--border); }


.reviews-summary {
  display: flex;
  align-items: center;
  gap: var(--s10);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  margin-bottom: var(--s8);
}
.reviews-big { text-align: center; flex-shrink: 0; }
.reviews-big__num { font-size: 64px; font-weight: 900; line-height: 1; }
.reviews-big__stars { font-size: 20px; color: var(--yellow); margin: var(--s2) 0; }
.reviews-big__count { font-size: var(--text-xs); color: var(--text-muted); }

.reviews-bars { flex: 1; }
.bar-row { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s2); }
.bar-row__num { width: 12px; font-size: var(--text-xs); color: var(--text-muted); text-align: right; }
.bar-row__track { flex: 1; height: 6px; background: var(--border); border-radius: var(--r-full); overflow: hidden; }
.bar-row__fill { height: 100%; background: var(--yellow); border-radius: var(--r-full); }
.bar-row__count { width: 28px; font-size: var(--text-xs); color: var(--text-muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}

.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 0;
  padding: var(--s5);
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card__head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.review-card__av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--text-base); color: var(--black); flex-shrink: 0;
}
.review-card__info { flex: 1; }
.review-card__name { font-weight: 700; font-size: var(--text-sm); }
.review-card__date { font-size: var(--text-xs); color: var(--text-muted); }
.review-card__stars { font-size: var(--text-base); color: var(--yellow); }
.review-card__text { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; }


.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.trust-item {
  text-align: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: var(--s5) var(--s4);
}
.trust-item__av {
  width: 60px; height: 60px; border-radius: 50%;
  margin: 0 auto var(--s3);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: var(--black);
}
.trust-item__name { font-size: var(--text-sm); font-weight: 700; }
.trust-item__sub { font-size: var(--text-xs); color: var(--text-muted); }


.auth-card {
  max-width: 730px;
  margin: var(--s6) auto var(--s10);
  background: var(--white);
  border: 1px solid #1D1D1F;
  border-radius: 16px;
  padding: var(--s8) var(--s10);
}

.auth-card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--s6);
  user-select: none;
}

.auth-card__tab {
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 400;
  transition: color 0.2s, font-weight 0.1s;
}

.auth-card__tab.active {
  color: var(--text-primary);
  font-weight: 700;
}

.auth-card__sep {
  color: var(--text-primary);
  font-weight: 600;
}

.auth-field {
  margin-bottom: var(--s4);
}

.auth-input {
  width: 100%;
  height: 58px;
  background: #F5F5F7;
  border: 1px solid #6E6E73;
  border-radius: 8px;
  padding: 0 var(--s5);
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text-primary);
  box-sizing: border-box;
  transition: border-color 0.2s;
  outline: none;
}

.auth-input::placeholder { color: #6E6E73; }
.auth-input:focus { border-color: #0071E3; background: var(--white); }
.auth-input--error { border-color: #FF3B30; }
.auth-input--error:focus { border-color: #FF3B30; }
.auth-field-error {
  color: #FF3B30;
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.3;
}
.auth-success-block {
  text-align: center;
  padding: 30px 0;
}
.auth-success-block .auth-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.auth-success-block .auth-success-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.auth-success-block .auth-success-desc {
  color: #6E6E73;
  font-size: 15px;
  line-height: 1.5;
}
.auth-form--success + .auth-or {
  margin-top: 28px;
  margin-bottom: 22px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s5);
}

.auth-row--start { justify-content: flex-start; }

.auth-check {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}

.auth-check input[type=checkbox] {
  width: 17px;
  height: 17px;
  border: 1px solid #6E6E73;
  border-radius: 2px;
  accent-color: #0071E3;
  cursor: pointer;
  flex-shrink: 0;
}

.auth-forgot {
  font-size: var(--text-sm);
  color: var(--text-primary);
  text-decoration: underline;
}

.auth-forgot:hover { color: var(--blue); }

.auth-btn-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s5);
}

.auth-submit {
  width: 350px;
  height: 48px;
  background: #0071E3;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.auth-submit:hover { background: #0077ED; }
.auth-submit:active { background: #006ACC; }

.auth-policy {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin: 0 0 var(--s5);
  line-height: 1.5;
}

.auth-policy a { color: #0071E3; text-decoration: none; }
.auth-policy a:hover { text-decoration: underline; }

.auth-or {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--s4);
}

.auth-google-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s4);
}

.auth-google-slot {
  width: 100%;
  max-width: 350px;
  min-height: 44px;
}

.auth-google-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.auth-google-hint--info {
  color: var(--text-secondary);
}

.auth-google-hint--warning {
  color: #B26A00;
}

.auth-google-hint--error {
  color: #FF3B30;
}

.auth-socials {
  display: flex;
  justify-content: center;
  gap: var(--s3);
}

.auth-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #D2D2D7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.auth-social-btn:hover { background: #C2C2C7; transform: scale(1.08); }


.chat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--s5);
  height: calc(100vh - 140px);
  min-height: 500px;
}

.chat-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-sidebar__head {
  padding: var(--s3) var(--s4);
  font-weight: 700;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
}
.chat-contact {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}
.chat-contact:hover, .chat-contact.active { background: var(--bg-light); }
.chat-contact__av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-base); font-weight: 700; flex-shrink: 0;
}
.chat-contact__name { font-weight: 600; font-size: var(--text-sm); }
.chat-contact__preview { font-size: var(--text-xs); color: var(--text-muted); margin-top: 1px; }
.chat-contact__time { font-size: 11px; color: var(--text-muted); margin-left: auto; white-space: nowrap; }

.chat-main {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-main__head {
  padding: var(--s3) var(--s5);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.msg { display: flex; gap: var(--s2); max-width: 70%; }
.msg--in { align-self: flex-start; }
.msg--out { align-self: flex-end; flex-direction: row-reverse; }
.msg__av {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xs); font-weight: 700; flex-shrink: 0;
}
.msg--in .msg__av { background: var(--blue); color: var(--white); }
.msg--out .msg__av { background: var(--yellow); color: var(--black); }
.msg__bubble {
  padding: var(--s2) var(--s3);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.msg--in .msg__bubble { background: var(--bg-light); color: var(--text-primary); border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg); }
.msg--out .msg__bubble { background: var(--text-primary); color: var(--white); border-radius: var(--r-lg) 4px var(--r-lg) var(--r-lg); }
.msg__time { font-size: 11px; color: var(--text-muted); margin-top: 3px; text-align: right; }

.chat-input-area {
  padding: var(--s3) var(--s5);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--s3);
  align-items: flex-end;
}
.chat-textarea {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 9px 12px;
  font-size: var(--text-sm);
  resize: none;
  max-height: 100px;
  background: var(--bg-light);
  transition: border-color var(--transition);
  line-height: 1.5;
}
.chat-textarea:focus { border-color: var(--blue); background: var(--white); }


.empty {
  text-align: center;
  padding: var(--s12) var(--s8);
  color: var(--text-secondary);
}
.empty__icon { font-size: 48px; margin-bottom: var(--s5); opacity: 0.4; }
.empty__title { font-size: var(--text-xl); font-weight: 700; color: var(--text-primary); margin-bottom: var(--s2); }
.empty__desc { font-size: var(--text-sm); margin-bottom: var(--s6); }


.guarantee-block { margin-bottom: var(--s6); }
.guarantee-block h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--s4); }
.guarantee-list { display: flex; flex-direction: column; gap: var(--s3); }
.guarantee-item { display: flex; align-items: flex-start; gap: var(--s3); font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; }
.guarantee-item__num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-gray); color: var(--text-muted);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.text-blue { color: var(--blue); }
.text-link { color: var(--blue); text-decoration: underline; }


.toasts {
  position: fixed;
  bottom: var(--s6);
  right: var(--s6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 340px;
  min-width: 240px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  animation: toastSlideIn 0.22s cubic-bezier(0.34, 1.26, 0.64, 1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.toast__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.toast__text {
  flex: 1;
}
.toast__close {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.5;
  transition: opacity 0.15s;
  margin-top: 0px;
}
.toast__close:hover { opacity: 1; }
.toast__close svg { width: 14px; height: 14px; display: block; }


.toast--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}
.toast--success .toast__icon { color: #16a34a; }
.toast--success .toast__close { color: #15803d; }


.toast--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.toast--error .toast__icon { color: #dc2626; }
.toast--error .toast__close { color: #b91c1c; }


.toast--info {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #5b21b6;
}
.toast--info .toast__icon { color: #7c3aed; }
.toast--info .toast__close { color: #5b21b6; }


.toast--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.toast--warning .toast__icon { color: #d97706; }
.toast--warning .toast__close { color: #92400e; }

@keyframes toastSlideIn {
  from { transform: translateX(24px) scale(0.97); opacity: 0; }
  to   { transform: translateX(0) scale(1);       opacity: 1; }
}


.divider { height: 1px; background: var(--border); margin: var(--s5) 0; }


.purchases-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.purchases-title {
  font-family: 'SF Pro Display', var(--font);
  font-size: 48px;
  line-height: 52px;
  font-weight: 600;
  text-align: center;
  color: #1D1D1F;
  padding: 10px 0 28px;
  letter-spacing: -0.02em;
}


.purchases-sep,
.page-sep {
  height: 1px;
  background: #1D1D1F;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.purchases-tabs-row {
  display: flex;
  justify-content: center;
  gap: 72px;
  padding: 15px 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: var(--s8);
  width: 100vw;
  border-bottom: 1px solid #1D1D1F;
}

.purchases-tab-btn {
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
  color: #6E6E73;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.purchases-tab-btn:hover { color: #1D1D1F; }
.purchases-tab-btn.active {
  color: #1D1D1F;
}

.order-notify-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  max-width: 730px;
  margin: 0 auto var(--s5);
}
.order-notify-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #F9E6E8;
  padding: 6px;
  box-sizing: border-box;
  object-fit: contain;
}
.order-notify-text { flex: none; display: flex; flex-direction: column; gap: 4px; }
.order-notify-text strong {
  display: block;
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 17px;
  font-weight: 600;
  color: #1D1D1F;
}
.order-notify-text span {
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 17px;
  font-weight: 400;
  color: #6E6E73;
}
.order-notify-btn {
  width: 131px;
  height: 40px;
  box-sizing: border-box;
  margin-left: 12px;
  border: 1px solid #0071E3;
  background: transparent;
  color: #0071E3;
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 17px;
  font-weight: 400;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.order-notify-btn:hover { background: #0071E3; color: #FFFFFF; }

.order-card-new {
  width: 730px;
  max-width: 100%;
  margin: 0 auto var(--s4) auto;
  background: #F5F5F7;
  border-radius: 16px;
  padding: 0;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
}
.order-card-new:hover { background: #EAEAEF; }

.order-card__unread {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  background: #FD0002;
  color: #FFFFFF;
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.order-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  width: 100%;
  min-height: 106px;
  padding: 0 40px;
  box-sizing: border-box;
}
.order-fn-logo { height: 20px; flex-shrink: 0; }
.order-num {
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  color: #6E6E73;
  font-weight: 400;
  flex-shrink: 0;
}

.order-status-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.order-status-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.order-status-circle--blue  { background: #0071E3; }
.order-status-circle--gray  { background: #D2D2D7; }
.order-status-circle--green { background: #34C759; }
.order-status-circle img { width: 18px; height: 18px; object-fit: contain; }

.order-status-line { width: 40px; height: 2px; background: #6E6E73; flex-shrink: 0; border-radius: 1px; }

.order-date-tag {
  width: 106px;
  height: 30px;
  box-sizing: border-box;
  background: #D2D2D7;
  color: #6E6E73;
  font-family: 'SF Pro Display', var(--font);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}
.order-date-tag--done {
  background: #34C759;
  color: #FFFFFF;
}

.order-price-val {
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 400;
  color: #6E6E73;
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
}


.order-expand {
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid rgba(0,0,0,0.07);
}

.order-chat-msg { margin-bottom: var(--s3); }
.order-chat-msg--in { font-size: var(--text-sm); color: var(--text-primary); line-height: 1.55; overflow-wrap: break-word; word-break: break-word; }
.order-chat-msg--out { display: flex; justify-content: flex-end; }
.order-chat-bubble {
  background: #C8F5C8;
  border-radius: 16px 4px 16px 16px;
  padding: 8px 14px;
  font-size: var(--text-sm);
  color: var(--text-primary);
  max-width: 70%;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.order-chat-time { font-size: 11px; color: var(--text-muted); margin-left: 6px; display: inline; }

.order-code-field {
  width: 100%;
  background: var(--white);
  border: 1.5px solid #D1D1D6;
  border-radius: 12px;
  padding: 14px var(--s5);
  font-size: var(--text-base);
  margin: var(--s4) 0 var(--s3);
  outline: none;
  transition: border-color var(--transition);
}
.order-code-field::placeholder { color: var(--text-muted); font-size: var(--text-sm); }
.order-code-field:focus { border-color: var(--blue); }

.order-next-btn {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-bottom: var(--s4);
  transition: background var(--transition);
}
.order-next-btn:hover { background: var(--blue-hover); }


.oc-code-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) 0 var(--s2);
  margin-top: var(--s2);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.order-msg-bar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: #EBEBF0;
  border-radius: 24px;
  padding: 8px 14px;
}
.order-msg-bar__add {
  width: 26px; height: 26px;
  border: 1.5px solid #C8C8C8;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 16px; cursor: pointer; flex-shrink: 0;
  background: var(--white); line-height: 1;
}
.order-msg-bar__input {
  flex: 1; border: none; background: transparent;
  font-size: var(--text-sm); color: var(--text-primary); outline: none;
}
.order-msg-bar__input::placeholder { color: #C8C8C8; }
.order-msg-bar__send { color: var(--blue); font-size: 18px; cursor: pointer; flex-shrink: 0; line-height: 1; }

.order-details-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: var(--s2);
}
.order-details-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s4) 0;
  cursor: pointer;
}
.order-details-header-text {
  font-weight: 700; font-size: var(--text-sm); color: var(--text);
}
.order-details-chevron-btn {
  width: 32px; height: 32px;
  background: var(--blue); color: var(--white);
  border: none; border-radius: 8px;
  font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.order-details-item {
  display: flex; align-items: center; gap: 16px;
  padding: var(--s4) 0;
  border-top: 1px solid var(--border);
}
.order-details-thumb {
  width: 80px; height: 80px;
  border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.order-details-thumb-label {
  font-size: 28px; font-weight: 900; color: var(--white);
}
.order-details-info { flex: 1; min-width: 0; }
.order-details-name { font-weight: 700; font-size: var(--text-sm); color: var(--text); }
.order-details-subprice { font-size: var(--text-sm); color: var(--text-muted); margin-top: 4px; }
.order-details-qty { font-size: var(--text-sm); color: var(--text); white-space: nowrap; }
.order-details-total-price {
  font-weight: 700; font-size: var(--text-sm); color: var(--text);
  white-space: nowrap; min-width: 70px; text-align: right;
}


.profile-page-wrap {
  max-width: 660px;
  margin: 0 auto;
}

.profile-page-title {
  font-family: 'SF Pro Display', var(--font);
  font-size: 48px;
  line-height: 52px;
  font-weight: 600;
  text-align: center;
  color: #1D1D1F;
  padding: 10px 0 28px;
  letter-spacing: -0.02em;
}

.profile-page-sep {
  height: 1px;
  background: #1D1D1F;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.profile-main-tab {
  text-align: center;
  padding: 15px 0;
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
  color: #1D1D1F;
  border-bottom: 1px solid #1D1D1F;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  margin-bottom: var(--s8);
}

.profile-user-row {
  display: flex;
  align-items: center;
  gap: var(--s5);
  margin-bottom: var(--s5);
}

.profile-avatar-yellow {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #FFFE8A;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #1F2B39;
}

.profile-user-name {
  font-family: 'SF Pro Display', var(--font);
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
  color: #1D1D1F;
  margin-bottom: 4px;
}
.profile-user-meta {
  font-family: 'SF Pro Display', var(--font);
  font-size: 21px;
  line-height: 25px;
  font-weight: 600;
  color: #6E6E73;
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.profile-nav-card {
  background: #F5F5F7;
  border-radius: 16px;
  padding: var(--s5) var(--s6);
  display: flex;
  gap: var(--s8);
  margin-bottom: var(--s4);
}

.profile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
}

.profile-nav-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.profile-nav-icon img {
  display: block;
  margin: 0 auto;
}
.profile-nav-icon--green { background: #2AB400; }
.profile-nav-icon--blue  { background: #0071E3; }
.profile-nav-icon--gray  { background: #C7C7CC; }
.profile-nav-label {
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 17px;
  font-weight: 400;
  color: #1D1D1F;
}

.profile-notify-card {
  background: #F5F5F7;
  border-radius: 16px;
  padding: var(--s4) var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s12);
}
.profile-notify-icon { width: 36px; height: 36px; flex-shrink: 0; }
.profile-notify-text { flex: 1; }
.profile-notify-text strong { display: block; font-size: var(--text-sm); font-weight: 700; }
.profile-notify-text span { font-size: var(--text-xs); color: var(--text-secondary); }
.profile-notify-btn {
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-size: var(--text-sm);
  font-weight: 400;
  padding: 10px 22px;
  border-radius: var(--r-lg);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.profile-notify-btn:hover { background: var(--blue); color: var(--white); }

.profile-pw-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--s8);
}

.profile-pw-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin-bottom: var(--s3);
}

.profile-pw-input {
  width: 100%;
  border: 1.5px solid #C8C8C8;
  border-radius: var(--r-md);
  padding: 16px var(--s5);
  font-size: var(--text-sm);
  background: #F2F2F7;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  font-family: var(--font);
}
.profile-pw-input::placeholder { color: #9CA3AF; }
.profile-pw-input:focus { border-color: var(--blue); background: var(--white); }

.profile-pw-check {
  display: flex; align-items: center; gap: var(--s2);
  font-size: var(--text-sm); color: var(--text-secondary);
  margin-bottom: var(--s5); cursor: pointer;
}
.profile-pw-check input { width: 14px; height: 14px; cursor: pointer; }

.profile-pw-btn {
  display: block;
  margin: 0 auto;
  background: #C8C8C8;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 400;
  padding: 13px 52px;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}
.profile-pw-btn:hover { background: var(--blue); color: var(--white); }

.profile-logout-btn {
  display: block;
  margin: var(--s8) auto 0;
  background: none;
  border: 1.5px solid var(--red);
  color: var(--red);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s8);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.profile-logout-btn:hover { background: var(--red); color: var(--white); }


.cart-v2 {
  max-width: 730px;
  margin: var(--s4) auto var(--s12);
}

.cv2-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4) 0;
}

.cv2-fn-logo {
  height: 28px;
  width: auto;
}

.cv2-clear-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  user-select: none;
}
.cv2-clear-btn:hover { color: var(--red); }

.cv2-sep {
  width: 100%;
  height: 1px;
  background: #6E6E73;
  opacity: 0.3;
  margin: 0;
}

.cv2-item {
  display: flex;
  align-items: center;
  gap: var(--s5);
  padding: var(--s5) 0;
}

.cv2-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cv2-thumb__img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv2-thumb__label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  padding-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.cv2-item__info {
  flex: 1;
  min-width: 0;
}

.cv2-item__name {
  font-size: var(--text-base);
  font-weight: 600;
  color: #1D1D1F;
  margin-bottom: 4px;
}

.cv2-item__unit {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #6E6E73;
}

.cv2-item__qty {
  flex-shrink: 0;
}

.cv2-qty-sel {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: var(--text-sm);
  color: #6E6E73;
  cursor: pointer;
  outline: none;
  appearance: auto;
}

.cv2-item__total {
  font-size: var(--text-base);
  font-weight: 600;
  color: #1D1D1F;
  min-width: 60px;
  text-align: right;
  flex-shrink: 0;
}

.cv2-item__del {
  background: none;
  border: none;
  color: #6E6E73;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.18s;
}
.cv2-item__del:hover { color: var(--red); }

.cv2-agreement {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  background: #F5F5F7;
  border-radius: 8px;
  padding: var(--s4) var(--s5);
  margin: var(--s5) 0;
}

.cv2-agree-check {
  width: 20px;
  height: 20px;
  border: 2px solid #0071E3;
  border-radius: 4px;
  accent-color: #0071E3;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}

.cv2-agreement label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #6E6E73;
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

.cv2-summary-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s6);
}

.cv2-summary {
  background: #F5F5F7;
  border-radius: 8px;
  padding: var(--s5) var(--s6);
  width: 414px;
  max-width: 100%;
}

.cv2-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: #6E6E73;
  margin-bottom: var(--s3);
}

.cv2-summary__sep {
  height: 1px;
  background: #6E6E73;
  opacity: 0.4;
  margin: var(--s3) 0;
}

.cv2-summary__total {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  margin-bottom: var(--s5);
}
.cv2-summary__total span { font-weight: 700; color: #1D1D1F; }
.cv2-summary__total strong { font-size: var(--text-base); color: #1D1D1F; }
#cv2-total-wrap { display: flex; flex-direction: column; align-items: flex-end; }

.cv2-order-btn {
  width: 100%;
  height: 48px;
  background: #0071E3;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}
.cv2-order-btn:hover { background: #0077ED; }

.cv2-promo {
  margin-top: var(--s2);
  text-align: center;
}

.cv2-promo__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: #1D1D1F;
  margin: 0 0 var(--s3);
}

.cv2-promo__row {
  display: flex;
  gap: var(--s3);
  justify-content: center;
}

.cv2-promo__input {
  width: 212px;
  height: 48px;
  border: 1px solid #6E6E73;
  border-radius: 8px;
  padding: 0 var(--s4);
  font-family: var(--font);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  box-sizing: border-box;
}
.cv2-promo__input::placeholder { color: #6E6E73; }
.cv2-promo__input:focus { border-color: #0071E3; }

.cv2-promo__btn {
  width: 122px;
  height: 48px;
  border: 1px solid #6E6E73;
  border-radius: 8px;
  background: none;
  font-family: var(--font);
  font-size: var(--text-sm);
  color: #6E6E73;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cv2-promo__btn:hover { border-color: #0071E3; color: #0071E3; }


@keyframes cv2-strike {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes cv2-price-appear {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cv2-row-appear {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}


.cv2-price--strike {
  position: relative;
  display: inline-block;
  color: #8E8E93;
  transition: color 0.25s ease;
}
.cv2-price--strike::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 0;
  background: #FF3B30;
  border-radius: 1px;
  animation: cv2-strike 0.55s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}


.cv2-price--struck {
  position: relative;
  display: inline-block;
  color: #8E8E93;
}
.cv2-price--struck::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 100%;
  background: #FF3B30;
  border-radius: 1px;
}


.cv2-discount-row--anim {
  animation: cv2-row-appear 0.35s ease-out forwards;
}


.cv2-new-price {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #1D1D1F;
  margin-top: 3px;
  animation: cv2-price-appear 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}


.cv2-new-price-static {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #1D1D1F;
  margin-top: 3px;
}


.cv2-summary__total--promo {
  align-items: flex-end;
}




.apls-reason {
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 17px;
  font-weight: 600;
  color: #1D1D1F;
  flex-shrink: 0;
}


.apls-order-num {
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 400;
  color: #0071E3;
  flex-shrink: 0;
}


.apls-create-wrap {
  text-align: center;
  overflow: hidden;
  max-height: 200px;
  opacity: 1;
  margin-bottom: var(--s5);
  transition: max-height 0.3s cubic-bezier(0.4, 0, 1, 1),
              opacity 0.2s ease,
              margin-bottom 0.3s ease;
}
.apls-create-wrap--gone {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}


.apls-create-btn {
  width: 350px;
  height: 48px;
  min-width: 0;
  padding: 0;
  background: #0071E3;
  border: none;
  border-radius: 8px;
  font-family: 'SF Pro Display', var(--font);
  font-style: normal;
  font-weight: 600;
  font-size: 17px;
  line-height: 17px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.apls-create-btn:hover {
  background: #005FBF;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}


.apls-wizard {
  background: #F5F5F7;
  border-radius: 16px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease,
              margin-bottom 0.4s ease;
}
.apls-wizard--open {
  max-height: 1100px;
  opacity: 1;
  margin-bottom: var(--s5);
}
.apls-wizard__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
}
.apls-wizard__sep {
  height: 1px;
  background: #6E6E73;
  margin: 0 var(--s5) var(--s4);
}
.apls-wizard__body {
  padding: var(--s5) var(--s5) var(--s4);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.apls-wiz-date {
  background: #D2D2D7;
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #6E6E73;
  white-space: nowrap;
}

.apls-wiz-xbtn {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.apls-wiz-xbtn--num {
  width: auto;
  border-radius: var(--r-full);
  padding: 0 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  background: rgba(0,0,0,0.08);
  color: var(--text-secondary);
  height: 28px;
  white-space: nowrap;
}


.apls-wiz-msg {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  background: #FFFFFF;
  box-shadow: 0px 1px 2px rgba(0,0,0,0.06);
  border-radius: 4px 14px 14px 14px;
  padding: 6px 12px;
  font-size: 14px;
  color: #1D1D1F;
  max-width: 80%;
  margin-bottom: var(--s4);
  align-self: flex-start;
  overflow-wrap: break-word;
  word-break: break-word;
}
.apls-wiz-msg__time {
  font-size: 11px;
  color: #6E6E73;
  white-space: nowrap;
  flex-shrink: 0;
}


.apls-wiz-field {
  background: #FFFFFF;
  border: 1px solid #6E6E73;
  box-shadow: 0px 1px 2px rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 10px 16px 12px;
  margin-bottom: var(--s4);
  width: 360px;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}
.apls-wiz-field__lbl {
  display: block;
  font-size: 14px;
  color: #D2D2D7;
  margin-bottom: 5px;
  pointer-events: none;
}
.apls-wiz-field__inp {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  color: #1D1D1F;
  background: none;
  font-family: var(--font);
  padding: 0;
}
.apls-wiz-field__ta {
  resize: vertical;
  min-height: 56px;
}


.apls-wiz-btns { display: flex; gap: var(--s3); width: 360px; max-width: 100%; }
.apls-wiz-btn {
  height: 48px;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity 0.18s;
}
.apls-wiz-btn:hover { opacity: 0.88; }
.apls-wiz-btn--cancel {
  width: 142px;
  flex-shrink: 0;
  border: 1px solid #6E6E73;
  background: none;
  color: #6E6E73;
  font-weight: 400;
}
.apls-wiz-btn--next {
  flex: 1;
  background: #0071E3;
  border: none;
  color: #FFFFFF;
  font-weight: 600;
}


.apls-wiz-msgbar {
  background: #FFFFFF;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.06);
  border-radius: 16px;
  margin: 0 var(--s5) var(--s5);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 var(--s4);
  gap: var(--s3);
}
.apls-wiz-msgbar__plus {
  width: 24px; height: 24px;
  border: none; background: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; padding: 0;
}
.apls-wiz-msgbar__text { flex: 1; font-size: 17px; color: #D2D2D7; }
.apls-wiz-msgbar__send {
  width: 30px; height: 30px;
  background: none;
  border: none;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  color: #D2D2D7;
  transition: color 0.2s ease, filter 0.2s ease;
}
.apls-wiz-msgbar__input:not(:placeholder-shown) ~ .apls-wiz-msgbar__send,
.apls-wiz-msgbar__send.is-active {
  color: #0071E3;
}
.apls-wiz-msgbar__send:hover {
  color: #0071E3;
  filter: drop-shadow(0 0 4px rgba(0,113,227,0.5));
}
.apls-wiz-msgbar__send svg { width: 23px; height: 22px; }
.apls-wiz-attach-chip {
  display: none;
  align-items: center;
  gap: 4px;
  background: #E8F0FC;
  border-radius: 6px;
  padding: 3px 6px 3px 8px;
  max-width: 130px;
  flex-shrink: 0;
}
.apls-wiz-attach-chip.visible { display: flex; }
.apls-wiz-attach-chip__nm {
  font-size: 11px;
  color: #0071E3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.apls-wiz-attach-chip__rm {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: #0071E3;
  padding: 0 0 0 2px;
  flex-shrink: 0;
}


.wiz-search-wrap { position: relative; }
.wiz-search-drop {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 4px);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 10;
  overflow: hidden;
}
.wiz-drop-item { display: flex; align-items: center; gap: var(--s3); padding: 10px 14px; cursor: pointer; transition: background 0.15s; }
.wiz-drop-item:hover { background: var(--bg-gray); }
.wiz-drop-item__id { font-size: var(--text-xs); font-weight: 700; color: var(--blue); flex-shrink: 0; }
.wiz-drop-item__name { font-size: var(--text-sm); color: var(--text-primary); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wiz-drop-item__date { font-size: var(--text-xs); color: var(--text-secondary); flex-shrink: 0; }


.wiz-done { display: flex; flex-direction: column; align-items: center; gap: var(--s3); padding: var(--s4) 0; text-align: center; }
.wiz-done__icon { width: 56px; height: 56px; border-radius: 50%; background: #EFF6FF; display: flex; align-items: center; justify-content: center; }
.wiz-done__title { font-size: var(--text-base); font-weight: 700; color: var(--text-primary); }
.wiz-done__sub { font-size: var(--text-sm); color: var(--text-secondary); }


/* Обращения: серая подложка на всю ширину и до низа страницы */
.apls-main { display: flex; flex-direction: column; padding-bottom: 0; }
/* Убираем белый отступ между строкой табов и серой подложкой */
.apls-main .purchases-tabs-row { margin-bottom: 0; }
/* «В работе» строго по центру страницы, по 72px до «Завершённые» и «Все» */
.apls-main .purchases-tabs-row,
.purchases-main .purchases-tabs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  column-gap: 72px;
  align-items: center;
}
.apls-main .purchases-tab-btn:nth-child(1),
.purchases-main .purchases-tab-btn:nth-child(1) { justify-self: end; }
.apls-main .purchases-tab-btn:nth-child(2),
.purchases-main .purchases-tab-btn:nth-child(2) { justify-self: center; }
.apls-main .purchases-tab-btn:nth-child(3),
.purchases-main .purchases-tab-btn:nth-child(3) { justify-self: start; }
.apls-main > .container,
.faq-main > .container,
.rev-main > .container,
.prof-main > .container {
  width: 100%;
}
.apls-main .breadcrumbs,
.faq-main .breadcrumbs,
.rev-main .breadcrumbs,
.prof-main .breadcrumbs {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

/* ──── Отступы страниц: 72px от хедера до заголовка, 72px от заголовка до полосы ──── */
/* Убираем стандартный padding-top .main (24px) для всех контентных страниц */
.rev-main,
.faq-main,
.apls-main,
.ret-main,
.priv-main,
.offer-main,
.purchases-main,
.prof-main { padding-top: 0; }

/* Крошки: убираем нижний паддинг, чтобы крошки + title-top = ровно 72px от хедера
   (16px top + ~18px line-height + 0 bottom + 38px title-top = 72px) */
.rev-main .breadcrumbs,
.faq-main .breadcrumbs,
.apls-main .breadcrumbs,
.ret-main .breadcrumbs,
.priv-main .breadcrumbs,
.offer-main .breadcrumbs,
.prof-main .breadcrumbs { padding-bottom: 0; }

/* Страницы С крошками: 38px title-top (итого 72px от хедера), 72px до полосы */
.rev-main .purchases-title    { padding: 38px 0 72px; }
.apls-main .purchases-title   { padding: 38px 0 72px; }
.prof-main .profile-page-title { padding: 38px 0 72px; }

/* Покупки: крошек нет — полные 72px сверху и снизу */
.purchases-main .purchases-title { padding: 72px 0; }
.purchases-main .purchases-tabs-row { margin-bottom: 0; }
.purchases-main #ptab-work,
.purchases-main #ptab-done,
.purchases-main #ptab-all {
  padding-top: var(--s8);
}
.purchases-main .order-notify-row,
.apls-main .order-notify-row {
  width: fit-content;
  max-width: 100%;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.apls-body {
  background: #F5F5F7;
  flex: 1;
  align-self: stretch;
  width: 100%;
  padding: var(--s8) 0 90px;
}
.apls-body > .container { width: 100%; }
/* На серой подложке карточки, визард и чат — белые */
.apls-body .order-card-new,
.apls-body .order-card-new.apls-ticket-card--open,
.apls-body .order-card-new.apls-ticket-card--open:hover { background: #FFFFFF; }
.apls-body .order-card-new:hover { background: #F2F2F5; }
.apls-body .apls-wizard { background: #FFFFFF; }
.apls-body .apls-ticket-chat { background: #FFFFFF !important; }

.apls-contact-section { margin-top: var(--s8); text-align: center; }
.apls-contact-sep {
  width: 730px;
  max-width: 100%;
  height: 1px;
  background: #6E6E73;
  margin: 0 auto var(--s6);
}
.apls-contact-text {
  width: 730px;
  max-width: 100%;
  margin: 0 auto var(--s4);
  font-family: 'Inter', 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
  color: #6E6E73;
  text-align: center;
}
.apls-social-row { display: flex; justify-content: center; gap: 20px; margin-bottom: var(--s4); }
.apls-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: #D2D2D7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: background 0.18s ease;
}
.apls-social-btn:hover { background: #0071E3; }
.apls-social-btn svg { width: 22px; height: 22px; }
.apls-contact-hours {
  font-family: 'SF Pro Display', var(--font);
  font-size: 17px;
  line-height: 25px;
  font-weight: 400;
  color: #6E6E73;
  text-align: center;
  margin: 0;
}


.apls-auth-prompt {
  /* На серой подложке apls-body, поэтому свой фон/брейкаут не нужны.
     apls-body даёт 32px сверху + 24px здесь = 56px от чёрной линии до текста. */
  padding: 24px 0 0;
}
.apls-auth-prompt__inner {
  max-width: 730px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 0 20px;
}
.apls-auth-prompt__text {
  font-family: 'SF Pro Display', var(--font);
  font-weight: 600;
  font-size: 17px;
  line-height: 25px;
  color: #1D1D1F;
  max-width: 480px;
}
.apls-auth-prompt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 48px;
  background: #0071E3;
  color: #fff;
  border-radius: 8px;
  font-family: 'SF Pro Display', var(--font);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
}
.apls-auth-prompt__btn:hover { background: #0563C1; }
.apls-auth-prompt__sub {
  font-family: 'SF Pro Display', var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: #6E6E73;
}
.apls-auth-prompt__social { display: flex; justify-content: center; }
.apls-auth-prompt__tg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #43A5FF;
  border-radius: 8px;
  flex-shrink: 0;
}
.apls-auth-prompt__hours {
  font-family: 'SF Pro Display', var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: #6E6E73;
}




.order-card-new.apls-ticket-card--open,
.order-card-new.apls-ticket-card--open:hover {
  background: #F5F5F7;
  cursor: pointer;
}


.apls-ticket-card--open {
  border-radius: 16px 16px 0 0 !important;
  margin-bottom: 0 !important;
}


.apls-ticket-chat {
  width: 730px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0 0 16px 16px !important;
  background: #F5F5F7 !important;
}


.apls-ticket-chat > .apls-wizard__sep {
  margin: 0 var(--s5) 0;
  background: rgba(0,0,0,0.08);
}


.apls-ticket-chat__body {
  padding: var(--s4) var(--s5);
  display: flex;
  flex-direction: column;
  max-height: 320px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.apls-ticket-chat__body::-webkit-scrollbar { width: 4px; }
.apls-ticket-chat__body::-webkit-scrollbar-track { background: transparent; }
.apls-ticket-chat__body::-webkit-scrollbar-thumb { background: #D2D2D7; border-radius: 2px; }


.oc-msgs,
.oc-widget {
  display: flex;
  flex-direction: column;
}


.apls-wiz-msg--user {
  align-self: flex-end;
  background: #0071E3;
  color: #FFFFFF;
  border-radius: 14px 4px 14px 14px;
}
.apls-wiz-msg--user .apls-wiz-msg__time { color: rgba(255,255,255,0.65); }


.apls-wiz-msgbar__input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 17px;
  color: #1D1D1F;
  min-width: 0;
}
.apls-wiz-msgbar__input::placeholder { color: #D2D2D7; }


.order-details-block {
  background: #F5F5F7;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 var(--s5) var(--s3);
  font-size: 13px;
  color: #1D1D1F;
}
.order-details-block__title {
  font-weight: 600;
  font-size: 13px;
  color: #8E8E93;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.order-details-block__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  gap: 8px;
}
.order-details-block__item-name { flex: 1; color: #1D1D1F; }
.order-details-block__item-price { color: #6E6E73; white-space: nowrap; }
.order-details-block__sep {
  height: 1px;
  background: #D2D2D7;
  margin: 6px 0;
}
.order-details-block__total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  color: #1D1D1F;
  padding-top: 4px;
}
.order-details-block__promo {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #34C759;
  padding: 2px 0;
}


.oc-security-note {
  text-align: center;
  font-size: 12px;
  color: #8E8E93;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}


.order-review-slot:empty { display: none; }
.order-review-box {
  margin: 0 var(--s5) var(--s4);
  padding: 16px;
  border: 1px solid #D2D2D7;
  border-radius: 16px;
  background: #FFFFFF;
}
.order-review-box--state { background: #F5F5F7; }
.order-review-box--approved {
  border-color: rgba(52, 199, 89, 0.35);
  background: rgba(52, 199, 89, 0.08);
}
.order-review-box--rejected {
  border-color: rgba(255, 59, 48, 0.2);
  background: rgba(255, 59, 48, 0.05);
}
.order-review-box__title {
  font-size: 16px;
  font-weight: 700;
  color: #1D1D1F;
}
.order-review-box__text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: #6E6E73;
}
.order-review-box__meta { margin-top: 12px; }
.order-review-box__stars {
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1px;
  color: #F5A623;
}
.order-review-box__comment {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #1D1D1F;
}
.order-review-stars {
  display: flex;
  gap: 8px;
  margin: 14px 0 12px;
}
.order-review-star {
  border: none;
  background: none;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  color: #D2D2D7;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}
.order-review-star:hover,
.order-review-star.is-active {
  color: #F5A623;
}
.order-review-star:hover { transform: translateY(-1px); }
.order-review-textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid #D2D2D7;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: #1D1D1F;
  outline: none;
}
.order-review-textarea:focus {
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}
.order-review-submit {
  margin-top: 12px;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #0071E3;
  color: #FFFFFF;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.order-review-submit:hover { transform: translateY(-1px); }
.order-review-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}


.apls-ticket-closed-footer {
  background: #F5F5F7;
  border-radius: 12px;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  color: #8E8E93;
  margin: 0 var(--s5) var(--s4);
}


@keyframes tc-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.tc-loading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}
.tc-skeleton {
  height: 36px;
  width: 60%;
  align-self: flex-start;
  border-radius: 4px 14px 14px 14px;
  background: linear-gradient(90deg, #EBEBEF 25%, #F5F5F7 50%, #EBEBEF 75%);
  background-size: 400% 100%;
  animation: tc-shimmer 1.2s ease-in-out infinite;
}
.tc-skeleton--right  { align-self: flex-end;  border-radius: 14px 4px 14px 14px; }
.tc-skeleton--long   { width: 72%; }
.tc-skeleton--short  { width: 38%; }


.list-skel {
  width: 730px;
  max-width: 100%;
  height: 66px;
  margin: 0 auto var(--s4) auto;
  border-radius: 16px;
  background: linear-gradient(90deg, #EFEFF3 25%, #F7F7F9 50%, #EFEFF3 75%);
  background-size: 400% 100%;
  animation: tc-shimmer 1.3s ease-in-out infinite;
}


@keyframes list-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.list-fade-in > * {
  animation: list-card-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.list-fade-in > *:nth-child(2)   { animation-delay: 0.06s; }
.list-fade-in > *:nth-child(3)   { animation-delay: 0.12s; }
.list-fade-in > *:nth-child(4)   { animation-delay: 0.18s; }
.list-fade-in > *:nth-child(5)   { animation-delay: 0.24s; }
.list-fade-in > *:nth-child(n+6) { animation-delay: 0.30s; }



@media (max-width: 1024px) {
  :root { --px: 40px; }
  .vbucks-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-wrap { grid-template-columns: 190px 1fr; gap: var(--s5); }
  .cart-layout, .payment-layout { grid-template-columns: 1fr 300px; }
  .profile-layout { grid-template-columns: 240px 1fr; }
  .chat-layout { grid-template-columns: 220px 1fr; }
  .section-head h2, .crew-banner__title { font-size: 34px; line-height: 38px; }
}


@media (max-width: 768px) {
  :root { --px: 24px; }
  .main { padding: var(--s4) 0 var(--s10); }


  .header__inner { justify-content: space-between; gap: var(--s2); }
  .header__brand { display: none; }
  .header__nav { gap: 14px; }
  .header__right { position: static; right: auto; }
  .header__link { font-size: 15px; padding: 4px 6px; }


  .sets-grid { grid-template-columns: 1fr; }
  .catalog-wrap, .cart-layout, .payment-layout,
  .profile-layout, .chat-layout { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }


  .filters, .cart-summary, .profile-card { position: static; }


  .chat-layout { height: auto; min-height: 0; }
  .chat-messages { min-height: 320px; }
  .msg { max-width: 88%; }


  .crew-banner { flex-direction: column; }
  .crew-banner__img-wrap { width: 100%; height: 220px; }
  .crew-banner__info { padding: var(--s6); }


  .purchases-title, .profile-page-title {
    font-size: 34px; line-height: 40px; padding: 8px 0 20px;
  }
  .section-head h2, .crew-banner__title { font-size: 28px; line-height: 32px; }


  .purchases-tabs-row { gap: 32px; }


  .reviews-summary {
    flex-direction: column; align-items: stretch;
    gap: var(--s5); padding: var(--s6);
  }
  .reviews-bars { width: 100%; }


  .order-chat-bubble { max-width: 85%; }
  .order-chat-msg--in { max-width: 85%; }


  .order-row {
    padding: 12px 16px;
    gap: 8px;
    min-height: 0;
    flex-wrap: wrap;
    align-content: center;
  }
  .order-fn-logo { height: 18px; }
  .order-num { font-size: 15px; flex: 1; min-width: 0; }
  .order-price-val { font-size: 15px; order: 2; margin-left: 0; }
  .order-status-wrap { order: 3; margin-left: 0; width: 100%; justify-content: flex-start; padding-top: 4px; }
  .order-date-tag { order: 4; font-size: 13px; height: 26px; }
  .apls-reason { font-size: 15px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .apls-order-num { font-size: 14px; }


  .apls-wiz-msg { max-width: 88%; }
  .apls-wiz-msgbar { margin: 0 var(--s3) var(--s3); }


  .profile-notify-card { flex-wrap: wrap; }
  .profile-notify-btn { white-space: normal; width: 100%; text-align: center; }


  .apls-ticket-chat__body { max-height: 260px; }


  .info-tabs__nav { column-gap: 32px; }

}


@media (max-width: 560px) {
  :root { --px: 16px; }

  .header__nav { gap: 10px; }
  .header__link { font-size: 13px; padding: 3px 5px; }
  .header__icon { padding: 4px 5px; }
  .header__icon img { width: 22px; height: 22px; }

  .products-grid { grid-template-columns: 1fr; }
  .crew-banner__perks-grid { grid-template-columns: 1fr; }
  .sel-grid-4,
  .sel-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  
  .sel-grid-4, .sel-grid-3 { gap: 10px; }

  
  .vb-card__buy-btn, .set-card__buy-btn {
    font-size: 20px; line-height: 24px; padding: 10px 8px; gap: 6px;
  }
  .vb-card__buy-btn img, .set-card__buy-btn img { width: 22px; height: 20px; }
  .crew-banner__buy-btn { font-size: 22px !important; padding: 13px !important; }

  
  .purchases-title, .profile-page-title { font-size: 28px; line-height: 32px; }
  .section-head h2, .crew-banner__title { font-size: 24px; line-height: 28px; }
  .purchases-tabs-row { gap: 20px; }
  .game-logo__img { height: 42px; }
  .game-section__inner { padding-bottom: 14px; }
  .game-section__duck {
    right: 28px;
    bottom: -46px;
    width: 62px;
  }

  
  .auth-card { padding: var(--s6) var(--s5); }
  .auth-card__title { font-size: var(--text-xl); }

  
  .apls-auth-prompt__btn { width: 100%; max-width: 350px; }
  .apls-create-btn { width: 100%; max-width: 350px; min-width: 0; }
  .apls-wiz-btns { width: 100%; }

  
  .steps-progress { flex-wrap: wrap; }
}


@media (max-width: 400px) {
  .header__nav { gap: 7px; }
  .header__link { font-size: 12px; padding: 2px 3px; }
  .vbucks-grid { gap: var(--s2); }
  .purchases-title, .profile-page-title { font-size: 24px; line-height: 28px; }
  .purchases-tabs-row { gap: 14px; }
}


/* Контентные страницы: мобильные отступы заголовков */
@media (max-width: 768px) {
  .rev-main .purchases-title,
  .apls-main .purchases-title { padding: 4px 0 48px; }
  .purchases-main .purchases-title { padding: 48px 0; }
  .prof-main .profile-page-title { padding: 4px 0 48px; }
  .apls-main .purchases-tabs-row,
  .purchases-main .purchases-tabs-row { column-gap: 32px; }
  .purchases-main .order-notify-row,
  .apls-main .order-notify-row {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Фикс ширины и выравнивания на мобильных */
@media (max-width: 768px) {
  /* Линии и шапки вкладок — строго на всю ширину экрана */
  .purchases-tabs-row,
  .purchases-sep,
  .page-sep,
  .profile-page-sep,
  .profile-main-tab,
  .info-tabs__nav,
  .info-tabs__body {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
  }

  /* Три кнопки в равных колонках */
  .purchases-tabs-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    column-gap: 0 !important;
    gap: 0 !important;
    justify-items: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .purchases-tab-btn:nth-child(2) { padding-left: 20px; }
  .purchases-tab-btn:nth-child(3) { padding-left: 30px; }
}

/* === Футер === */
.footer {
  background: #FFFFFF;
  border-top: 1px solid #E5E5E5;
  padding: 40px 0 56px;
  margin-top: auto;
  font-family: 'SF Pro Display', var(--font);
  font-size: 14px;
  line-height: 20px;
  color: #6E6E73;
}
.footer .container { display: flex; flex-direction: column; gap: 24px; }

.footer__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer__row--top { align-items: flex-start; }
.footer__row--links { gap: 40px; }

.footer__inn {
  font-weight: 400;
  color: #6E6E73;
  max-width: 635px;
  margin: 0;
}

.footer__contact { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.footer__email { margin: 0; color: #6E6E73; }
.footer__email a { color: inherit; text-decoration: none; }
.footer__email a:hover { text-decoration: underline; }

.footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  background: #D2D2D7;
  border-radius: 4px;
  color: #F5F5F7;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  overflow: hidden;
}
.footer__icon:hover { background: #0071E3; color: #FFFFFF; }
.footer__icon svg {
  display: block;
  width: 14px;
  height: 11px;
  min-width: 14px;
  min-height: 11px;
  max-width: 14px;
  max-height: 11px;
  flex: 0 0 14px;
}

.footer__link {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #6E6E73;
  text-decoration: underline;
}
.footer__link:hover { color: #1D1D1F; }

@media (max-width: 768px) {
  .footer { padding: 32px 0 40px; }
  .footer__row, .footer__row--links { gap: 16px; }
  .footer__contact { width: 100%; justify-content: flex-start; }
}
