:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #162538;
  --muted: #495f79;
  --line: rgba(22, 37, 56, 0.12);
  --navy: #1f3654;
  --navy-strong: #0f1b2d;
  --orange: #f08b2f;
  --orange-strong: #d5731f;
  --cyan: #23c5f3;
  --cyan-strong: #1099dd;
  --success: #2e7d5b;
  --danger: #b55237;
  --shadow-soft: 0 24px 60px rgba(16, 27, 45, 0.1);
  --shadow-card: 0 16px 32px rgba(16, 27, 45, 0.08);
  --radius-xs: 0px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --font-body: "Manrope", sans-serif;
  --font-display: "Exo 2", sans-serif;
  --container: min(1220px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(35, 197, 243, 0.32);
  outline-offset: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-noise {
  display: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  background: #0b1628;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-family: var(--font-display);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.topbar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.topbar__item,
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__item {
  color: rgba(255, 255, 255, 0.72);
}

.topbar__item img,
.topbar__link img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.topbar__link {
  color: #8edfff;
  font-weight: 800;
}

.topbar__link--legal {
  color: rgba(255, 255, 255, 0.84);
}

.topbar__link--legal:hover {
  color: #ffffff;
}

.header-search input::placeholder {
  color: #7c8ea7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 48;
  background: #ffffff;
  border-bottom: 1px solid rgba(27, 39, 54, 0.06);
  transition: transform 0.28s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body[data-page="home"] .site-header {
  border-bottom-color: rgba(22, 37, 56, 0.09);
}

.site-header.is-stuck {
  box-shadow: 0 14px 26px rgba(16, 27, 45, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.site-header.is-resetting {
  transition: none !important;
}

.market-strip {
  border-bottom: 1px solid rgba(27, 39, 54, 0.06);
  background: #ffffff;
}

.market-strip__inner {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.7rem 0;
  scrollbar-width: none;
}

.market-strip__inner::-webkit-scrollbar {
  display: none;
}

.market-strip__link {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid rgba(27, 39, 54, 0.08);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy-strong);
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.market-strip__link:hover {
  background: linear-gradient(135deg, var(--navy-strong), #17365a);
  color: white;
  border-color: var(--navy-strong);
}

.storefront-home {
  padding: 0.48rem 0 2.4rem;
  background: #ffffff;
}

.storefront-home__grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.storefront-home__browse {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 52px;
  padding: 0 1rem;
  background: linear-gradient(135deg, #16273f, #203a5c);
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-home__browse::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--orange));
  opacity: 0.75;
}

.storefront-home__burger {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.storefront-home__menu {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(22, 37, 56, 0.08);
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
}

.storefront-home__menu-item {
  position: relative;
}

.storefront-home__menu-item > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  color: var(--navy-strong);
  font-weight: 800;
  font-size: 0.97rem;
  font-family: var(--font-display);
  transition: color 0.2s ease, background 0.2s ease, padding 0.2s ease;
}

.storefront-home__menu-item > a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width 0.22s ease;
}

.storefront-home__menu-item:last-child > a {
  border-bottom: 0;
}

.storefront-home__menu-item > a::after {
  content: "\203A";
  color: #93a3b7;
  font-size: 1.15rem;
}

.storefront-home__menu-item > a:hover {
  background: rgba(240, 139, 47, 0.06);
  color: var(--orange-strong);
  padding-left: 1.15rem;
}

.storefront-home__menu-item:hover > a::before,
.storefront-home__menu-item:focus-within > a::before {
  width: 62%;
}

.storefront-home__menu-panel {
  position: absolute;
  left: calc(100% - 1px);
  top: -1px;
  width: 240px;
  padding: 0.5rem 0;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 27, 45, 0.12);
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 5;
}

.storefront-home__menu-panel::before,
.storefront-home__menu-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.storefront-home__menu-panel::before {
  left: -18%;
  top: 46%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 197, 243, 0.72), rgba(240, 139, 47, 0.54), transparent);
  transform: rotate(-24deg);
  opacity: 0.62;
}

.storefront-home__menu-panel::after {
  right: -24px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  background:
    linear-gradient(135deg, rgba(35, 197, 243, 0.08), rgba(240, 139, 47, 0.08)),
    repeating-linear-gradient(45deg, rgba(22, 37, 56, 0.05) 0 1px, transparent 1px 12px);
  transform: skewX(-14deg);
}

.storefront-home__menu-panel a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.9rem;
  color: var(--navy-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.storefront-home__menu-panel a:hover {
  background: rgba(240, 139, 47, 0.07);
  color: var(--orange-strong);
}

.storefront-home__menu-empty {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.75rem 0.9rem 0.45rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.storefront-home__menu-item:hover .storefront-home__menu-panel,
.storefront-home__menu-item:focus-within .storefront-home__menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.storefront-home__hero {
  position: relative;
  min-height: 525px;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  overflow: hidden;
  background: #ffffff;
}

.storefront-home__slides {
  position: relative;
  min-height: 525px;
}

.storefront-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.47fr) minmax(0, 0.53fr);
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.storefront-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.storefront-slide__copy,
.storefront-slide__art,
.storefront-home__dots {
  position: relative;
  z-index: 1;
}

.storefront-slide__copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.02rem;
  padding: 1.72rem 2.35rem 2.25rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.storefront-slide__copy::before,
.storefront-slide__copy::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.38;
}

.storefront-slide__copy::before {
  right: -18%;
  top: 19%;
  width: 58%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 197, 243, 0.68), rgba(240, 139, 47, 0.5), transparent);
  transform: rotate(42deg);
}

.storefront-slide__copy::after {
  left: 28%;
  bottom: 8%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 139, 47, 0.42), rgba(35, 197, 243, 0.64), transparent);
  transform: rotate(-28deg);
}

.storefront-slide__copy > * {
  position: relative;
  z-index: 1;
}

.storefront-slide__kicker {
  margin: 0;
  color: var(--orange-strong);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-slide__copy h1 {
  margin: 0;
  max-width: 10.7ch;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2.48rem, 4.2vw, 3.86rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
  color: var(--navy-strong);
}

.storefront-slide__copy p:last-of-type {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.storefront-home__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 48px;
  padding: 0 1.2rem;
  background: linear-gradient(180deg, #1f2f46, #162337);
  color: #f7a043;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 26px rgba(15, 27, 45, 0.18);
}

.storefront-home__action::after {
  content: "\203A";
  margin-left: 0.55rem;
  font-size: 1rem;
}

.storefront-slide__art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

.storefront-slide__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(136deg, transparent 0 55%, rgba(25, 39, 60, 0.08) 55% 56.2%, transparent 56.2% 100%),
    linear-gradient(136deg, transparent 0 69%, rgba(25, 39, 60, 0.06) 69% 70%, transparent 70% 100%);
}

.storefront-slide__art::after {
  content: "";
  position: absolute;
  left: -7%;
  bottom: -12%;
  width: 42%;
  height: 76%;
  background: rgba(20, 38, 58, 0.06);
  border-radius: 0 68px 0 0;
  clip-path: polygon(0 20%, 72% 0, 100% 100%, 0 100%);
}

.storefront-slide__band {
  position: absolute;
  inset: -2% -8% -2% 38%;
  z-index: 1;
  background: linear-gradient(135deg, rgba(240, 139, 47, 0.96), rgba(214, 116, 28, 0.96));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 52%);
  transform: translateX(42px) scale(0.96);
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.8s ease;
}

.storefront-slide__trace {
  position: absolute;
  z-index: 1;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 197, 243, 0.94), rgba(240, 139, 47, 0.76), rgba(35, 197, 243, 0));
  transform-origin: left center;
  transform: rotate(var(--trace-rotation, 0deg)) scaleX(0.2);
  opacity: 0;
  transition: opacity 0.65s ease 0.08s, transform 0.9s ease 0.08s;
}

.storefront-slide__trace::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  box-shadow: 0 0 18px rgba(35, 197, 243, 0.24), 0 0 12px rgba(240, 139, 47, 0.2);
}

.storefront-slide__trace--one {
  --trace-rotation: 46deg;
  left: 6%;
  top: 20%;
  width: 150px;
}

.storefront-slide__trace--two {
  --trace-rotation: 62deg;
  left: 30%;
  top: 8%;
  width: 118px;
}

.storefront-slide__trace--three {
  --trace-rotation: -36deg;
  left: 34%;
  bottom: 12%;
  width: 168px;
}

.storefront-slide__trace--four {
  --trace-rotation: -12deg;
  left: 58%;
  top: 14%;
  width: 146px;
}

.storefront-slide__trace--five {
  --trace-rotation: 18deg;
  left: 18%;
  bottom: 18%;
  width: 136px;
}

.storefront-slide__trace--six {
  --trace-rotation: -28deg;
  left: 44%;
  top: 20%;
  width: 146px;
}

.storefront-slide__trace--seven {
  --trace-rotation: 35deg;
  left: 22%;
  bottom: 16%;
  width: 128px;
}

.storefront-slide__product {
  position: absolute;
  z-index: 2;
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(16, 27, 45, 0.2));
  opacity: 0;
  transform: translate3d(0, 18px, 0) rotate(var(--product-rotate, 0deg)) scale(0.96);
  transition: opacity 0.6s ease 0.12s, transform 0.7s ease 0.12s;
}

.storefront-slide__product--mega {
  width: min(370px, 50%);
  right: 2%;
  top: 3%;
}

.storefront-slide__product--uno {
  width: min(330px, 45%);
  right: 26%;
  bottom: 4%;
}

.storefront-slide__product--esp32 {
  width: min(128px, 18%);
  right: 11%;
  bottom: 10%;
}

.storefront-slide__product--pi5 {
  width: min(330px, 44%);
  right: 1%;
  top: 8%;
}

.storefront-slide__product--pi5-photo {
  width: min(430px, 58%);
  right: 2%;
  top: 7%;
  border: 8px solid #ffffff;
  box-shadow: 0 22px 46px rgba(16, 27, 45, 0.2);
  --product-rotate: -3deg;
}

.storefront-slide__product--pico {
  width: min(130px, 16%);
  right: 26%;
  bottom: 6%;
}

.storefront-slide__product--esp32mini {
  width: min(122px, 15%);
  right: 8%;
  bottom: 12%;
}

.storefront-slide__product--hanna {
  width: min(260px, 33%);
  right: 5%;
  bottom: 0;
}

.storefront-slide__product--hach {
  width: min(350px, 42%);
  right: 27%;
  bottom: 3%;
  --product-rotate: -8deg;
}

.storefront-slide__product--fc03 {
  width: min(365px, 48%);
  right: 7%;
  top: 9%;
  --product-rotate: -4deg;
}

.storefront-slide__product--lcd {
  width: min(285px, 38%);
  right: 35%;
  bottom: 7%;
  --product-rotate: 5deg;
}

.storefront-slide__product--encoder {
  width: min(172px, 21%);
  right: 9%;
  bottom: 9%;
  --product-rotate: -2deg;
}

.storefront-slide__product--fuente {
  width: min(320px, 43%);
  right: 7%;
  top: 11%;
  --product-rotate: 3deg;
}

.storefront-slide__product--lm2596 {
  width: min(330px, 43%);
  right: 34%;
  bottom: 7%;
  --product-rotate: -6deg;
}

.storefront-slide__product--nema {
  width: min(250px, 32%);
  right: 8%;
  top: 8%;
  --product-rotate: 4deg;
}

.storefront-slide__product--tb6560 {
  width: min(315px, 42%);
  right: 35%;
  bottom: 8%;
  --product-rotate: -5deg;
}

.storefront-slide__product--filament-photo {
  width: min(352px, 49%);
  height: 292px;
  right: 4%;
  top: 7%;
  object-fit: cover;
  object-position: 51% 52%;
  border: 8px solid #ffffff;
  box-shadow: 0 22px 46px rgba(16, 27, 45, 0.2);
  --product-rotate: -4deg;
}

.storefront-slide__product--nema-small {
  width: min(170px, 21%);
  right: 38%;
  bottom: 8%;
  --product-rotate: 7deg;
}

.storefront-slide__product--other-lcd {
  width: min(325px, 43%);
  right: 5%;
  top: 11%;
  --product-rotate: -2deg;
}

.storefront-slide__product--other-meter {
  width: min(245px, 31%);
  right: 37%;
  bottom: 0;
}

.storefront-slide__product--other-module {
  width: min(270px, 36%);
  right: 30%;
  bottom: 12%;
  --product-rotate: -7deg;
}

.storefront-slide--raspberry .storefront-slide__band {
  inset: 0 -6% 0 32%;
  background: linear-gradient(135deg, rgba(27, 54, 84, 0.95), rgba(20, 36, 59, 0.98));
}

.storefront-slide--lab .storefront-slide__art {
  background: linear-gradient(180deg, #fdfefe 0%, #f4f8fb 100%);
}

.storefront-slide--lab .storefront-slide__band {
  inset: 4% -5% 8% 42%;
  background: linear-gradient(135deg, rgba(30, 161, 213, 0.18), rgba(240, 139, 47, 0.18));
}

.storefront-slide--lab .storefront-slide__art::after {
  width: 34%;
  left: 62%;
  bottom: -2%;
  background: rgba(35, 197, 243, 0.08);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.storefront-slide--sensors .storefront-slide__band {
  inset: 4% -7% 0 34%;
  background: linear-gradient(135deg, rgba(28, 129, 179, 0.94), rgba(21, 74, 112, 0.96));
}

.storefront-slide--power .storefront-slide__band {
  inset: -2% -6% 0 42%;
  background: linear-gradient(135deg, rgba(240, 139, 47, 0.95), rgba(20, 44, 70, 0.96));
}

.storefront-slide--motion .storefront-slide__band {
  inset: 0 -8% 0 37%;
  background: linear-gradient(135deg, rgba(30, 52, 80, 0.96), rgba(210, 113, 30, 0.94));
}

.storefront-slide--printing .storefront-slide__band {
  inset: 0 -7% 0 40%;
  background: linear-gradient(135deg, rgba(240, 139, 47, 0.92), rgba(18, 43, 67, 0.96));
}

.storefront-slide--printing .storefront-slide__art::after {
  width: 40%;
  left: 58%;
  bottom: -6%;
  background: rgba(240, 139, 47, 0.11);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.storefront-slide--other .storefront-slide__band {
  inset: 0 -8% 0 36%;
  background: linear-gradient(135deg, rgba(22, 37, 56, 0.95), rgba(240, 139, 47, 0.9));
}

.storefront-slide.is-active .storefront-slide__band,
.storefront-slide.is-active .storefront-slide__trace,
.storefront-slide.is-active .storefront-slide__product {
  opacity: 1;
}

.storefront-slide.is-active .storefront-slide__band {
  transform: translateX(0) scale(1);
}

.storefront-slide.is-active .storefront-slide__trace {
  transform: rotate(var(--trace-rotation, 0deg)) scaleX(1);
}

.storefront-slide.is-active .storefront-slide__product {
  transform: translate3d(0, 0, 0) rotate(var(--product-rotate, 0deg)) scale(1);
}

.storefront-home__dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
  z-index: 4;
}

.storefront-home__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 37, 56, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.storefront-home__dots button.is-active {
  background: rgba(240, 139, 47, 0.92);
  transform: scale(1.15);
}

.catalog-access__heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
  align-items: end;
  column-gap: clamp(2rem, 6vw, 5rem);
  max-width: none;
  margin-bottom: 1.45rem;
  text-align: left;
}

.catalog-access__heading h2 {
  position: relative;
  max-width: 12ch;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.045em;
}

.catalog-access__heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.85rem;
  width: min(210px, 72%);
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.catalog-access__heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 0.45rem;
}

.catalog-access__intro {
  position: relative;
  max-width: 44ch;
  margin: 0 0 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(240, 139, 47, 0.62);
  color: var(--muted);
}

.catalog-access__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
}

.catalog-access__stack {
  display: grid;
  gap: 1rem;
}

.catalog-showcase {
  position: relative;
  min-height: 250px;
  padding: 1.4rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f4f4 100%);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(16, 27, 45, 0.05);
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.catalog-showcase::before {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -20%;
  width: 66%;
  height: 132%;
  background: linear-gradient(135deg, rgba(18, 34, 52, 0.05), rgba(18, 34, 52, 0.012));
  clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
  transform: translate3d(0, 0, 0);
  transition: transform 0.38s ease, opacity 0.38s ease;
  z-index: 0;
}

.catalog-showcase::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  z-index: 0;
  background: linear-gradient(90deg, var(--cyan), var(--orange), var(--cyan-strong));
}

.catalog-showcase--primary {
  min-height: 388px;
}

.catalog-showcase--lab::after {
  background: linear-gradient(90deg, var(--cyan), #7fe5ff, rgba(240, 139, 47, 0.72));
}

.catalog-showcase--embedded::after {
  background: linear-gradient(90deg, var(--orange), var(--cyan), var(--orange-strong));
}

.catalog-showcase--embedded {
  background:
    linear-gradient(140deg, rgba(31, 54, 84, 0.94) 0 44%, rgba(31, 54, 84, 0.02) 44.2% 100%),
    linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
}

.catalog-showcase__copy {
  position: relative;
  z-index: 2;
  max-width: 17rem;
}

.catalog-showcase__copy p {
  margin: 0;
  color: var(--orange-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-showcase__copy h3 {
  margin: 0.55rem 0 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(1.65rem, 2.55vw, 2.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--navy-strong);
}

.catalog-showcase__copy span {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--navy-strong);
  font-weight: 900;
}

.catalog-showcase__copy span::after {
  content: "\203A";
  margin-left: 0.45rem;
}

.catalog-showcase--embedded .catalog-showcase__copy p,
.catalog-showcase--embedded .catalog-showcase__copy h3,
.catalog-showcase--embedded .catalog-showcase__copy span {
  color: white;
}

.catalog-showcase__art {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.catalog-showcase__art::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 240px;
  right: -44px;
  top: -38px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.52);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  transform: translate3d(0, 0, 0);
  transition: transform 0.36s ease, opacity 0.36s ease;
}

.catalog-showcase--embedded .catalog-showcase__art::before {
  background: rgba(38, 109, 208, 0.22);
}

.catalog-showcase__image {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(16, 27, 45, 0.16));
  transform: translate3d(0, 0, 0) rotate(var(--showcase-rotate, 0deg)) scale(1);
  transition: transform 0.38s ease, filter 0.38s ease;
}

.catalog-showcase__image--uno {
  width: min(300px, 48%);
  right: 4%;
  top: 10%;
}

.catalog-showcase__image--devkit {
  width: min(130px, 21%);
  right: 18%;
  bottom: 10%;
}

.catalog-showcase__image--hanna {
  width: 138px;
  right: 2.7rem;
  top: -2.2rem;
}

.catalog-showcase__image--hach {
  width: 154px;
  right: 10.6rem;
  bottom: 0.65rem;
  --showcase-rotate: -8deg;
}

.catalog-showcase__image--pi5 {
  width: min(196px, 38%);
  right: 0.7rem;
  bottom: 1rem;
}

.catalog-showcase__image--pi5-photo {
  width: min(210px, 48%);
  right: 1rem;
  bottom: 1rem;
  border: 6px solid #ffffff;
  box-shadow: 0 18px 28px rgba(16, 27, 45, 0.2);
  --showcase-rotate: -3deg;
}

.catalog-showcase:hover {
  border-color: rgba(22, 37, 56, 0.18);
  box-shadow: 0 22px 42px rgba(16, 27, 45, 0.1);
  transform: translate3d(0, -4px, 0);
}

.catalog-showcase:hover::before {
  opacity: 0.95;
  transform: translate3d(-14px, 0, 0);
}

.catalog-showcase:hover .catalog-showcase__art::before {
  transform: translate3d(-10px, 6px, 0);
}

.catalog-showcase:hover .catalog-showcase__image {
  filter: drop-shadow(0 24px 34px rgba(16, 27, 45, 0.22));
  transform: translate3d(0, -7px, 0) rotate(var(--showcase-rotate, 0deg)) scale(1.045);
}

.catalog-showcase__image--pico {
  width: 114px;
  right: 9.5rem;
  bottom: 0.8rem;
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  padding: 0.7rem 0 0.15rem;
}

body[data-page="home"] .header-main {
  min-height: 70px;
  padding: 0.45rem 0 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  padding-top: 0.1rem;
  transform: translateY(3px);
}

.brand img {
  width: min(268px, 36vw);
  height: auto;
}

.header-search {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 0 0 0.95rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: none;
}

.header-search > img,
.header-search button img {
  width: 18px;
  height: 18px;
  opacity: 0.72;
}

.header-search > img {
  display: none;
}

.header-search input {
  min-width: 0;
  width: 100%;
  min-height: 52px;
  padding: 0 0.95rem 0 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
}

.header-search button {
  width: 48px;
  align-self: stretch;
  border: 0;
  border-left: 1px solid rgba(22, 37, 56, 0.1);
  border-radius: 0;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.header-search button img {
  filter: none;
  opacity: 0.76;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

body:not(.app-ready) .market-strip {
  display: none !important;
}

body:not(.app-ready) .header-account {
  visibility: visible;
  opacity: 1;
}

.header-account-wrap {
  position: relative;
  display: inline-flex;
}

.header-account {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  min-width: 168px;
  padding: 0 0.8rem 0 0.9rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  border-radius: 6px;
  background: #ffffff;
  color: var(--navy-strong);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.header-account__avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 250, 0.96));
  color: var(--navy-strong);
  flex: 0 0 auto;
}

.header-account__avatar img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  color: var(--navy-strong);
  transition: transform 0.18s ease, color 0.18s ease;
}

.header-account__copy {
  display: grid;
  gap: 0.08rem;
  line-height: 1.15;
}

.header-account__copy small {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-account__copy strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-account__caret {
  position: relative;
  width: 10px;
  height: 10px;
  margin-left: auto;
  flex: 0 0 auto;
  color: rgba(22, 37, 56, 0.64);
  transition: transform 0.18s ease, color 0.18s ease;
}

.header-account__caret::before {
  content: "";
  position: absolute;
  inset: 1px 0 0 1px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
}

.header-account.is-authenticated .header-account__copy small {
  color: rgba(92, 107, 121, 0.88);
}

.header-account.is-admin {
  position: relative;
  border-color: rgba(22, 37, 56, 0.08);
  background: #ffffff;
}

.header-account.is-admin::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(240, 139, 47, 0.95), rgba(35, 197, 243, 0.72));
}

.header-account.is-admin .header-account__avatar {
  border-color: rgba(22, 37, 56, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
}

.header-account.is-admin .header-account__avatar img {
  color: var(--navy-strong);
}

.header-account.is-admin .header-account__copy small,
.header-account.is-admin .header-account__caret {
  color: rgba(73, 95, 121, 0.85);
}

.header-account.is-admin .header-account__copy strong {
  color: var(--navy-strong);
}

.header-account:hover,
.header-account:focus-visible,
.header-account-wrap.is-open .header-account {
  border-color: rgba(35, 197, 243, 0.22);
  box-shadow: 0 12px 24px rgba(16, 27, 45, 0.06);
}

.header-account:hover .header-account__avatar img,
.header-account:focus-visible .header-account__avatar img,
.header-account-wrap.is-open .header-account__avatar img {
  transform: scale(1.05);
}

.header-account-wrap.is-open .header-account__caret {
  transform: rotate(180deg);
  color: var(--orange-deep);
}

.header-account-menu {
  position: absolute;
  top: calc(100% + 0.72rem);
  right: 0;
  z-index: 45;
  display: grid;
  gap: 0;
  min-width: 252px;
  padding: 0.55rem 0;
  border: 1px solid rgba(22, 37, 56, 0.1);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(248, 251, 253, 0.985));
  box-shadow: 0 22px 46px rgba(16, 27, 45, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.header-account-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(22, 37, 56, 0.08);
  border-top: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
  transform: rotate(45deg);
}

.header-account-menu::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 139, 47, 0.98), rgba(35, 197, 243, 0.82), rgba(35, 197, 243, 0));
}

.header-account-wrap.is-open .header-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-account-menu__line {
  position: absolute;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 197, 243, 0.88), rgba(240, 139, 47, 0.78), rgba(35, 197, 243, 0));
  pointer-events: none;
}

.header-account-menu__line--a {
  width: 96px;
  right: 18px;
  top: 18px;
  transform: rotate(-24deg);
  opacity: 0.7;
}

.header-account-menu__line--b {
  width: 70px;
  right: 18px;
  bottom: 18px;
  transform: rotate(26deg);
  opacity: 0.54;
}

.header-account-menu__divider {
  display: block;
  height: 1px;
  margin: 0.35rem 1rem;
  background: rgba(22, 37, 56, 0.1);
}

.header-account-menu__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy-strong);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

.header-account-menu__item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  color: currentColor;
}

.header-account-menu__item:hover,
.header-account-menu__item:focus-visible {
  background: rgba(16, 27, 45, 0.045);
  color: var(--orange-deep);
  padding-left: 1.1rem;
}

.header-account-menu__item--danger:hover,
.header-account-menu__item--danger:focus-visible {
  color: #b45309;
}

.header-account-wrap.is-admin .header-account-menu {
  border-color: rgba(214, 117, 13, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.99), rgba(250, 245, 239, 0.99));
}

.header-info {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 0.9rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--navy-strong);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  font-family: var(--font-display);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-info img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.84;
}

.header-info:hover,
.header-info:focus-visible {
  border-color: rgba(35, 197, 243, 0.22);
  box-shadow: 0 10px 20px rgba(16, 27, 45, 0.05);
  transform: translateY(-1px);
}

.header-info--accent {
  background: rgba(11, 22, 40, 0.96);
  color: #8edfff;
}

.header-info--accent img {
  filter: brightness(0) saturate(100%) invert(87%) sepia(18%) saturate(1745%) hue-rotate(163deg) brightness(105%) contrast(101%);
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 34px;
  margin-top: -0.3rem;
}

body[data-page="home"] .nav-row {
  display: flex;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  position: relative;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--muted);
  font-family: var(--font-display);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy-strong);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--cyan);
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy-strong);
  position: relative;
}

.nav-cart img {
  width: 19px;
  height: 19px;
}

.nav-cart span {
  position: absolute;
  top: -2px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  min-height: 1.25rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-strong));
  color: white;
  font-size: 0.8rem;
}

.floating-cart {
  position: fixed;
  top: 118px;
  right: clamp(16px, 2vw, 30px);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(22, 37, 56, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(16, 27, 45, 0.08);
}

@media (max-width: 900px) {
  .floating-cart {
    top: 84px;
  }
}

.floating-cart img {
  width: 22px;
  height: 22px;
}

.floating-cart span {
  position: absolute;
  top: -2px;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  min-height: 1.45rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-strong));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy-strong);
}

.page-main {
  min-height: calc(100vh - 260px);
}

.hero,
.page-hero {
  padding: 4.2rem 0 2.4rem;
}

.hero--showcase {
  padding-top: 2rem;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.hero-sidebar,
.hero-stage,
.hero-sidepanel {
  display: grid;
  gap: 1rem;
}

.hero-sidebar {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.hero-stage {
  grid-column: 2;
}

.hero-sidepanel {
  grid-column: 2;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  align-items: stretch;
}

.hero-sidebar__panel,
.hero-sidebar__note,
.hero-stage,
.hero-promo-card,
.home-brand-ribbon__grid {
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 27, 45, 0.04);
}

.hero-sidebar__panel,
.hero-sidebar__note,
.hero-stage,
.hero-promo-card,
.home-brand-ribbon__grid {
  border-radius: var(--radius-lg);
}

.hero-sidebar__panel {
  padding: 0.55rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-sidebar__panel a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--navy-strong);
  font-weight: 800;
}

