/* ========================================================================== */
/* Guides CSS */
/* Instructions list and instruction detail page styles */
/* ========================================================================== */

/* ========================================================================== */
/* Instructions list */
/* ========================================================================== */

.instructions-list-hero {
  margin-bottom: 28px;
  text-align: center;
}

.instructions-list-hero__title {
  position: relative;
  display: inline-block;
  max-width: 920px;
  margin: 0;
  padding: 0 0 18px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.instructions-card {
  position: relative;
  height: 100%;
  min-height: 178px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 18px;
  background: var(--surface-color);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--default-color), transparent 95%);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.instructions-card:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
  color: inherit;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--default-color), transparent 92%);
}

.instructions-card__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  color: var(--accent-color);
  font-size: 20px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.instructions-card:hover .instructions-card__icon {
  background: var(--accent-color);
  color: #ffffff;
}

.instructions-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 10px;
}

.instructions-card__title {
  display: block;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.018em;
  transition: color 0.22s ease;
}

.instructions-card:hover .instructions-card__title {
  color: var(--accent-color);
}

.instructions-card__text {
  display: -webkit-box;
  overflow: hidden;
  color: color-mix(in srgb, var(--default-color), transparent 36%);
  font-size: 14px;
  line-height: 1.52;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.instructions-card__bottom {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 76%);
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  transition:
    background-color 0.22s ease,
    color 0.22s ease;
}

.instructions-card:hover .instructions-card__bottom {
  background: var(--accent-color);
  color: #ffffff;
}

.instructions-card__bottom i {
  transition: transform 0.22s ease;
}

.instructions-card:hover .instructions-card__bottom i {
  transform: translateX(2px);
}

.instructions-list-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.instructions-list-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.instructions-list-pagination a,
.instructions-list-pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 12px;
  background: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 34%);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.instructions-list-pagination .active a,
.instructions-list-pagination .active span,
.instructions-list-pagination a:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

@media (max-width: 575.98px) {
  .instructions-list-hero {
    margin-bottom: 22px;
  }

  .instructions-list-hero__title {
    font-size: clamp(28px, 8vw, 38px);
    letter-spacing: -0.025em;
  }

  .instructions-card {
    min-height: 168px;
    gap: 12px;
    padding: 20px;
    border-radius: 16px;
  }

  .instructions-card__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
    font-size: 19px;
  }

  .instructions-card__title {
    font-size: 19px;
  }

  .instructions-card__bottom {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================================================== */
/* Instruction detail layout */
/* ========================================================================== */

.instruction-detail {
  position: relative;
}

.instruction-section {
  position: relative;
}

.instruction-section-title {
  padding-bottom: 32px;
}

.instruction-section-title h2:last-child,
.instruction-section-title p:last-child {
  margin-bottom: 0;
}

.instruction-main-title {
  margin-bottom: 32px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

/* ========================================================================== */
/* Instruction download card */
/* ========================================================================== */

.instruction-download-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 20px;
  background: var(--surface-color);
}

.instruction-download-card__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 76%);
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 24px;
}

.instruction-download-card__body {
  min-width: 0;
}

.instruction-download-card__label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 7px;
  color: var(--accent-color);
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.instruction-download-card h2 {
  margin: 0;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.instruction-download-card p {
  max-width: 720px;
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--default-color), transparent 34%);
  font-size: 14px;
  line-height: 1.55;
}

.instruction-download-card__btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  background: var(--accent-color);
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.instruction-download-card__btn:hover {
  border-color: color-mix(in srgb, var(--accent-color), black 12%);
  background: color-mix(in srgb, var(--accent-color), black 12%);
  color: #ffffff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-color), transparent 82%);
}

.instruction-download-card__btn i {
  transition: transform 0.22s ease;
}

.instruction-download-card__btn:hover i {
  transform: translateX(2px);
}

/* ========================================================================== */
/* Instruction content typography */
/* ========================================================================== */

.instruction-content {
  color: color-mix(in srgb, var(--default-color), transparent 24%);
  font-size: 16px;
  line-height: 1.78;
}

.instruction-content > *:first-child {
  margin-top: 0;
}

