/* Magazinul Zent (/shop/), checkout-ul, comanda, contul și intrarea în cont. Culorile, fonturile, meniul,
   butoanele și subsolul vin din /home/style.css, ca magazinul să arate ca restul site-ului. */

body.shop { background: var(--bg); }
/* .btn pune display: inline-flex, care ar anula atributul hidden */
.shop [hidden] { display: none !important; }
html.has-drawer { overflow: hidden; }

/* ---------- Meniul magazinului ---------- */

.nav-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .3s;
}
.nav-icon:hover { background: rgba(127, 160, 200, .18); }
.nav-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: 700 11px/18px var(--body);
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.nav-badge.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.shop-nav .nav__actions { align-items: center; gap: 4px; }
.nav-account { display: flex; }

/* ---------- Capul magazinului: cer de noapte spre zori, cu scena 3D ---------- */

.s-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 80% at 80% 110%, rgba(255, 196, 92, .45), transparent 60%),
    radial-gradient(90% 70% at 10% 0%, rgba(45, 161, 255, .55), transparent 60%),
    linear-gradient(180deg, #071426 0%, #0E2A4A 45%, #1E6FB8 100%);
}
.s-hero__sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.s-hero__sky i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.s-hero__sky i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: #2DA1FF; }
.s-hero__sky i:nth-child(2) { width: 34vw; height: 34vw; right: -8vw; bottom: -12vw; background: #FFB020; opacity: .35; animation-duration: 22s; }
.s-hero__sky i:nth-child(3) { width: 24vw; height: 24vw; left: 40vw; top: 20vh; background: #7B61FF; opacity: .25; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.15); } }

.s-hero__copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; max-width: 640px; }
.s-hero__label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(10px); }
.s-hero__title { margin: 0; font: 900 clamp(3.4rem, 8.4vw, 8.4rem)/.88 var(--display); font-stretch: 70%; text-transform: uppercase; letter-spacing: -.01em; }
.s-hero__title em { font-style: normal; background: linear-gradient(100deg, #8BD2FF, #FFD45C 60%, #FFB020); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-hero__lead { max-width: 34em; margin: 26px 0 0; font-size: 18px; line-height: 1.6; color: rgba(234, 243, 252, .85); }
.s-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.s-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.s-hero__chips li { padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 13px; color: rgba(234, 243, 252, .85); }
.s-hero__chips li::before { content: "✓ "; color: #8BD2FF; }

.scene { position: relative; }
.scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.scene__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4%; transition: opacity .6s; }
.scene__fallback svg { width: 46%; height: auto; }
.scene.has-3d .scene__fallback { opacity: 0; }
.s-hero__scene { z-index: 1; grid-column: 2; grid-row: 1; height: min(78vh, 720px); }
.s-hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.s-hero__scroll i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Banda care curge ---------- */

.s-marquee { overflow: hidden; padding: 22px 0; background: var(--ink); color: #fff; }
.s-marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font: 850 clamp(1.6rem, 3.4vw, 2.8rem)/1 var(--display); font-stretch: 75%; text-transform: uppercase; white-space: nowrap; }
.s-marquee__track b { color: var(--blue); font-weight: 400; }
.s-marquee__track span:nth-child(4n + 3) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Titlurile secțiunilor și apariția la derulare ---------- */

.s-head { max-width: 1240px; margin: 0 auto 6vh; }
.s-head .display { font-size: clamp(2.6rem, 6.4vw, 6rem); }
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.shop-status { max-width: 1240px; margin: 0 auto; padding: 60px 0; text-align: center; color: var(--ink-soft); font-size: 17px; }

/* ---------- Produsele ---------- */

.s-products { padding: 14vh var(--gutter) 10vh; }
.products { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 28px; }
.pcard {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 18, 32, .04), 0 40px 80px -46px rgba(11, 59, 102, .55);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out, box-shadow .5s var(--ease), opacity .9s var(--ease);
  transform-style: preserve-3d;
}
.pcard[data-reveal]:not(.is-in) { transform: translateY(40px); }
.pcard:hover { box-shadow: 0 1px 0 rgba(11, 18, 32, .04), 0 60px 100px -50px rgba(11, 59, 102, .6); }
.pcard__media { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 36px 36px 0 0; background: radial-gradient(80% 80% at 50% 30%, #F2FAFF, #C9E8FF); }
.product--light .pcard__media, .product--light.pp__stage, .product--light.line__media, .product--light.mini-media { background: radial-gradient(80% 80% at 50% 35%, #FFFBEF, #FFE2A0); }
.product--other .pcard__media, .product--other.pp__stage, .product--other.line__media, .product--other.mini-media { background: radial-gradient(80% 80% at 50% 35%, #FFFFFF, #DCE7F2); }
.pcard__float { width: 72%; transform: translateZ(40px); animation: float 6s ease-in-out infinite; }
.pcard__float svg, .pcard__float img { display: block; width: 100%; height: auto; }
.pcard__float img { aspect-ratio: 1; object-fit: cover; border-radius: 24px; }
.pcard__glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(40% 40% at var(--gx) var(--gy), rgba(255, 255, 255, .55), transparent 70%); opacity: 0; transition: opacity .4s; }
.pcard:hover .pcard__glare { opacity: 1; }
@keyframes float { 50% { transform: translateZ(40px) translateY(-12px) rotate(-1.5deg); } }
.pcard__badge { position: absolute; top: 22px; left: 22px; z-index: 2; padding: 9px 13px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 13px/1 var(--mono); }
.pcard__heart, .pp__heart {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(11, 59, 102, .5);
  transition: transform .3s var(--ease), color .3s;
}
.pcard__heart { position: absolute; top: 18px; right: 18px; z-index: 3; }
.pcard__heart svg, .pp__heart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pcard__heart:hover, .pp__heart:hover { transform: scale(1.08); }
.pcard__heart.is-on, .pp__heart.is-on { color: #FF4B6E; }
.pcard__heart.is-on svg, .pp__heart.is-on svg { fill: currentColor; }
.is-pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 30px; }
.pcard__kind, .pp__info .label { margin: 0 0 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.pcard__name { margin: 0; font: 850 clamp(2.2rem, 4vw, 3.3rem)/.92 var(--display); font-stretch: 70%; text-transform: uppercase; }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__tagline { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 26px; }
.pcard__add { gap: 8px; }
.pcard__add svg, .pp__add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard .rating-line { margin-top: 10px; }

/* ---------- Prețul și stelele ---------- */

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price__now { font: 850 28px/1 var(--display); font-stretch: 80%; }
.price__old { color: var(--muted); font-size: 15px; }
.price__off { padding: 5px 8px; border-radius: 999px; background: #E6FAEF; color: #1E9E5A; font: 600 12px/1 var(--mono); }
.price__soon { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.price--big .price__now { font-size: 52px; }
.price--big .price__old { font-size: 19px; }

.stars { display: inline-flex; gap: 2px; }
.star { width: 17px; height: 17px; stroke-width: 1.5; stroke-linejoin: round; }
.star--full { fill: #FFB020; stroke: #FFB020; }
.star--half { fill: #FFE2A0; stroke: #FFB020; }
.star--empty { fill: none; stroke: #C9D3DE; }
.rating-line { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 14px; text-decoration: none; }
a.rating-line:hover span { text-decoration: underline; }
.rating-line--empty { color: var(--blue-deep); }

/* ---------- De ce Zent ---------- */

.s-why { padding: 6vh var(--gutter) 12vh; }
.bento { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento__tile { position: relative; overflow: hidden; min-height: 260px; padding: 30px; border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.bento__tile--wide { grid-column: span 2; }
.bento__tile--dark { background: var(--ink); color: #fff; box-shadow: none; }
.bento__tile--blue { background: linear-gradient(135deg, #2DA1FF, #1E6FB8); color: #fff; box-shadow: none; }
.bento__tile--dark p, .bento__tile--blue p { color: rgba(255, 255, 255, .85); }
.bento__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--tint); color: var(--blue-deep); }
.bento__tile--dark .bento__icon, .bento__tile--blue .bento__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.bento__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bento__tile h3 { margin: 28px 0 10px; font: 850 30px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.bento__tile p { position: relative; z-index: 1; max-width: 34em; margin: 0; color: var(--ink-soft); line-height: 1.55; }
.bento__tile--dark p, .bento__tile--blue p { color: rgba(255, 255, 255, .85); }
.bento__sun { position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, #FFD45C 0 35%, rgba(255, 212, 92, .25) 36% 60%, transparent 61%); animation: sunrise 8s ease-in-out infinite; }
@keyframes sunrise { 50% { transform: translateY(-30px) scale(1.05); } }

/* ---------- Livrare și plată ---------- */

.s-delivery { padding: 4vh var(--gutter) 14vh; }
.s-delivery__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.dtile { padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -48px rgba(11, 59, 102, .5); }
.dtile__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--tint); color: var(--blue-deep); }
.dtile__icon svg, .pp__perks svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dtile h3 { margin: 22px 0 8px; font: 850 24px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.dtile p { margin: 0; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Pagina produsului ---------- */

.pp { max-width: 1240px; margin: 0 auto; padding: clamp(110px, 15vh, 150px) var(--gutter) 6vh; box-sizing: content-box; }
.pp__back { display: inline-block; margin-bottom: 20px; color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.pp__back:hover { color: var(--ink); }
.pp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.pp__gallery { position: sticky; top: 100px; }
.pp__stage { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 40px; background: radial-gradient(80% 80% at 50% 30%, #F2FAFF, #C9E8FF); box-shadow: 0 40px 80px -50px rgba(11, 59, 102, .6); cursor: grab; }
.pp__stage:active { cursor: grabbing; }
.pp__stage--photo { cursor: default; }
.pp__stage--photo img { width: 100%; height: 100%; object-fit: cover; }
.pp__stage .scene__fallback svg { width: 72%; }
.pp__hint { margin: 12px 0 0; text-align: center; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.pp__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 80px; height: 80px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #fff; cursor: pointer; opacity: .6; transition: opacity .3s, box-shadow .3s; }
.thumb img, .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--blue); }
.pp__name { font-size: clamp(3rem, 7vw, 6.4rem); }
.pp__info [data-rating-top] { margin-top: 14px; }
.pp__tagline { margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: var(--ink-soft); }
.pp__buy { margin-top: 28px; padding: 26px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -48px rgba(11, 59, 102, .55); }
.pp__save { margin: 10px 0 0; color: #1E9E5A; font-weight: 700; }
.pp__vat { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.pp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.pp__add { flex: 1; min-width: 200px; gap: 10px; height: 58px; font-size: 16px; }
.pp__add.is-done { background: #1E9E5A; }
.pp__perks { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.pp__perks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.pp__perks svg { flex: 0 0 24px; color: var(--blue-deep); }
.pp__perks b { display: block; color: var(--ink); }
.pp__description { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.pp__description p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; }
.pp__specs { margin-top: 26px; }
.pp__specs h2 { margin: 0 0 6px; font: 850 30px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.pp__specs dl { margin: 0; }
.pp__specs dl > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pp__specs dt { font: 500 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.pp__specs dd { margin: 0; font-size: 15px; line-height: 1.5; }

.stepper { display: inline-flex; align-items: center; height: 48px; border-radius: 999px; background: var(--tint); }
.stepper button { display: grid; place-items: center; width: 44px; height: 48px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 999px; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.stepper__value { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Recenziile ---------- */

.reviews { margin-top: 12vh; }
.reviews__wrap { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: start; }
.reviews__summary { position: sticky; top: 100px; padding: 30px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -48px rgba(11, 59, 102, .5); }
.reviews__avg { margin: 0; font: 900 84px/1 var(--display); font-stretch: 75%; }
.reviews__summary .star { width: 22px; height: 22px; }
.reviews__count { margin: 8px 0 20px; color: var(--ink-soft); }
.reviews__bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-soft); }
.bar i { height: 8px; border-radius: 4px; background: var(--tint); overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: 4px; background: #FFB020; transition: width .8s var(--ease); }
.reviews__main { display: grid; gap: 16px; }
.reviews__empty { margin: 0; color: var(--ink-soft); }
.review-login, .review-form { padding: 26px; border-radius: 26px; background: linear-gradient(135deg, #EAF6FF, #F8FBFE); box-shadow: inset 0 0 0 1px var(--line); }
.review-login p { margin: 0 0 14px; font-weight: 600; }
.review-form h3 { margin: 0 0 12px; font: 850 24px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.review-form__actions { display: flex; gap: 10px; }
.star-picker { display: flex; gap: 4px; margin-bottom: 14px; }
.star-picker button { padding: 2px; border: 0; background: none; cursor: pointer; }
.star-picker svg { width: 34px; height: 34px; fill: none; stroke: #C9D3DE; stroke-width: 1.4; stroke-linejoin: round; transition: transform .2s, fill .2s, stroke .2s; }
.star-picker button.is-on svg { fill: #FFB020; stroke: #FFB020; }
.star-picker button:hover svg { transform: scale(1.15); }
.review { padding: 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.review--own { box-shadow: inset 0 0 0 2px var(--blue); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__head b { display: block; }
.review__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; }
.review__date { color: var(--muted); font-size: 13px; }
.review__verified { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 6px 10px; border-radius: 999px; background: #E6FAEF; color: #1E7E4A; font-size: 12px; font-weight: 700; }
.review__verified svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.review__title { margin: 12px 0 4px; font-size: 17px; }
.review__body { margin: 8px 0 0; line-height: 1.6; color: var(--ink-soft); white-space: pre-line; }
.review__own { display: flex; gap: 16px; margin-top: 14px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--blue-deep); font: 600 14px/1 var(--body); cursor: pointer; }
.link-btn--danger { color: #D93A30; }

/* ---------- Sertarul coșului ---------- */

.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(6, 13, 26, .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(460px, 100%); background: var(--bg); box-shadow: -30px 0 80px -30px rgba(6, 13, 26, .5); transform: translateX(105%); transition: transform .55s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font: 850 28px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.drawer__count { color: var(--muted); }
.drawer__close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.drawer__close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.drawer__list { flex: 1; overflow-y: auto; padding: 14px 24px; }
.drawer__empty { display: grid; justify-items: center; gap: 12px; padding: 60px 0; color: var(--ink-soft); }
.drawer__empty-icon { width: 54px; height: 54px; fill: none; stroke: var(--muted); stroke-width: 1.4; }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: #fff; }
.drawer__note { margin: 10px 0 16px; color: var(--muted); font-size: 13px; }
.drawer__checkout { width: 100%; }
.line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__media, .mini-media { flex: 0 0 88px; height: 88px; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: radial-gradient(80% 80% at 50% 30%, #F2FAFF, #C9E8FF); }
.line__media svg, .mini-media svg { width: 78%; height: 78%; }
.line__media img, .mini-media img { width: 100%; height: 100%; object-fit: cover; }
.line__info { flex: 1; min-width: 0; display: grid; gap: 6px; }
.line__name { color: var(--ink); font-weight: 700; text-decoration: none; }
.line .price__now { font-size: 20px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.line .stepper { height: 38px; }
.line .stepper button { width: 36px; height: 38px; }
.line__remove { padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--ink-soft); }
.sum-row--save { color: #1E9E5A; font-weight: 600; }
.sum-row--total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 800; font-size: 18px; }
.sum-row--vat { padding-top: 0; font-size: 13px; color: var(--muted); }

/* ---------- Notificări mici ---------- */

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 20px 40px -18px rgba(6, 13, 26, .6); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .4s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Formulare ---------- */

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.field small { color: var(--muted); font-size: 13px; }
.field input, .field textarea, .field select { width: 100%; box-sizing: border-box; padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: 400 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(45, 161, 255, .18); }
.field.is-invalid input, .field.is-invalid select { border-color: #D93A30; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 16px; font-weight: 500; line-height: 1.45; cursor: pointer; }
.check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.check a { color: var(--blue-deep); }
.message { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; font-weight: 600; }
.message--error { background: #FFECEB; color: #B3261E; }
.message--ok { background: #E6FAEF; color: #1E7E4A; }
button.btn { border: 0; cursor: pointer; }
button.btn:disabled { opacity: .55; cursor: default; transform: none; }

/* ---------- Intrarea în cont ---------- */

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
.auth__brand { position: relative; overflow: hidden; padding: 40px; color: #fff; background: linear-gradient(160deg, #071426, #0E2A4A 50%, #1E6FB8); }
.auth__logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.auth__logo svg { height: 26px; fill: currentColor; }
.auth__logo span { font: 900 28px/1 var(--display); letter-spacing: -.03em; }
.auth__orbs i { position: absolute; border-radius: 50%; filter: blur(50px); animation: drift 16s ease-in-out infinite alternate; }
.auth__orbs i:nth-child(1) { width: 380px; height: 380px; left: -100px; top: 20%; background: rgba(45, 161, 255, .55); }
.auth__orbs i:nth-child(2) { width: 280px; height: 280px; right: -60px; bottom: 10%; background: rgba(255, 176, 32, .35); animation-duration: 20s; }
.auth__orbs i:nth-child(3) { width: 200px; height: 200px; left: 40%; bottom: 30%; background: rgba(123, 97, 255, .3); animation-duration: 24s; }
.auth__slats { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; gap: 10px; width: min(70%, 360px); transform: translate(-50%, -50%) perspective(800px) rotateY(-16deg); }
.auth__slats i { display: block; height: 18px; border-radius: 6px; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(220, 231, 242, .7)); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); animation: slat 5s ease-in-out infinite; }
.auth__slats i:nth-child(2) { animation-delay: .08s; } .auth__slats i:nth-child(3) { animation-delay: .16s; } .auth__slats i:nth-child(4) { animation-delay: .24s; }
.auth__slats i:nth-child(5) { animation-delay: .32s; } .auth__slats i:nth-child(6) { animation-delay: .4s; } .auth__slats i:nth-child(7) { animation-delay: .48s; }
.auth__slats i:nth-child(8) { animation-delay: .56s; } .auth__slats i:nth-child(9) { animation-delay: .64s; } .auth__slats i:nth-child(10) { animation-delay: .72s; }
@keyframes slat { 50% { transform: rotateX(70deg); opacity: .55; } }
.auth__quote { position: absolute; left: 40px; right: 40px; bottom: 40px; z-index: 2; max-width: 26em; margin: 0; font-size: 18px; line-height: 1.5; color: rgba(234, 243, 252, .85); }
.auth__panel { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(20px, 6vw, 80px); }
.auth__back { align-self: flex-start; margin-bottom: 24px; color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.auth__card { width: 100%; max-width: 460px; }
.auth__tabs { display: flex; gap: 6px; margin-bottom: 28px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.auth__tabs button { flex: 1; height: 44px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font: 600 15px/1 var(--body); cursor: pointer; }
.auth__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.auth__form .display { font-size: clamp(2.6rem, 6vw, 4rem); }
.auth__lead { margin: 12px 0 24px; color: var(--ink-soft); }
.auth__submit { width: 100%; height: 56px; margin-top: 6px; }
.auth__link { display: block; margin: 16px auto 0; padding: 0; border: 0; background: none; color: var(--blue-deep); font: 600 14px/1 var(--body); cursor: pointer; }

/* ---------- Checkout, comanda, contul ---------- */

.page-wrap { max-width: 1240px; margin: 0 auto; padding: clamp(110px, 15vh, 150px) var(--gutter) 12vh; box-sizing: content-box; }
.page-head { margin-bottom: 34px; }
.page-head .display { font-size: clamp(2.8rem, 7vw, 6rem); }
.muted { color: var(--ink-soft); }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.steps-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps-line li { counter-increment: step; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; color: var(--muted); font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.steps-line li::before { content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--ink-soft); font-size: 12px; }
.steps-line li.is-done::before { content: "✓"; background: #1E9E5A; color: #fff; }
.steps-line li.is-on { color: var(--ink); box-shadow: inset 0 0 0 2px var(--blue); }
.steps-line li.is-on::before { background: var(--blue); color: #fff; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 28px; align-items: start; }
.ck-form { display: grid; gap: 18px; }
.ck-card { padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 1px 0 rgba(11, 18, 32, .04), 0 30px 60px -50px rgba(11, 59, 102, .5); }
.ck-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 850 28px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.ck-card p { line-height: 1.55; }
.ck-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 15px/1 var(--body); }
.ck-link { display: inline-block; margin-top: -6px; color: var(--blue-deep); font-weight: 600; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-bottom: 18px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: #F8FBFE; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .25s, background-color .25s, transform .25s var(--ease); }
.opt:hover { transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { background: #EEF7FF; box-shadow: inset 0 0 0 2px var(--blue); }
.opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.opt__icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--blue-deep); box-shadow: 0 6px 16px -10px rgba(11, 59, 102, .5); }
.opt__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.opt__text { flex: 1; display: grid; gap: 3px; }
.opt__text span { color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.opt__price { font: 850 20px/1 var(--display); font-stretch: 80%; }
.segmented { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 999px; background: var(--tint); }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(11, 59, 102, .4); }

.ck-summary { position: sticky; top: 100px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 40px 80px -50px rgba(11, 59, 102, .55); }
.ck-summary h2 { margin: 0 0 18px; font: 850 28px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.ck-lines { display: grid; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ck-line { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; }
.ck-line .mini-media { position: relative; flex: none; width: 60px; height: 60px; border-radius: 16px; overflow: visible; }
.ck-line .mini-media > svg, .ck-line .mini-media > img { border-radius: 16px; }
.ck-line__qty { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; }
.ck-line__name { font-weight: 600; line-height: 1.3; }
.ck-line__name small { color: #1E9E5A; font-weight: 700; }
.ck-line__price { font-weight: 700; white-space: nowrap; }
.ck-summary .check { margin-top: 16px; font-size: 14px; }
.ck-submit { width: 100%; height: 58px; margin-top: 8px; font-size: 16px; }
.ck-secure { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.ck-secure svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: #1E9E5A; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ck-summary .message { margin-top: 14px; }

.empty-box { display: grid; justify-items: center; gap: 10px; padding: 70px 24px; border-radius: 32px; background: #fff; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.empty-box h2 { margin: 6px 0 0; font: 850 34px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.empty-box p { margin: 0 0 8px; color: var(--ink-soft); }
.empty-box__icon { width: 56px; height: 56px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.order-head { display: grid; gap: 4px; justify-items: start; }
.order-head .label { margin: 0; }
.order-thanks { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 20px 14px 14px; border-radius: 999px; background: #E6FAEF; color: #1E7E4A; font-weight: 700; animation: pop .6s var(--ease); }
.order-thanks p { margin: 0; }
.order-thanks__check { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1E9E5A; color: #fff; }
.order-thanks__check svg, .pay-ok svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.status { display: inline-block; margin-top: 10px; padding: 7px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-deep); font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.status--pending_payment { background: #FFF1E0; color: #B26A00; }
.status--paid, .status--delivered { background: #E6FAEF; color: #1E7E4A; }
.status--shipped { background: #EEE9FF; color: #5B3FD9; }
.status--cancelled { background: #FFECEB; color: #B3261E; }
.progress-line { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 28px; padding: 0; list-style: none; }
.progress-line li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.progress-line li::before { content: ""; position: absolute; top: 11px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.progress-line li:first-child::before { display: none; }
.progress-line li.is-done::before, .progress-line li.is-on::before { background: var(--blue); }
.progress-line i { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--line); }
.progress-line li.is-done i { background: var(--blue); box-shadow: none; }
.progress-line li.is-on i { box-shadow: inset 0 0 0 3px var(--blue), 0 0 0 6px rgba(45, 161, 255, .18); }
.progress-line li.is-done, .progress-line li.is-on { color: var(--ink); }
.addr { margin: 10px 0; line-height: 1.6; }
.bank { display: grid; gap: 10px; margin: 16px 0 0; padding: 18px; border-radius: 18px; background: #F8FBFE; box-shadow: inset 0 0 0 1px var(--line); }
.bank > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.bank dt { color: var(--ink-soft); font-size: 14px; }
.bank dd { margin: 0; font-weight: 700; word-break: break-all; }
.pay-ok { display: flex; align-items: center; gap: 10px; color: #1E7E4A; font-weight: 700; }

.acct { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 30px; }
.acct__avatar { display: grid; place-items: center; width: 96px; height: 96px; overflow: hidden; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); box-shadow: 0 0 0 4px #fff, 0 20px 40px -20px rgba(11, 59, 102, .6); }
.acct__avatar img { width: 100%; height: 100%; object-fit: cover; }
.acct__avatar svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.acct__text { flex: 1; min-width: 220px; }
.acct__text .label { margin-bottom: 8px; }
.acct__text .display { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.acct__text .muted { margin: 8px 0 0; }
.acct__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { display: flex; gap: 6px; margin-bottom: 20px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); width: max-content; max-width: 100%; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font: 600 15px/1 var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs__n { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(127, 160, 200, .2); font-size: 12px; }
.olist { display: grid; gap: 10px; }
.orow { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, .8fr) auto 20px; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 22px; background: #fff; color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.orow:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--blue), 0 20px 40px -30px rgba(11, 59, 102, .5); }
.orow > div { display: grid; gap: 4px; }
.orow .status { margin: 0; }
.orow__items { color: var(--ink-soft); font-size: 14px; }
.orow__total { font-size: 17px; }
.orow__go { color: var(--blue-deep); font-weight: 700; }
.wlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.wcard { display: flex; gap: 16px; padding: 16px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.wcard__info { display: grid; gap: 8px; align-content: start; }
.wcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- Ecrane înguste ---------- */

@media (max-width: 960px) {
  .s-hero { grid-template-columns: 1fr; padding-top: 110px; }
  .s-hero__scene { grid-column: 1; grid-row: 1; height: 46vh; margin: 0 calc(var(--gutter) * -1); }
  .s-hero__copy { grid-row: 2; }
  .pp__grid, .reviews__wrap, .checkout { grid-template-columns: 1fr; }
  .pp__gallery, .reviews__summary, .ck-summary { position: static; }
  .orow { grid-template-columns: 1fr auto; }
  .orow__items, .orow__go { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__brand { min-height: 220px; }
  .auth__slats { width: 50%; }
  .auth__quote { display: none; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bento__tile--wide { grid-column: auto; }
  .pcard__foot { flex-direction: column; align-items: flex-start; }
  .nav-icon { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .s-hero__sky i, .pcard__float, .s-marquee__track, .bento__sun, .auth__orbs i, .auth__slats i { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Stocul ---------- */

.stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 13px/1.2 var(--body); color: #1E8A53; }
.stock i { position: relative; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--last { color: #C76A00; }
.stock--last i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: currentColor; opacity: .35; animation: stock-pulse 1.6s ease-out infinite; }
.stock--out { color: #8A96A6; }
.pp__buy .stock { margin-top: 16px; font-size: 14px; }
.line__warn { margin: 4px 0 6px; color: #C0392B; font-size: 12px; font-weight: 600; }
.drawer__checkout[disabled] { opacity: .55; cursor: not-allowed; }
@keyframes stock-pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stock--last i::after { animation: none; } }

/* ---------- Contul meu: gradientul din aplicație, taburile, dispozitivele și setările ---------- */

body.acct-page { background: linear-gradient(180deg, #2DA1FF 0, #6AC2FF 260px, #C2ECFF 520px, var(--bg) 760px) no-repeat, var(--bg); }
.acct-page .acct { color: #fff; }
.acct-page .acct .label { color: rgba(255, 255, 255, .9); }
.acct-page .acct__text .display { color: #fff; text-shadow: 0 2px 30px rgba(11, 59, 102, .25); }
.acct__email { margin: 8px 0 0; color: rgba(255, 255, 255, .92); }
.acct-page .acct__avatar { background: rgba(255, 255, 255, .25); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 20px 40px -20px rgba(11, 59, 102, .6); }
.acct-page .tabs { overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 34px -22px rgba(11, 59, 102, .55); }
.acct-page .tabs::-webkit-scrollbar { display: none; }
.acct-page .tabs button { flex: 0 0 auto; }
.acct-body { min-height: 320px; }

.acct-settings { display: grid; gap: 18px; }
.acct-card { padding: 26px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -50px rgba(11, 59, 102, .5); }
.acct-card h2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; font: 850 26px/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.acct-card h2 .btn { font-stretch: 100%; text-transform: none; }
.acct-card__lead { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; }
.acct-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.acct-profile__fields { display: grid; gap: 4px; }
.acct-profile__fields .btn { justify-self: start; }
.acct-photo { position: relative; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.acct-photo .acct__avatar { width: 112px; height: 112px; }
.acct-photo .acct__avatar--empty { background: var(--blue-soft); color: var(--blue-deep); }
.acct-photo__edit { position: absolute; bottom: -6px; left: 50%; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px/1 var(--body); transform: translateX(-50%); transition: background-color .2s; }
.acct-photo:hover .acct-photo__edit { background: var(--blue-deep); }

.saddr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.saddr { display: grid; align-content: start; gap: 8px; padding: 18px; border-radius: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.saddr--default { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.saddr__head { display: flex; align-items: center; gap: 10px; }
.saddr__badge { padding: 4px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.saddr__lines { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; white-space: pre-line; }
.saddr__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.saddr-form { grid-column: 1 / -1; display: grid; gap: 4px; margin: 6px 0 16px; padding: 20px; border-radius: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.saddr-form .segmented { margin-bottom: 12px; }
.saddr-form__actions { display: flex; gap: 10px; margin-top: 8px; }

.dlist { display: grid; gap: 12px; }
.dcard { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dcard__icon { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 18px; background: linear-gradient(160deg, var(--tint), #fff); }
.dcard--light .dcard__icon { background: linear-gradient(160deg, #FFF3CC, #fff); }
.dcard__icon svg { width: 100%; height: 100%; }
.dcard__info { display: grid; gap: 4px; min-width: 0; }
.dcard__name { font-size: 17px; }
.dcard__sub { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 14px; }
.dcard__sub .dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #B7C2CF; }
.dcard__sub .dot--online { background: #2FBF71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .18); }
.dcard__sub .dot--checking { background: #F5B300; }
.dcard__sub .dot--power_saving { background: #6AC2FF; }
.dcard__fw { color: var(--muted); font: 500 12px/1.3 var(--mono); }
.dcard__status { color: var(--blue-deep); font-size: 13px; font-weight: 600; }
.dcard__status.done { color: #1E8A53; }
.dcard__status.failed { color: #C0392B; }
.dcard__shared { color: var(--muted); font-size: 13px; }
.dlist__note { margin: 8px 4px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
@media (max-width: 640px) {
  .acct-page .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 24px; }
  .acct-page .tabs button { justify-content: center; height: 42px; padding: 0 10px; font-size: 14px; }
  .acct-page .acct__avatar { width: 76px; height: 76px; }
  .acct-card { padding: 20px; }
  .acct-profile { grid-template-columns: 1fr; justify-items: start; }
  .dcard { grid-template-columns: 52px minmax(0, 1fr); }
  .dcard__icon { width: 52px; height: 52px; }
  .dcard > .btn, .dcard__shared { grid-column: 1 / -1; justify-self: start; }
}