.hero-sidebar__panel a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, #1c65ff, #23c5f3);
  box-shadow: 0 6px 12px rgba(28, 101, 255, 0.18);
}

.hero-sidebar__panel a:hover {
  background: rgba(35, 197, 243, 0.06);
  color: var(--cyan-strong);
}

.hero-sidebar__note {
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(13, 26, 44, 0.95), rgba(16, 31, 54, 0.98));
  color: white;
  box-shadow: none;
}

.hero-sidebar__note strong {
  display: block;
  font-size: 1rem;
}

.hero-sidebar__note p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(340px, 0.76fr) minmax(430px, 1.24fr);
  grid-template-areas:
    "copy visual"
    "feature feature";
  gap: 1rem;
  padding: 1.15rem;
  box-shadow: 0 14px 30px rgba(16, 27, 45, 0.04);
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.hero-stage__copy {
  grid-area: copy;
  align-self: center;
}

.hero-stage__copy h1 {
  margin: 0;
  max-width: 9ch;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 0.93;
  letter-spacing: -0.04em;
}

.hero-stage__copy p:last-child {
  max-width: 35ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-stage__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.05rem;
}

.hero-stage__logos span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0 0.7rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--navy-strong);
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-stage__logos img {
  width: auto;
  height: 16px;
}

.hero-stage__logos-text {
  background: rgba(204, 119, 32, 0.08) !important;
  color: var(--orange-strong) !important;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-visual::before {
  display: none;
}

.hero-visual::after {
  display: none;
}

.hero-visual__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  min-height: 36px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  background: #19d26a;
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(25, 210, 106, 0.28);
}

.hero-visual__label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  min-height: 34px;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  background: rgba(15, 27, 45, 0.78);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-visual__banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-visual__cta {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
}

.hero-feature-strip {
  grid-area: feature;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-feature-strip article {
  padding: 0.78rem 0.9rem;
  border-top: 1px solid rgba(22, 37, 56, 0.08);
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
}

.hero-feature-strip span {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-strong);
}

.hero-feature-strip strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.98rem;
}

.hero-promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 0.85rem;
  height: 100%;
  min-height: 212px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.08);
  box-shadow: 0 10px 24px rgba(16, 27, 45, 0.04);
}

.hero-promo-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.08;
}

.hero-promo-card__text {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-promo-card__scene {
  position: relative;
  min-height: 140px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.hero-promo-card__banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-promo-card__banner--electronics { object-position: 28% 18%; }
.hero-promo-card__banner--lab { object-position: 76% 44%; }
.hero-promo-card__banner--fabrication { object-position: 66% 92%; }

.hero-promo-card--electronics,
.hero-promo-card--lab,
.hero-promo-card--fabrication {
  background:
    linear-gradient(180deg, #ffffff, #f9fbfe);
}

.home-brand-ribbon__grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-brand-ribbon__title {
  display: grid;
  gap: 0.3rem;
}

.home-brand-ribbon__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.home-brand-ribbon__logos span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0 0.68rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
  color: var(--navy-strong);
  font-weight: 800;
  font-size: 0.8rem;
}

.home-brand-ribbon__logos span img {
  width: auto;
  height: 16px;
}

.hero__grid,
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: start;
}

.hero__content h1,
.page-hero h1,
.section-heading h2,
.contact-band h2,
.empty-state h1,
.product-header__details h1 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  max-width: 11ch;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 15ch;
}

.hero__lead,
.page-hero__aside p,
.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: #7b90a7;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-family: var(--font-display);
}

.hero__actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0 0;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.75rem;
  border: 1px solid rgba(27, 39, 54, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-family: var(--font-display);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.btn::before {
  right: -18%;
  bottom: 9px;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 197, 243, 0.72), rgba(240, 139, 47, 0.6), transparent);
  transform: rotate(-27deg);
  opacity: 0.45;
}

.btn::after {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(35, 197, 243, 0.96), rgba(240, 139, 47, 0.92));
  opacity: 0.8;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #1c65ff, #23c5f3);
  color: #fff;
  box-shadow: 0 14px 26px rgba(28, 101, 255, 0.24);
}

.btn--secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.96));
  border-color: rgba(22, 37, 56, 0.22);
  color: var(--navy-strong);
  box-shadow: 0 10px 18px rgba(16, 27, 45, 0.04);
}

.btn--dark {
  background: var(--navy-strong);
  color: white;
}

.btn--ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.98));
  border-color: rgba(22, 37, 56, 0.24);
  color: var(--navy-strong);
  box-shadow: 0 10px 18px rgba(16, 27, 45, 0.04);
}

.btn--secondary:hover,
.btn--secondary:focus-visible,
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--navy-strong);
  background: var(--navy-strong);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(16, 27, 45, 0.12);
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.hero__highlights,
.bullet-list,
.service-card ul,
.detail-panel ul {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.hero__highlights li,
.bullet-list li,
.service-card li,
.detail-panel li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
}

.hero__highlights li::before,
.bullet-list li::before,
.service-card li::before,
.detail-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--orange);
}

.hero-card,
.line-card,
.service-card,
.step-card,
.contact-band,
.feature-panel,
.detail-panel,
.summary-card,
.cart-list,
.order-result,
.empty-state,
.product-header,
.spec-table,
.product-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(36, 56, 76, 0.96), rgba(24, 36, 51, 0.98)),
    var(--navy-strong);
  color: white;
  box-shadow: var(--shadow-soft);
}

.hero-card__top,
.hero-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card__top {
  margin-bottom: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
}

.chip--dark {
  background: rgba(35, 197, 243, 0.18);
  border-color: rgba(35, 197, 243, 0.26);
}

.hero-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.08;
  font-family: var(--font-display);
}

.hero-card p {
  margin: 1rem 0 1.3rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-card__stats article {
  flex: 1 1 140px;
  min-height: 110px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card__stats strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.hero-card__stats span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Internal pages cleanup and commerce footer */
.market-strip {
  display: none !important;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 3.4rem 0 1.35rem;
  background:
    linear-gradient(180deg, #4a4d50 0%, #383a3e 100%);
  color: rgba(255, 255, 255, 0.84);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan), transparent 82%);
  opacity: 0.94;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -7%;
  top: -8%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(35, 197, 243, 0.08), transparent 72%);
  pointer-events: none;
}

.site-footer__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.85rem;
}

.site-footer__brandline {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  text-align: center;
}

.site-footer__logo img {
  width: min(290px, 62vw);
  height: auto;
}

.site-footer__brandline p {
  max-width: 56ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.82fr) minmax(0, 1.15fr);
  gap: 1.6rem;
  align-items: start;
}

.site-footer__column h3 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.site-footer__column {
  padding-top: 0.35rem;
}

.site-footer__column::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.14);
}

.site-footer__list {
  display: grid;
  gap: 0.75rem;
}

.site-footer__line {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.site-footer__line img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  filter: brightness(0) saturate(100%) invert(72%) sepia(58%) saturate(931%) hue-rotate(161deg) brightness(101%) contrast(92%);
}

.site-footer__line:hover {
  color: #ffffff;
}

.site-footer__list--plain span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.site-footer__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.site-footer__fact {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-height: 88px;
}

.site-footer__fact img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(69%) sepia(90%) saturate(1428%) hue-rotate(13deg) brightness(101%) contrast(89%);
}

.site-footer__fact strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
}

.site-footer__fact span {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.site-footer__meta,
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.site-footer__meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.site-footer__nav a:hover {
  color: #ffffff;
}

/* Legal and account visual refresh */
.legal-shell,
.account-shell {
  display: grid;
  gap: 1.45rem;
}

.legal-hero,
.account-shell__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(112deg, #ffffff 0 64%, rgba(248, 250, 252, 0.98) 64% 100%);
  box-shadow: 0 18px 34px rgba(16, 27, 45, 0.06);
}

.legal-hero::before,
.account-shell__hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(36%, 360px);
  background: linear-gradient(160deg, rgba(15, 27, 45, 0.96), rgba(31, 54, 84, 0.94));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.legal-hero::after,
.account-shell__hero::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -18%;
  width: 44%;
  height: 92%;
  background: linear-gradient(145deg, rgba(240, 139, 47, 0.12), rgba(35, 197, 243, 0.06));
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  z-index: 0;
}

.legal-hero__copy,
.legal-hero__meta,
.account-shell__copy,
.account-shell__status {
  position: relative;
  z-index: 1;
}

.legal-hero__copy,
.account-shell__copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.legal-hero__copy::before,
.account-shell__copy::before {
  content: "";
  position: absolute;
  right: 2%;
  top: 14%;
  width: 170px;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 197, 243, 0.75), rgba(240, 139, 47, 0.45), transparent);
  transform: rotate(36deg);
  opacity: 0.5;
  pointer-events: none;
}

.legal-hero__copy::after,
.account-shell__copy::after {
  content: "";
  position: absolute;
  left: 8%;
  bottom: 8%;
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(35, 197, 243, 0.6), rgba(240, 139, 47, 0.48));
  transform: rotate(-28deg);
  opacity: 0.48;
  pointer-events: none;
}

.legal-hero__meta,
.account-shell__status {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.legal-hero__notice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.legal-hero__notice img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(58%) saturate(931%) hue-rotate(161deg) brightness(101%) contrast(92%);
}

.legal-hero__notice strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #ffffff;
  font-family: var(--font-display);
}

.legal-hero__notice span {
  color: rgba(255, 255, 255, 0.76);
}

.legal-hero__copy h1,
.account-shell__copy h1 {
  max-width: 12ch;
  margin: 0;
}

.legal-hero__copy p:last-child,
.account-shell__copy p:last-of-type {
  max-width: 50ch;
  margin: 0;
}

.account-shell__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.account-shell__chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0 0.8rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
  color: var(--navy-strong);
  font-size: 0.84rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.account-shell__chips img {
  width: 14px;
  height: 14px;
  filter: brightness(0) saturate(100%) invert(42%) sepia(98%) saturate(1191%) hue-rotate(184deg) brightness(101%) contrast(91%);
}

.account-shell__status .btn {
  justify-self: start;
}

.legal-content,
.claims-layout,
.account-dashboard,
.account-auth-grid {
  gap: 1.15rem;
}

.legal-card,
.claims-card,
.account-card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0 77%, rgba(22, 37, 56, 0.035) 77.2% 100%),
    #ffffff;
  box-shadow: 0 14px 26px rgba(16, 27, 45, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.legal-card::before,
.claims-card::before,
.account-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.legal-card::after,
.claims-card::after,
.account-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: 14%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 197, 243, 0.38), rgba(240, 139, 47, 0.28), transparent);
  transform: rotate(-38deg);
  opacity: 0.52;
}

.legal-card:hover,
.claims-card:hover,
.account-card:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 197, 243, 0.18);
  box-shadow: 0 18px 34px rgba(16, 27, 45, 0.08);
}

.claims-note {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.96), rgba(31, 54, 84, 0.94));
  color: rgba(255, 255, 255, 0.82);
}

.claims-note strong {
  color: #ffffff;
}

.claims-note p {
  margin-bottom: 0;
}

.account-timeline__item {
  background: linear-gradient(180deg, #ffffff, rgba(248, 250, 252, 0.98));
}

.account-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

@media (max-width: 1080px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__facts {
    grid-column: 1 / -1;
  }

  .legal-hero,
  .account-shell__hero {
    grid-template-columns: 1fr;
  }

  .legal-hero::before,
  .account-shell__hero::before {
    inset: auto 0 0 0;
    width: auto;
    height: 42%;
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding-top: 2.75rem;
  }

  .site-footer__grid,
  .site-footer__facts {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__brandline {
    justify-items: start;
    text-align: left;
  }

  .legal-hero__meta,
  .account-shell__status {
    grid-template-columns: 1fr;
  }
}

.section {
  padding: 2.6rem 0;
}

.section--alt {
  background: linear-gradient(180deg, #fbfdff, #f7faff);
  border-top: 1px solid rgba(27, 39, 54, 0.06);
  border-bottom: 1px solid rgba(27, 39, 54, 0.06);
}

.section--tight {
  padding-top: 1rem;
  padding-bottom: 2.8rem;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.3rem;
  max-width: 700px;
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  max-width: 16ch;
}

.product-shelf__heading h2 {
  max-width: none;
}

.product-grid--shelf {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-window {
  background: #fff;
  border-top: 1px solid rgba(22, 37, 56, 0.08);
}

.shop-window__headline {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.shop-window__headline span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-window__headline h2 {
  max-width: 30ch;
  margin: 0 auto 0.85rem;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.shop-window__headline p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.04rem;
}

.shop-window__bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1.2rem;
}

.shop-window__bar--latest {
  margin-top: 3.6rem;
}

.shop-window__bar--related {
  margin-top: 0.2rem;
}

.shop-window__bar h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.shop-category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: #f7f8fa;
  box-shadow: 0 18px 34px rgba(16, 27, 45, 0.05);
  isolation: isolate;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.shop-category-card--wide {
  min-height: 228px;
}

.shop-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0 45%, rgba(232, 237, 242, 0.88) 45% 100%);
}

.shop-category-card::after {
  content: "";
  position: absolute;
  inset: auto -24% -40% 28%;
  z-index: -1;
  height: 170px;
  background: linear-gradient(135deg, rgba(22, 37, 56, 0.06), rgba(22, 37, 56, 0));
  transform: rotate(-36deg);
  transform-origin: center;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.shop-category-card:nth-child(3)::after,
.shop-category-card:nth-child(4)::after {
  background: linear-gradient(135deg, rgba(240, 139, 47, 0.22), rgba(240, 139, 47, 0));
}

.shop-category-card:hover,
.shop-category-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(16, 153, 221, 0.28);
  box-shadow: 0 24px 45px rgba(16, 27, 45, 0.1);
}

.shop-category-card:hover::after,
.shop-category-card:focus-visible::after {
  opacity: 0.9;
  transform: rotate(-31deg) translateX(18px);
}

.shop-category-card__copy {
  position: relative;
  z-index: 2;
  max-width: 48%;
  padding: 1.4rem 1.25rem;
}

.shop-category-card--wide .shop-category-card__copy {
  max-width: 44%;
}

.shop-category-card__copy span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--orange-strong);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-category-card__copy h4 {
  margin: 0;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.shop-category-card__copy p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.shop-category-card__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.shop-category-card__image {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(16, 27, 45, 0.14));
  transition: transform 0.32s ease, filter 0.32s ease;
}

.shop-category-card:hover .shop-category-card__image,
.shop-category-card:focus-visible .shop-category-card__image {
  filter: drop-shadow(0 24px 24px rgba(16, 27, 45, 0.18));
  transform: translateY(-7px) scale(1.035);
}

.shop-category-card__image--uno {
  right: -0.45rem;
  top: 2.35rem;
  width: 180px;
}

.shop-category-card__image--esp32 {
  right: 5rem;
  bottom: 1.2rem;
  width: 82px;
}

.shop-category-card__image--pico {
  right: 0.65rem;
  bottom: 1.2rem;
  width: 58px;
  padding: 0.55rem;
  border-radius: 999px;
  background: rgba(16, 153, 221, 0.14);
}

.shop-category-card__image--sensor {
  right: 0.65rem;
  top: 2.1rem;
  width: 128px;
}

.shop-category-card__image--lcd {
  right: 3.1rem;
  bottom: 1.25rem;
  width: 112px;
}

.shop-category-card__image--nema {
  right: 0.15rem;
  top: 1.4rem;
  width: 132px;
}

.shop-category-card__image--driver {
  right: 4.7rem;
  bottom: 1rem;
  width: 106px;
}

.shop-category-card__image--hanna {
  right: 0.75rem;
  top: -0.55rem;
  width: 126px;
}

.shop-category-card__image--hach {
  right: 8rem;
  bottom: 1.1rem;
  width: 62px;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
}

.shop-product-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-product-card {
  position: relative;
  min-height: 282px;
  padding-bottom: 2.75rem;
  text-align: center;
  background: #fff;
  border: 1px solid transparent;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.shop-product-card:hover,
.shop-product-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(22, 37, 56, 0.1);
  box-shadow: 0 20px 38px rgba(16, 27, 45, 0.08);
}

.shop-product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 154px;
  padding: 0.8rem;
  background: #fff;
}

.shop-product-card__media::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0.65rem;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(16, 27, 45, 0.12), rgba(16, 27, 45, 0));
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.shop-product-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 136px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.shop-product-card__media .product-card__placeholder {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 128px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.shop-product-card__media .product-card__placeholder img {
  width: 78px;
  height: 78px;
  opacity: 0.72;
}

.shop-product-card__media .product-card__placeholder strong,
.shop-product-card__media .product-card__placeholder span {
  display: none;
}

.shop-product-card:hover .shop-product-card__media img,
.shop-product-card:focus-within .shop-product-card__media img {
  transform: translateY(-8px) scale(1.045);
}

.shop-product-card:hover .shop-product-card__media::after,
.shop-product-card:focus-within .shop-product-card__media::after {
  opacity: 0.5;
  transform: scaleX(0.72);
}

.shop-product-card__body {
  display: grid;
  gap: 0.22rem;
  padding: 0 0.6rem;
}

.shop-product-card__title {
  min-height: 2.56rem;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
}

.shop-product-card__title:hover,
.shop-product-card__title:focus-visible {
  color: var(--cyan-strong);
}

.shop-product-card__price {
  color: var(--danger);
  font-weight: 800;
}

.shop-product-card__stock {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.shop-product-card__action {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  width: 54px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(22, 37, 56, 0.22);
  background: #fff;
  color: var(--navy-strong);
  font-weight: 900;
  transform: translateX(-50%);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shop-product-card__action img {
  width: 17px;
  height: 17px;
  transition: filter 0.2s ease;
}

.shop-product-card__action:hover,
.shop-product-card__action:focus-visible,
.shop-product-card__action.is-added {
  background: var(--navy-strong);
  color: #fff;
  border-color: var(--navy-strong);
  transform: translateX(-50%) translateY(-2px);
}

.shop-product-card__action:hover img,
.shop-product-card__action:focus-visible img,
.shop-product-card__action.is-added img {
  filter: brightness(0) invert(1);
}

.shop-product-card__action--quote {
  width: 78px;
  color: var(--orange-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-product-card__feedback {
  position: absolute;
  left: 50%;
  bottom: -1.45rem;
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.commerce-flow,
.service-studio,
.enterprise-contact {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.commerce-flow::before,
.service-studio::before,
.enterprise-contact::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 37, 56, 0.13), transparent);
}

.commerce-flow__panel,
.enterprise-contact__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background:
    linear-gradient(112deg, #ffffff 0 52%, rgba(241, 245, 249, 0.92) 52% 100%);
  box-shadow: 0 24px 50px rgba(16, 27, 45, 0.06);
  isolation: isolate;
}

.commerce-flow__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.35fr);
  gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.commerce-flow__panel::after,
.enterprise-contact__panel::after {
  content: "";
  position: absolute;
  inset: -35% -14% auto auto;
  z-index: -1;
  width: 48%;
  height: 115%;
  background: linear-gradient(135deg, rgba(240, 139, 47, 0.18), rgba(16, 153, 221, 0.08));
  transform: skewX(-22deg);
}

.commerce-flow__intro {
  align-self: center;
}

.commerce-flow__intro h2,
.service-studio__heading h2,
.enterprise-contact__copy h2 {
  margin: 0;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.commerce-flow__intro p:not(.eyebrow),
.service-studio__heading > p,
.enterprise-contact__copy p:not(.eyebrow) {
  max-width: 56ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.commerce-flow__actions,
.enterprise-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.enterprise-contact__actions .btn--primary,
.commerce-flow__actions .btn--primary {
  background: var(--navy-strong);
  border-color: var(--navy-strong);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 27, 45, 0.16);
}

.enterprise-contact__actions .btn--primary:hover,
.enterprise-contact__actions .btn--primary:focus-visible,
.commerce-flow__actions .btn--primary:hover,
.commerce-flow__actions .btn--primary:focus-visible {
  background: var(--orange-strong);
  border-color: var(--orange-strong);
  transform: translateY(-2px);
}

.enterprise-contact__actions .btn--secondary,
.commerce-flow__actions .btn--secondary {
  background: #fff;
  border-color: rgba(22, 37, 56, 0.16);
  color: var(--navy-strong);
}

.commerce-flow__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.commerce-step {
  position: relative;
  min-height: 190px;
  padding: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(255, 255, 255, 0.84);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.commerce-step::before {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -56px;
  width: 142px;
  height: 142px;
  background:
    linear-gradient(135deg, rgba(16, 153, 221, 0.1), rgba(16, 153, 221, 0)),
    repeating-linear-gradient(45deg, rgba(22, 37, 56, 0.06) 0 1px, transparent 1px 12px);
  transform: rotate(14deg);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.commerce-step::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange), transparent);
  opacity: 0;
  transform: scaleX(0.24);
  transform-origin: left center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.commerce-step:hover,
.commerce-step:focus-within {
  transform: translateY(-5px);
  border-color: rgba(16, 153, 221, 0.28);
  box-shadow: 0 18px 32px rgba(16, 27, 45, 0.08);
}

.commerce-step:hover::before,
.commerce-step:focus-within::before {
  opacity: 0.85;
  transform: rotate(7deg) translate(-10px, -10px);
}

.commerce-step:hover::after,
.commerce-step:focus-within::after {
  opacity: 0.82;
  transform: scaleX(1);
}

.commerce-step span {
  display: inline-flex;
  margin-bottom: 1.05rem;
  color: var(--orange-strong);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.commerce-step img {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 22px;
  height: 22px;
  opacity: 0.72;
}

.commerce-step h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.05;
}

.commerce-step p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.52;
}

.tech-shape,
.enterprise-contact__pulse {
  position: absolute;
  pointer-events: none;
}

.tech-shape--line {
  left: 40%;
  top: 16%;
  width: 190px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--orange), transparent);
  transform: rotate(58deg);
  animation: techLineFloat 7s ease-in-out infinite;
}

.tech-shape--square {
  right: 4.5%;
  bottom: 16%;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(16, 153, 221, 0.35);
  background: rgba(16, 153, 221, 0.06);
  transform: rotate(45deg);
  animation: techShapeDrift 8s ease-in-out infinite;
}

.tech-shape--dot {
  left: 53%;
  bottom: 11%;
  width: 10px;
  height: 10px;
  background: var(--orange);
  animation: techDotPulse 2.8s ease-in-out infinite;
}

.service-studio {
  border-top: 1px solid rgba(22, 37, 56, 0.08);
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
}

.service-studio__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.service-studio__heading h2 {
  max-width: 17ch;
}

.service-studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 1rem;
}

.studio-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: #fff;
  box-shadow: 0 18px 34px rgba(16, 27, 45, 0.05);
  isolation: isolate;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.studio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0 52%, rgba(241, 245, 249, 0.95) 52% 100%);
}

.studio-card::after {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -34%;
  z-index: -1;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(35, 197, 243, 0.12), transparent 65%);
  transition: transform 0.34s ease;
}

.studio-card:hover,
.studio-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(16, 153, 221, 0.25);
  box-shadow: 0 24px 45px rgba(16, 27, 45, 0.1);
}

.studio-card:hover::after,
.studio-card:focus-within::after {
  transform: translate(-18px, -12px) scale(1.08);
}

.studio-card--featured {
  grid-row: span 2;
  min-height: 496px;
  background: var(--navy-strong);
  color: #fff;
}

.studio-card--featured::before {
  background:
    linear-gradient(132deg, rgba(15, 27, 45, 0.98) 0 53%, rgba(31, 54, 84, 0.94) 53% 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14px);
}

.studio-card--featured::after {
  background: linear-gradient(135deg, rgba(240, 139, 47, 0.46), rgba(35, 197, 243, 0.08));
  width: 420px;
  height: 420px;
  right: -92px;
  bottom: -148px;
  transform: rotate(-22deg);
}

.studio-card__copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  max-width: 58%;
  padding: 1.35rem;
}

.studio-card--featured .studio-card__copy {
  max-width: 55%;
  padding: 2rem;
}

.studio-card__copy img {
  width: 28px;
  height: 28px;
  filter: none;
}

.studio-card--featured .studio-card__copy img {
  filter: brightness(0) invert(1);
}

.studio-card__copy p {
  margin: 0;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-card__copy h3 {
  margin: 0;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.studio-card--featured .studio-card__copy h3 {
  color: #fff;
}

.studio-card__copy span {
  color: var(--muted);
  line-height: 1.55;
}

.studio-card--featured .studio-card__copy span {
  color: rgba(255, 255, 255, 0.78);
}

.studio-card__copy .text-link {
  margin-top: 0.3rem;
}

.studio-card__art,
.studio-card__trace,
.studio-card__side-product {
  position: absolute;
  pointer-events: none;
}

.studio-card__art {
  inset: 0;
}

.studio-card__trace {
  left: 42%;
  top: 18%;
  width: 230px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--orange), transparent);
  transform: rotate(58deg);
  opacity: 0.7;
  animation: techLineFloat 8s ease-in-out infinite;
}

.studio-card__product,
.studio-card__side-product {
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.22));
  transition: transform 0.32s ease;
}

.studio-card__product--board {
  position: absolute;
  right: 2rem;
  top: 5rem;
  width: 280px;
}

.studio-card__product--driver {
  position: absolute;
  right: 8.2rem;
  bottom: 2.2rem;
  width: 190px;
}

.studio-card__side-product {
  right: 1rem;
  bottom: 0.8rem;
  width: 170px;
  max-height: 170px;
}

.studio-card__side-product--lab {
  right: 1.3rem;
  bottom: -2.2rem;
  width: 118px;
  max-height: 260px;
}

.studio-card:hover .studio-card__product,
.studio-card:hover .studio-card__side-product,
.studio-card:focus-within .studio-card__product,
.studio-card:focus-within .studio-card__side-product {
  transform: translateY(-8px) scale(1.035);
}

.enterprise-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding: clamp(1.35rem, 3vw, 2.35rem);
}

.enterprise-contact__copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.enterprise-contact__cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.enterprise-contact__cards article {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 0.62rem;
  min-height: 166px;
  padding: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(255, 255, 255, 0.84);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.enterprise-contact__cards article::before {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -58px;
  width: 146px;
  height: 146px;
  background:
    linear-gradient(135deg, rgba(16, 153, 221, 0.08), rgba(240, 139, 47, 0.1)),
    repeating-linear-gradient(45deg, rgba(22, 37, 56, 0.055) 0 1px, transparent 1px 12px);
  transform: rotate(45deg);
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.enterprise-contact__cards article::after {
  content: "";
  position: absolute;
  right: 1.05rem;
  top: 1.05rem;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(16, 153, 221, 0.16);
  transform: rotate(45deg);
  opacity: 0.75;
}

.enterprise-contact__cards article:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 153, 221, 0.25);
  box-shadow: 0 18px 32px rgba(16, 27, 45, 0.08);
}

.enterprise-contact__cards article:hover::before {
  opacity: 0.9;
  transform: rotate(39deg) translate(-10px, -8px);
}