.instruction-content > *:last-child {
  margin-bottom: 0;
}

.instruction-content h2,
.instruction-content h3,
.instruction-content h4 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.018em;
}

.instruction-content h2 {
  margin: 36px 0 16px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.18;
}

.instruction-content h3 {
  margin: 28px 0 12px;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.24;
}

.instruction-content h4 {
  margin: 24px 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.instruction-content p {
  margin: 0 0 18px;
}

.instruction-content strong {
  color: var(--heading-color);
  font-weight: 600;
}

.instruction-content a {
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.instruction-content a:hover {
  color: color-mix(in srgb, var(--accent-color), #111827 20%);
  border-bottom-color: currentColor;
}

.instruction-content ul,
.instruction-content ol {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.instruction-content li::marker {
  color: var(--accent-color);
  font-weight: 600;
}

.instruction-content blockquote {
  position: relative;
  margin: 30px 0;
  padding: 22px 24px 22px 78px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 76%);
  border-radius: 22px;
  background: #ffffff;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--default-color), transparent 94%);
}

.instruction-content blockquote::before {
  content: "\F6B0";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 76%);
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-family: "bootstrap-icons";
  font-size: 18px;
  line-height: 1;
}

.instruction-content blockquote::after {
  content: "";
  position: absolute;
  left: 40px;
  top: 72px;
  bottom: 22px;
  width: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 78%);
}

.instruction-content blockquote p {
  position: relative;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  font-size: 15px;
  line-height: 1.72;
}

.instruction-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.instruction-content figure {
  margin: 26px 0;
}

.instruction-content figure img,
.instruction-content > img,
.instruction-content p img {
  width: 100%;
  display: block;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: color-mix(in srgb, var(--background-color), var(--surface-color) 56%);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--default-color), transparent 94%);
}

.instruction-content figcaption {
  margin-top: 9px;
  color: color-mix(in srgb, var(--default-color), transparent 48%);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.instruction-content table {
  width: 100%;
  margin: 24px 0;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 16px;
  background: var(--surface-color);
}

.instruction-content th,
.instruction-content td {
  padding: 13px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.instruction-content th {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.instruction-content tr:last-child td {
  border-bottom: 0;
}

/* ========================================================================== */
/* Instruction custom content blocks */
/* ========================================================================== */

.instruction-content .instruction-quick,
.instruction-content .instruction-errors {
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 20px;
  background: var(--surface-color);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--default-color), transparent 95%);
}

.instruction-content .instruction-quick,
.instruction-content .instruction-steps,
.instruction-content .instruction-errors {
  margin-bottom: 32px;
}

.instruction-content .instruction-quick:last-child,
.instruction-content .instruction-steps:last-child,
.instruction-content .instruction-errors:last-child {
  margin-bottom: 0;
}

.instruction-content .instruction-block-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.instruction-content .instruction-block-head__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.instruction-content .instruction-block-head h2 {
  margin: 0;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.instruction-content .instruction-block-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: color-mix(in srgb, var(--default-color), transparent 34%);
  font-size: 15px;
  line-height: 1.6;
}

.instruction-content .instruction-quick__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.instruction-content .instruction-quick-card {
  min-width: 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 16px;
  background: color-mix(in srgb, var(--background-color), var(--surface-color) 58%);
}

.instruction-content .instruction-quick-card__num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.instruction-content .instruction-quick-card__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.instruction-content .instruction-quick-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.instruction-content .instruction-quick-card h3 i {
  flex: 0 0 auto;
  color: var(--accent-color);
  font-size: 17px;
  line-height: 1.2;
}

.instruction-content .instruction-quick-card p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 38%);
  font-size: 13px;
  line-height: 1.5;
}

.instruction-content .instruction-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: color-mix(in srgb, var(--default-color), transparent 28%);
  font-size: 14px;
  line-height: 1.55;
}

.instruction-content .instruction-note i {
  flex: 0 0 auto;
  color: var(--accent-color);
  font-size: 18px;
  line-height: 1.35;
}

.instruction-content .instruction-note strong {
  color: var(--heading-color);
  font-weight: 600;
}

