/* Equipment: Figma catalogue 152788:6312 and detail 152788:6436. */
.hw-main {
  width: min(1260px, calc(100% - 32px));
  margin: 104px auto 100px;
}
.hw-main h1,
.hw-main h2,
.hw-main p {
  margin: 0;
}
.hw-main h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 0.95;
}
.hw-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hw-offer {
  position: relative;
  height: 400px;
  padding: 20px 31px 31px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 0 48px #0000000a;
  border-radius: 0 24px 24px 0;
  overflow: hidden;
}
.hw-offer:first-child {
  border-radius: 24px 0 0 24px;
}
.hw-offer__badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  border-radius: 34px;
  background: #f6f6f6;
  padding: 8px 12px;
  margin-left: -12px;
  font-size: 16px;
  line-height: 20px;
}
.hw-offer__badge img {
  width: 20px;
  height: 20px;
}
.hw-offer h2 {
  position: relative;
  font-size: 32px;
  font-weight: 600;
  line-height: 0.95;
  margin: 20px 0 16px;
  color: #414141;
}
.hw-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  max-width: 495px;
}
.hw-tags--kit {
  max-width: 435px;
  margin-top: 0;
}
.hw-tags li {
  padding: 8px 12px;
  background: #f6f6f6;
  border-radius: 34px;
  color: #666;
  font-size: 16px;
  line-height: 20px;
  box-shadow: 0 2px 4px #0000000a;
}
.hw-offer__description {
  position: relative;
  max-width: 308px;
  font-size: 16px;
  line-height: 1.2;
  color: #414141;
}
.hw-offer__buy {
  position: absolute;
  left: 31px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 19px;
  background: #272727;
  color: white;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
  flex-shrink: 0;
}
.hw-button:hover {
  background: #414141;
}
.hw-price {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hw-price > span {
  color: #999;
  font-size: 16px;
  line-height: 20px;
}
.hw-price strong {
  font-size: 28px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.56px;
  color: #414141;
  white-space: nowrap;
}
.hw-offer__pattern {
  position: absolute;
  left: 164px;
  top: -33px;
  width: 739px;
  height: 646px;
  pointer-events: none;
}
.hw-offer__pattern img {
  position: absolute;
  width: 577px;
  height: 658px;
  left: 0;
  top: 0;
  transform: rotate(66.28deg);
}
.hw-kit-art {
  position: absolute;
  left: 307px;
  top: 137px;
  width: 371px;
  height: 263px;
  pointer-events: none;
}
.hw-kit-art__pos {
  position: absolute;
  left: 65px;
  top: 8px;
  width: 227.5px;
  height: 242.3px;
}
.hw-kit-art__shadow {
  position: absolute;
  left: -5px;
  top: 209px;
  width: 389px;
  height: 58px;
}
.hw-kit-art__phone {
  position: absolute;
  left: 16.4px;
  top: 115.2px;
  width: 72.5px;
  height: 147.7px;
}
.hw-kit-art__printer {
  position: absolute;
  left: 251.9px;
  top: 156.7px;
  width: 81px;
  height: 88.6px;
  overflow: hidden;
}
.hw-kit-art__printer img {
  position: absolute;
  width: 122.58%;
  height: 114.21%;
  left: -9.38%;
  top: -6.97%;
  max-width: none;
}
.hw-catalog {
  margin-top: 100px;
}
.hw-intro {
  color: #7f7f7f;
  font-size: 16px;
  line-height: 19px;
  margin-top: 16px !important;
}
.hw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 12px;
  margin-top: 40px;
}
.hw-product {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hw-product__image {
  display: block;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f6f6f6;
}
.hw-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hw-product h2 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  margin-top: 20px;
  min-height: 48px;
}
.hw-product h2 a {
  color: inherit;
  text-decoration: none;
}
.hw-product > p {
  font-size: 16px;
  line-height: 1.2;
  color: #7f7f7f;
  margin-top: 12px;
  margin-bottom: 20px;
  min-height: 38px;
}
.hw-buy {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: auto;
}
.hw-detail {
  display: grid;
  grid-template-columns: 465px 624px;
  justify-content: space-between;
  gap: 40px;
  padding-top: 12px;
}
.hw-back {
  display: inline-block;
  font-size: 16px;
  color: #999;
  margin-bottom: 28px;
  text-decoration: none;
}
.hw-detail h1 {
  margin-bottom: 24px;
}
.hw-order {
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  box-shadow: 0 0 48px #0000000a;
  padding: 20px;
  margin-bottom: 24px;
}
.hw-stock {
  display: block;
  width: fit-content;
  color: #68b536;
  background: #e9ffd9;
  border-radius: 34px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 19px;
}
.hw-order > strong {
  display: block;
  font-size: 28px;
  line-height: 0.95;
  letter-spacing: -0.56px;
  margin-top: 12px;
  color: #414141;
}
.hw-order > div {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.hw-order p {
  font-size: 16px;
  line-height: 20px;
  color: #999;
}
.hw-description {
  font-size: 16px;
  line-height: 1.2;
  color: #666;
}
.hw-description p + p {
  margin-top: 16px;
}
.hw-specs {
  margin-top: 100px;
}
.hw-specs h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}
.hw-specs dl {
  margin: 20px 0 0;
}
.hw-specs dl > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px dotted #e6e6e6;
  align-items: baseline;
  font-size: 16px;
  line-height: 19px;
}
.hw-specs dt {
  color: #999;
  background: white;
  padding-right: 6px;
}
.hw-specs dd {
  text-align: right;
  margin: 0;
  background: white;
  padding-left: 6px;
  max-width: 68%;
}
.hw-detail__media {
  min-width: 0;
}
.hw-video {
  position: relative;
  display: block;
  aspect-ratio: 624/351;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #272727;
}
.hw-video > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hw-video__play {
  position: absolute;
  left: calc(50% - 16px);
  top: calc(50% - 16px);
  width: 32px;
  height: 32px;
}
.hw-detail__photo {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f6f6f6;
}
.hw-detail__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hw-help {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 257px;
  background: #272727;
  color: white;
  border-radius: 16px;
  padding: 24px;
  margin-top: 40px;
}
.hw-help h2 {
  font-size: 28px;
  line-height: 0.95;
  font-weight: 700;
  position: relative;
}
.hw-help p {
  position: relative;
  max-width: 221px;
  font-size: 16px;
  line-height: 20px;
  color: #b3b3b3;
  margin-top: 16px;
}
.hw-help .hw-button {
  position: relative;
  margin-top: 24px;
}
.hw-button--light {
  background: white;
  color: #272727;
  min-height: 62px;
}
.hw-button--light:hover {
  background: #e6e6e6;
}
.hw-help__person {
  position: absolute;
  width: 212px;
  height: 346px;
  left: 247px;
  top: 9px;
  object-fit: contain;
}
.hw-help__tablet {
  position: absolute;
  left: 303px;
  top: 143px;
  width: 112px;
  height: 83px;
}
.hw-help__pattern {
  position: absolute;
  width: 823px;
  height: 436px;
  left: -179px;
  top: -89px;
  z-index: -1;
}
@media (min-width: 1024px) {
  .rosta-hardware .header .layout {
    max-width: 1284px;
  }
  .hw-detail {
    margin-bottom: 200px;
  }
}
@media (max-width: 1199px) {
  .hw-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hw-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .hw-tags li {
    font-size: 14px;
    padding: 7px 10px;
  }
  .hw-kit-art {
    left: auto;
    right: -85px;
  }
  .hw-offer__buy {
    gap: 12px;
  }
  .hw-price strong {
    font-size: 25px;
  }
}
@media (max-width: 767px) {
  .hw-main {
    width: calc(100% - 24px);
    margin-top: 100px;
    margin-bottom: 64px;
  }
  .hw-offers {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hw-offer,
  .hw-offer:first-child {
    border-radius: 20px;
    padding-inline: 20px;
    height: 420px;
  }
  .hw-offer__badge {
    margin-left: 0;
    font-size: 14px;
  }
  .hw-offer h2 {
    font-size: 28px;
  }
  .hw-offer__buy {
    left: 20px;
    bottom: 20px;
  }
  .hw-tags {
    max-width: 100%;
  }
  .hw-tags li {
    font-size: 14px;
  }
  .hw-kit-art {
    transform: scale(0.72);
    transform-origin: bottom right;
    right: -24px;
    top: 105px;
  }
  .hw-tags--kit {
    max-width: 340px;
  }
  .hw-offer--kit .hw-offer__buy {
    z-index: 1;
  }
  .hw-catalog {
    margin-top: 64px;
  }
  .hw-main h1 {
    font-size: 28px;
    line-height: 1.05;
  }
  .hw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 12px;
    margin-top: 28px;
  }
  .hw-buy {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .hw-product h2 {
    font-size: 18px;
    min-height: 0;
  }
  .hw-product > p {
    font-size: 14px;
  }
  .hw-product .hw-button {
    min-height: 48px;
    font-size: 14px;
    padding: 14px;
  }
  .hw-price strong {
    font-size: 24px;
  }
  .hw-detail {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 8px;
  }
  .hw-detail__media {
    order: -1;
    display: flex;
    flex-direction: column;
  }
  .hw-detail__photo {
    order: -1;
    margin-bottom: 16px;
  }
  .hw-video {
    margin: 0;
  }
  .hw-specs {
    margin-top: 48px;
  }
  .hw-help {
    padding: 20px;
  }
  .hw-help__person {
    left: auto;
    right: -24px;
    opacity: 0.7;
  }
  .hw-help__tablet {
    left: auto;
    right: 20px;
  }
  .hw-help p {
    max-width: 58%;
  }
  .hw-help h2 {
    font-size: 25px;
  }
  .hw-order > div {
    align-items: center;
    margin-top: 12px;
  }
  .hw-order p {
    font-size: 14px;
  }
  .hw-specs dl > div {
    font-size: 14px;
  }
  .hw-back {
    margin-bottom: 20px;
  }
}
@media (max-width: 379px) {
  .hw-grid {
    grid-template-columns: 1fr;
  }
  .hw-buy {
    flex-direction: row;
    align-items: center;
  }
  .hw-offer {
    height: 460px;
  }
  .hw-offer__buy {
    gap: 10px;
  }
  .hw-offer__buy .hw-button {
    padding: 16px 12px;
  }
  .hw-offer__buy .hw-price > span {
    font-size: 14px;
  }
  .hw-kit-art {
    top: 145px;
  }
  .hw-help p {
    max-width: 65%;
  }
}
.hw-specs dt {
  font-weight: 400;
}
.hw-order {
  min-height: 174px;
}

@media (max-width: 767px) {
  .hw-detail__copy {
    display: contents;
  }
  .hw-detail {
    gap: 24px;
  }
  .hw-detail .hw-back {
    order: 0;
    margin: 0;
  }
  .hw-detail h1 {
    order: 1;
    margin: 0;
  }
  .hw-order {
    order: 2;
    margin: 0;
  }
  .hw-detail__media {
    order: 3;
  }
  .hw-description {
    order: 4;
  }
  .hw-specs {
    order: 5;
    margin-top: 24px;
  }
  .hw-help {
    order: 6;
    margin-top: 16px;
  }
}
.hw-help__glow {
  position: absolute;
  left: 303px;
  top: 143px;
  width: 112px;
  height: 83px;
  background: #027bff;
  filter: blur(54px);
  z-index: -1;
}
.hw-help__pattern {
  width: 829.927px;
  height: 493.46px;
  max-width: none;
  left: -180.65px;
  top: -118.85px;
}
.hw-video__play {
  width: 34px;
  height: 34.0012px;
  top: calc(50% - 16.5px);
  max-width: none;
}
.hw-kit-art__shadow {
  width: 388.848px;
  height: 57.6096px;
  max-width: none;
}
.hw-offer__pattern img {
  width: 576.765px;
  height: 658.028px;
  max-width: none;
}
@media (max-width: 767px) {
  .hw-offer.hw-offer--kit {
    height: 590px;
  }
  .hw-kit-art {
    top: 230px;
  }
  .hw-offer--kit .hw-offer__buy {
    bottom: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .hw-offers {
    grid-template-columns: 1fr;
  }
  .hw-offer,
  .hw-offer:first-child {
    border-radius: 24px;
  }
  .hw-kit-art {
    right: 0;
  }
  .hw-tags {
    max-width: 495px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .rosta-hardware .header.layout {
    max-width: 1284px;
  }
  .rosta-hardware .header__inner {
    min-height: 70px;
    padding: 7px;
  }
}
.hw-help__person {
  object-fit: fill;
}

/* The description follows its actual text; only the designed section gap remains. */
.hw-video {
  min-height: 200px;
}
.hw-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: 0;
}
/* Match the shared footer's desktop geometry in the equipment layouts. */
.hw-order,
.hw-help {
  border-radius: 20px;
}
@media (min-width: 1200px) {
}
.hw-specs dl {
  margin-top: 19px;
}
.hw-specs dl > div {
  position: relative;
  border-bottom: 0;
}
.hw-specs dl > div::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px dotted #e6e6e6;
  z-index: -1;
}
.hw-specs dl > div:last-child {
  margin-bottom: 0;
}
.hw-specs dl > div {
  isolation: isolate;
}
.hw-offer__pattern {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-offer__pattern > span {
  position: relative;
  flex: none;
  width: 435.131px;
  height: 616.068px;
  transform: rotate(66.28deg);
}
.hw-offer__pattern img {
  left: -130.45px;
  transform: none;
}

/* Local poster; the external player is created only on activation. */
.hw-video__preview {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
}
.hw-video__preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hw-video__start {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 64px;
  height: 48px;
  border-radius: 14px;
  background: #000b;
  font-size: 26px;
  padding-left: 3px;
  transition: background 0.2s;
}
.hw-video__preview:hover .hw-video__start,
.hw-video__preview:focus-visible .hw-video__start {
  background: #e62117;
}
.hw-video__preview:focus-visible {
  outline: 3px solid #ffb522;
  outline-offset: -4px;
}