.enterprise-contact__cards img {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin-bottom: 0.55rem;
  opacity: 0.78;
}

.enterprise-contact__cards span {
  position: relative;
  z-index: 1;
  color: var(--orange-strong);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.enterprise-contact__cards strong {
  position: relative;
  z-index: 1;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.enterprise-contact__pulse {
  right: 8%;
  top: 18%;
  z-index: 1;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(16, 153, 221, 0.26);
  transform: rotate(45deg);
  animation: techShapeDrift 9s ease-in-out infinite;
}

@keyframes techLineFloat {
  0%,
  100% {
    opacity: 0.45;
    transform: rotate(58deg) translateY(0);
  }

  50% {
    opacity: 0.9;
    transform: rotate(58deg) translateY(-18px);
  }
}

@keyframes techShapeDrift {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(-12px, 10px);
  }
}

@keyframes techDotPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-shape,
  .enterprise-contact__pulse,
  .studio-card__trace {
    animation: none;
  }
}

.line-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.line-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  min-height: 290px;
  padding: 1.3rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(16, 27, 45, 0.05);
  isolation: isolate;
}

.line-banner--wide {
  grid-column: 1 / -1;
  min-height: 340px;
}

.line-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.22;
  z-index: 0;
}

.line-banner__copy,
.line-banner__visual {
  position: relative;
  z-index: 1;
}

.line-banner__copy {
  max-width: 18rem;
}

.line-banner__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
  color: white;
}

.line-banner__copy p:last-of-type {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
}

.line-banner__cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 1rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 800;
  border-radius: var(--radius-sm);
}

.line-banner__visual {
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.line-banner__visual::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -44px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
}

.line-banner__banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line-banner--electronics {
  background: linear-gradient(135deg, #112744, #173e65 44%, #1e5886 100%);
}

.line-banner--lab {
  background: linear-gradient(135deg, #dfeaf1, #eaf3f7 48%, #c6dce6 100%);
}

.line-banner--lab .line-banner__copy h3 {
  color: var(--navy-strong);
}

.line-banner--lab .line-banner__copy p:last-of-type {
  color: var(--muted);
}

.line-banner--lab .line-banner__cta {
  border-color: rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy-strong);
}

.line-banner--fabrication {
  background: linear-gradient(135deg, #1a2f45, #314a63 52%, #57687a 100%);
}

.line-banner__banner--electronics { object-position: 28% 18%; }
.line-banner__banner--lab { object-position: 76% 44%; }
.line-banner__banner--fabrication { object-position: 66% 92%; }

.line-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.line-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--navy-strong);
  font-weight: 700;
  font-size: 0.88rem;
}

.line-metrics img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.line-grid,
.service-grid,
.steps-grid,
.product-grid,
.footer-grid,
.contact-band__grid,
.trust-grid {
  display: grid;
  gap: 1rem;
}

.line-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid,
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.line-card,
.service-card,
.step-card,
.trust-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.trust-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 247, 255, 0.86));
  box-shadow: var(--shadow-card);
}

.trust-card strong {
  display: block;
  font-size: 1rem;
}

.trust-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.line-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-xs);
  background: rgba(36, 56, 76, 0.08);
  color: var(--navy-strong);
  font-weight: 800;
}

.line-card {
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.line-card::after {
  content: "";
  position: absolute;
  inset: auto -22px -22px auto;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(35, 197, 243, 0.18), transparent 66%);
  pointer-events: none;
}

.line-card:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 197, 243, 0.22);
  box-shadow: 0 14px 24px rgba(24, 36, 51, 0.06);
}

.line-card__icon,
.service-card__icon {
  width: 22px;
  height: 22px;
  color: var(--cyan-strong);
}

.line-card__cta {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--cyan-strong);
  font-weight: 800;
}

.line-card h3,
.service-card h3,
.step-card h3,
.product-card__title,
.detail-panel h3,
.summary-card h3,
.related-card h3 {
  margin: 0.9rem 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.line-card p,
.service-card p,
.step-card p,
.contact-band p,
.footer-brand p,
.footer-meta,
.product-card__excerpt,
.muted {
  color: #50647d;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 197, 243, 0.18);
  box-shadow: 0 20px 42px rgba(24, 36, 51, 0.1);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(36, 56, 76, 0.04), rgba(35, 197, 243, 0.06)),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.product-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__placeholder,
.product-gallery__placeholder {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(27, 39, 54, 0.08);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 255, 0.86));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  padding: 1rem;
}

.product-card__placeholder img,
.product-gallery__placeholder img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  opacity: 0.82;
}

.product-card__media .product-card__placeholder {
  width: 132px;
  height: 132px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #ffffff;
}

.product-card__media .product-card__placeholder img {
  width: 86px;
  height: 86px;
  opacity: 0.7;
}

.product-card__media .product-card__placeholder strong,
.product-card__media .product-card__placeholder span {
  display: none;
}

.product-card__placeholder strong,
.product-gallery__placeholder strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.product-card__body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.product-card__header {
  display: grid;
  gap: 0.55rem;
}

.product-card__title-link {
  display: inline-block;
}

.product-card__title-link:hover .product-card__title,
.product-card__title-link:focus-visible .product-card__title {
  color: var(--cyan-strong);
}

.product-card__meta,
.product-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.58rem;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid rgba(27, 39, 54, 0.1);
  background: rgba(36, 56, 76, 0.05);
  color: var(--navy-strong);
}

.tag--accent {
  background: rgba(35, 197, 243, 0.08);
  color: var(--cyan-strong);
  border-color: rgba(35, 197, 243, 0.18);
}

.tag--success {
  background: rgba(46, 125, 91, 0.08);
  color: var(--success);
  border-color: rgba(46, 125, 91, 0.18);
}

.tag--danger {
  background: rgba(181, 82, 55, 0.08);
  color: var(--danger);
  border-color: rgba(181, 82, 55, 0.18);
}

.product-card__title {
  margin: 0;
  font-family: var(--font-display);
}

.product-card__excerpt {
  margin: 0;
  font-size: 0.97rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
}

.product-card__actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.product-card__quick-link {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.product-card__quick-link:hover {
  color: var(--cyan-strong);
}

.price-block {
  display: grid;
  gap: 0.15rem;
}

.price {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-strong);
}

.price-note {
  font-size: 0.84rem;
  color: var(--muted);
}

.text-link {
  color: var(--cyan-strong);
  font-weight: 800;
}

.page-hero__aside {
  display: flex;
  align-items: end;
  justify-content: end;
}

.page-hero__aside p {
  max-width: 38ch;
  padding: 1.1rem 1.15rem;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.page-hero--visual .page-hero__grid {
  align-items: center;
}

.page-hero__art {
  display: flex;
  justify-content: end;
}

.page-hero__art img {
  width: min(100%, 540px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 27, 45, 0.04);
}

.page-banner-strip {
  padding: 1.25rem 0 0;
}

.page-banner-strip__frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(16, 27, 45, 0.04);
}

.page-banner-strip__frame img {
  width: 100%;
  height: auto;
}

.page-hero--compact {
  padding-bottom: 1rem;
}

.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.searchbox {
  display: grid;
  gap: 0.45rem;
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.searchbox__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.84);
}

.searchbox__field img {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.searchbox input {
  min-height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  width: 100%;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-btn {
  min-height: 46px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy-strong);
  font-weight: 800;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--navy-strong);
  border-color: var(--navy-strong);
  color: white;
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalog-summary p {
  margin: 0;
  color: var(--muted);
}

.contact-band {
  display: grid;
  gap: 1.3rem;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.contact-band__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-band__grid article {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(27, 39, 54, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.contact-band__grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 1.3rem 0 2rem;
}

.footer-grid {
  grid-template-columns: 1.25fr 0.8fr 0.95fr 1fr;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: start;
  gap: 0.9rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer-brand strong,
.footer-meta span,
.footer-links a {
  font-weight: 700;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 0.5rem;
}

.footer-links--legal a {
  color: var(--muted);
}

.footer-links a {
  color: var(--navy-strong);
}

.legal-shell {
  display: grid;
  gap: 1.1rem;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0 72%, rgba(35, 197, 243, 0.07) 72.2% 100%),
    #ffffff;
  box-shadow: 0 12px 28px rgba(16, 27, 45, 0.05);
}

.legal-hero__copy h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
}

.legal-hero__copy p:last-child {
  max-width: 58ch;
  color: var(--muted);
}

.legal-hero__meta {
  display: grid;
  align-items: stretch;
}

.legal-hero__notice {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, #ffffff, rgba(244, 247, 250, 0.98));
}

.legal-hero__notice img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.legal-hero__notice strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.legal-hero__notice span {
  color: var(--muted);
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card,
.claims-card,
.account-card {
  position: relative;
  overflow: hidden;
  padding: 1.1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0 76%, rgba(22, 37, 56, 0.03) 76.2% 100%),
    #ffffff;
  box-shadow: 0 10px 24px rgba(16, 27, 45, 0.04);
}

.legal-card h2,
.account-card h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.1;
  font-family: var(--font-display);
}

.legal-card p,
.claims-note p,
.account-card p {
  color: var(--muted);
}

.legal-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.legal-card ul li + li {
  margin-top: 0.35rem;
}

.legal-facts {
  display: grid;
  gap: 0.65rem;
}

.legal-facts > div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
}

.legal-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-facts dd {
  margin: 0;
  color: var(--navy-strong);
  font-weight: 700;
}

.claims-layout,
.account-dashboard,
.account-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.claims-card--provider {
  align-self: start;
}

.claims-card--form,
.account-card {
  min-height: 100%;
}

.claims-representative {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.claims-note {
  margin-top: 1rem;
  padding: 0.9rem;
  border-left: 3px solid var(--orange);
  background: rgba(244, 247, 250, 0.82);
}

.account-shell {
  display: grid;
  gap: 1rem;
}

.account-shell__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0 74%, rgba(240, 139, 47, 0.08) 74.2% 100%),
    #ffffff;
  box-shadow: 0 12px 28px rgba(16, 27, 45, 0.05);
}

.account-shell__copy h1 {
  margin: 0.18rem 0 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
}

.account-shell__copy p:last-of-type {
  color: var(--muted);
}

.account-shell__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.account-shell__chips span {
  min-height: 34px;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
  color: var(--navy-strong);
  font-size: 0.84rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.account-shell__status {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.96), rgba(31, 54, 84, 0.94));
  color: #ffffff;
}

.account-shell__status small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-shell__status strong {
  font-size: 1.08rem;
  font-family: var(--font-display);
}

.account-card__head {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
}

.account-timeline {
  display: grid;
  gap: 0.75rem;
}

.account-timeline__item {
  display: grid;
  gap: 0.14rem;
  padding: 0.9rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(248, 250, 252, 0.86);
}

.account-timeline__item strong {
  font-family: var(--font-display);
}

.account-timeline__item span,
.account-timeline__item p {
  color: var(--muted);
}

.account-timeline__item p {
  margin: 0;
}

.account-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.field-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.field-checkbox input {
  margin-top: 0.2rem;
}

.field-checkbox span {
  color: var(--muted);
}

.order-result--claim {
  margin-top: 1rem;
}

.legal-facts--claim {
  margin: 1rem 0 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.empty-state {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.empty-state p {
  color: var(--muted);
  max-width: 52ch;
}

.product-header {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}

.product-gallery {
  min-height: 460px;
  padding: 1rem;
  border: 1px solid rgba(27, 39, 54, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 245, 255, 0.84));
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-header__details {
  display: grid;
  gap: 1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--cyan-strong);
}

.product-header__details h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 12ch;
}

.product-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.availability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.availability-row .tag {
  min-height: 34px;
}

.purchase-box {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(27, 39, 54, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
}

.quantity-box {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-strong);
}

.quantity-box button,
.quantity-box input {
  width: 48px;
  height: 46px;
  border: 0;
  background: transparent;
  text-align: center;
}

.quantity-box button {
  font-size: 1.15rem;
  color: var(--navy-strong);
}

.quantity-box input {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--text);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  margin-top: 1rem;
}

.detail-panel,
.summary-card,
.cart-list,
.order-result,
.spec-table {
  padding: 1.1rem;
  border-radius: var(--radius-md);
}

.detail-panel h3,
.summary-card h3 {
  margin-top: 0;
}

.spec-table {
  display: grid;
  gap: 0.75rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(27, 39, 54, 0.08);
}

.spec-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.spec-row dt {
  color: var(--muted);
  font-weight: 700;
}

.spec-row dd {
  margin: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.related-card {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 197, 243, 0.18);
}

.related-card__title-link:hover h3,
.related-card__title-link:focus-visible h3 {
  color: var(--cyan-strong);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.cart-list {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(27, 39, 54, 0.08);
}

.cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cart-item__media {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(27, 39, 54, 0.08);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  overflow: hidden;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item__media .product-card__placeholder,
.cart-item__media .product-gallery__placeholder {
  padding: 0.55rem;
  gap: 0.35rem;
}

.cart-item__media .product-card__placeholder img,
.cart-item__media .product-gallery__placeholder img {
  width: 42px;
  height: 42px;
}

.cart-item__media .product-card__placeholder strong,
.cart-item__media .product-gallery__placeholder strong {
  font-size: 0.78rem;
}

.cart-item__meta {
  display: grid;
  gap: 0.5rem;
}

.cart-item__meta h3 {
  margin: 0;
  font-size: 1.05rem;
}

.cart-item__meta p {
  margin: 0;
  color: var(--muted);
}

.cart-item__actions {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 0.7rem;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 800;
}

.summary-card {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.summary-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.summary-card__row strong {
  color: var(--navy-strong);
}

.summary-card__total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-strong);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: #54697f;
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.order-result {
  display: grid;
  gap: 0.9rem;
  background:
    linear-gradient(180deg, rgba(36, 56, 76, 0.96), rgba(24, 36, 51, 1)),
    var(--navy-strong);
  color: white;
}

.order-result p,
.order-result li {
  color: rgba(255, 255, 255, 0.8);
}

.order-result ul {
  margin: 0;
  padding-left: 1.2rem;
}

.status-text {
  color: #435a72;
  font-size: 0.92rem;
}

.notice {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(35, 197, 243, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(35, 197, 243, 0.08);
  color: var(--navy-strong);
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #25d366;
  color: white;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.28);
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.floating-whatsapp__icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.floating-whatsapp__icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* Unified internal commerce pages */
.page-hero--catalog,
.page-hero--cart {
  position: relative;
  overflow: hidden;
  padding: 2.35rem 0;
  border-top: 1px solid rgba(22, 37, 56, 0.08);
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(112deg, #ffffff 0 55%, rgba(244, 247, 250, 0.92) 55% 100%),
    #ffffff;
}

.page-hero--catalog::before,
.page-hero--cart::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(128deg, transparent 0 58%, rgba(204, 119, 32, 0.1) 58.2% 58.7%, transparent 59%),
    linear-gradient(36deg, transparent 0 48%, rgba(35, 197, 243, 0.1) 48.2% 48.55%, transparent 49%);
  pointer-events: none;
}

.page-hero--catalog .page-hero__grid,
.page-hero--cart .page-hero__grid {
  align-items: center;
  gap: 2rem;
}

.page-hero__copy {
  position: relative;
  z-index: 2;
}

.page-hero__lead {
  max-width: 45ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.page-hero__chips span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid rgba(22, 37, 56, 0.12);
  border-radius: 0;
  background: #ffffff;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-hero__visual {
  position: relative;
  min-height: 306px;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.09);
  border-radius: 0;
  background:
    linear-gradient(130deg, #ffffff 0 50%, rgba(31, 54, 84, 0.07) 50.2% 100%),
    #ffffff;
  box-shadow: 0 18px 40px rgba(16, 27, 45, 0.06);
}

.page-hero__visual::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -20%;
  width: 58%;
  height: 140%;
  transform: skewX(-14deg);
  background: linear-gradient(180deg, rgba(240, 139, 47, 0.9), rgba(204, 119, 32, 0.88));
}

.page-hero__visual--cart::before {
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.96), rgba(31, 54, 84, 0.96));
}

.page-hero__trace {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: rgba(35, 197, 243, 0.72);
  animation: traceSweep 5.4s ease-in-out infinite;
}

.page-hero__trace::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
}

.page-hero__trace--one {
  --trace-angle: 61deg;
  width: 180px;
  left: 32%;
  top: 29%;
  transform: rotate(61deg);
}

.page-hero__trace--two {
  --trace-angle: -28deg;
  width: 210px;
  left: 18%;
  bottom: 20%;
  transform: rotate(-28deg);
  animation-delay: 1.1s;
}

.page-hero__plate {
  position: absolute;
  left: 36%;
  bottom: -18%;
  width: 38%;
  height: 70%;
  transform: skewX(-14deg);
  background: rgba(22, 37, 56, 0.045);
}

.page-hero__product {
  position: absolute;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(16, 27, 45, 0.2));
  transition: transform 0.32s ease, filter 0.32s ease;
}

.page-hero__visual:hover .page-hero__product {
  transform: translateY(-5px) scale(1.035);
  filter: drop-shadow(0 28px 30px rgba(16, 27, 45, 0.24));
}

.page-hero__product--catalog-uno {
  width: 310px;
  right: 7%;
  top: 11%;
  transform: rotate(-7deg);
}

.page-hero__visual:hover .page-hero__product--catalog-uno {
  transform: rotate(-5deg) translateY(-7px) scale(1.04);
}

.page-hero__product--catalog-lm {
  width: 142px;
  right: 33%;
  bottom: 13%;
  transform: rotate(8deg);
}

.page-hero__visual:hover .page-hero__product--catalog-lm {
  transform: rotate(5deg) translateY(-6px) scale(1.04);
}

.page-hero__product--catalog-hanna {
  width: 86px;
  left: 12%;
  bottom: -5%;
}

.cart-hero-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
  min-width: 154px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(16, 27, 45, 0.12);
  animation: cardFloat 6s ease-in-out infinite;
}

.cart-hero-card strong {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-strong);
  color: var(--orange);
  font-family: var(--font-display);
}

.cart-hero-card span {
  color: var(--navy-strong);
  font-weight: 800;
}

.cart-hero-card--one {
  left: 10%;
  top: 18%;
}

.cart-hero-card--two {
  left: 35%;
  bottom: 16%;
  animation-delay: 0.9s;
}

.cart-hero-card--three {
  right: 8%;
  top: 28%;
  animation-delay: 1.6s;
}

.catalog-workbench {
  background: #ffffff;
}

.line-screen {
  background: #ffffff;
}

.line-hero {
  border-top: 1px solid rgba(22, 37, 56, 0.08);
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.line-hero__grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: stretch;
}

.line-hero__nav {
  border-left: 1px solid rgba(22, 37, 56, 0.08);
  border-right: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
}

.line-hero__nav a {
  position: relative;
  display: grid;
  gap: 0.18rem;
  min-height: 68px;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-weight: 900;
  overflow: hidden;
}

.line-hero__nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.22s ease;
}

.line-hero__nav a:hover::before,
.line-hero__nav a.is-active::before {
  transform: scaleY(1);
}

.line-hero__nav a:hover,
.line-hero__nav a.is-active {
  background: linear-gradient(90deg, rgba(35, 197, 243, 0.06), #ffffff 54%);
}

.line-hero__nav small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
}

.line-hero__stage {
  position: relative;
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(360px, 0.47fr) minmax(0, 0.53fr);
  overflow: hidden;
  background: #ffffff;
}

.line-hero__copy {
  position: relative;
  z-index: 2;
  padding: 2rem 2.35rem;
  overflow: hidden;
}

.line-hero__copy::before,
.line-hero__copy::after {
  content: "";
  position: absolute;
  height: 1px;
  pointer-events: none;
  opacity: 0.38;
  background: linear-gradient(90deg, transparent, rgba(35, 197, 243, 0.72), rgba(240, 139, 47, 0.48), transparent);
}

.line-hero__copy::before {
  right: -10%;
  top: 22%;
  width: 58%;
  transform: rotate(42deg);
}

.line-hero__copy::after {
  left: 25%;
  bottom: 10%;
  width: 46%;
  transform: rotate(-28deg);
}

.line-hero__eyebrow {
  margin: 0 0 1rem;
  color: var(--orange-strong);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.line-hero__copy h1 {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  margin: 0;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4.15vw, 3.9rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
}

.line-hero__copy p:not(.line-hero__eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 43ch;
  margin: 1.15rem 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.line-hero__copy .storefront-home__action {
  position: relative;
  z-index: 1;
  margin-top: 1.3rem;
}

.line-hero__visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

.line-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(136deg, transparent 0 55%, rgba(25, 39, 60, 0.08) 55% 56.2%, transparent 56.2% 100%),
    linear-gradient(136deg, transparent 0 69%, rgba(25, 39, 60, 0.06) 69% 70%, transparent 70% 100%);
}

.line-hero__band {
  position: absolute;
  inset: -2% -8% -2% 38%;
  z-index: 1;
  background: linear-gradient(135deg, rgba(240, 139, 47, 0.96), rgba(214, 116, 28, 0.96));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 52%);
  animation: heroBandIn 0.8s ease both;
}

.line-hero__visual--embedded .line-hero__band,
.line-hero__visual--sensors .line-hero__band {
  background: linear-gradient(135deg, rgba(27, 54, 84, 0.95), rgba(20, 36, 59, 0.98));
}

.line-hero__visual--chemlab .line-hero__band {
  inset: 4% -5% 8% 42%;
  background: linear-gradient(135deg, rgba(30, 161, 213, 0.18), rgba(240, 139, 47, 0.18));
}

.line-hero__visual--motion .line-hero__band,
.line-hero__visual--other .line-hero__band {
  background: linear-gradient(135deg, rgba(30, 52, 80, 0.96), rgba(210, 113, 30, 0.94));
}

.line-hero__plate {
  position: absolute;
  left: -7%;
  bottom: -12%;
  z-index: 0;
  width: 42%;
  height: 76%;
  background: rgba(20, 38, 58, 0.06);
  clip-path: polygon(0 20%, 72% 0, 100% 100%, 0 100%);
}

.line-hero__trace {
  position: absolute;
  z-index: 1;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 197, 243, 0.94), rgba(240, 139, 47, 0.76), rgba(35, 197, 243, 0));
  transform-origin: left center;
  animation: traceSweep 5.6s ease-in-out infinite;
}

.line-hero__trace::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
}

.line-hero__trace--one {
  width: 150px;
  left: 12%;
  top: 22%;
  transform: rotate(46deg);
}

.line-hero__trace--two {
  width: 160px;
  left: 32%;
  bottom: 16%;
  transform: rotate(-31deg);
  animation-delay: 0.9s;
}

.line-hero__product {
  position: absolute;
  z-index: 2;
  height: auto;
  max-width: 100%;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(16, 27, 45, 0.2));
  animation: productLift 0.7s ease both;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.line-hero__visual:hover .line-hero__product {
  filter: drop-shadow(0 25px 34px rgba(16, 27, 45, 0.24));
  transform: translateY(-8px) rotate(var(--line-rotate, 0deg)) scale(1.035);
}

.line-hero__product--mega { width: min(315px, 43%); right: 3%; top: 6%; }
.line-hero__product--uno { width: min(278px, 37%); right: 30%; bottom: 18%; }
.line-hero__product--esp32 { width: min(98px, 14%); right: 10%; bottom: 22%; }
.line-hero__product--pi5 { width: min(365px, 52%); right: 6%; top: 18%; border: 8px solid #fff; box-shadow: 0 22px 46px rgba(16, 27, 45, 0.2); --line-rotate: -3deg; transform: rotate(-3deg); }
.line-hero__product--lcd { width: min(254px, 34%); right: 8%; top: 20%; }
.line-hero__product--sensor { width: min(246px, 34%); right: 5%; top: 12%; --line-rotate: -4deg; transform: rotate(-4deg); }
.line-hero__product--encoder { width: min(126px, 18%); right: 10%; bottom: 12%; }
.line-hero__product--fuente { width: min(280px, 39%); right: 7%; top: 12%; --line-rotate: 3deg; transform: rotate(3deg); }
.line-hero__product--lm { width: min(238px, 32%); right: 35%; bottom: 22%; --line-rotate: -6deg; transform: rotate(-6deg); }
.line-hero__product--nema { width: min(218px, 30%); right: 8%; top: 12%; --line-rotate: 4deg; transform: rotate(4deg); }
.line-hero__product--driver { width: min(252px, 34%); right: 38%; bottom: 22%; --line-rotate: -5deg; transform: rotate(-5deg); }
.line-hero__product--hanna { width: min(230px, 30%); right: 6%; bottom: 0; }
.line-hero__product--hanna-small { width: min(186px, 25%); right: 38%; bottom: 2%; }
.line-hero__product--hach { width: min(268px, 35%); right: 32%; bottom: 18%; --line-rotate: -8deg; transform: rotate(-8deg); }
.line-hero__product--filament { width: min(300px, 42%); height: 250px; right: 5%; top: 10%; object-fit: cover; object-position: 51% 52%; border: 8px solid #fff; box-shadow: 0 22px 46px rgba(16, 27, 45, 0.2); --line-rotate: -4deg; transform: rotate(-4deg); }
.line-hero__product--nema-small { width: min(132px, 18%); right: 38%; bottom: 21%; --line-rotate: 7deg; transform: rotate(7deg); }

.line-hero__visual--embedded .line-hero__band {
  inset: -2% -8% -2% 46%;
}

.line-hero__visual--sensors .line-hero__band {
  inset: -2% -8% -2% 41%;
}

.line-hero__visual--sensors .line-hero__product--sensor {
  right: 8%;
  top: 9%;
}

.line-hero__visual--sensors .line-hero__product--lcd {
  width: min(235px, 31%);
  right: 23%;
  top: 52%;
  bottom: auto;
}

.line-hero__visual--sensors .line-hero__product--encoder {
  width: min(104px, 15%);
  right: 8%;
  top: 58%;
  bottom: auto;
}

.line-hero__visual--other .line-hero__product--hanna-small {
  width: min(214px, 29%);
  right: 9%;
  bottom: 0;
}

.line-hero__visual--other .line-hero__product--lm {
  right: 37%;
  bottom: 24%;
}

.line-products {
  background: #ffffff;
}

.line-products__bar {
  align-items: end;
  margin-bottom: 1.4rem;
}

.line-products__bar p:last-child {
  margin: 0;
  color: var(--cyan-strong);
  font-weight: 800;
}

.line-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(185px, 220px));
  justify-content: start;
  gap: 1.25rem 1.45rem;
}

.line-product-grid .shop-product-card {
  min-height: 282px;
}

.line-product-grid .shop-product-card__media {
  min-height: 154px;
}

.line-product-grid .shop-product-card__media img {
  height: 136px;
}

.catalog-workbench .container {
  position: relative;
}

.catalog-toolbar {
  position: relative;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background:
    linear-gradient(120deg, #ffffff 0 74%, rgba(31, 54, 84, 0.04) 74.2% 100%);
  box-shadow: 0 12px 26px rgba(16, 27, 45, 0.045);
}

.catalog-toolbar::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 0;
  width: 88px;
  height: 100%;
  transform: skewX(-18deg);
  background: rgba(35, 197, 243, 0.05);
  pointer-events: none;
}

