.main:has(#product-link) {
  max-width: 1060px;
  padding-top: 34px;
}

.main:has(#product-link) .page-head {
  position: relative;
  margin-bottom: 24px;
  padding-left: 4px;
}

.main:has(#product-link) .page-head::before {
  display: block;
  margin-bottom: 8px;
  color: #f45b18;
  content: "CÔNG CỤ HOÀN TIỀN";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.main:has(#product-link) .page-title {
  margin: 0 0 7px;
  color: #17233b;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -1.45px;
}

.main:has(#product-link) .page-head .subtitle {
  margin: 0;
  color: #6b788d;
  font-size: 14px;
}

#app > .card.convert-form,
#app > .section > .card.convert-form {
  position: relative;
  overflow: hidden;
  border-color: #eadfd7;
  border-radius: 24px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 28px rgba(44, 39, 35, .068);
}

#app > .card.convert-form {
  padding: 24px;
}

#app > .card.convert-form::before,
#app > .section > .card.convert-form::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(241, 83, 13, .72), rgba(255, 125, 44, .4) 52%, transparent 100%);
}

#app > .card.convert-form .section-header {
  align-items: center;
  margin-bottom: 17px;
}

#app > .card.convert-form .section-header h2,
#app > .section > .card.convert-form > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #17233b;
  font-size: 19px;
  letter-spacing: -.35px;
}

#app > .card.convert-form .section-header h2::before,
#app > .section > .card.convert-form > h2::before {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #ffd4b8;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff7f1, #ffe9da);
  box-shadow: 0 4px 9px rgba(211, 86, 18, .09), inset 0 1px 0 #fff;
  color: #e95710;
  font-size: 11px;
  font-weight: 800;
}

#app > .card.convert-form .section-header h2::before {
  content: "01";
}

#app > .section > .card.convert-form > h2::before {
  content: "02";
}

#app > .card.convert-form .section-header > .tag {
  padding: 6px 10px;
  border: 1px solid #ffe0c9;
  border-radius: 999px;
  background: #fff7f1;
  color: #d95612;
  font-size: 9px;
  letter-spacing: .04em;
}

.main:has(#product-link) .shop-grid {
  gap: 12px;
}

.main:has(#product-link) .shop {
  position: relative;
  min-height: 70px;
  padding: 15px 16px;
  overflow: hidden;
  border-color: #e7e9ed;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fffefd);
  box-shadow: 0 4px 11px rgba(27, 39, 54, .035);
  color: #253149;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.main:has(#product-link) .shop::after {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 3px;
  content: "";
  border-radius: 0 3px 3px 0;
  background: #f45b18;
  opacity: 0;
  transform: scaleY(.35);
  transition: opacity .2s ease, transform .2s ease;
}

.main:has(#product-link) .shop:hover {
  border-color: #ffc7a4;
  background: #fffaf6;
  box-shadow: 0 9px 20px rgba(208, 83, 18, .09);
  transform: translateY(-2px);
}

.main:has(#product-link) .shop.selected {
  border-color: #ffb687;
  background: linear-gradient(145deg, #fff9f4, #fff2e8);
  box-shadow: 0 9px 21px rgba(211, 84, 17, .105), inset 0 0 0 1px rgba(255, 117, 38, .06);
}

.main:has(#product-link) .shop.selected::after {
  opacity: 1;
  transform: scaleY(1);
}

.main:has(#product-link) .shop-logo {
  filter: drop-shadow(0 4px 5px rgba(31, 43, 58, .08));
}

.main:has(#product-link) .shop-label {
  margin-right: auto;
  color: #253149;
  font-size: 13px;
}

.main:has(#product-link) .shop .tag {
  min-width: 47px;
  padding: 5px 8px;
  border: 1px solid #ffe5b0;
  border-radius: 10px;
  background: #fff6d8;
  color: #9a6900;
  font-size: 10px;
}

.main:has(#product-link) .shop .tag small {
  background: #ffe2d1;
  color: #d9500e;
}

.main:has(#product-link) .shop.selected .tag {
  border-color: #ffd2b4;
  background: #fff0e5;
  color: #e15311;
}

#app > .section:has(#product-link) {
  margin-top: 24px;
}

#app > .section > .card.convert-form {
  padding: 24px;
}

#app > .section > .card.convert-form > .subtitle {
  display: block;
  margin: 8px 0 0 38px;
  color: #778499;
  font-size: 11px;
}

.main:has(#product-link) .input-row {
  gap: 10px;
  margin-top: 16px;
}

.main:has(#product-link) #product-link {
  height: 50px;
  padding: 0 16px;
  border: 1px solid #dde2e8;
  border-radius: 14px;
  background: #fafbfc;
  box-shadow: inset 0 1px 2px rgba(25, 38, 53, .025);
  color: #253149;
  font-size: 13px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.main:has(#product-link) #product-link:hover {
  border-color: #f0b996;
  background: #fffdfb;
}

.main:has(#product-link) #product-link:focus {
  outline: none;
  border-color: #ff8a48;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 105, 24, .11);
}

.main:has(#product-link) .input-row > .button {
  min-width: 126px;
  height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ff7425, #f45109);
  box-shadow: 0 8px 17px rgba(218, 72, 5, .2);
  font-size: 12px;
  transition: box-shadow .2s ease, transform .2s ease, filter .2s ease;
}

.main:has(#product-link) .input-row > .button:hover {
  box-shadow: 0 11px 23px rgba(218, 72, 5, .26);
  filter: saturate(1.06);
  transform: translateY(-2px);
}

.main:has(#product-link) .important-panel {
  margin-top: 24px;
  border-color: #ecdccf;
  border-radius: 21px;
  box-shadow: 0 10px 24px rgba(55, 42, 32, .06);
}

.main:has(#product-link) .important-panel summary {
  padding: 15px 18px;
  background: linear-gradient(90deg, #fffdfb, #fff9f5);
}

.main:has(#product-link) .important-icon {
  border-color: #ffd7bb;
  background: #fff5ed;
  box-shadow: inset 0 1px 0 #fff;
}

.main:has(#product-link) .important-content {
  border-top-color: #f1e4da;
  background: #fffcfa;
}

.main:has(#product-link) .important-content article {
  border-color: #efe2d8;
  box-shadow: 0 3px 8px rgba(41, 50, 62, .025);
}

@media (max-width: 700px) {
  .main:has(#product-link) {
    padding-top: 25px;
  }

  .main:has(#product-link) .page-title {
    font-size: 29px;
  }

  #app > .card.convert-form,
  #app > .section > .card.convert-form {
    padding: 18px;
    border-radius: 21px;
  }

  .main:has(#product-link) .shop {
    min-height: 64px;
  }
}

@media (max-width: 600px) {
  .main:has(#product-link) .input-row > .button {
    width: 100%;
  }

  #app > .section > .card.convert-form > .subtitle {
    margin-left: 38px;
  }
}