/* ========================================================================== */
/* Instruction timeline steps */
/* ========================================================================== */

.instruction-content .instruction-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.instruction-content .instruction-timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 86%);
}

.instruction-content .instruction-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}

.instruction-content .instruction-step__num {
  position: sticky;
  top: 110px;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 76%);
  border-radius: 18px;
  background: var(--surface-color);
  color: var(--accent-color);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--default-color), transparent 94%);
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.instruction-content .instruction-step__card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 20px;
  background: var(--surface-color);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--default-color), transparent 95%);
}

.instruction-content .instruction-step__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  color: var(--accent-color);
  font-size: 22px;
}

.instruction-content .instruction-step__body {
  min-width: 0;
}

.instruction-content .instruction-step h3 {
  margin: 0;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.018em;
}

.instruction-content .instruction-step p {
  margin: 10px 0 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 15px;
  line-height: 1.65;
}

.instruction-content .instruction-step p strong,
.instruction-content .instruction-error-card p strong {
  color: var(--heading-color);
  font-weight: 600;
}

.instruction-content .instruction-action {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  background: var(--accent-color);
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.instruction-content .instruction-action:hover {
  border-color: color-mix(in srgb, var(--accent-color), black 12%);
  background: color-mix(in srgb, var(--accent-color), black 12%);
  color: #ffffff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-color), transparent 84%);
}

.instruction-content .instruction-step figure {
  margin: 18px 0 0;
}

.instruction-content .instruction-step figure img {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 18px;
  background: color-mix(in srgb, var(--background-color), var(--surface-color) 58%);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--default-color), transparent 94%);
}

/* ========================================================================== */
/* Instruction error cards */
/* ========================================================================== */

.instruction-content .instruction-error-list {
  display: grid;
  gap: 12px;
}

.instruction-content .instruction-error-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 16px;
  background: color-mix(in srgb, var(--background-color), var(--surface-color) 58%);
}

.instruction-content .instruction-error-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  color: var(--accent-color);
  font-size: 18px;
}

.instruction-content .instruction-error-card__body {
  min-width: 0;
}

.instruction-content .instruction-error-card h3 {
  margin: 0;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
}

.instruction-content .instruction-error-card p {
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--default-color), transparent 34%);
  font-size: 14px;
  line-height: 1.58;
}

/* ========================================================================== */
/* Instruction navigation cards */
/* ========================================================================== */

.instruction-nav-card {
  position: relative;
  height: 100%;
  min-height: 150px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 18px;
  background: var(--surface-color);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--default-color), transparent 95%);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.instruction-nav-card:hover,
.instruction-nav-card.is-active {
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
  color: inherit;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--default-color), transparent 92%);
}

.instruction-nav-card__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  color: var(--accent-color);
  font-size: 20px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.instruction-nav-card:hover .instruction-nav-card__icon,
.instruction-nav-card.is-active .instruction-nav-card__icon {
  background: var(--accent-color);
  color: #ffffff;
}

.instruction-nav-card__body {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.instruction-nav-card__label {
  color: var(--accent-color);
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.instruction-nav-card__title {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.018em;
  transition: color 0.22s ease;
}

.instruction-nav-card:hover .instruction-nav-card__title,
.instruction-nav-card.is-active .instruction-nav-card__title {
  color: var(--accent-color);
}

.instruction-nav-card__arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.instruction-nav-card:hover .instruction-nav-card__arrow {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateX(2px);
}

/* ========================================================================== */
/* Instruction product cards */
/* ========================================================================== */

.instruction-product-card {
  position: relative;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 20px;
  background: var(--surface-color);
  color: inherit;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--default-color), transparent 95%);
  transition:
    border-color 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease;
}

.instruction-product-card:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--default-color), transparent 92%);
}

.instruction-product-card__media {
  position: relative;
  min-height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 17px;
  background: color-mix(in srgb, var(--background-color), var(--surface-color) 58%);
  text-decoration: none;
}

.instruction-product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.instruction-product-card__badge {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 74%);
  border-radius: 10px;
  background: #ffffff;
  color: var(--accent-color);
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--default-color), transparent 92%);
}