.searchbox span:first-child {
  color: var(--navy-strong);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.catalog-toolbar .searchbox__field {
  border-radius: 0;
  background: #ffffff;
}

.catalog-toolbar .filter-btn {
  border-radius: 0;
  background: #ffffff;
}

.catalog-toolbar .filter-btn.is-active,
.catalog-toolbar .filter-btn:hover {
  background: var(--navy-strong);
  border-color: var(--navy-strong);
  color: #ffffff;
}

.catalog-summary {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
}

.catalog-summary .text-link::after,
.product-card__details::after,
.related-card .text-link::after {
  content: "  >";
  color: var(--orange);
}

.product-grid--catalog {
  gap: 1.05rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  align-items: stretch;
}

.product-card {
  position: relative;
  isolation: isolate;
  min-height: 304px;
  border-radius: 0;
  border: 1px solid rgba(22, 37, 56, 0.09);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 27, 45, 0.035);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(132deg, transparent 0 53%, rgba(22, 37, 56, 0.035) 53.2% 82%, transparent 82.2%),
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.product-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(22, 37, 56, 0.16);
  box-shadow: 0 18px 36px rgba(16, 27, 45, 0.08);
}

.product-card:hover::after,
.product-card:focus-within::after {
  transform: scaleX(1);
}

.product-card__media {
  aspect-ratio: auto;
  min-height: 154px;
  max-height: 154px;
  padding: 0.82rem;
  background: #ffffff;
  border-bottom: 0;
}

.product-card__media::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.38rem;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(16, 27, 45, 0.15), transparent 68%);
  opacity: 0.45;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.product-card:hover .product-card__media::after,
.product-card:focus-within .product-card__media::after {
  transform: scaleX(0.86);
  opacity: 0.62;
}

.product-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 132px;
  object-fit: contain;
}

.product-card__body {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 0.5rem 0.95rem 0.82rem;
  gap: 0.42rem;
}

.product-card__meta,
.product-card__details,
.product-card__excerpt {
  display: none;
}

.product-card__title {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  min-height: 2.55rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__footer {
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.06rem;
}

.product-card__purchase {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.product-card__qty {
  display: inline-grid;
  grid-template-columns: 30px 42px 30px;
  align-items: stretch;
  min-height: 40px;
  border: 1px solid rgba(22, 37, 56, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.96));
}

.product-card__qty-btn,
.product-card__qty-input {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-weight: 800;
}

.product-card__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.product-card__qty-btn:hover,
.product-card__qty-btn:focus-visible {
  background: rgba(22, 37, 56, 0.08);
  color: var(--orange-strong);
}

.product-card__qty-input {
  width: 42px;
  padding: 0;
  border-left: 1px solid rgba(22, 37, 56, 0.09);
  border-right: 1px solid rgba(22, 37, 56, 0.09);
  text-align: center;
  font-size: 0.92rem;
  appearance: textfield;
  -moz-appearance: textfield;
}

.product-card__qty-input::-webkit-outer-spin-button,
.product-card__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-card__actions {
  gap: 0.45rem;
}

.product-card__details {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
}

.product-card__details:hover,
.product-card__details:focus-visible {
  color: var(--orange-strong);
}

.product-card__icon-action {
  position: relative;
  width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 37, 56, 0.14);
  border-radius: 0;
  background: var(--navy-strong);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.product-card__quote-action {
  min-height: 40px;
  padding: 0 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 37, 56, 0.14);
  background: var(--navy-strong);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.product-card__quote-action:hover,
.product-card__quote-action:focus-visible {
  transform: translateY(-2px);
  background: var(--orange-strong);
  border-color: var(--orange-strong);
  color: #ffffff;
}

.product-card__icon-action img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.product-card__icon-action span {
  position: absolute;
  right: 5px;
  top: 3px;
  color: var(--orange);
  line-height: 1;
}

.product-card__icon-action:hover,
.product-card__icon-action:focus-visible,
.product-card__icon-action.is-added {
  transform: translateY(-2px);
  background: var(--orange-strong);
  border-color: var(--orange-strong);
}

.product-card__icon-action:hover span,
.product-card__icon-action:focus-visible span,
.product-card__icon-action.is-added span {
  color: #ffffff;
}

.product-card__icon-action--quote span {
  position: static;
  color: #ffffff;
  font-size: 1.08rem;
}

.product-card__feedback {
  position: absolute;
  right: 0.9rem;
  bottom: 0.45rem;
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card--buy .product-card__feedback {
  right: 0.9rem;
  bottom: 0.35rem;
}

.product-card--buy .product-card__feedback {
  right: 0.9rem;
  bottom: 0.35rem;
}

body[data-page="producto"] .section--tight:first-child,
body[data-page="carrito"] .section--tight:first-child {
  padding-top: 2.3rem;
}

.product-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-items: stretch;
  border-radius: 0;
  border: 1px solid rgba(22, 37, 56, 0.09);
  background:
    linear-gradient(112deg, #ffffff 0 56%, rgba(244, 247, 250, 0.96) 56.2% 100%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(16, 27, 45, 0.06);
}

.product-header::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -18%;
  z-index: -1;
  width: 42%;
  height: 140%;
  transform: skewX(-15deg);
  background: rgba(204, 119, 32, 0.1);
}

.product-header__line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: rgba(35, 197, 243, 0.65);
  animation: traceSweep 5.8s ease-in-out infinite;
}

.product-header__line::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.product-header__line--one {
  --trace-angle: 42deg;
  width: 190px;
  left: 37%;
  top: 30%;
  transform: rotate(42deg);
}

.product-header__line--two {
  --trace-angle: -25deg;
  width: 150px;
  left: 47%;
  bottom: 18%;
  transform: rotate(-25deg);
  animation-delay: 1.2s;
}

.product-gallery {
  position: relative;
  min-height: 0;
  display: flex;
  gap: 0.9rem;
  height: 100%;
  align-self: stretch;
  border-radius: 0;
  border: 0;
  background: #ffffff;
}

.product-gallery__viewer {
  position: relative;
  display: flex;
  flex: 1;
  height: 100%;
  min-height: 100%;
  padding-bottom: 6.55rem;
  align-items: center;
  justify-content: center;
}

.product-gallery__viewer--count-1 {
  padding-bottom: 0;
  align-items: center;
  justify-content: center;
}

.product-gallery__stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: clamp(320px, 38vw, 420px);
  max-height: 430px;
  aspect-ratio: 1 / 0.86;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  overflow: hidden;
  background: #ffffff;
  cursor: zoom-in;
}

.product-gallery__viewer--count-1 .product-gallery__stage {
  min-height: clamp(360px, 42vw, 520px);
  max-height: 100%;
  aspect-ratio: auto;
}

.product-gallery__stage::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 1.3rem;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(16, 27, 45, 0.18), transparent 68%);
  opacity: 0.55;
}

.product-gallery__stage img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.24s ease;
  transform-origin: 50% 50%;
}

.product-gallery__stage.is-zooming img {
  transform: scale(1.7);
}

.product-gallery__thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  width: 100%;
  gap: 0.55rem;
  align-items: center;
  align-content: end;
  justify-content: center;
  align-self: end;
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 0.15rem;
}

.product-gallery__thumb {
  position: relative;
  width: 88px;
  min-width: 88px;
  height: 88px;
  min-height: 88px;
  flex: 0 0 88px;
  padding: 0.3rem;
  appearance: none;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: #ffffff;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(204, 119, 32, 0.5);
  box-shadow: 0 10px 22px rgba(16, 27, 45, 0.1);
}

.product-gallery__viewer--count-2 .product-gallery__thumbs {
  grid-template-columns: repeat(2, 88px);
  justify-content: center;
}

.product-gallery__viewer--count-3 .product-gallery__thumbs {
  grid-template-columns: repeat(3, 88px);
  justify-content: center;
}

.product-gallery__viewer--count-4 .product-gallery__thumbs {
  grid-template-columns: repeat(4, 88px);
  justify-content: center;
}

.product-gallery__viewer--count-5 .product-gallery__thumbs {
  grid-template-columns: repeat(5, 88px);
  justify-content: center;
}

.product-header__details {
  align-content: center;
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  font-family: var(--font-display);
  font-weight: 700;
}

.product-subtitle {
  max-width: 52ch;
}

.purchase-box {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(16, 27, 45, 0.06);
}

.purchase-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
}

.purchase-box .btn--primary,
.summary-card .btn--primary,
.empty-state .btn--primary,
.order-result .btn--primary {
  background: linear-gradient(135deg, var(--navy-strong), var(--navy));
  box-shadow: 0 14px 30px rgba(15, 27, 45, 0.18);
}

.purchase-box .btn--primary:hover,
.summary-card .btn--primary:hover,
.empty-state .btn--primary:hover,
.order-result .btn--primary:hover {
  background: linear-gradient(135deg, var(--orange-strong), var(--orange));
}

.detail-grid {
  gap: 1.05rem;
}

.detail-panel,
.spec-table,
.related-card,
.cart-list,
.summary-card,
.order-result,
.empty-state {
  border-radius: 0;
  border: 1px solid rgba(22, 37, 56, 0.09);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(16, 27, 45, 0.04);
}

.detail-panel,
.spec-table {
  position: relative;
  overflow: hidden;
}

.detail-panel::after,
.spec-table::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -38%;
  width: 42%;
  height: 76%;
  transform: skewX(-15deg);
  background: rgba(35, 197, 243, 0.045);
}

.spec-row {
  position: relative;
  z-index: 1;
}

.section-heading--product {
  margin-bottom: 1rem;
}

.related-card {
  grid-template-columns: 135px minmax(0, 1fr);
  align-items: center;
  padding: 0.8rem;
  overflow: hidden;
}

.related-card__media {
  position: relative;
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(132deg, #ffffff 0 58%, rgba(22, 37, 56, 0.045) 58.2% 100%);
}

.related-card__media img {
  width: 100%;
  height: 106px;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.related-card:hover .related-card__media img,
.related-card:focus-within .related-card__media img {
  transform: translateY(-4px) scale(1.04);
}

.related-card__body {
  display: grid;
  gap: 0.45rem;
}

.cart-layout {
  align-items: start;
  gap: 1.2rem;
}

.cart-list,
.summary-card {
  padding: 1.15rem;
}

.cart-list__head {
  position: relative;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
}

.cart-list__head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.cart-list__head p:last-child {
  max-width: 58ch;
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.cart-item {
  position: relative;
  grid-template-columns: 128px 1fr auto;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(132deg, #ffffff 0 76%, rgba(244, 247, 250, 0.92) 76.2% 100%),
    #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cart-item:hover,
.cart-item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(16, 27, 45, 0.07);
}

.cart-item:last-child {
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  padding-bottom: 1rem;
}

.cart-item__media {
  border-radius: 0;
  background: #ffffff;
}

.cart-item__meta a:hover h3,
.cart-item__meta a:focus-visible h3 {
  color: var(--orange-strong);
}

.cart-item__actions strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.summary-card {
  position: sticky;
  top: 1rem;
  overflow: hidden;
  background:
    linear-gradient(130deg, #ffffff 0 70%, rgba(204, 119, 32, 0.07) 70.2% 100%),
    #ffffff;
}

.summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--cyan));
}

.summary-card .detail-panel {
  box-shadow: none;
  background: rgba(248, 250, 252, 0.82);
}

.field input,
.field select,
.field textarea,
.quantity-box {
  border-radius: 0;
  background: #ffffff;
}

.notice {
  border-radius: 0;
  border-color: rgba(22, 37, 56, 0.1);
  background: rgba(244, 247, 250, 0.9);
}

.order-result {
  margin-top: 1rem;
  border: 0;
  background:
    linear-gradient(132deg, rgba(15, 27, 45, 0.98) 0 72%, rgba(204, 119, 32, 0.94) 72.2% 100%),
    var(--navy-strong);
}

@keyframes traceSweep {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-8px) rotate(var(--trace-angle, 0deg));
  }

  50% {
    opacity: 1;
    transform: translateX(10px) rotate(var(--trace-angle, 0deg));
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 1080px) {
  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .header-actions {
    display: none;
  }

  .hero-showcase,
  .line-grid,
  .line-banner-grid,
  .product-grid--catalog,
  .product-grid,
  .footer-grid,
  .contact-band__grid,
  .related-grid,
  .detail-grid,
  .cart-layout,
  .hero__grid,
  .page-hero__grid,
  .product-header,
  .legal-hero,
  .legal-content,
  .claims-layout,
  .claims-representative,
  .account-dashboard,
  .account-auth-grid,
  .account-shell__hero {
    grid-template-columns: 1fr;
  }

  .shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .commerce-flow__panel,
  .service-studio__heading,
  .service-studio__grid,
  .enterprise-contact__panel {
    grid-template-columns: 1fr;
  }

  .commerce-flow__intro p:not(.eyebrow),
  .service-studio__heading > p,
  .enterprise-contact__copy p:not(.eyebrow) {
    max-width: 64ch;
  }

  .studio-card--featured {
    grid-row: auto;
    min-height: 420px;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .hero-sidebar,
  .hero-stage,
  .hero-sidepanel {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "feature";
  }

  .hero-sidebar {
    order: 2;
  }

  .hero-sidepanel {
    order: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .line-banner--wide {
    grid-column: auto;
  }

  .hero-stage {
    order: 1;
  }

  .home-brand-ribbon__grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-toolbar,
  .catalog-summary,
  .section-heading--split,
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__actions {
    justify-content: flex-start;
  }

  .topbar__group {
    gap: 0.8rem;
  }

  .storefront-home__grid,
  .catalog-access__layout,
  .catalog-access__heading {
    grid-template-columns: 1fr;
  }

  .catalog-access__heading {
    row-gap: 0.8rem;
  }

  .catalog-access__heading h2 {
    max-width: 14ch;
  }

  .catalog-access__intro {
    max-width: 54ch;
  }

  .storefront-home__menu-panel {
    display: none;
  }

  .storefront-home__browse {
    justify-content: center;
  }

  .storefront-home__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid rgba(22, 37, 56, 0.08);
  }

  .storefront-home__browse {
    grid-column: 1 / -1;
  }

  .storefront-home__hero,
  .storefront-home__slides {
    min-height: 560px;
  }

  .storefront-slide {
    grid-template-columns: 1fr;
  }

  .storefront-slide__copy {
    padding-bottom: 0;
  }

  .storefront-slide__art {
    min-height: 310px;
  }

  .catalog-showcase--primary {
    min-height: 340px;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .nav-row {
    display: flex;
  }

  .header-main {
    grid-template-columns: auto auto;
    min-height: auto;
    padding: 0.9rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-account__copy {
    display: none;
  }

  .header-account {
    min-width: 52px;
    padding: 0;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a.is-active::after,
  .site-nav a:hover::after {
    display: none;
  }

  .nav-cart {
    justify-content: center;
  }

  .brand img {
    width: min(228px, 58vw);
  }

  .brand::after {
    display: none;
  }

  .storefront-home {
    padding-top: 0.6rem;
  }

  .storefront-home__menu {
    grid-template-columns: 1fr;
  }

  .storefront-home__hero,
  .storefront-home__slides {
    min-height: auto;
  }

  .storefront-slide {
    position: relative;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .storefront-slide.is-active {
    display: grid;
  }

  .storefront-slide__copy {
    padding: 1.5rem 1.2rem 0;
  }

  .storefront-slide__copy h1 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 8vw, 3.4rem);
  }

  .storefront-slide__art {
    min-height: 340px;
  }

  .storefront-slide__product--mega {
    width: min(320px, 64%);
    right: 3%;
  }

  .storefront-slide__product--uno {
    width: min(265px, 52%);
    right: 20%;
    bottom: 3%;
  }

  .storefront-slide__product--esp32 {
    width: min(112px, 20%);
    right: 8%;
    bottom: 11%;
  }

  .catalog-access__stack {
    grid-template-columns: 1fr;
  }

  .catalog-showcase {
    min-height: 270px;
  }

  .catalog-showcase__image--pi5 {
    width: min(164px, 36%);
    right: 0.3rem;
  }

  .catalog-showcase__image--pi5-photo {
    width: min(182px, 42%);
    right: 0.5rem;
  }

  .catalog-showcase__image--pico {
    width: 96px;
    right: 7.8rem;
  }

  .catalog-showcase__image--uno {
    width: min(245px, 46%);
    right: 0.4rem;
    top: 18%;
  }

  .catalog-showcase__image--devkit {
    width: 108px;
    right: 16%;
    bottom: 8%;
  }

  .shop-window__headline {
    text-align: left;
    margin-left: 0;
  }

  .shop-window__headline h2,
  .shop-window__headline p {
    margin-left: 0;
  }

  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commerce-flow__steps,
  .enterprise-contact__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-facts--claim {
    grid-template-columns: 1fr;
  }

  .studio-card__copy,
  .studio-card--featured .studio-card__copy {
    max-width: 62%;
  }

  .studio-card__product--board {
    width: 232px;
    right: 1rem;
  }

  .studio-card__product--driver {
    width: 160px;
    right: 6rem;
  }

  .hero,
  .page-hero {
    padding-top: 2.8rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual__product--uno {
    width: 292px;
    right: 14px;
    top: 78px;
  }

  .hero-visual__product--esp32 {
    width: 150px;
    right: 188px;
    bottom: 28px;
  }

  .hero-visual__product--pico {
    width: 146px;
    right: 28px;
    bottom: 18px;
  }

  .hero-visual__product--nano {
    width: 92px;
    right: 188px;
    top: 236px;
  }

  .line-banner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .line-hero__grid {
    grid-template-columns: 1fr;
  }

  .line-hero__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 1px solid rgba(22, 37, 56, 0.08);
  }

  .line-hero__nav a {
    min-height: 64px;
  }

  .line-hero__stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .line-hero__copy {
    padding: 1.6rem 1.25rem 1.1rem;
  }

  .line-hero__copy h1 {
    max-width: 10ch;
    font-size: clamp(2.1rem, 11vw, 3.25rem);
  }

  .line-hero__copy p:not(.line-hero__eyebrow) {
    max-width: 36ch;
  }

  .line-hero__visual {
    min-height: 330px;
  }

  .line-hero__band,
  .line-hero__visual--embedded .line-hero__band,
  .line-hero__visual--sensors .line-hero__band {
    inset: -2% -10% -2% 36%;
  }

  .line-hero__product--mega { width: min(260px, 62%); right: 2%; top: 6%; }
  .line-hero__product--uno { width: min(224px, 54%); right: 28%; bottom: 16%; }
  .line-hero__product--esp32 { width: min(86px, 20%); right: 8%; bottom: 19%; }
  .line-hero__product--pi5 { width: min(268px, 62%); right: 6%; top: 16%; }
  .line-hero__product--fuente { width: min(226px, 54%); right: 5%; top: 12%; }
  .line-hero__product--lm { width: min(188px, 45%); right: 38%; bottom: 18%; }
  .line-hero__product--nema { width: min(178px, 43%); right: 6%; top: 10%; }
  .line-hero__product--driver { width: min(204px, 49%); right: 37%; bottom: 18%; }
  .line-hero__product--hanna { width: min(172px, 42%); right: 6%; bottom: 0; }
  .line-hero__product--hach { width: min(214px, 50%); right: 37%; bottom: 16%; }
  .line-hero__product--filament { width: min(240px, 58%); height: 198px; right: 4%; top: 11%; }
  .line-hero__product--nema-small { width: min(106px, 25%); right: 41%; bottom: 18%; }

  .line-hero__visual--sensors .line-hero__product--sensor {
    width: min(174px, 42%);
    right: 7%;
    top: 10%;
  }

  .line-hero__visual--sensors .line-hero__product--lcd {
    width: min(190px, 46%);
    right: 29%;
    top: 54%;
  }

  .line-hero__visual--sensors .line-hero__product--encoder {
    width: min(82px, 20%);
    right: 8%;
    top: 59%;
  }

  .line-hero__visual--other .line-hero__product--hanna-small {
    width: min(170px, 41%);
    right: 7%;
  }

  .line-banner__copy {
    max-width: none;
  }

  .line-banner__visual {
    min-height: 240px;
  }

  .hero-card__stats article {
    min-height: auto;
  }

  .product-grid,
  .product-grid--catalog,
  .trust-grid,
  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .floating-cart {
    top: 54px;
    right: 12px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1rem, 100%);
  }

  .topbar {
    font-size: 0.85rem;
  }

  .topbar__item:nth-child(2) {
    display: none;
  }

  .topbar__actions {
    width: 100%;
    justify-content: space-between;
  }

  .topbar__link span {
    font-weight: 800;
  }

  .line-hero__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .line-hero__nav a {
    min-height: 58px;
  }

  .storefront-home__copy {
    gap: 0.7rem;
  }

  .storefront-home__copy h1 {
    max-width: 9ch;
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  .storefront-home__copy p:last-of-type {
    font-size: 0.95rem;
  }

  .storefront-home__action {
    min-height: 48px;
    padding: 0 1.05rem;
  }

  .storefront-home__art {
    min-height: 286px;
  }

  .storefront-home__trace--one {
    left: 0;
    top: 24%;
    width: 92px;
  }

  .storefront-home__trace--two {
    left: 19%;
    top: 11%;
    width: 74px;
  }

  .storefront-home__trace--three {
    left: 18%;
    bottom: 16%;
    width: 102px;
  }

  .storefront-home__product--mega {
    width: 228px;
    right: 2%;
    top: 18px;
  }

  .storefront-home__product--uno {
    width: 194px;
    right: 22%;
    bottom: 8px;
  }

  .storefront-home__product--esp32 {
    width: 84px;
    right: 8%;
    bottom: 18px;
  }

  .storefront-home__dots {
    bottom: 0.7rem;
  }

  .catalog-access__card {
    min-height: 250px;
  }

  .catalog-access__image--hanna {
    width: 88px;
    right: 1rem;
  }

  .catalog-access__image--hach {
    width: 48px;
    right: 6.4rem;
  }

  .catalog-access__image--nema {
    width: 106px;
    right: 0.6rem;
  }

  .catalog-access__image--lm2596 {
    width: 92px;
    right: 6.5rem;
    top: 3.8rem;
  }

  .catalog-access__image--fuente {
    width: 92px;
    right: 7rem;
    bottom: 0.7rem;
  }

  .catalog-access__image--pi {
    width: 134px;
    right: 0.5rem;
  }

  .catalog-access__image--devkit {
    width: 92px;
    right: 7.6rem;
    top: 4rem;
  }

  .catalog-access__image--nano {
    width: 92px;
    right: 4.8rem;
  }

  .shop-window__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-category-grid {
    grid-template-columns: 1fr;
  }

  .shop-category-card {
    min-height: 220px;
  }

  .shop-category-card__copy {
    max-width: 64%;
    padding: 1.1rem;
  }

  .shop-category-card__image--uno {
    width: 205px;
    right: -1.2rem;
  }

  .shop-category-card__image--esp32 {
    right: 4.3rem;
  }

  .shop-category-card__image--hanna {
    width: 124px;
    right: -0.2rem;
  }

  .shop-category-card__image--hach {
    right: 6.4rem;
  }

  .shop-product-grid {
    gap: 0.85rem;
  }

  .shop-product-card {
    min-height: 286px;
  }

  .shop-product-card__media {
    min-height: 148px;
  }

  .shop-product-card__media img {
    height: 132px;
  }

  .commerce-flow__panel,
  .enterprise-contact__panel {
    padding: 1rem;
  }

  .commerce-flow__steps,
  .enterprise-contact__cards {
    grid-template-columns: 1fr;
  }

  .commerce-step {
    min-height: 160px;
  }

  .tech-shape,
  .enterprise-contact__pulse {
    display: none;
  }

  .service-studio__heading {
    gap: 0.8rem;
  }

  .studio-card {
    min-height: 230px;
  }

  .studio-card--featured {
    min-height: 390px;
  }

  .studio-card__copy,
  .studio-card--featured .studio-card__copy {
    max-width: 72%;
    padding: 1rem;
  }

  .studio-card__product--board {
    width: 170px;
    right: -0.4rem;
    top: 5.5rem;
  }

  .studio-card__product--driver {
    width: 128px;
    right: 2.6rem;
    bottom: 1rem;
  }

  .studio-card__side-product {
    width: 122px;
    right: 0.4rem;
  }

  .studio-card__side-product--lab {
    width: 92px;
    right: 0.6rem;
  }

  .hero__content h1 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }

  .page-hero h1,
  .product-header__details h1,
  .section-heading h2,
  .contact-band h2,
  .empty-state h1 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .hero-card,
  .line-card,
  .line-banner,
  .service-card,
  .trust-card,
  .step-card,
  .contact-band,
  .product-header,
  .detail-panel,
  .summary-card,
  .cart-list,
  .order-result,
  .spec-table,
  .empty-state {
    padding: 1rem;
    border-radius: var(--radius-md);
  }

  .hero-showcase {
    gap: 0.85rem;
  }

  .hero-stage,
  .hero-sidebar__panel,
  .hero-sidebar__note,
  .hero-sidepanel__brands,
  .hero-promo-card,
  .home-brand-ribbon__grid {
    padding: 0.9rem;
  }

  .hero-promo-card {
    grid-template-columns: minmax(0, 1fr) 126px;
    min-height: 188px;
  }

  .hero-stage__copy h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero-stage__logos {
    gap: 0.45rem;
  }

  .hero-stage__logos span {
    min-height: 32px;
    font-size: 0.78rem;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-visual__badge {
    top: 0.8rem;
    left: 0.8rem;
  }

  .hero-visual__product--uno {
    width: 226px;
    right: 8px;
    top: 92px;
  }

  .hero-visual__product--esp32 {
    width: 112px;
    right: 138px;
    bottom: 18px;
  }

  .hero-visual__product--pico {
    width: 118px;
    right: 12px;
    bottom: 12px;
  }

  .hero-visual__product--nano {
    width: 72px;
    right: 138px;
    top: 222px;
  }

  .hero-visual__product--hanna {
    width: 88px;
    left: 14px;
    bottom: 18px;
  }

  .hero-visual__product--hach {
    width: 64px;
    left: 92px;
    bottom: 42px;
  }

  .hero-feature-strip,
  .hero-sidepanel,
  .hero-brand-grid {
    grid-template-columns: 1fr;
  }

  .line-banner {
    padding: 1rem;
  }

  .line-banner__copy h3 {
    font-size: clamp(1.6rem, 8vw, 2.25rem);
  }

  .line-banner__visual {
    min-height: 210px;
  }

  .line-banner__img--uno {
    width: 218px;
    right: 16px;
    top: 2px;
  }

  .line-banner__img--esp32 {
    width: 116px;
    right: 150px;
    bottom: 20px;
  }

  .line-banner__img--pico {
    width: 110px;
    right: 30px;
    bottom: 8px;
  }

  .line-banner__img--sensor {
    width: 60px;
    right: 0;
    bottom: 30px;
  }

  .line-banner__img--hanna {
    width: 120px;
    right: 10px;
    bottom: 0;
  }

  .line-banner__img--hach {
    width: 64px;
    right: 128px;
    bottom: 18px;
  }

  .line-banner__img--nema {
    width: 124px;
    right: 6px;
  }

  .line-banner__img--driver {
    width: 128px;
    right: 112px;
    bottom: 4px;
  }

  .line-banner__img--lm2596 {
    width: 104px;
    right: 46px;
    top: 10px;
  }

  .line-metrics {
    flex-direction: column;
    align-items: stretch;
  }

  .home-brand-ribbon__logos {
    justify-content: flex-start;
  }

  .product-gallery {
    min-height: 0;
  }

  .product-gallery__stage {
    min-height: 280px;
    max-height: none;
    aspect-ratio: 1 / 0.94;
  }

  .product-gallery__viewer {
    padding-bottom: 5.35rem;
  }

  .product-gallery__thumb {
    width: 72px;
    min-width: 72px;
    height: 72px;
    min-height: 72px;
    flex-basis: 72px;
  }

  .product-gallery__viewer--count-2 .product-gallery__thumbs {
    grid-template-columns: repeat(2, 72px);
    justify-content: center;
  }

  .product-gallery__viewer--count-3 .product-gallery__thumbs {
    grid-template-columns: repeat(3, 72px);
    justify-content: center;
  }

  .product-gallery__viewer--count-4 .product-gallery__thumbs {
    grid-template-columns: repeat(4, 72px);
    justify-content: center;
  }

  .product-gallery__viewer--count-5 .product-gallery__thumbs {
    grid-template-columns: repeat(auto-fit, minmax(72px, 72px));
    justify-content: center;
  }

  .spec-row,
  .form-grid,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item__actions {
    justify-items: start;
  }

  .quantity-box {
    width: 100%;
  }

  .quantity-box input,
  .quantity-box button {
    flex: 1;
    width: auto;
  }

.floating-whatsapp {
    right: 0.75rem;
    left: auto;
    min-width: 58px;
    width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
  }
}

body .market-strip {
  display: none !important;
}

body .site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 3.4rem 0 1.35rem;
  background: linear-gradient(180deg, #4a4d50 0%, #383a3e 100%);
  color: rgba(255, 255, 255, 0.84);
}

body .site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan), transparent 82%);
  opacity: 0.94;
}

body .site-footer__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.85rem;
}

