.v-detail-sell-info .v-sell-info-dialog {
  display: block;
  width: 100%;
}

.v-detail-sell-info .v-sell-info__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(var(--color-text, 18 18 18));
  text-align: inherit;
  cursor: pointer;
}

.v-detail-sell-info.product-detail__sell-info--horizontal .v-sell-info__trigger {
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.v-detail-sell-info .v-sell-info__trigger:hover .sell-info__text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v-sell-info__modal {
  --modal-animation-name: animation-slide-in-right;

  visibility: visible;
  width: min(90vw, 460px);
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgb(var(--color-background, 255 255 255));
  color: rgb(var(--color-text, 18 18 18));
  box-shadow: -6px 0px 12px rgba(0, 0, 0, 0.1);
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}

.v-sell-info-dialog>.v-sell-info__modal[open] {
  display: flex;

}

.v-sell-info-dialog>.v-sell-info__modal {
  position: fixed;
  inset-block-start: 0;
  inset-block-end: 0;
  inset-inline-start: auto;
  inset-inline-end: 0;
  inset-block: 0;
  inset-inline: auto 0;
  flex-direction: column;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  margin: 0;
}

.v-sell-info__modal::backdrop {
  background: rgba(255, 255, 255, 0.8);
}

.v-sell-info__close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  z-index: 1;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.v-sell-info__close svg {
  width: 16px;
  height: 16px;
}

.v-sell-info__modal-inner {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
}

.v-sell-info__modal-icon {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgb(var(--color-text, 18 18 18) / 6%);
  color: rgb(var(--color-text, 18 18 18));
}

.v-sell-info__modal-icon .sell-info__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.v-sell-info__modal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px 17px 16px;
  border-bottom: 1px solid rgb(var(--color-entry-line));
  flex-shrink: 0;
}

.v-sell-info__modal-title>* {
  margin: 0;
}

.v-sell-info__modal-content {
  color: rgb(var(--color-text, 18 18 18) / 72%);
}

.v-sell-info__modal-content>*:first-child {
  margin-block-start: 0;
}

.v-sell-info__modal-content>*:last-child {
  margin-block-end: 0;
}

@media (max-width: 959px) {
  .v-detail-sell-info.product-detail__sell-info--horizontal .v-sell-info__trigger {
    gap: 6px;
  }

  .v-sell-info__modal {
    --modal-animation-name: animation-slide-in-bottom;

    inset-block: auto 0;
    inset-inline: 0;
    width: 100vw;
    height: 88vh;
    min-height: 0;
    max-height: 88vh;
    border-radius: 12px 12px 0 0;
    transform: translateY(0);
    transition: height 0.5s ease;
  }

  .v-sell-info-dialog>.v-sell-info__modal {
    inset-block: auto 0;
    inset-inline: 0;
    width: 100vw;
    height: 88vh;
    min-height: 0;
    max-height: 88vh;
    border-radius: 12px 12px 0 0;
  }

  .v-sell-info__modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
  }

  .v-sell-info__modal-inner {
    padding: 24px 20px 30px;
  }
}