.instruction-product-card__badge--popular {
  color: #f59e0b;
  border-color: color-mix(in srgb, #f59e0b, transparent 70%);
}

.instruction-product-card__badge--new {
  color: var(--accent-color);
}

.instruction-product-card__badge--favorite {
  color: color-mix(in srgb, var(--accent-color), #111827 18%);
}

.instruction-product-card__badge--delivery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 28px;
  height: 28px;
  padding: 4px 8px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), white 90%);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--default-color), transparent 88%);
}

.instruction-product-card__img {
  max-width: 88%;
  max-height: 150px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
}

.instruction-product-card:hover .instruction-product-card__img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.instruction-product-card__empty {
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-color), transparent 91%);
  color: var(--accent-color);
  font-size: 28px;
}

.instruction-product-card__body {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
}

.instruction-product-card__top {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.instruction-product-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.018em;
  text-decoration: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.22s ease;
}

.instruction-product-card__title:hover,
.instruction-product-card:hover .instruction-product-card__title {
  color: var(--accent-color);
}

.instruction-product-card__status {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.instruction-product-card__status > * {
  max-width: 100%;
}

.instruction-product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.instruction-product-card__prices {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.instruction-product-card__price {
  display: block;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.instruction-product-card__old-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.instruction-product-card__discount {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, #dc2626, transparent 90%);
  color: #dc2626;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.instruction-product-card__old-price {
  color: color-mix(in srgb, var(--default-color), transparent 48%);
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: line-through;
  white-space: nowrap;
}

.instruction-product-card__cart {
  flex: 0 0 auto;
}

.instruction-product-card__cart.ms-cta--hidden {
  display: none;
}

.instruction-product-card__btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  background: var(--accent-color);
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.instruction-product-card__btn:hover {
  border-color: color-mix(in srgb, var(--accent-color), black 12%);
  background: color-mix(in srgb, var(--accent-color), black 12%);
  color: #ffffff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent-color), transparent 84%);
}

.instruction-product-card__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ========================================================================== */
/* Instruction responsive styles */
/* ========================================================================== */

@media (max-width: 1199.98px) {
  .instruction-content .instruction-quick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .instruction-download-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .instruction-download-card__btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 767.98px) {
  .instruction-content .instruction-quick,
  .instruction-content .instruction-errors {
    padding: 20px;
    border-radius: 18px;
  }

  .instruction-content .instruction-quick__grid {
    grid-template-columns: 1fr;
  }

  .instruction-content .instruction-timeline::before {
    display: none;
  }

  .instruction-content .instruction-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .instruction-content .instruction-step__num {
    position: static;
    width: fit-content;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
  }

  .instruction-content .instruction-step__card {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 18px;
  }

  .instruction-content .instruction-step__icon {
    width: 48px;
    height: 48px;
  }

  .instruction-content .instruction-action {
    width: 100%;
    justify-content: center;
  }

  .instruction-content .instruction-error-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .instruction-download-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
    border-radius: 18px;
  }

  .instruction-download-card__btn {
    grid-column: auto;
    width: 100%;
  }

  .instruction-content {
    font-size: 15px;
    line-height: 1.7;
  }

  .instruction-content table {
    display: block;
    overflow-x: auto;
  }

  .instruction-content blockquote {
    padding: 18px 18px 18px 68px;
  }

  .instruction-content blockquote::before {
    left: 16px;
    top: 18px;
  }

  .instruction-content blockquote::after {
    left: 36px;
    top: 68px;
    bottom: 18px;
  }

  .instruction-nav-card {
    min-height: 140px;
    gap: 12px;
    padding: 20px;
    border-radius: 16px;
  }

  .instruction-nav-card__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
    font-size: 19px;
  }

  .instruction-nav-card__arrow {
    display: none;
  }

  .instruction-product-card {
    padding: 16px;
    border-radius: 16px;
  }

  .instruction-product-card__media {
    min-height: 180px;
    border-radius: 15px;
  }

  .instruction-product-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .instruction-product-card__btn,
  .instruction-product-card__cart {
    width: 100%;
  }
}

/* ========================================================================== */
/* Guides CSS end */
/* ========================================================================== */