body .site-footer__brandline {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  text-align: center;
}

body .site-footer__logo img {
  width: min(290px, 62vw);
  height: auto;
}

body .site-footer__brandline p {
  max-width: 56ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

body .site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.82fr) minmax(0, 1.15fr);
  gap: 1.6rem;
  align-items: start;
}

body .site-footer__column h3 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

body .site-footer__column::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.14);
}

body .site-footer__list {
  display: grid;
  gap: 0.75rem;
}

body .site-footer__line {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

body .site-footer__line img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(58%) saturate(931%) hue-rotate(161deg) brightness(101%) contrast(92%);
}

body .site-footer__list--plain span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

body .site-footer__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

body .site-footer__fact {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-height: 88px;
}

body .site-footer__fact img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(69%) sepia(90%) saturate(1428%) hue-rotate(13deg) brightness(101%) contrast(89%);
}

body .site-footer__fact strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
}

body .site-footer__fact span {
  color: rgba(255, 255, 255, 0.74);
}

body .site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

body .site-footer__meta,
body .site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

body .site-footer__meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

body .site-footer__nav a {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

body .site-footer__nav a:hover {
  color: #ffffff;
}

body .legal-shell,
body .account-shell {
  gap: 1.45rem;
}

body .legal-hero,
body .account-shell__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  padding: clamp(1.35rem, 3vw, 2.2rem);
  background: linear-gradient(112deg, #ffffff 0 64%, rgba(248, 250, 252, 0.98) 64% 100%);
  box-shadow: 0 18px 34px rgba(16, 27, 45, 0.06);
}

body .legal-hero::before,
body .account-shell__hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(36%, 360px);
  background: linear-gradient(160deg, rgba(15, 27, 45, 0.96), rgba(31, 54, 84, 0.94));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

body .legal-hero::after,
body .account-shell__hero::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -18%;
  width: 44%;
  height: 92%;
  background: linear-gradient(145deg, rgba(240, 139, 47, 0.12), rgba(35, 197, 243, 0.06));
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  z-index: 0;
}

body .legal-hero__copy,
body .legal-hero__meta,
body .account-shell__copy,
body .account-shell__status {
  position: relative;
  z-index: 1;
}

body .legal-hero__meta,
body .account-shell__status {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

body .legal-hero__notice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

body .legal-hero__notice img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(58%) saturate(931%) hue-rotate(161deg) brightness(101%) contrast(92%);
}

body .legal-hero__notice strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
}

body .legal-hero__notice span {
  color: rgba(255, 255, 255, 0.76);
}

body .account-shell__chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body .account-shell__chips img {
  width: 14px;
  height: 14px;
  filter: brightness(0) saturate(100%) invert(42%) sepia(98%) saturate(1191%) hue-rotate(184deg) brightness(101%) contrast(91%);
}

body .legal-card,
body .claims-card,
body .account-card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  box-shadow: 0 14px 26px rgba(16, 27, 45, 0.045);
}

body .legal-card::before,
body .claims-card::before,
body .account-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

body .claims-note {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.96), rgba(31, 54, 84, 0.94));
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1080px) {
  body .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .site-footer__facts {
    grid-column: 1 / -1;
  }

  body .legal-hero,
  body .account-shell__hero {
    grid-template-columns: 1fr;
  }

  body .legal-hero::before,
  body .account-shell__hero::before {
    inset: auto 0 0 0;
    width: auto;
    height: 42%;
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 760px) {
  body .site-footer__grid,
  body .site-footer__facts {
    grid-template-columns: 1fr;
  }

  body .site-footer__brandline {
    justify-items: start;
    text-align: left;
  }

  body .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

body .header-account {
  gap: 0.55rem;
  padding-inline: 0.9rem 0.82rem;
}

body .header-account__caret {
  width: 9px;
  height: 9px;
}

body .header-account__avatar {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--navy-strong);
}

body .header-account__avatar img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  opacity: 0.84;
}

body .header-account:hover .header-account__avatar img,
body .header-account:focus-visible .header-account__avatar img {
  opacity: 1;
}

body[data-page="cuenta"] .btn--primary,
body[data-page="reclamaciones"] .btn--primary,
body[data-page="legal"] .btn--primary {
  border-color: rgba(15, 27, 45, 0.98);
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.98), rgba(22, 37, 56, 0.96));
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(15, 27, 45, 0.12);
}

body[data-page="cuenta"] .btn--primary:hover,
body[data-page="cuenta"] .btn--primary:focus-visible,
body[data-page="reclamaciones"] .btn--primary:hover,
body[data-page="reclamaciones"] .btn--primary:focus-visible,
body[data-page="legal"] .btn--primary:hover,
body[data-page="legal"] .btn--primary:focus-visible {
  border-color: rgba(214, 117, 13, 0.96);
  background: linear-gradient(180deg, rgba(214, 117, 13, 0.98), rgba(240, 139, 47, 0.96));
  color: #ffffff;
}

body .legal-hero::after,
body .account-shell__hero::after {
  opacity: 0.56;
}

body .legal-hero__notice {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 31, 49, 0.84);
  box-shadow: 0 12px 24px rgba(8, 15, 28, 0.16);
}

body .legal-hero__notice strong {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

body .legal-hero__notice span {
  color: rgba(255, 255, 255, 0.94);
}

body .field,
body .claims-card,
body .legal-card,
body .account-card,
body .claims-representative > .field {
  min-width: 0;
}

body .claims-representative {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

body .field label {
  display: block;
  color: rgba(22, 37, 56, 0.82);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

body .field input,
body .field select,
body .field textarea {
  border-color: rgba(22, 37, 56, 0.14);
  color: var(--navy-strong);
}

body .field input::placeholder,
body .field textarea::placeholder,
body .header-search input::placeholder,
body .searchbox input::placeholder {
  color: rgba(92, 107, 121, 0.88);
}

body .field-checkbox {
  align-items: start;
}

body .field-checkbox span,
body .status-text,
body .legal-facts dt,
body .legal-card p,
body .account-card p,
body .account-shell__copy p:last-of-type,
body .legal-hero__copy p:last-child {
  color: rgba(22, 37, 56, 0.76);
}

body .claims-card h2,
body .legal-card h2,
body .account-card h2,
body .legal-facts dd {
  color: var(--navy-strong);
}

@media (max-width: 860px) {
  body .claims-representative {
    grid-template-columns: 1fr;
  }
}

/* Admin panel */
body[data-page="admin"] .nav-row {
  justify-content: flex-end;
}

.admin-shell {
  display: grid;
  gap: 1.5rem;
}

.admin-shell__hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  padding: 1.1rem 1.2rem 1.2rem;
}

.admin-shell__copy {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.admin-shell__hero .account-shell__copy h1 {
  max-width: 9ch;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 0.96;
}

.admin-shell__hero .account-shell__copy p:last-of-type {
  max-width: 40ch;
  font-size: 0.98rem;
}

.admin-shell__hero .account-shell__chips {
  gap: 0.55rem;
}

.admin-shell__hero .account-card__actions {
  justify-content: flex-start;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-stat {
  display: grid;
  gap: 0.45rem;
  min-height: 150px;
}

.admin-stat strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--navy-strong);
}

.admin-stat span {
  color: var(--muted);
  font-weight: 600;
}

.admin-board {
  display: grid;
  gap: 1rem;
}

.admin-board--secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.admin-panel {
  display: grid;
  gap: 1rem;
}

.admin-panel--products {
  padding-bottom: 1.5rem;
}

.admin-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-status {
  margin: -0.35rem 0 0;
  color: var(--cyan-strong);
  font-weight: 700;
}

.admin-products {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-products__list,
.admin-products__editor {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.admin-product-list {
  display: grid;
  gap: 0.55rem;
  max-height: 860px;
  overflow: auto;
  padding-right: 0.2rem;
}

.admin-product-item {
  display: grid;
  gap: 0.28rem;
  width: 100%;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-product-item strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.18;
  color: var(--navy-strong);
}

.admin-product-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-product-item:hover,
.admin-product-item:focus-visible {
  border-color: rgba(35, 197, 243, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 27, 45, 0.08);
}

.admin-product-item.is-active {
  border-color: rgba(214, 117, 13, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 250, 245, 0.98));
  box-shadow: 0 14px 28px rgba(214, 117, 13, 0.08);
}

.admin-product-preview {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.admin-product-preview__media {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 0.85rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
}

.admin-product-preview__media img,
.admin-product-preview__media .product-gallery__placeholder {
  max-width: 100%;
  max-height: 150px;
}

.admin-product-preview__copy {
  display: grid;
  align-content: center;
  gap: 0.7rem;
}

.admin-product-preview__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 0.95;
}

.admin-product-preview__copy p {
  margin: 0;
  color: var(--muted);
}

.admin-form {
  padding: 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.admin-form--site-settings {
  gap: 1rem 1.08rem;
}

.admin-form textarea {
  min-height: 118px;
}

.field-help {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(92, 107, 121, 0.94);
}

.field-actions--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.field-actions--wide {
  grid-column: 1 / -1;
  padding-top: 0.15rem;
}

.notice--compact {
  display: grid;
  gap: 0.2rem;
  max-width: 26rem;
}

.notice--compact strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 1;
  color: var(--navy-strong);
}

.notice--compact span {
  font-size: 0.79rem;
  line-height: 1.45;
  color: var(--muted);
}

.field--locked label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.field--locked label span {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.42rem;
  border: 1px solid rgba(22, 37, 56, 0.14);
  background: rgba(22, 37, 56, 0.04);
  color: rgba(22, 37, 56, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field--locked input[disabled] {
  border-style: dashed;
  border-color: rgba(22, 37, 56, 0.18);
  background: linear-gradient(180deg, rgba(244, 247, 250, 0.92), rgba(238, 243, 247, 0.9));
  color: rgba(22, 37, 56, 0.58);
  cursor: not-allowed;
  opacity: 1;
}

.admin-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.2rem;
}

.admin-gallery-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 254, 0.96)),
    linear-gradient(135deg, rgba(44, 193, 255, 0.05), rgba(255, 145, 77, 0.05));
}

.admin-gallery-summary__content {
  min-width: 0;
  flex: 1 1 260px;
}

.admin-gallery-summary__meta {
  display: grid;
  gap: 0.22rem;
}

.admin-gallery-summary__meta strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.admin-gallery-summary__meta span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.admin-modal__footer {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: 0.35rem;
  padding: 0.9rem 0 0.15rem;
  border-top: 1px solid rgba(22, 37, 56, 0.1);
  background: #ffffff;
  box-shadow: 0 -12px 24px rgba(12, 22, 38, 0.05);
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid rgba(22, 37, 56, 0.08);
}

.admin-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #ffffff;
}

.admin-table th,
.admin-table td {
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: rgba(15, 27, 45, 0.03);
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--text);
  font-size: 0.92rem;
}

.admin-portal__side {
  position: sticky;
  top: 118px;
}

.admin-profile-card {
  min-height: 128px;
  place-items: start;
  align-content: center;
}

.admin-profile-card__meta {
  display: grid;
  gap: 0.12rem;
}

.admin-profile-card__meta strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-strong);
}

.admin-profile-card__meta small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 800;
}

.admin-side-nav .account-side-nav__item {
  min-height: 58px;
}

.admin-side-nav .account-side-nav__item span {
  font-weight: 700;
}

.admin-module-head {
  min-height: 0;
}

.admin-module-head .account-panel__copy {
  gap: 0.55rem;
}

.admin-panel__art {
  min-height: 132px;
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-quick-card {
  min-height: 132px;
}

.admin-quick-card small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-grid-two--wide {
  grid-template-columns: minmax(0, 1.75fr) minmax(18rem, 0.95fr);
  align-items: start;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.75rem;
}

.admin-metric {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 0.58rem;
  min-height: 74px;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 250, 255, 0.96));
  box-shadow: 0 14px 32px rgba(16, 27, 45, 0.045);
  overflow: hidden;
}

.admin-metric::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(44, 193, 255, 0.95), rgba(255, 145, 77, 0.95));
}

.admin-metric__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(44, 193, 255, 0.22);
  background: rgba(244, 250, 255, 0.9);
}

.admin-metric__icon img {
  width: 16px;
  height: 16px;
}

.admin-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.04;
  color: var(--navy-strong);
}

.admin-metric small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.admin-grid-two--compact {
  gap: 0.9rem;
}

.admin-orders-shell {
  display: grid;
  gap: 0.9rem;
}

.admin-orders-shell--table {
  grid-template-columns: minmax(0, 1fr);
}

.admin-orders-toolbar {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
}

.admin-orders-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-orders-toolbar__row--main {
  align-items: end;
}

.admin-orders-toolbar__row--filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.admin-orders-bulk {
  display: grid;
  grid-template-columns: minmax(188px, 220px) auto;
  gap: 0.55rem;
  align-items: end;
}

.admin-orders-toolbar__search {
  flex: 1 1 340px;
  min-width: 260px;
}

.admin-orders-toolbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-left: auto;
}

.admin-orders-toolbar__counter {
  display: grid;
  justify-items: end;
  gap: 0.05rem;
}

.admin-orders-toolbar__counter strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.admin-orders-toolbar__counter span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-orders-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(21, 35, 53, 0.1);
  background: #fff;
  color: var(--navy-strong);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-orders-tab span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-orders-tab strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.3rem;
  border: 1px solid rgba(44, 193, 255, 0.18);
  background: rgba(244, 250, 255, 0.9);
  font-size: 0.7rem;
  line-height: 1;
}

.admin-orders-tab:hover {
  border-color: rgba(255, 145, 77, 0.42);
  box-shadow: 0 10px 22px rgba(17, 26, 44, 0.05);
  transform: translateY(-1px);
}

.admin-orders-tab.is-active {
  border-color: rgba(255, 145, 77, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 250, 254, 0.98)),
    linear-gradient(90deg, rgba(44, 193, 255, 0.1), rgba(255, 145, 77, 0.12));
  box-shadow: 0 14px 26px rgba(17, 26, 44, 0.07);
}

.admin-orders-table-card {
  padding: 0;
  overflow: hidden;
}

.admin-orders-table-wrap {
  overflow: auto;
}

.admin-orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1160px;
}

.admin-orders-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(243, 247, 251, 0.98));
  color: #5a6d84;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-orders-table tbody td {
  padding: 0.9rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.07);
  vertical-align: middle;
}

.admin-orders-table__row {
  transition: background 160ms ease, box-shadow 160ms ease;
}

.admin-orders-table__row:hover {
  background: rgba(248, 251, 255, 0.82);
}

.admin-orders-table__row.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 243, 0.96));
  box-shadow: inset 3px 0 0 rgba(240, 139, 47, 0.95);
}

.admin-orders-table__select {
  display: grid;
  gap: 0.2rem;
  min-width: 170px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.admin-orders-table__select strong,
.admin-orders-table__date strong,
.admin-orders-table__customer strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.12;
}

.admin-orders-table__select small,
.admin-orders-table__date small,
.admin-orders-table__customer small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.admin-orders-table__date,
.admin-orders-table__customer {
  display: grid;
  gap: 0.18rem;
}

.admin-orders-table__tracking {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.55rem;
  border: 1px solid rgba(21, 35, 53, 0.08);
  background: rgba(248, 251, 255, 0.84);
  color: var(--navy-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-orders-table__tracking.is-empty {
  color: var(--muted);
}

.admin-orders-table__amount {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.admin-orders-table__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.admin-orders-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  position: relative;
}

.admin-orders-check input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-orders-check span {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(21, 35, 53, 0.22);
  background: #fff;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.admin-orders-check input:checked + span {
  border-color: rgba(240, 139, 47, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 240, 0.98));
  box-shadow: inset 0 0 0 4px rgba(240, 139, 47, 0.9);
}

.admin-orders-empty {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  padding: 2rem 1rem;
  text-align: center;
}

.admin-orders-empty strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1rem;
}

.admin-orders-empty span {
  color: var(--muted);
  max-width: 44ch;
}

.admin-orders-detail-card {
  display: grid;
  gap: 0.9rem;
}

.admin-orders-detail-card__subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-orders-detail-card__amount {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1rem;
}

.admin-orders-detail-card__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-orders-stat {
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.97));
}

.admin-orders-stat small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-orders-stat strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.24;
}

.admin-orders-detail-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
}

.admin-orders-detail-card__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.admin-orders-detail-card__main,
.admin-orders-detail-card__side {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.admin-orders-detail-card__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-browser {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.admin-browser__list,
.admin-browser__detail {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.admin-browser__placeholder {
  min-height: 240px;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 2rem 1.4rem;
  border-style: dashed;
  border-color: rgba(22, 37, 56, 0.12);
}

.admin-browser__placeholder strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1rem;
}

.admin-browser__placeholder p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-browser__placeholder-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(35, 197, 243, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.95));
}

.admin-browser__placeholder-mark img {
  width: 26px;
  height: 26px;
}

.admin-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(10, 18, 31, 0.48), rgba(10, 18, 31, 0.58));
  backdrop-filter: blur(8px);
  z-index: 120;
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-modal__dialog {
  position: relative;
  width: min(1080px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid rgba(22, 37, 56, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.996) 0 78%, rgba(22, 37, 56, 0.04) 78.2% 100%),
    #ffffff;
  box-shadow: 0 30px 60px rgba(8, 16, 30, 0.26);
  overflow: hidden;
}

.admin-modal__dialog::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 132px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.admin-modal__dialog--wide {
  width: min(1180px, calc(100vw - 2rem));
}

.admin-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem 0.95rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.admin-modal__eyebrow {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-modal__title {
  margin: 0;
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 0.98;
}

.admin-modal__subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.admin-modal__link {
  color: var(--navy-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.admin-modal__link:hover,
.admin-modal__link:focus-visible {
  color: var(--orange);
}

.admin-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-strong);
  font-size: 1.4rem;
  line-height: 1;
}

.admin-modal__close:hover,
.admin-modal__close:focus-visible {
  border-color: rgba(255, 145, 77, 0.42);
  color: var(--orange);
}

.admin-modal__body {
  overflow: auto;
  padding: 1rem;
}

.admin-modal__dialog.is-busy {
  overflow: hidden;
}

.admin-modal__saving {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(3px);
}

.admin-modal__saving-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
  max-width: min(340px, calc(100% - 2rem));
  padding: 1rem 1.15rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 40px rgba(12, 22, 38, 0.14);
}

.admin-modal__saving-card strong {
  color: var(--navy-strong);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.admin-modal__saving-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(35, 50, 67, 0.18);
  border-top-color: var(--orange);
  border-radius: 999px;
  animation: admin-modal-spin 0.8s linear infinite;
}

@keyframes admin-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-modal-card {
  display: grid;
  gap: 1rem;
}

.admin-modal-card--creator {
  gap: 0;
}

.admin-modal-card--product .admin-product-preview {
  margin-bottom: 0.1rem;
}

.admin-modal__dialog--creator {
  max-width: min(1180px, calc(100vw - 2rem));
}

.admin-quickcreate {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: 1rem;
}

.admin-quickcreate__media,
.admin-quickcreate__content {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.admin-quickcreate__panel {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(249, 251, 254, 0.98));
}

.admin-quickcreate__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-quickcreate__head h3 {
  margin: 0.18rem 0 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.02;
  color: var(--navy-strong);
}

.admin-quickcreate__pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-submodal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.admin-submodal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 31, 0.48);
  backdrop-filter: blur(4px);
}

.admin-modal__dialog--gallery {
  position: relative;
  width: min(960px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  z-index: 1;
}

.admin-gallery-editor {
  display: grid;
  gap: 1rem;
}

.admin-gallery-editor__tools {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 0.9rem;
  align-items: stretch;
}

.admin-gallery-editor__note {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.admin-gallery-editor__note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.admin-upload-dropzone {
  display: grid;
  gap: 0.35rem;
  place-items: center;
  min-height: 168px;
  padding: 1.25rem;
  border: 1px dashed rgba(22, 37, 56, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96)),
    linear-gradient(125deg, rgba(44, 193, 255, 0.06), rgba(255, 145, 77, 0.08));
  text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-upload-dropzone:hover,
.admin-upload-dropzone:focus-visible,
.admin-upload-dropzone.is-dragover {
  border-color: rgba(214, 117, 13, 0.34);
  box-shadow: 0 16px 28px rgba(17, 26, 44, 0.08);
  transform: translateY(-1px);
}

.admin-upload-dropzone strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1rem;
}

.admin-upload-dropzone span {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-upload-grid {
  display: grid;
  gap: 0.75rem;
}

.admin-upload-empty {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0.2rem 0;
  color: var(--muted);
  text-align: center;
}

.admin-upload-empty strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
}

.admin-upload-item {
  display: grid;
  grid-template-columns: 34px 78px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.98);
  cursor: grab;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-upload-item:hover,
.admin-upload-item.is-dragover {
  border-color: rgba(35, 197, 243, 0.26);
  box-shadow: 0 14px 24px rgba(17, 26, 44, 0.07);
}

.admin-upload-item.is-dragging {
  opacity: 0.5;
  transform: scale(0.985);
}

.admin-upload-item__order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(248, 250, 253, 0.98);
  color: var(--navy-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-upload-item img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
}

.admin-upload-item__meta {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.admin-upload-item__meta strong,
.admin-upload-item__meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-upload-item__meta strong {
  color: var(--navy-strong);
  font-size: 0.88rem;
}

.admin-upload-item__meta small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-upload-item__remove {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: #ffffff;
  color: var(--navy-strong);
  font-size: 1.2rem;
  line-height: 1;
}

.admin-upload-item__remove:hover,
.admin-upload-item__remove:focus-visible {
  border-color: rgba(214, 117, 13, 0.32);
  color: var(--orange);
}

.admin-prompt-box,
.admin-product-block {
  width: 100%;
  min-height: 188px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(255, 255, 255, 0.98);
  color: var(--navy-strong);
  font: 600 0.9rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

.admin-prompt-box {
  min-height: 280px;
}

.admin-product-block {
  min-height: 360px;
}

.admin-quickcreate__status {
  margin: -0.05rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 700;
}

.admin-quickcreate__status--muted {
  color: var(--muted);
}

.admin-quickcreate__status--warning {
  color: #b45309;
}

.admin-quickcreate__status--success {
  color: #0f766e;
}

.admin-toolbar {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid rgba(21, 35, 53, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.97));
  box-shadow: 0 14px 30px rgba(17, 26, 44, 0.04);
}

.admin-toolbar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.65rem;
}

.admin-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 36px;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(21, 35, 53, 0.1);
  background: #fff;
  color: var(--navy-strong);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.admin-filter-pill:hover {
  border-color: rgba(255, 145, 77, 0.45);
  box-shadow: 0 12px 24px rgba(17, 26, 44, 0.06);
  transform: translateY(-1px);
}

.admin-filter-pill span,
.admin-filter-pill strong {
  position: relative;
  z-index: 1;
}

.admin-filter-pill span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-filter-pill strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.35rem;
  border: 1px solid rgba(44, 193, 255, 0.18);
  background: rgba(244, 250, 255, 0.9);
  font-size: 0.72rem;
  line-height: 1;
}

.admin-filter-pill.is-active {
  border-color: rgba(255, 145, 77, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 250, 254, 0.98)),
    linear-gradient(90deg, rgba(44, 193, 255, 0.12), rgba(255, 145, 77, 0.14));
  box-shadow: 0 16px 30px rgba(17, 26, 44, 0.08);
}

.admin-filter-pill.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(44, 193, 255, 0.95), rgba(255, 145, 77, 0.95));
}

.admin-toolbar__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.admin-toolbar__footer small {
  color: var(--muted);
  font-weight: 600;
}

.admin-toolbar-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 0.55rem;
}

.admin-toolbar-stat {
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0.78rem;
  border: 1px solid rgba(21, 35, 53, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.admin-toolbar-stat strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
}

.admin-toolbar-stat small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-records-shell,
.admin-records-grid,
.admin-records-detail,
.admin-records-detail-card,
.admin-records-toolbar {
  display: grid;
  gap: 0.9rem;
}

.admin-records-toolbar__row {
  display: grid;
  gap: 0.8rem;
}

.admin-records-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: start;
}

.admin-records-grid--users {
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
}

.admin-records-table-card {
  padding: 0;
  overflow: hidden;
}

.admin-records-table-wrap {
  overflow: auto;
}

.admin-records-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-records-table th,
.admin-records-table td {
  padding: 0.78rem 0.82rem;
  border-bottom: 1px solid rgba(21, 35, 53, 0.08);
  text-align: left;
  vertical-align: middle;
}

.admin-records-table th {
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(243, 247, 251, 0.98));
  color: #5a6d84;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-records-table__row:hover {
  background: rgba(248, 251, 255, 0.82);
}

.admin-records-table__row.is-active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 243, 0.96));
  box-shadow: inset 3px 0 0 rgba(240, 139, 47, 0.95);
}

.admin-records-table__select {
  display: grid;
  gap: 0.18rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.admin-records-table__select strong,
.admin-records-table__text {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.86rem;
  line-height: 1.18;
}

.admin-records-table__select small {
  color: var(--muted);
  font-size: 0.74rem;
}

.admin-browser__list {
  position: sticky;
  top: 118px;
}

.admin-list-buttons {
  display: grid;
  gap: 0.6rem;
}

.admin-list-card {
  display: grid;
  gap: 0;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.97));
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-list-card.is-active {
  border-color: rgba(240, 139, 47, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 248, 241, 0.98));
  box-shadow: 0 16px 28px rgba(240, 139, 47, 0.09);
}

.admin-list-button {
  display: grid;
  gap: 0.32rem;
  width: 100%;
  padding: 0.85rem;
  border: 0;
  background: transparent;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-list-button strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.08;
  color: var(--navy-strong);
}

.admin-list-button small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.admin-list-button:hover,
.admin-list-button:focus-visible {
  border-color: rgba(35, 197, 243, 0.26);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(16, 27, 45, 0.08);
}

.admin-list-button.is-active {
  background: transparent;
  box-shadow: none;
}

.admin-list-button__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-list-button__badges {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-list-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.85rem 0.78rem;
}

.admin-priority-select {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-priority-select span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-priority-select select {
  min-width: 104px;
  min-height: 32px;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-strong);
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-priority-select.is-compact span {
  font-size: 0.68rem;
}

.admin-priority-select.is-compact select {
  min-width: 96px;
  min-height: 30px;
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
}

.admin-detail-card {
  display: grid;
  gap: 0.9rem;
}

.admin-detail-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0.26rem 0.55rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(247, 250, 252, 0.9);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-strong);
}

.admin-badge--slate {
  border-color: rgba(92, 107, 121, 0.18);
  background: rgba(244, 247, 250, 0.96);
  color: rgba(54, 68, 82, 0.92);
}

.admin-badge--blue {
  border-color: rgba(35, 197, 243, 0.24);
  background: rgba(236, 248, 253, 0.98);
  color: rgba(18, 100, 144, 0.92);
}

.admin-badge--amber {
  border-color: rgba(240, 139, 47, 0.24);
  background: rgba(255, 247, 239, 0.98);
  color: rgba(158, 92, 12, 0.96);
}

.admin-badge--teal {
  border-color: rgba(14, 165, 152, 0.22);
  background: rgba(240, 253, 250, 0.98);
  color: rgba(13, 109, 101, 0.96);
}

.admin-badge--green {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(240, 253, 244, 0.98);
  color: rgba(24, 123, 56, 0.96);
}

.admin-badge--red {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(254, 242, 242, 0.98);
  color: rgba(168, 45, 45, 0.96);
}

.admin-stack-list,
.admin-mini-list {
  display: grid;
  gap: 0.7rem;
}

.admin-stack-list--settings {
  gap: 0.8rem;
}

.admin-stack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(22, 37, 56, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.97));
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-stack-item strong {
  display: block;
  margin-bottom: 0.18rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--navy-strong);
}

.admin-stack-item small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.admin-stack-item:hover,
.admin-stack-item:focus-visible {
  border-color: rgba(35, 197, 243, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(16, 27, 45, 0.07);
}

.admin-stack-item--static {
  cursor: default;
}

.admin-stack-item--static:hover,
.admin-stack-item--static:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: rgba(22, 37, 56, 0.09);
}

.admin-stack-item__meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  min-width: 118px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-line-list {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(252, 253, 255, 0.96);
}

.admin-line-list div,
.admin-mini-list div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.7rem;
}

.admin-line-list span,
.admin-mini-list strong {
  color: var(--text);
  font-weight: 700;
}

.admin-line-list strong,
.admin-mini-list small {
  color: var(--muted);
}

.admin-copy-block {
  display: grid;
  gap: 0.9rem;
}

.admin-copy-block div {
  padding: 0.78rem 0.88rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.admin-copy-block small {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-copy-block p {
  margin: 0;
  color: var(--text);
  line-height: 1.56;
  font-size: 0.92rem;
}

.admin-history {
  display: grid;
  gap: 0.85rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.admin-history__head {
  display: grid;
  gap: 0.2rem;
}

.admin-history__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--navy-strong);
}

.admin-history__list {
  display: grid;
  gap: 0.7rem;
}

.admin-history__item {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem 0.8rem 0.72rem 0.92rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.96));
}

.admin-history__item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(44, 193, 255, 0.9), rgba(255, 145, 77, 0.9));
}

.admin-history__item strong {
  color: var(--navy-strong);
  font-size: 0.9rem;
}

.admin-history__item small {
  color: var(--muted);
  font-size: 0.74rem;
}

.admin-detail-card .admin-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-detail-card .admin-metric {
  min-height: 68px;
  padding: 0.65rem 0.72rem;
}

.admin-detail-card .admin-metric strong {
  font-size: 1rem;
  line-height: 1.08;
}

.admin-detail-card .admin-metric small {
  font-size: 0.72rem;
}

.admin-mini-panel {
  display: grid;
  gap: 0.9rem;
}

.admin-quick-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-quick-status__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: rgba(255, 255, 255, 0.98);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy-strong);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-quick-status__button:hover,
.admin-quick-status__button:focus-visible {
  border-color: rgba(35, 197, 243, 0.25);
  color: var(--cyan-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(16, 27, 45, 0.07);
}

.admin-quick-status__button.is-active {
  border-color: rgba(240, 139, 47, 0.24);
  background: rgba(255, 248, 241, 0.99);
  color: rgba(164, 95, 12, 0.98);
}

.admin-quick-status--workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-quick-status__button--workflow {
  position: relative;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  justify-content: flex-start;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 800;
  overflow: hidden;
}

.admin-quick-status__button--workflow::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 197, 243, 0.85), rgba(240, 139, 47, 0.85));
  opacity: 0;
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-quick-status__button--workflow:hover::after,
.admin-quick-status__button--workflow:focus-visible::after,
.admin-quick-status__button--workflow.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

body[data-page="admin"] .page-main > .section > .container {
  width: min(1680px, calc(100% - 2rem));
}

body[data-page="admin"] .account-portal {
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 1rem;
}

body[data-page="admin"] .account-portal__main,
body[data-page="admin"] .admin-shell {
  gap: 1rem;
}

body[data-page="admin"] .admin-portal__side {
  top: 108px;
}

body[data-page="admin"] .admin-profile-card {
  min-height: 110px;
  padding: 1rem;
  gap: 0.55rem;
}

body[data-page="admin"] .admin-profile-card__meta strong {
  font-size: 1rem;
}

body[data-page="admin"] .admin-side-nav .account-side-nav__item {
  min-height: 52px;
}

body[data-page="admin"] .admin-side-nav .account-side-nav__item span {
  font-size: 0.94rem;
}

body[data-page="admin"] .admin-panel__head {
  gap: 0.8rem;
}

body[data-page="admin"] .admin-module-head .account-panel__copy h1 {
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
}

body[data-page="admin"] .admin-module-head .account-panel__copy p:not(.eyebrow) {
  font-size: 0.92rem;
}

body[data-page="admin"] .page-main > .section > .container {
  width: min(1920px, calc(100% - 1rem));
}

body[data-page="admin"] .account-portal {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 0.9rem;
}

body[data-page="admin"] .account-card,
body[data-page="admin"] .admin-panel,
body[data-page="admin"] .account-side-nav,
body[data-page="admin"] .account-profile-card {
  padding: 0.95rem;
}

body[data-page="admin"] .admin-profile-card,
body[data-page="admin"] .account-profile-card.admin-profile-card {
  min-height: 96px;
  padding: 0.85rem;
  gap: 0.4rem;
}

body[data-page="admin"] .admin-profile-card .account-profile-card__avatar,
body[data-page="admin"] .admin-profile-card__avatar,
body[data-page="admin"] .admin-profile-card .account-profile-card__avatar-btn {
  width: 54px;
  height: 54px;
  font-size: 1rem;
}

body[data-page="admin"] .admin-profile-card__meta strong,
body[data-page="admin"] .admin-profile-card .account-profile-card__body h2 {
  font-size: 0.92rem;
}

body[data-page="admin"] .admin-profile-card__meta small,
body[data-page="admin"] .admin-profile-card .account-profile-card__body span {
  font-size: 0.72rem;
}

body[data-page="admin"] .admin-side-nav .account-side-nav__item {
  min-height: 46px;
  padding: 0.62rem 0.78rem;
}

body[data-page="admin"] .admin-side-nav .account-side-nav__item span {
  font-size: 0.88rem;
}

body[data-page="admin"] .admin-side-nav .account-side-nav__item small {
  display: none;
}

body[data-page="admin"] .admin-module-head.account-panel__head {
  grid-template-columns: minmax(0, 1fr) 190px;
  min-height: 164px;
  padding: 1rem 1rem 0.95rem;
  gap: 1rem;
}

body[data-page="admin"] .admin-module-head .account-panel__copy {
  gap: 0.38rem;
}

body[data-page="admin"] .admin-module-head .account-panel__copy h1 {
  font-size: clamp(1.28rem, 1.55vw, 1.7rem);
  line-height: 0.98;
}

body[data-page="admin"] .admin-module-head .account-panel__copy p:not(.eyebrow),
body[data-page="admin"] .account-panel__summary {
  max-width: 52ch;
  font-size: 0.82rem;
  line-height: 1.35;
}

body[data-page="admin"] .account-panel__title-row {
  gap: 0.8rem;
}

body[data-page="admin"] .admin-panel__art {
  min-height: 110px;
}

body[data-page="admin"] .account-panel__chip {
  font-size: 0.72rem;
  padding: 0.36rem 0.55rem;
}

body[data-page="admin"] .account-panel__art strong {
  font-size: 0.92rem;
}

body[data-page="admin"] .account-panel__actions .btn,
body[data-page="admin"] .btn {
  min-height: 38px;
  padding: 0.52rem 0.78rem;
  font-size: 0.78rem;
}

body[data-page="admin"] .field label,
body[data-page="admin"] .admin-orders-toolbar__counter span,
body[data-page="admin"] .admin-metric small,
body[data-page="admin"] .admin-orders-tab span,
body[data-page="admin"] .admin-orders-table thead th,
body[data-page="admin"] .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

body[data-page="admin"] input,
body[data-page="admin"] select,
body[data-page="admin"] textarea {
  min-height: 40px;
  padding: 0.62rem 0.72rem;
  font-size: 0.84rem;
}

body[data-page="admin"] textarea {
  min-height: 108px;
}

body[data-page="admin"] .admin-quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

body[data-page="admin"] .admin-quick-card {
  min-height: 108px;
  padding: 0.82rem 0.88rem;
}

body[data-page="admin"] .admin-quick-card strong {
  font-size: 0.92rem;
}

body[data-page="admin"] .admin-quick-card small {
  font-size: 0.76rem;
  -webkit-line-clamp: 2;
}

body[data-page="admin"] .admin-grid-two {
  gap: 0.9rem;
}

body[data-page="admin"] .admin-metrics {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 0.65rem;
}

body[data-page="admin"] .admin-metric {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.5rem;
  min-height: 66px;
  padding: 0.62rem 0.7rem;
}

body[data-page="admin"] .admin-metric__icon {
  width: 34px;
  height: 34px;
}

body[data-page="admin"] .admin-metric__icon img {
  width: 14px;
  height: 14px;
}

body[data-page="admin"] .admin-metric strong {
  font-size: 0.98rem;
  line-height: 1;
}

body[data-page="admin"] .admin-metric small {
  margin-top: 0.12rem;
  line-height: 1.18;
}

body[data-page="admin"] .admin-products {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0.85rem;
}

body[data-page="admin"] .admin-quickcreate {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

body[data-page="admin"] .admin-product-item {
  padding: 0.78rem 0.82rem;
}

body[data-page="admin"] .admin-product-item strong {
  font-size: 0.86rem;
}

body[data-page="admin"] .admin-product-item span {
  font-size: 0.72rem;
}

body[data-page="admin"] .admin-orders-toolbar {
  gap: 0.8rem;
  padding: 0.88rem 0.92rem;
}

body[data-page="admin"] .admin-orders-toolbar__row {
  gap: 0.65rem;
}

body[data-page="admin"] .admin-orders-toolbar__row--main {
  align-items: end;
}

body[data-page="admin"] .admin-orders-toolbar__row--filters {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

body[data-page="admin"] .admin-orders-bulk {
  grid-template-columns: minmax(174px, 210px) auto;
}

body[data-page="admin"] .admin-orders-toolbar__counter strong {
  font-size: 1rem;
}

body[data-page="admin"] .admin-orders-tab {
  min-height: 32px;
  padding: 0.4rem 0.62rem;
}

body[data-page="admin"] .admin-orders-tab strong {
  min-width: 20px;
  height: 20px;
  font-size: 0.66rem;
}

body[data-page="admin"] .admin-orders-table {
  min-width: 1140px;
}

body[data-page="admin"] .admin-orders-table thead th,
body[data-page="admin"] .admin-orders-table tbody td {
  padding: 0.72rem 0.75rem;
}

body[data-page="admin"] .admin-orders-table__select strong,
body[data-page="admin"] .admin-orders-table__date strong,
body[data-page="admin"] .admin-orders-table__customer strong {
  font-size: 0.84rem;
}

body[data-page="admin"] .admin-orders-table__select small,
body[data-page="admin"] .admin-orders-table__date small,
body[data-page="admin"] .admin-orders-table__customer small,
body[data-page="admin"] .admin-orders-table__tracking {
  font-size: 0.72rem;
}

body[data-page="admin"] .admin-orders-table__amount {
  font-size: 0.88rem;
}

body[data-page="admin"] .admin-orders-detail-card {
  gap: 0.8rem;
}

body[data-page="admin"] .admin-orders-detail-card__subtitle {
  font-size: 0.82rem;
}

body[data-page="admin"] .admin-orders-detail-card__amount {
  font-size: 0.88rem;
}

body[data-page="admin"] .admin-orders-detail-card__stats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
}

body[data-page="admin"] .admin-orders-stat {
  padding: 0.72rem 0.76rem;
}

body[data-page="admin"] .admin-orders-stat strong {
  font-size: 0.84rem;
  line-height: 1.22;
}

body[data-page="admin"] .admin-orders-detail-card__grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.85rem;
}

body[data-page="admin"] .admin-orders-detail-card__layout {
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 0.85rem;
}

body[data-page="admin"] .admin-list-card__head strong,
body[data-page="admin"] .admin-detail-card__head strong,
body[data-page="admin"] .account-card__head h2 {
  font-size: 0.96rem;
}

body[data-page="admin"] .admin-list-card__copy,
body[data-page="admin"] .admin-detail-card p,
body[data-page="admin"] .admin-line-list,
body[data-page="admin"] .admin-mini-list,
body[data-page="admin"] .admin-stack-item {
  font-size: 0.8rem;
}

@media (max-width: 1180px) {
  .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-board--secondary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  body[data-page="admin"] .page-main > .section > .container {
    width: min(100% - 0.75rem, 100%);
  }

  body[data-page="admin"] .account-portal {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .admin-module-head.account-panel__head {
    grid-template-columns: 1fr;
  }

  .admin-orders-toolbar__row--main {
    align-items: stretch;
  }

  .admin-orders-toolbar__actions {
    justify-content: space-between;
  }

  .admin-orders-detail-card__layout,
  .admin-orders-detail-card__stats,
  .admin-orders-detail-card__grid {
    grid-template-columns: 1fr;
  }

  .admin-portal__side,
  .admin-browser__list {
    position: static;
    top: auto;
  }

  .admin-quick-grid,
  .admin-grid-two,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .field-actions--split {
    flex-direction: column;
    align-items: stretch;
  }

  .field-actions--split .action-row {
    margin-top: 0;
  }

  .admin-browser {
    grid-template-columns: 1fr;
  }

  .admin-records-grid,
  .admin-records-grid--users {
    grid-template-columns: 1fr;
  }

  .admin-toolbar__grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-products {
    grid-template-columns: 1fr;
  }

  .admin-product-list {
    max-height: none;
  }

  .admin-modal {
    padding: 0.8rem;
  }

  .admin-modal__dialog,
  .admin-modal__dialog--wide {
    width: calc(100vw - 1.6rem);
    max-height: calc(100vh - 1.6rem);
  }

  .admin-modal__header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-modal__actions {
    justify-content: space-between;
  }

  .admin-gallery-summary {
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .admin-orders-toolbar {
    padding: 0.85rem;
  }

  .admin-orders-bulk {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-orders-tabs {
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 0.2rem;
  }

  .admin-orders-tab {
    flex: 0 0 auto;
  }

  .admin-orders-table {
    min-width: 860px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-metric {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 76px;
    padding: 0.72rem 0.8rem;
  }

  .admin-metric__icon {
    width: 38px;
    height: 38px;
  }

  .admin-stack-item,
  .admin-line-list div,
  .admin-mini-list div {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .admin-stack-item__meta {
    justify-items: start;
    min-width: 0;
  }

  .admin-panel__head,
  .admin-product-preview {
    grid-template-columns: 1fr;
  }

  .admin-detail-card .admin-metrics {
    grid-template-columns: 1fr;
  }

  .admin-panel__head {
    display: grid;
  }

  .admin-modal {
    padding: 0.5rem;
  }

  .admin-modal__dialog,
  .admin-modal__dialog--wide {
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
  }

  .admin-modal__header {
    gap: 0.75rem;
    padding: 0.9rem 0.9rem 0.8rem;
  }

  .admin-modal__body {
    padding: 0.8rem;
  }

  .admin-modal__actions {
    gap: 0.65rem;
  }

  .admin-gallery-editor__tools {
    grid-template-columns: 1fr;
  }

  .admin-modal__close {
    width: 36px;
    height: 36px;
  }

  .admin-form__actions {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .admin-stats {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .page-main > .section > .container {
    width: min(100% - 1rem, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .btn,
  .product-card__icon-action,
  .product-card__qty-btn,
  .header-info {
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header.is-hidden {
    transform: translateY(calc(-100% + 8px));
  }

  .header-main {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .header-info span {
    max-width: 18ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .admin-shell__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header.is-hidden {
    transform: translateY(calc(-100% + 6px));
  }

  .header-main {
    grid-template-columns: minmax(0, 1fr) auto auto;
    row-gap: 0.75rem;
  }

  .header-actions {
    grid-column: 2;
    justify-self: end;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
  }

  .header-info {
    min-width: 52px;
    padding: 0 0.75rem;
  }

  .header-account-menu {
    min-width: min(260px, calc(100vw - 1.5rem));
  }

  .product-card__purchase {
    width: 100%;
    justify-content: space-between;
  }

  .product-card__qty {
    grid-template-columns: 34px 54px 34px;
  }

  .product-card__qty-input {
    width: 54px;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    gap: 0.45rem;
  }

  .topbar__group {
    width: 100%;
    justify-content: space-between;
    gap: 0.55rem;
  }

  .topbar__item span,
  .topbar__link--legal span {
    white-space: nowrap;
  }

  .header-main {
    padding: 0.65rem 0 0.5rem;
  }

  .brand {
    transform: none;
  }

  .brand img {
    width: min(204px, 58vw);
  }

  .header-info span {
    display: none;
  }

  .header-search {
    min-height: 50px;
    padding-left: 0.75rem;
  }

  .header-search input {
    min-height: 48px;
    font-size: 0.94rem;
  }

  .header-account-wrap {
    justify-self: end;
  }

  .header-account {
    min-width: 50px;
  }

  .header-account-menu {
    right: 0;
    left: auto;
  }

  .claims-layout,
  .account-dashboard,
  .account-auth-grid,
  .claims-representative {
    grid-template-columns: 1fr;
  }

  .account-card,
  .claims-card,
  .legal-card {
    padding: 1rem;
  }

  .product-card {
    min-height: 292px;
  }

  .product-card__body {
    gap: 0.8rem;
  }

  .product-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card__purchase,
  .product-card__quote-action {
    width: 100%;
  }

  .product-card__icon-action,
  .product-card__quote-action {
    min-height: 42px;
  }
}

body[data-page="cuenta"] .section--tight {
  padding-top: 2rem;
}

.account-entry,
.account-portal {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.account-entry {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
}

.account-entry__visual,
.account-panel__head,
.account-block,
.account-profile-card,
.account-side-nav,
.account-kpi,
.account-order,
.account-address-card,
.account-modal__dialog {
  position: relative;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  box-shadow: 0 16px 42px rgba(16, 27, 45, 0.06);
}

.account-entry__visual,
.account-panel__head,
.account-profile-card {
  overflow: hidden;
}

.account-entry__visual {
  min-height: 100%;
  padding: 2rem;
}

.account-entry__visual .eyebrow,
.account-panel__copy .eyebrow,
.account-block__head .eyebrow,
.account-profile-card .eyebrow {
  margin-bottom: 0.75rem;
}

.account-entry__visual h1,
.account-panel__copy h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--navy-strong);
}

.account-entry__visual p:not(.eyebrow),
.account-panel__copy p:not(.eyebrow) {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.03rem;
}

.account-entry__art,
.account-panel__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.account-entry__trace,
.account-panel__trace,
.account-profile-card__line,
.header-account-menu__line {
  position: absolute;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 139, 47, 0), rgba(240, 139, 47, 0.95), rgba(35, 197, 243, 0.92));
  opacity: 0.72;
}

.account-entry__trace--one,
.account-panel__trace--one {
  top: 22%;
  right: 4%;
  width: 132px;
  transform: rotate(-32deg);
}

.account-entry__trace--two,
.account-panel__trace--two {
  bottom: 18%;
  left: 8%;
  width: 148px;
  transform: rotate(22deg);
}

.account-entry__block,
.account-panel__plate {
  position: absolute;
  inset: auto 9% 0 auto;
  width: 220px;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(240, 139, 47, 0.2), rgba(31, 54, 84, 0.92));
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}

.account-entry__badge,
.account-panel__chip,
.account-note {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.9rem;
  border: 1px solid rgba(240, 139, 47, 0.24);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-strong);
}

.account-entry__badge,
.account-panel__chip {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.account-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 1.25rem;
  padding: 1.7rem 1.7rem 1.5rem;
  min-height: 216px;
}

.account-panel__copy {
  position: relative;
  z-index: 1;
}

.account-panel__copy h1 {
  max-width: 11ch;
}

.account-panel__art strong {
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: -0.03em;
}

.account-panel__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.account-portal__main {
  display: grid;
  gap: 1.25rem;
}

.account-profile-card,
.account-side-nav {
  padding: 1.25rem;
}

.account-profile-card {
  margin-bottom: 1rem;
  display: grid;
  gap: 0.85rem;
}

.account-profile-card__avatar {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(35, 197, 243, 0.18);
  background: linear-gradient(135deg, rgba(241, 246, 252, 0.96), rgba(255, 255, 255, 0.98));
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-strong);
}

.account-profile-card__body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.04;
  color: var(--navy-strong);
}

.account-profile-card__body span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.account-profile-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.account-profile-card__meta span {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(22, 37, 56, 0.08);
}

.account-profile-card__meta strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-strong);
}

.account-profile-card__meta small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 700;
}

.account-profile-card__line--a {
  top: 18px;
  right: 20px;
  width: 108px;
}

.account-profile-card__line--b {
  bottom: 18px;
  left: 18px;
  width: 78px;
}

.account-profile-card.is-admin {
  border-color: rgba(240, 139, 47, 0.18);
}

.account-side-nav {
  display: grid;
  gap: 0.45rem;
}

.account-side-nav__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.15rem 0.75rem;
  align-items: center;
  min-height: 62px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.84);
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.account-side-nav__item img {
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
}

.account-side-nav__item span {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-strong);
}

.account-side-nav__item small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.account-side-nav__item:hover,
.account-side-nav__item:focus-visible,
.account-side-nav__item.is-active {
  transform: translateX(4px);
  border-color: rgba(240, 139, 47, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
}

.account-side-nav__item.is-active {
  box-shadow: inset 3px 0 0 rgba(240, 139, 47, 0.92);
}

.account-side-nav__item--admin {
  border-color: rgba(240, 139, 47, 0.18);
}

.account-side-nav__item--ghost {
  text-align: left;
}

.account-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.account-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.account-summary-pill {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
  box-shadow: 0 14px 34px rgba(16, 27, 45, 0.05);
  overflow: hidden;
}

.account-summary-pill::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 139, 47, 0.9), rgba(35, 197, 243, 0.72), rgba(35, 197, 243, 0));
}

.account-summary-pill__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(35, 197, 243, 0.18);
  background: rgba(247, 251, 255, 0.95);
}

.account-summary-pill__icon img {
  width: 19px;
  height: 19px;
}

.account-summary-pill strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-strong);
}

.account-summary-pill small {
  color: var(--muted);
  font-size: 0.79rem;
}

.account-kpi {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.account-kpi__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(35, 197, 243, 0.18);
  background: rgba(244, 249, 255, 0.94);
}

.account-kpi__icon img {
  width: 18px;
  height: 18px;
}

.account-kpi strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--navy-strong);
}

.account-kpi small {
  color: var(--muted);
  font-weight: 600;
}

.account-workspace,
.account-list,
.account-address-grid,
.account-favorites-grid {
  display: grid;
  gap: 1rem;
}

.account-workspace {
  grid-template-columns: 1fr;
}

.account-address-grid,
.account-favorites-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-block {
  padding: 1.3rem;
}

.account-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.account-block__head h2,
.account-order__head h2,
.account-modal__head h2,
.account-empty h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--navy-strong);
}

.account-block__head p:not(.eyebrow),
.account-empty p,
.account-inline-list small,
.account-inline-list strong,
.account-order__items,
.account-address-card__body,
.account-reservation p {
  margin: 0;
}

.account-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.account-inline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.account-inline-list > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.account-inline-list small {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-inline-list strong {
  color: var(--navy-strong);
  font-weight: 700;
}

.account-order {
  padding: 1.15rem;
}

.account-order::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(240, 139, 47, 0.9), rgba(35, 197, 243, 0.72));
}

.account-order--success {
  border-color: rgba(34, 197, 94, 0.26);
  background: linear-gradient(180deg, rgba(248, 255, 250, 0.98), rgba(242, 253, 246, 0.98));
}

.account-order--success::before {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.92), rgba(14, 165, 152, 0.72));
}

.account-order--danger {
  border-color: rgba(239, 68, 68, 0.24);
  background: linear-gradient(180deg, rgba(255, 250, 250, 0.98), rgba(254, 242, 242, 0.98));
}

.account-order--danger::before {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.92), rgba(240, 139, 47, 0.58));
}

.account-order__head,
.account-address-card__head,
.account-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.account-order__head-meta {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.55rem;
}

.account-order__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.75rem;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-strong);
}

.account-order__status--success {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(240, 253, 244, 0.96);
  color: rgba(24, 123, 56, 0.98);
}

.account-order__status--danger {
  border-color: rgba(239, 68, 68, 0.22);
  background: rgba(254, 242, 242, 0.96);
  color: rgba(168, 45, 45, 0.98);
}

.account-order__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 1rem 0 0.85rem;
  color: var(--muted);
}

.account-order__meta strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--orange-strong);
}

.account-order__items {
  padding-left: 1rem;
  color: var(--text);
}

.account-order__notice {
  margin: 0 0 0.85rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(35, 197, 243, 0.14);
  background: rgba(247, 251, 255, 0.84);
  color: rgba(22, 37, 56, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.account-order__notice--success {
  border-color: rgba(34, 197, 94, 0.18);
  background: rgba(240, 253, 244, 0.9);
  color: rgba(24, 123, 56, 0.96);
}

.account-order__notice--danger {
  border-color: rgba(239, 68, 68, 0.18);
  background: rgba(254, 242, 242, 0.9);
  color: rgba(168, 45, 45, 0.96);
}

.account-order__notice--warning {
  border-color: rgba(240, 139, 47, 0.2);
  background: rgba(255, 247, 239, 0.92);
  color: rgba(158, 92, 12, 0.96);
}

.account-order__details {
  margin-top: 1rem;
  border-top: 1px solid rgba(22, 37, 56, 0.08);
  padding-top: 0.85rem;
}

.account-order__details summary {
  cursor: pointer;
  width: max-content;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-strong);
}

.account-order__detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.account-order__detail-grid > div {
  display: grid;
  gap: 0.18rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.account-order__detail-grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-order__detail-grid strong {
  color: var(--navy-strong);
  font-size: 0.9rem;
}

.account-order__detail-wide {
  grid-column: 1 / -1;
}

.account-order__timeline {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.account-order__timeline > strong {
  font-family: var(--font-display);
  color: var(--navy-strong);
}

.account-order__timeline article {
  display: grid;
  gap: 0.18rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(35, 197, 243, 0.34);
}

.account-order__timeline span {
  color: rgba(22, 37, 56, 0.86);
  font-size: 0.9rem;
}

.account-order__timeline small {
  color: var(--muted);
  font-size: 0.78rem;
}

.account-address-card {
  padding: 1.1rem;
}

.account-address-card.is-default {
  border-color: rgba(35, 197, 243, 0.22);
}

.account-address-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0.75rem;
}

.account-address-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(248, 251, 255, 0.9);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-strong);
}

.account-address-card__body {
  display: grid;
  gap: 0.28rem;
  color: var(--muted);
}

.account-empty {
  display: grid;
  justify-items: start;
  gap: 0.8rem;
  padding: 1.2rem 0;
}

.account-empty img {
  width: 24px;
  height: 24px;
}

.account-empty--inline {
  padding: 1rem;
  border: 1px dashed rgba(22, 37, 56, 0.16);
  background: rgba(248, 251, 255, 0.82);
}

.account-note {
  border-color: rgba(22, 37, 56, 0.1);
  color: var(--navy-strong);
}

.account-note--admin {
  color: var(--orange-strong);
  border-color: rgba(240, 139, 47, 0.24);
}

.account-note--success {
  color: var(--success);
  border-color: rgba(46, 125, 91, 0.2);
}

.account-modal[hidden] {
  display: none;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 88;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.account-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 27, 45, 0.5);
}

.account-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 1.3rem;
}

.account-modal__dialog--wide {
  width: min(880px, 100%);
}

.account-modal__close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: #fff;
  font-size: 1.1rem;
}

.reservation-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.reservation-tab {
  min-height: 38px;
  padding: 0 1rem;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-strong);
}

.reservation-tab.is-active {
  border-color: rgba(240, 139, 47, 0.22);
  color: var(--orange-strong);
}

[data-reservation-panel] {
  display: none;
}

[data-reservation-panel].is-active {
  display: grid;
  gap: 1rem;
}

.account-reservation {
  padding: 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.account-reservation h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-strong);
}

.account-reservation__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.account-reservation__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(248, 251, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy-strong);
}

.product-card__media,
.shop-product-card,
.related-card,
.product-detail__actions {
  position: relative;
}

.product-favorite-toggle,
.shop-product-card__favorite,
.related-card__favorite,
.product-detail__favorite {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(16, 27, 45, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.product-favorite-toggle img,
.shop-product-card__favorite img,
.related-card__favorite img,
.product-detail__favorite img {
  width: 18px;
  height: 18px;
}

.product-favorite-toggle:hover,
.product-favorite-toggle:focus-visible,
.shop-product-card__favorite:hover,
.shop-product-card__favorite:focus-visible,
.related-card__favorite:hover,
.related-card__favorite:focus-visible,
.product-detail__favorite:hover,
.product-detail__favorite:focus-visible,
.product-favorite-toggle.is-active,
.shop-product-card__favorite.is-active,
.related-card__favorite.is-active,
.product-detail__favorite.is-active {
  transform: translateY(-2px);
  border-color: rgba(240, 139, 47, 0.26);
  background: rgba(255, 246, 236, 0.96);
}

.header-account-menu {
  min-width: 270px;
  padding: 0.75rem 0;
  border-width: 1px;
  border-color: rgba(22, 37, 56, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 44px rgba(16, 27, 45, 0.11);
}

.header-account-menu::before,
.header-account-menu::after {
  display: none;
}

.header-account-menu__line--a {
  width: 88px;
  top: 14px;
  right: 14px;
}

.header-account-menu__line--b {
  width: 64px;
  bottom: 14px;
  right: 14px;
}

.header-account-menu__item {
  min-height: 48px;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border-left: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header-account-menu__item:hover,
.header-account-menu__item:focus-visible {
  padding-left: 1rem;
  border-left-color: rgba(240, 139, 47, 0.92);
  background: rgba(248, 251, 255, 0.96);
}

.header-account-menu__divider {
  margin: 0.45rem 1rem;
}

.header-account-wrap.is-admin .header-account-menu {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(255, 255, 255, 0.98));
}

@media (max-width: 1080px) {
  .account-entry,
  .account-portal {
    grid-template-columns: 1fr;
  }

  .account-summary-strip,
  .account-address-grid,
  .account-favorites-grid,
  .account-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .account-entry__visual,
  .account-panel__head,
  .account-block,
  .account-profile-card,
  .account-side-nav {
    padding: 1rem;
  }

  .account-panel__head {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .account-panel__actions,
  .account-block__actions {
    justify-content: stretch;
  }

  .account-panel__actions .btn,
  .account-block__actions .btn {
    width: 100%;
  }

  .account-address-grid,
  .account-favorites-grid,
  .account-kpis,
  .account-summary-strip,
  .account-inline-list {
    grid-template-columns: 1fr;
  }

  .account-entry__visual h1,
  .account-panel__copy h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* Final account + dropdown refinements */
.header-account-menu {
  min-width: 308px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.12);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 251, 255, 0.985));
  box-shadow: 0 20px 42px rgba(16, 27, 45, 0.14);
}

.header-account-menu__profile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 250, 255, 0.985));
}

.header-account-menu__profile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 139, 47, 0.96), rgba(35, 197, 243, 0.78), rgba(35, 197, 243, 0));
  opacity: 0.85;
}

.header-account-menu__profile-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: #fff;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy-strong);
}

.header-account-menu__profile-avatar img {
  width: 18px;
  height: 18px;
}

.header-account-menu__profile-copy {
  display: grid;
  gap: 0.18rem;
}

.header-account-menu__profile-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-strong);
}

.header-account-menu__profile-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-account-menu__group {
  display: grid;
}

.header-account-menu__item {
  position: relative;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0 0.72rem;
  min-height: 48px;
  padding: 0.72rem 2.2rem 0.72rem 1rem;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--navy-strong);
}

.header-account-menu__item img {
  grid-row: auto;
  align-self: center;
  opacity: 0.82;
}

.header-account-menu__item span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: inherit;
}

.header-account-menu__item small {
  display: none;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.18;
}

.header-account-menu__item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid rgba(22, 37, 56, 0.34);
  border-right: 1.5px solid rgba(22, 37, 56, 0.34);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.header-account-menu__item:hover,
.header-account-menu__item:focus-visible {
  padding-left: 1rem;
  border-left-color: rgba(240, 139, 47, 0.94);
  background: rgba(248, 251, 255, 0.96);
}

.header-account-menu__item:hover::after,
.header-account-menu__item:focus-visible::after {
  transform: translate(2px, -50%) rotate(45deg);
  border-color: rgba(214, 117, 13, 0.7);
}

.header-account-menu__item--danger::after {
  display: none;
}

.header-account-wrap.is-admin .header-account-menu__profile-avatar {
  border-color: rgba(240, 139, 47, 0.22);
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.98), rgba(255, 255, 255, 0.98));
  color: var(--orange-deep);
}

.account-panel__head {
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 1rem;
  min-height: 132px;
  padding: 1.1rem 1.2rem;
}

.account-panel__copy {
  display: grid;
  gap: 0.32rem;
}

.account-panel__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.account-panel__copy h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.account-panel__summary,
.account-panel__copy p:not(.eyebrow) {
  max-width: 38ch;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.42;
}

.account-panel__actions {
  justify-content: flex-end;
  align-self: start;
  margin-left: auto;
}

.account-panel__chip {
  top: 0.82rem;
  right: 0.82rem;
}

.account-panel__art strong {
  right: 0.82rem;
  bottom: 0.82rem;
  font-size: 1rem;
  opacity: 0.82;
}

.account-profile-card,
.account-side-nav,
.account-block,
.account-summary-pill,
.account-address-card,
.account-order,
.account-reservation,
.account-modal__dialog {
  border-radius: 0;
}

.account-profile-card {
  gap: 0.7rem;
}

.account-profile-card__avatar {
  width: 72px;
  height: 72px;
  font-size: 1.35rem;
}

.account-side-nav {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.account-side-nav__item {
  position: relative;
  min-height: 56px;
  padding: 0.78rem 0.95rem;
  border-width: 0 0 1px;
  border-color: rgba(22, 37, 56, 0.08);
  background: #fff;
}

.account-side-nav__item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(35, 197, 243, 0.35), rgba(240, 139, 47, 0.3), rgba(35, 197, 243, 0));
  opacity: 0;
  transition: opacity 180ms ease;
}

.account-side-nav__item:hover,
.account-side-nav__item:focus-visible,
.account-side-nav__item.is-active {
  transform: none;
  border-color: rgba(22, 37, 56, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 250, 255, 0.985));
}

.account-side-nav__item:hover::after,
.account-side-nav__item:focus-visible::after,
.account-side-nav__item.is-active::after {
  opacity: 1;
}

.account-side-nav__item.is-active {
  box-shadow: inset 3px 0 0 rgba(240, 139, 47, 0.94);
}

.account-side-nav__item--ghost {
  background: rgba(255, 249, 244, 0.72);
}

.account-block__head h2,
.account-order__head h2,
.account-modal__head h2,
.account-empty h2 {
  font-size: 1.38rem;
}

.account-empty {
  justify-items: center;
  text-align: center;
}

.account-empty.account-empty--inline {
  padding: 1rem 1.1rem;
}

.reservation-tabs {
  gap: 0;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
}

.reservation-tab {
  border-width: 0 0 2px;
  border-color: transparent;
  background: transparent;
}

.reservation-tab.is-active {
  border-color: rgba(240, 139, 47, 0.7);
  color: var(--navy-strong);
}

.account-reservation {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
}

.account-reservation__head .eyebrow {
  margin-bottom: 0.4rem;
}

.account-reservation__head h3 {
  margin: 0;
}

.account-modal__dialog {
  border-radius: 0;
}

.account-modal__close {
  border-radius: 0;
}

@media (min-width: 1200px) {
  .account-favorites-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .account-panel__head {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .account-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-account-menu {
    min-width: min(300px, calc(100vw - 1rem));
  }

  .header-account-menu__profile {
    grid-template-columns: 40px minmax(0, 1fr);
    padding-inline: 0.9rem;
  }

  .header-account-menu__profile-avatar {
    width: 40px;
    height: 40px;
  }

  .account-favorites-grid {
    grid-template-columns: 1fr;
  }
}

.header-account-menu__item.is-current {
  border-left-color: rgba(240, 139, 47, 0.94);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 250, 255, 0.985));
}

.header-account-menu__item.is-current::after {
  border-color: rgba(214, 117, 13, 0.7);
}

.account-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.account-shortcut-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-height: 104px;
  padding: 1rem 1rem 1rem 1.05rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 251, 255, 0.98));
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.account-shortcut-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(240, 139, 47, 0.95), rgba(35, 197, 243, 0.8));
}

.account-shortcut-card::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 197, 243, 0.82), rgba(240, 139, 47, 0.8), rgba(35, 197, 243, 0));
  opacity: 0.78;
}

.account-shortcut-card:hover,
.account-shortcut-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 197, 243, 0.18);
  box-shadow: 0 14px 28px rgba(16, 27, 45, 0.08);
}

.account-shortcut-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: #fff;
}

.account-shortcut-card__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.account-shortcut-card strong {
  display: block;
  margin-bottom: 0.18rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy-strong);
}

.account-shortcut-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 1080px) {
  .account-shortcuts {
    grid-template-columns: 1fr;
  }
}

.btn.is-hidden {
  display: none !important;
}

.user-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.account-profile-card__avatar .user-avatar-photo,
.account-avatar-editor__preview .user-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-profile-card__avatar .user-avatar-icon,
.account-avatar-editor__preview .user-avatar-icon,
.header-account-menu__profile-avatar .user-avatar-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.account-profile-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(22, 37, 56, 0.08);
}

.account-profile-card__stats div {
  display: grid;
  gap: 0.12rem;
  padding-top: 0.82rem;
}

.account-profile-card__stats strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--navy-strong);
}

.account-profile-card__stats small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 700;
}

.account-avatar-editor {
  display: grid;
  gap: 0.95rem;
  justify-items: center;
}

.account-avatar-editor__preview {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: linear-gradient(135deg, rgba(241, 246, 252, 0.96), rgba(255, 255, 255, 0.98));
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy-strong);
}

.account-avatar-editor__file {
  display: none;
}

.account-profile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

body[data-page="cuenta"] .account-panel__head,
body[data-page="cuenta"] .account-profile-card,
body[data-page="cuenta"] .account-side-nav,
body[data-page="cuenta"] .account-block {
  border-radius: 14px;
}

body[data-page="cuenta"] .account-panel__head {
  min-height: 188px;
  padding: 1.4rem 1.45rem 1.25rem;
}

body[data-page="cuenta"] .account-panel__copy h1 {
  max-width: 10ch;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
}

body[data-page="cuenta"] .account-panel__summary {
  max-width: 40ch;
}

body[data-page="cuenta"] .account-profile-card {
  min-height: 164px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.998) 0 88%, rgba(22, 37, 56, 0.018) 88.2% 100%),
    #ffffff;
  box-shadow: 0 20px 44px rgba(16, 27, 45, 0.08);
  border-color: rgba(240, 139, 47, 0.24);
}

body[data-page="cuenta"] .account-profile-card__avatar {
  width: 102px;
  height: 102px;
}

body[data-page="cuenta"] .account-profile-card__edit {
  cursor: pointer;
}

body[data-page="cuenta"] .account-side-nav {
  gap: 0.38rem;
  padding: 1rem;
  box-shadow: 0 18px 38px rgba(16, 27, 45, 0.06);
}

body[data-page="cuenta"] .account-side-nav__item {
  min-height: 58px;
  padding: 0.72rem 0.82rem;
  border-radius: 10px;
}

body[data-page="cuenta"] .account-side-nav__item span {
  font-family: var(--font-display);
  font-weight: 700;
}

body[data-page="cuenta"] .account-side-nav__item--admin {
  border-color: rgba(240, 139, 47, 0.24);
  background:
    linear-gradient(90deg, rgba(240, 139, 47, 0.18) 0 2px, rgba(255, 252, 248, 0.98) 2px 100%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(247, 250, 255, 0.98));
}

body[data-page="cuenta"] .account-side-nav__item--admin img {
  filter: saturate(1.05);
}

body[data-page="cuenta"] .account-block--profile-editor {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.45rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.998) 0 87%, rgba(22, 37, 56, 0.02) 87.2% 100%),
    #ffffff;
  box-shadow: 0 20px 44px rgba(16, 27, 45, 0.08);
}

body[data-page="cuenta"] .account-block--profile-editor::before,
body[data-page="cuenta"] .account-block--profile-editor::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body[data-page="cuenta"] .account-block--profile-editor::before {
  left: 1rem;
  top: 0.95rem;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

body[data-page="cuenta"] .account-block--profile-editor::after {
  right: 1rem;
  top: 0.95rem;
  width: 62px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 139, 47, 0.82), rgba(35, 197, 243, 0.72), rgba(35, 197, 243, 0));
}

body[data-page="cuenta"] .account-block__head--profile {
  align-items: flex-start;
  margin-bottom: 1.2rem;
  gap: 1rem;
}

body[data-page="cuenta"] .account-block__head--profile h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

body[data-page="cuenta"] .account-profile-inline-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-top: 0.1rem;
}

body[data-page="cuenta"] .account-profile-inline-actions .text-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
}

body[data-page="cuenta"] .account-profile-inline-actions button.text-link,
body[data-page="cuenta"] .account-profile-inline-actions label.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan-strong);
  cursor: pointer;
}

body[data-page="cuenta"] .account-profile-inline-actions .text-link:hover,
body[data-page="cuenta"] .account-profile-inline-actions .text-link:focus-visible {
  color: var(--orange-strong);
}

body[data-page="cuenta"] .account-block--profile-editor .form-grid {
  gap: 1rem 0.95rem;
}

body[data-page="cuenta"] .account-block--profile-editor .field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(22, 37, 56, 0.78);
}

body[data-page="cuenta"] .account-block--profile-editor input:not([type="checkbox"]),
body[data-page="cuenta"] .account-block--profile-editor select,
body[data-page="cuenta"] .account-block--profile-editor textarea {
  min-height: 52px;
  padding: 0.92rem 1.05rem;
  border: 1px solid rgba(22, 37, 56, 0.12);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

body[data-page="cuenta"] .account-block--profile-editor input:not([type="checkbox"]):focus,
body[data-page="cuenta"] .account-block--profile-editor select:focus,
body[data-page="cuenta"] .account-block--profile-editor textarea:focus {
  border-color: rgba(214, 117, 13, 0.45);
  box-shadow: 0 0 0 3px rgba(240, 139, 47, 0.12);
}

body[data-page="cuenta"] .account-block--profile-editor .account-block__actions {
  align-items: center;
  justify-content: flex-start;
  margin-top: 1.15rem;
}

body[data-page="cuenta"] .account-block--profile-editor .btn {
  min-height: 50px;
  border-radius: 10px;
}

#account-page {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

#account-page.is-updating {
  opacity: 0.16;
  transform: translateY(8px);
}

.account-block--profile-main .status-text {
  margin: 0 0 0.9rem;
}

.account-block--addresses .account-block__head p:not(.eyebrow),
.account-block--profile-main .account-block__head p:not(.eyebrow),
.account-workspace .account-block__head p:not(.eyebrow) {
  max-width: 54ch;
}

.product-card__purchase {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 44px;
  min-width: 44px;
  height: 40px;
  margin-left: auto;
  overflow: visible;
}

.product-card__icon-action--trigger {
  position: relative;
  z-index: 2;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.product-card__qty-shell {
  position: absolute;
  inset: 0 0 auto auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  transform: translateX(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card__purchase.is-open {
  width: auto;
  min-width: 118px;
}

.product-card__purchase.is-open .product-card__icon-action--trigger {
  opacity: 0;
  transform: scale(0.84);
  pointer-events: none;
}

.product-card__purchase.is-open .product-card__qty-shell {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.product-card__qty {
  display: inline-grid;
  grid-template-columns: 26px 34px 26px;
  align-items: stretch;
  min-height: 36px;
  border: 1px solid rgba(22, 37, 56, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.96));
}

.product-card__qty-btn,
.product-card__qty-input {
  min-height: 36px;
}

.product-card__qty-input {
  width: 34px;
  font-size: 0.88rem;
}

.product-card__qty-confirm {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 37, 56, 0.14);
  background: var(--navy-strong);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.product-card__qty-confirm img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.product-card__qty-confirm:hover,
.product-card__qty-confirm:focus-visible,
.product-card__qty-confirm.is-added {
  transform: translateY(-2px);
  background: var(--orange-strong);
  border-color: var(--orange-strong);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

@media (max-width: 1080px) {
  .account-profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-page="cuenta"] .account-panel__head {
    min-height: 0;
  }

  body[data-page="cuenta"] .account-profile-inline-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .account-profile-card__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card__footer {
    flex-direction: row;
    align-items: flex-end;
  }

  .product-card__purchase,
  .product-card__quote-action {
    width: auto;
  }

  .product-card__purchase {
    min-width: 44px;
  }

  .product-card__purchase.is-open {
    min-width: 118px;
  }
}

/* Calm account card + unified compact purchase */
.account-profile-card {
  min-height: 156px;
  padding: 0.8rem;
  display: grid;
  place-items: center;
}

.account-profile-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-width: 1px;
}

.account-profile-card__edit {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 37, 56, 0.14);
  background: rgba(255, 255, 255, 0.96);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.account-profile-card__edit img {
  width: 16px;
  height: 16px;
}

.account-profile-card__edit:hover,
.account-profile-card__edit:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 139, 47, 0.28);
  background: rgba(255, 248, 241, 0.98);
}

.account-profile-card__body,
.account-profile-card__stats {
  display: none;
}

.account-side-nav__item {
  min-height: 54px;
  gap: 0.1rem 0.72rem;
}

.account-side-nav__item img {
  grid-row: auto;
}

.account-side-nav__item span {
  font-size: 0.93rem;
}

.account-side-nav__item small {
  display: none;
}

.product-card__title {
  min-height: 2.18rem;
  font-size: 0.88rem;
  line-height: 1.18;
}

.price {
  font-size: 0.98rem;
}

.price-note {
  font-size: 0.74rem;
}

.product-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.42rem;
  align-items: start;
}

.product-card__purchase {
  width: 40px;
  min-width: 40px;
  height: 36px;
  margin-left: 0;
  justify-self: end;
}

.product-card__purchase.is-open {
  width: auto;
  min-width: 112px;
}

.product-card__icon-action {
  width: 40px;
  height: 36px;
}

.product-card__qty-shell {
  gap: 0.16rem;
}

.product-card__qty {
  grid-template-columns: 22px 30px 22px;
  min-height: 32px;
}

.product-card__qty-btn,
.product-card__qty-input {
  min-height: 32px;
}

.product-card__qty-btn {
  font-size: 0.76rem;
}

.product-card__qty-input {
  width: 30px;
  font-size: 0.76rem;
}

.product-card__qty-confirm {
  width: 32px;
  height: 32px;
}

.shop-product-card {
  min-height: 266px;
  padding-bottom: 2.55rem;
}

.shop-product-card__body {
  gap: 0.08rem;
  padding: 0 0.48rem;
}

.shop-product-card__title {
  min-height: 2.1rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.82rem;
  line-height: 1.24;
}

.shop-product-card__price {
  font-size: 0.92rem;
}

.shop-product-card__stock {
  font-size: 0.76rem;
}

.shop-product-card__purchase {
  position: absolute;
  left: 50%;
  bottom: 0;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 32px;
  margin-left: 0;
  transform: translateX(-50%);
}

.shop-product-card__purchase .product-card__icon-action--trigger {
  width: 36px;
  height: 32px;
  border-color: rgba(22, 37, 56, 0.2);
  background: #fff;
}

.shop-product-card__purchase .product-card__icon-action--trigger img {
  width: 14px;
  height: 14px;
  filter: none;
}

.shop-product-card__purchase .product-card__icon-action--trigger:hover,
.shop-product-card__purchase .product-card__icon-action--trigger:focus-visible,
.shop-product-card__purchase .product-card__icon-action--trigger.is-added {
  background: var(--navy-strong);
  border-color: var(--navy-strong);
}

.shop-product-card__purchase .product-card__icon-action--trigger:hover img,
.shop-product-card__purchase .product-card__icon-action--trigger:focus-visible img,
.shop-product-card__purchase .product-card__icon-action--trigger.is-added img {
  filter: brightness(0) invert(1);
}

.shop-product-card__purchase .product-card__qty-shell {
  left: 50%;
  right: auto;
  transform: translateX(-50%) scale(0.96);
}

.shop-product-card__purchase.is-open .product-card__qty-shell {
  transform: translateX(-50%) scale(1);
}

.shop-product-card__purchase.is-open {
  min-width: 112px;
  transform: translateX(-50%);
}

.shop-product-card__quote-action {
  position: absolute;
  left: 50%;
  bottom: 0;
  min-height: 32px;
  width: auto;
  min-width: 76px;
  padding: 0 0.62rem;
  font-size: 0.7rem;
  transform: translateX(-50%);
}

.shop-product-card__feedback {
  bottom: -1.28rem;
  font-size: 0.7rem;
}

@media (max-width: 760px) {
  .account-profile-card {
    min-height: 148px;
  }

  .account-profile-card__avatar {
    width: 88px;
    height: 88px;
  }

  .shop-product-card {
    min-height: 264px;
  }

  .shop-product-card__purchase.is-open,
  .product-card__purchase.is-open {
    min-width: 112px;
  }
}

.product-favorite-toggle.is-pending,
.shop-product-card__favorite.is-pending {
  opacity: 0.62;
  cursor: wait;
}

.order-confirmation {
  display: grid;
  gap: 24px;
}

.order-result--success {
  border-color: rgba(233, 125, 43, 0.32);
  box-shadow: 0 18px 44px rgba(16, 27, 45, 0.08);
}

.order-confirmation__grid {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.order-confirmation__items {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.order-confirmation__items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 27, 45, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.order-confirmation__items span {
  color: #233349;
  font-weight: 600;
}

.order-confirmation__items strong {
  color: #101b2d;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .order-confirmation__grid {
    grid-template-columns: 1fr;
  }
}

/* Final responsive polish layer */
@media (max-width: 1080px) {
  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.75rem;
  }

  .header-actions {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 0.6rem;
    min-width: 0;
  }

  .header-info {
    display: none;
  }

  .header-account-wrap {
    justify-self: end;
  }

  .header-search,
  .header-search input,
  .header-search button,
  .header-account,
  .header-account-menu,
  .cart-layout > *,
  .claims-layout > *,
  .legal-content > *,
  .account-shell > *,
  .account-shell__hero > *,
  .legal-shell > *,
  .legal-hero > * {
    min-width: 0;
  }

  .floating-cart {
    top: auto;
    right: 0.9rem;
    bottom: 5.8rem;
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 860px) {
  .site-header.is-hidden {
    transform: translateY(-100%);
  }

  .topbar__inner {
    gap: 0.5rem;
    padding: 0.48rem 0;
  }

  .topbar__group,
  .topbar__actions {
    width: 100%;
    justify-content: space-between;
    gap: 0.55rem;
  }

  .topbar__item,
  .topbar__link {
    min-width: 0;
    font-size: 0.78rem;
  }

  .topbar__item span,
  .topbar__link span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .topbar__actions .topbar__link--legal {
    flex: 1 1 auto;
    min-width: 0;
  }

  .topbar__actions .topbar__link:not(.topbar__link--legal) {
    flex: 0 0 auto;
  }

  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    row-gap: 0.65rem;
    padding: 0.75rem 0 0.55rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand img {
    width: min(214px, 52vw);
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .header-account {
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .header-account__copy {
    display: none;
  }

  .header-account__caret {
    display: none;
  }

  .nav-toggle {
    grid-column: 4;
    grid-row: 1;
    display: inline-flex;
    justify-self: end;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    min-height: 48px;
  }

  .header-search input {
    min-height: 46px;
    font-size: 0.94rem;
  }

  .header-account-menu {
    right: 0;
    left: auto;
    min-width: min(260px, calc(100vw - 1.25rem));
  }

  .site-nav {
    top: calc(100% + 0.3rem);
    left: 0;
    right: 0;
    padding: 0.85rem;
    border-radius: 8px;
  }

  body .legal-hero,
  body .account-shell__hero {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  body .legal-hero::before,
  body .account-shell__hero::before {
    width: min(40%, 260px);
    opacity: 0.9;
  }

  body .legal-hero::after,
  body .account-shell__hero::after {
    left: auto;
    right: -8%;
    bottom: -16%;
    width: 54%;
    height: 72%;
  }

  body .legal-hero__meta,
  body .account-shell__status {
    gap: 0.7rem;
  }

  body .legal-hero__notice {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.85rem 0.9rem;
  }

  body .legal-hero__notice img {
    width: 24px;
    height: 24px;
  }

  .cart-layout {
    gap: 1rem;
  }

  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
  }

  .cart-item__actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    align-items: center;
  }

  .summary-card {
    top: 92px;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    align-items: flex-start;
  }

  .topbar__group {
    gap: 0.4rem 0.7rem;
  }

  .topbar__actions {
    gap: 0.45rem;
  }

  .topbar__item,
  .topbar__link {
    font-size: 0.72rem;
  }

  .topbar__actions .topbar__link--legal span {
    max-width: 13ch;
  }

  .topbar__actions .topbar__link:not(.topbar__link--legal) span {
    max-width: 10ch;
  }

  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    padding: 0.62rem 0 0.48rem;
  }

  .brand img {
    width: min(178px, 46vw);
  }

  .nav-toggle,
  .header-account {
    width: 46px;
    min-width: 46px;
    min-height: 46px;
  }

  .header-search {
    min-height: 46px;
    padding-left: 0.7rem;
  }

  .header-search input {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .floating-cart {
    right: 0.7rem;
    bottom: 5.2rem;
    width: 52px;
    height: 52px;
  }

  .floating-cart img {
    width: 20px;
    height: 20px;
  }

  .floating-cart span {
    min-width: 1.3rem;
    min-height: 1.3rem;
    font-size: 0.76rem;
  }

  body .legal-hero,
  body .account-shell__hero,
  .claims-card,
  .legal-card,
  .account-card {
    padding: 0.95rem;
  }

  body .legal-hero::before,
  body .account-shell__hero::before {
    width: min(34%, 180px);
  }

  body .legal-hero::after,
  body .account-shell__hero::after {
    display: none;
  }

  body .legal-hero__notice {
    grid-template-columns: 1fr;
  }

  body .legal-hero__notice img {
    width: 22px;
    height: 22px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item__media {
    max-width: 120px;
  }

  .cart-item__actions {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .summary-card__row,
  .summary-card__total {
    font-size: 0.96rem;
  }
}

@media (max-width: 420px) {
  .header-main {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.45rem;
  }

  .header-actions {
    grid-column: 2;
    margin-right: 2.9rem;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 0.1rem;
    right: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .topbar__item img,
  .topbar__link img {
    width: 12px;
    height: 12px;
  }

  .topbar__actions .topbar__link--legal span {
    max-width: 11ch;
  }

  .topbar__actions .topbar__link:not(.topbar__link--legal) span {
    max-width: 9ch;
  }

  .brand img {
    width: min(148px, 38vw);
  }

  .header-account,
  .nav-toggle {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .header-search input::placeholder {
    font-size: 0.84rem;
  }
}

/* Account/admin mobile polish */
@media (max-width: 760px) {
  .account-portal,
  .account-entry,
  .admin-shell,
  .admin-board {
    gap: 0.9rem;
  }

  .account-entry__visual,
  .account-panel__head,
  .account-block,
  .account-profile-card,
  .account-side-nav,
  .admin-panel,
  .admin-stat,
  .admin-products__list,
  .admin-products__editor {
    padding: 0.9rem;
  }

  .admin-quickcreate {
    grid-template-columns: 1fr;
  }

  .admin-upload-item {
    grid-template-columns: 30px 64px minmax(0, 1fr) 34px;
    gap: 0.65rem;
    padding: 0.68rem;
  }

  .admin-upload-item img {
    width: 64px;
    height: 64px;
  }

  .admin-prompt-box {
    min-height: 220px;
  }

  .admin-product-block {
    min-height: 280px;
  }

  .account-entry__visual {
    min-height: 176px;
  }

  .account-entry__visual h1,
  .account-panel__copy h1,
  .admin-shell__hero .account-shell__copy h1 {
    max-width: none;
    font-size: clamp(1.9rem, 7.8vw, 2.6rem);
    line-height: 0.96;
  }

  .account-entry__visual p:not(.eyebrow),
  .account-panel__summary,
  .account-panel__copy p:not(.eyebrow),
  .admin-shell__hero .account-shell__copy p:last-of-type {
    font-size: 0.94rem;
    line-height: 1.45;
    max-width: 38ch;
  }

  .account-entry__badge,
  .account-panel__chip,
  .account-panel__art strong,
  .account-entry__trace--two,
  .account-panel__trace--two,
  .admin-shell__hero .account-shell__chips {
    display: none;
  }

  .account-entry__trace--one,
  .account-panel__trace--one {
    width: 108px;
    right: -0.5rem;
    top: 0.9rem;
    opacity: 0.58;
  }

  .account-entry__block,
  .account-panel__plate {
    width: 148px;
    opacity: 0.82;
  }

  .account-profile-card {
    min-height: 122px;
    padding: 0.75rem;
  }

  .account-profile-card__avatar {
    width: 82px;
    height: 82px;
  }

  .account-profile-card__edit {
    top: 0.7rem;
    right: 0.7rem;
    width: 32px;
    height: 32px;
  }

  .account-side-nav {
    padding: 0;
  }

  .account-side-nav__item {
    min-height: 50px;
    padding: 0.72rem 0.82rem;
    gap: 0 0.68rem;
  }

  .account-side-nav__item span {
    font-size: 0.9rem;
  }

  .account-shortcuts,
  .account-kpis,
  .account-summary-strip {
    gap: 0.7rem;
  }

  .account-shortcut-card {
    min-height: 84px;
    padding: 0.82rem 0.88rem 0.82rem 0.92rem;
    gap: 0.72rem;
  }

  .account-shortcut-card__icon {
    width: 44px;
    height: 44px;
  }

  .account-shortcut-card__icon img {
    width: 20px;
    height: 20px;
  }

  .account-shortcut-card strong,
  .account-kpi strong,
  .account-summary-pill strong {
    font-size: 0.94rem;
  }

  .account-shortcut-card small,
  .account-kpi small,
  .account-summary-pill small {
    font-size: 0.74rem;
  }

  .account-panel__actions,
  .account-block__actions {
    gap: 0.55rem;
  }

  .account-panel__actions .btn,
  .account-block__actions .btn {
    width: 100%;
  }

  .admin-shell__hero {
    gap: 0.8rem;
  }

  .admin-shell__hero .legal-hero__notice {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.8rem;
  }

  .admin-shell__hero .legal-hero__notice img {
    width: 20px;
    height: 20px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .admin-stat {
    min-height: 108px;
    gap: 0.28rem;
  }

  .admin-stat strong {
    font-size: 1.45rem;
  }

  .admin-stat span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .admin-panel__head {
    gap: 0.75rem;
  }

  .admin-panel__actions {
    gap: 0.55rem;
  }

  .admin-panel__actions .btn {
    width: 100%;
  }

  .admin-product-preview {
    gap: 0.8rem;
  }
}

@media (max-width: 560px) {
  .account-entry__visual,
  .account-panel__head,
  .account-block,
  .account-profile-card,
  .admin-panel,
  .admin-stat {
    padding: 0.82rem;
  }

  .account-entry__visual h1,
  .account-panel__copy h1,
  .admin-shell__hero .account-shell__copy h1 {
    font-size: clamp(1.75rem, 9vw, 2.3rem);
  }

  .account-entry__visual p:not(.eyebrow),
  .account-panel__summary,
  .account-panel__copy p:not(.eyebrow),
  .admin-shell__hero .account-shell__copy p:last-of-type {
    font-size: 0.9rem;
  }

  .account-shortcut-card {
    min-height: 74px;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .account-shortcut-card__icon {
    width: 40px;
    height: 40px;
  }

  .account-kpi,
  .account-summary-pill {
    padding: 0.8rem;
  }

.admin-stats {
  grid-template-columns: 1fr;
}
}

/* Admin orders manager refresh */
.admin-orders-shell--manager {
  display: grid;
  gap: 0.9rem;
}

.admin-orders-toolbar--manager {
  gap: 0.85rem;
  padding: 0.95rem 1rem;
}

.admin-orders-toolbar__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-orders-toolbar__copy h2 {
  margin: 0.2rem 0 0.2rem;
  font-size: 1.7rem;
}

.admin-orders-toolbar__copy p {
  margin: 0;
  max-width: 50ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-orders-toolbar__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.admin-orders-toolbar__meta-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  color: var(--muted);
}

.admin-orders-toolbar__meta-pill strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy-strong);
}

.admin-orders-tabs--manager {
  gap: 0.45rem;
}

.admin-orders-toolbar__row--manager {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: end;
}

.admin-orders-toolbar__row--secondary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}

.admin-orders-bulk--manager {
  min-width: 0;
}

.admin-orders-toolbar__filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
}

.admin-orders-toolbar__filters .field--full {
  grid-column: 1 / -1;
}

.admin-orders-table-card--manager {
  padding: 0;
  overflow: hidden;
}

.admin-orders-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.admin-orders-table-head strong {
  display: block;
  color: var(--navy-strong);
  font-size: 0.95rem;
}

.admin-orders-table-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-orders-table-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-orders-table-head__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(248, 250, 252, 0.9);
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-orders-table-head__pill strong {
  display: inline;
  font-size: 0.84rem;
}

.admin-orders-table--manager thead th,
.admin-orders-table--manager tbody td {
  padding: 0.7rem 0.8rem;
  font-size: 0.82rem;
}

.admin-orders-table__state {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}

.admin-orders-table__doc strong,
.admin-orders-table__tracking strong,
.admin-orders-table__customer strong {
  display: block;
  color: var(--navy-strong);
  font-size: 0.82rem;
}

.admin-orders-table__doc small,
.admin-orders-table__customer small,
.admin-orders-table__date small {
  font-size: 0.72rem;
}

.admin-orders-table__tracking strong {
  font-size: 0.78rem;
}

.admin-orders-table__amount {
  white-space: nowrap;
  font-family: var(--font-display);
  color: var(--navy-strong);
  font-size: 0.88rem;
}

.admin-orders-detail-card--manager {
  gap: 1rem;
  padding: 1rem;
}

.admin-orders-detail-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-orders-detail-card__top h3 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
}

.admin-orders-detail-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  align-items: center;
}

.admin-orders-detail-card__summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-orders-detail-card__summary-item {
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.admin-orders-detail-card__summary-item small {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-orders-detail-card__summary-item strong {
  color: var(--navy-strong);
  font-size: 0.83rem;
  line-height: 1.35;
}

.admin-orders-detail-card__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
  gap: 1rem;
}

.admin-orders-detail-card__stack,
.admin-orders-detail-card__editor {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.admin-orders-detail-card__workflow {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.98));
}

.admin-orders-detail-card__workflow-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
}

.admin-orders-detail-card__workflow-head strong {
  display: block;
  color: var(--navy-strong);
  font-size: 0.92rem;
}

.admin-orders-detail-card__workflow-head small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.admin-orders-detail-card__section {
  display: grid;
  gap: 0.6rem;
}

.admin-orders-detail-card__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-copy-card {
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.admin-copy-card p {
  margin: 0;
  color: var(--navy-strong);
  font-size: 0.85rem;
  line-height: 1.55;
}

.admin-list-card__row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
}

.admin-list-card__row:last-child {
  border-bottom: 0;
}

.admin-list-card__row strong {
  display: block;
  color: var(--navy-strong);
  font-size: 0.84rem;
}

.admin-list-card__row small {
  color: var(--muted);
  font-size: 0.72rem;
}

body[data-page="admin"] .admin-orders-toolbar--manager .field label,
body[data-page="admin"] .admin-orders-table--manager thead th,
body[data-page="admin"] .admin-orders-table-head p,
body[data-page="admin"] .admin-orders-detail-card__summary-item small,
body[data-page="admin"] .admin-copy-card p,
body[data-page="admin"] .admin-list-card__row small {
  font-size: 0.76rem;
}

body[data-page="admin"] .admin-orders-toolbar--manager .field input,
body[data-page="admin"] .admin-orders-toolbar--manager .field select,
body[data-page="admin"] .admin-orders-toolbar--manager .field textarea,
body[data-page="admin"] .admin-orders-table--manager tbody td,
body[data-page="admin"] .admin-orders-detail-card__summary-item strong {
  font-size: 0.82rem;
}

@media (max-width: 1200px) {
  .admin-orders-toolbar__row--manager,
  .admin-orders-toolbar__row--secondary,
  .admin-orders-toolbar__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-orders-bulk--manager,
  .admin-orders-toolbar__actions {
    grid-column: 1 / -1;
  }

  .admin-orders-detail-card__summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-orders-detail-card__columns {
    grid-template-columns: 1fr;
  }

  .admin-quick-status--workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .admin-orders-toolbar__header,
  .admin-orders-table-head,
  .admin-orders-detail-card__top {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-orders-toolbar__meta,
  .admin-orders-detail-card__meta {
    justify-content: flex-start;
  }

  .admin-orders-toolbar__row--manager,
  .admin-orders-toolbar__row--secondary,
  .admin-orders-toolbar__filters,
  .admin-orders-detail-card__summary {
    grid-template-columns: 1fr;
  }

  .admin-quick-status--workflow {
    grid-template-columns: 1fr;
  }
}

body[data-page="admin"] .page-main > .section > .container {
  width: calc(100% - 0.75rem);
  max-width: none;
}

body[data-page="admin"] .account-portal {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0.8rem;
}

body[data-page="admin"] .account-portal__main,
body[data-page="admin"] .admin-shell {
  gap: 0.85rem;
}

body[data-page="admin"] .admin-module-head .account-panel__copy h1,
body[data-page="admin"] .admin-orders-toolbar__copy h2,
body[data-page="admin"] .admin-detail-card h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

body[data-page="admin"] .field label,
body[data-page="admin"] .admin-records-table thead th,
body[data-page="admin"] .admin-records-table tbody td,
body[data-page="admin"] .admin-orders-table thead th,
body[data-page="admin"] .admin-orders-table tbody td,
body[data-page="admin"] .admin-orders-table-head p,
body[data-page="admin"] .account-side-nav__link span,
body[data-page="admin"] .account-side-nav__link small {
  font-size: 0.78rem;
}

.admin-catalog-shell {
  display: grid;
  gap: 0.9rem;
}

.admin-catalog-toolbar {
  gap: 0.85rem;
  padding: 0.95rem 1rem;
}

.admin-catalog-toolbar__lines {
  align-items: stretch;
}

.admin-catalog-toolbar__grid {
  grid-template-columns: minmax(320px, 1.25fr) repeat(5, minmax(128px, 0.62fr));
  gap: 0.75rem;
}

.admin-catalog-toolbar__search {
  grid-column: auto;
}

.admin-catalog-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
}

.admin-catalog-toolbar__bulk {
  display: flex;
  align-items: end;
  gap: 0.65rem;
  min-width: min(420px, 100%);
}

.admin-catalog-toolbar__bulk .field {
  min-width: 260px;
  flex: 1 1 260px;
}

.admin-catalog-toolbar__summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-catalog-table-card {
  padding: 0;
  overflow: hidden;
}

.admin-catalog-table {
  min-width: 1060px;
}

.admin-catalog-table__product {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-catalog-table__thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.admin-catalog-table__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-catalog-table__meta {
  display: grid;
  gap: 0.16rem;
}

.admin-catalog-table__meta strong {
  color: var(--navy-strong);
  font-size: 0.84rem;
  line-height: 1.3;
}

.admin-catalog-table__meta small,
.admin-catalog-table__mode,
.admin-catalog-table__stock {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.admin-catalog-table__stock.is-low {
  color: #b26d00;
}

.admin-catalog-table__stock.is-out {
  color: #a04646;
}

.admin-catalog-table__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.admin-catalog-table__quality {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.admin-catalog-table__quality-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.16rem 0.45rem;
  border: 1px solid rgba(148, 173, 202, 0.28);
  background: rgba(244, 247, 250, 0.92);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-catalog-table__quality-pill.is-ready {
  border-color: rgba(67, 186, 127, 0.24);
  background: rgba(67, 186, 127, 0.08);
  color: #23734d;
}

.admin-catalog-table__quality-pill.is-warn {
  border-color: rgba(255, 145, 77, 0.28);
  background: rgba(255, 145, 77, 0.08);
  color: #a65b22;
}

.admin-catalog-table__quality-pill.is-soft {
  border-color: rgba(148, 173, 202, 0.26);
  background: rgba(238, 243, 248, 0.92);
  color: #657587;
}

.admin-catalog-table__quality-pill.is-low {
  border-color: rgba(231, 111, 81, 0.22);
  background: rgba(231, 111, 81, 0.08);
  color: #9a4f39;
}

.admin-catalog-table__quality-meta {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-catalog-table__toggle,
.admin-catalog-table__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: #fff;
  cursor: pointer;
}

.admin-catalog-table__toggle.is-active {
  border-color: rgba(255, 145, 77, 0.34);
  background: rgba(255, 145, 77, 0.08);
}

.admin-catalog-table__toggle img,
.admin-catalog-table__icon-btn img {
  width: 15px;
  height: 15px;
}

.admin-catalog-table__link {
  color: var(--navy-strong);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .admin-catalog-toolbar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-catalog-toolbar__search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body[data-page="admin"] .account-portal {
    grid-template-columns: 1fr;
  }

  .admin-catalog-toolbar__grid {
    grid-template-columns: 1fr;
  }

  .admin-catalog-toolbar__bulk,
  .admin-catalog-toolbar__summary {
    width: 100%;
    justify-content: flex-start;
  }
}

body:not(.app-ready) .header-account__copy {
  display: none;
}

.header-account.is-guest {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  justify-content: center;
  padding: 0;
  gap: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.product-variant-box {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 0.95rem;
}

.product-variant-box label,
.admin-variants-editor__head label {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-variant-box select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(22, 37, 56, 0.14);
  background: #ffffff;
  color: var(--navy-strong);
  font: inherit;
  font-weight: 800;
}

.product-variant-box__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-variants-editor {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(22, 37, 56, 0.1);
  background: rgba(244, 247, 250, 0.42);
}

.admin-variants-editor__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.85rem;
}

.admin-variants-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: #ffffff;
}

.admin-variants-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-variants-table th,
.admin-variants-table td {
  padding: 0.55rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-variants-table th {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-variants-table input,
.admin-variants-table textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(22, 37, 56, 0.12);
  background: #ffffff;
  font: inherit;
  font-size: 0.82rem;
}

.admin-variants-table textarea {
  min-height: 68px;
  resize: vertical;
}

.admin-variant-stock {
  display: inline-flex;
  min-width: 36px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 37, 56, 0.08);
  background: rgba(244, 247, 250, 0.7);
  color: var(--navy-strong);
  font-weight: 900;
}

.admin-variant-active {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-variants-table tr.is-removed {
  opacity: 0.58;
}

.admin-variants-editor__empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .admin-variants-editor {
    padding: 0.7rem;
  }

  .admin-variants-editor__head {
    align-items: stretch;
    flex-direction: column;
  }
}

.header-account.is-guest .header-account__copy,
.header-account.is-guest .header-account__caret {
  display: none;
}

.header-account.is-guest .header-account__avatar {
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
}

.header-account.is-guest .header-account__avatar img {
  width: 19px;
  height: 19px;
}

.header-account-wrap.is-guest::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: min(308px, calc(100vw - 1rem));
  height: 18px;
}

.header-account-wrap.is-guest:hover .header-account,
.header-account-wrap.is-guest:focus-within .header-account {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.header-account-wrap.is-guest:hover .header-account__avatar img,
.header-account-wrap.is-guest:focus-within .header-account__avatar img {
  opacity: 1;
  transform: scale(1.06);
}

.header-account-wrap.is-guest:hover .header-account-menu,
.header-account-wrap.is-guest:focus-within .header-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-account-wrap.is-guest .header-account-menu {
  top: calc(100% + 0.32rem);
  width: min(312px, calc(100vw - 1.2rem));
  min-width: 312px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(22, 37, 56, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.998), rgba(248, 251, 255, 0.985)),
    #ffffff;
  box-shadow: 0 20px 42px rgba(16, 27, 45, 0.15);
}

.header-account-wrap.is-guest .header-account-menu::before,
.header-account-wrap.is-guest .header-account-menu::after,
.header-account-wrap.is-guest .header-account-menu__line {
  display: none;
}

.header-account-menu__auth {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.header-account-menu__auth--guest {
  gap: 0.66rem;
  padding: 1rem 1rem 1.02rem;
}

.header-account-menu__auth--guest::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 139, 47, 0.96), rgba(35, 197, 243, 0.82), rgba(35, 197, 243, 0));
}

.header-account-menu__eyebrow {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-account-menu__auth strong {
  color: var(--navy-strong);
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.05;
  letter-spacing: -0.028em;
}

.header-account-menu__copy {
  margin: 0;
  color: var(--muted);
  max-width: 24ch;
  font-size: 0.81rem;
  line-height: 1.48;
}

.header-account-menu__guest-actions {
  display: grid;
  gap: 0;
  margin-top: 0.1rem;
}

.header-account-menu__guest-link {
  position: relative;
  display: grid;
  gap: 0.14rem;
  min-width: 0;
  padding: 0.86rem 2.25rem 0.86rem 1rem;
  border-left: 2px solid transparent;
  color: var(--navy-strong);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, padding-left 180ms ease;
}

.header-account-menu__guest-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid rgba(22, 37, 56, 0.32);
  border-right: 1.5px solid rgba(22, 37, 56, 0.32);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 180ms ease, transform 180ms ease;
}

.header-account-menu__guest-link span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.header-account-menu__guest-link small {
  color: var(--muted);
  display: block;
  padding-right: 0.2rem;
  font-size: 0.73rem;
  line-height: 1.33;
}

.header-account-menu__guest-link:hover,
.header-account-menu__guest-link:focus-visible {
  padding-left: 1.06rem;
  border-left-color: rgba(240, 139, 47, 0.94);
  background: rgba(248, 251, 255, 0.96);
}

.header-account-menu__guest-link:hover::after,
.header-account-menu__guest-link:focus-visible::after {
  border-color: rgba(214, 117, 13, 0.72);
  transform: translate(2px, -50%) rotate(45deg);
}

.header-account-menu__guest-link--primary {
  border-top: 1px solid rgba(22, 37, 56, 0.06);
}

.header-account-menu__guest-link + .header-account-menu__guest-link {
  border-top: 1px solid rgba(22, 37, 56, 0.06);
}

.account-auth-shell {
  display: grid;
  justify-items: center;
  padding: 1rem 0 0.5rem;
}

.account-auth-card {
  position: relative;
  width: min(488px, 100%);
  display: grid;
  gap: 1rem;
  padding: 1.45rem 1.45rem 1.28rem;
  border: 1px solid rgba(22, 37, 56, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.998) 0 88%, rgba(22, 37, 56, 0.018) 88.2% 100%),
    #ffffff;
  box-shadow: 0 20px 44px rgba(16, 27, 45, 0.08);
}

.account-auth-card.is-switching .account-auth-card__head,
.account-auth-card.is-switching .account-auth-tabs,
.account-auth-card.is-switching .account-auth-panel.is-active {
  animation: accountAuthFade 180ms ease;
}

.account-auth-card--register {
  width: min(660px, 100%);
}

.account-auth-card::before,
.account-auth-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.account-auth-card::before {
  left: 1rem;
  top: 0.95rem;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.account-auth-card::after {
  right: 1rem;
  top: 0.95rem;
  width: 62px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 139, 47, 0.82), rgba(35, 197, 243, 0.72), rgba(35, 197, 243, 0));
}

.account-auth-card__head {
  display: grid;
  gap: 0.36rem;
  padding-right: 1.9rem;
  padding-top: 0.5rem;
}

.account-auth-card__head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.2vw, 2.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.account-auth-card__head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.58;
}

.account-auth-tabs {
  display: inline-flex;
  gap: 1.2rem;
  width: 100%;
  padding: 0 0 0.62rem;
  border-bottom: 1px solid rgba(22, 37, 56, 0.1);
  background: transparent;
}

.account-auth-tabs__button {
  position: relative;
  min-height: 28px;
  padding: 0 0 0.45rem;
  border: 0;
  background: transparent;
  color: rgba(22, 37, 56, 0.58);
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.account-auth-tabs__button.is-active {
  color: var(--navy-strong);
}

.account-auth-tabs__button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.72rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 139, 47, 0.94), rgba(35, 197, 243, 0.8));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.account-auth-tabs__button.is-active::after {
  transform: scaleX(1);
}

.account-auth-panel {
  display: none;
  gap: 0.96rem;
}

.account-auth-panel.is-active {
  display: grid;
}

.account-auth-card .form-grid {
  gap: 1rem 0.95rem;
}

.account-auth-card .field {
  gap: 0.42rem;
}

.account-auth-card .field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(22, 37, 56, 0.78);
  letter-spacing: 0.01em;
}

.account-auth-card .field input:not([type="checkbox"]),
.account-auth-card .field select,
.account-auth-card .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.92rem 1.05rem;
  border: 1px solid rgba(22, 37, 56, 0.12);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  font-size: 0.97rem;
}

.account-auth-card .field select {
  padding-right: 2.5rem;
}

.account-auth-card .field input:not([type="checkbox"]):focus,
.account-auth-card .field select:focus,
.account-auth-card .field textarea:focus {
  border-color: rgba(214, 117, 13, 0.45);
  box-shadow: 0 0 0 3px rgba(240, 139, 47, 0.12);
}

.password-field {
  position: relative;
  width: 100%;
  display: block;
}

.password-field input {
  width: 100%;
  padding-right: 3.15rem;
}

.password-field__toggle {
  position: absolute;
  top: 50%;
  right: 0.72rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(245, 247, 251, 0.96);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  transition: background 160ms ease;
}

.password-field__toggle img {
  width: 16px;
  height: 16px;
  opacity: 0.62;
}

.password-field__toggle.is-active img,
.password-field__toggle:hover img,
.password-field__toggle:focus-visible img {
  opacity: 0.96;
}

.password-field__toggle:hover,
.password-field__toggle:focus-visible {
  background: rgba(232, 238, 247, 0.98);
}

.account-auth-card .btn {
  min-height: 52px;
  border-radius: 10px;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.account-auth-linkbar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.account-auth-linkbar .text-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
}

.account-auth-card .field-checkbox {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.account-auth-card .field-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0.18rem 0 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--orange);
  box-shadow: none;
}

.account-auth-card .field-checkbox span {
  font-size: 0.93rem;
  line-height: 1.48;
  color: rgba(22, 37, 56, 0.78);
}

.account-auth-card .field-checkbox a {
  font-family: var(--font-display);
  font-weight: 700;
}

@keyframes accountAuthFade {
  0% {
    opacity: 0.38;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-panel h3,
.section-heading--product h2 {
  display: none;
}

.detail-panel {
  gap: 0.95rem;
}

@media (max-width: 760px) {
  .account-auth-shell {
    padding-top: 0.3rem;
  }

  .account-auth-card {
    width: min(100%, 540px);
    padding: 1.12rem;
  }

  .account-auth-card__head {
    padding-right: 0;
  }

  .account-auth-card--register {
    width: 100%;
  }

  .account-auth-tabs {
    gap: 0.9rem;
  }

  .account-auth-card .field input:not([type="checkbox"]),
  .account-auth-card .field select,
  .account-auth-card .field textarea {
    min-height: 50px;
  }
}
