:root {
  --wpink: #e82276;
  --purple: #bd8fe5;
  --purple-dark: #6f2c91;
  --text: #2e2e2e;
  --muted: #969696;
  --line: #e7e2ea;
  --soft: #f5f5f6;
  --error: #bb4d61;
  --ok: #69ba57;
  --pix: #4bb8a9;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
  touch-action: manipulation;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 0;
  touch-action: manipulation;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
  touch-action: manipulation;
}

button {
  border: 0;
  background: transparent;
}

.page {
  width: min(100%, 589px);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  container-type: inline-size;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 12px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(42, 42, 42, 0.25);
}

.topbar__logo {
  display: block;
  width: 148px;
  max-height: 54px;
  object-fit: contain;
}

.topbar__safe {
  font-size: 14px;
  font-weight: 800;
  color: #171717;
  text-transform: uppercase;
}

.content {
  padding: 34px 41px 80px;
}

.page-title {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: clamp(29px, 8.5vw, 38px);
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: 46px 1fr 78px 1fr 62px 1fr 82px;
  align-items: start;
  margin: 8px auto 68px;
  color: var(--purple);
}

.step {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--purple);
}

.step__dot {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}

.step.is-done .step__dot,
.step.is-current .step__dot {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

.step__label {
  font-size: 12px;
  font-weight: 400;
  text-transform: lowercase;
  white-space: nowrap;
}

.steps__line {
  width: 34px;
  height: 3px;
  margin: 13px auto 0;
  background: var(--purple);
}

.cart-product {
  display: grid;
  grid-template-columns: 84px 1fr 154px 24px;
  gap: 16px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid #ccc;
}

.cart-products {
  display: grid;
  gap: 24px;
}

.cart-products .cart-product:last-child {
  padding-bottom: 25px;
}

.cart-product__image {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.cart-product__name {
  color: var(--purple);
  font-size: 17px;
  font-weight: 400;
}

.qty {
  display: inline-grid;
  grid-template-columns: 48px 48px 48px;
  height: 48px;
  border: 1px solid #171717;
}

.qty button,
.qty span {
  display: grid;
  place-items: center;
  border-right: 1px solid #cfcfcf;
  color: #111;
  font-size: 24px;
}

.qty span {
  font-size: 16px;
}

.qty button:last-child {
  border-right: 0;
  font-weight: 800;
}

.price {
  text-align: right;
}

.price__old {
  display: block;
  color: #9d9d9d;
  font-size: 17px;
  text-decoration: line-through;
}

.price__now {
  display: block;
  color: #050505;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.remove {
  color: #a5a5a5;
  font-size: 35px;
  line-height: 1;
}

.agreement {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 14px;
  align-items: start;
  width: 100%;
  margin: 166px 0 38px;
  padding: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.05;
  text-align: left;
}

.box-check {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  font-size: 24px;
  font-weight: 900;
}

.box-check.is-checked {
  background: var(--purple);
}

.coupon {
  margin-bottom: 38px;
  text-align: center;
}

.coupon label {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.coupon__row {
  display: grid;
  grid-template-columns: 1fr 64px;
  height: 60px;
  border: 2px solid #111;
}

.coupon input {
  min-width: 0;
  padding: 0 27px;
  border: 0;
  color: #777;
  font-size: 16px;
  outline: 0;
}

.coupon button {
  background: var(--purple);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.totals {
  width: min(100%, 376px);
  margin: 0 auto 28px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.total-row strong {
  font-weight: 900;
}

.total-row--discount {
  color: var(--purple-dark);
}

.total-row a {
  color: #191919;
  text-transform: none;
  text-decoration: underline;
}

.calc-link {
  padding: 0;
  color: #191919;
  font-size: 18px;
  text-decoration: underline;
}

.cart-shipping {
  margin: -10px 0 24px;
  text-transform: none;
}

.cart-shipping__row {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 8px;
  align-items: start;
}

.cart-shipping__row .input {
  margin-bottom: 0;
}

.cart-shipping__button {
  height: 45px;
  margin-top: 26px;
  margin-bottom: 0;
  background: var(--purple);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.cart-shipping__address {
  margin: 10px 0 14px;
  color: #777;
  font-size: 13px;
  line-height: 1.25;
}

.cart-shipping__manual-note {
  display: inline-block;
  margin-top: 3px;
  color: #777;
  font-size: 12px;
  line-height: 1.25;
}

.cart-shipping__options {
  margin-top: 0;
}

.cart-shipping__options .shipping-option {
  grid-template-columns: 34px minmax(0, 1fr) 82px;
  min-height: 62px;
  width: 100%;
  text-align: left;
}

.cart-shipping__options .radio {
  width: 18px;
  height: 18px;
  margin-left: 9px;
}

.cart-shipping__options .shipping-option.is-selected .radio::after {
  width: 8px;
  height: 8px;
  margin: 3px;
}

.cart-shipping__options .shipping-option strong {
  margin-bottom: 2px;
  color: #2e2e2e;
  font-size: 13px;
  font-weight: 800;
}

.cart-shipping__options .shipping-option span {
  min-width: 0;
  font-size: 11px;
  line-height: 1.2;
}

.cart-shipping__options .shipping-option__price {
  justify-content: end;
  padding-right: 10px;
  color: #2e2e2e;
  font-size: 12px;
  font-weight: 800;
}

.total-line {
  height: 1px;
  margin: 18px 0 42px;
  background: #dfdfdf;
}

.button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 67px;
  padding: 0 18px;
  border: 1px solid transparent;
  color: #fff;
  background: var(--purple);
  font-size: 19px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.button--outline {
  margin-bottom: 42px;
  border-color: var(--purple);
  color: var(--purple);
  background: #fff;
}

.button--dark {
  background: var(--purple-dark);
}

.toast {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  width: min(535px, calc(100% - 32px));
  min-height: 62px;
  padding: 0 20px;
  color: #555;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
}

.toast::before {
  content: "";
  align-self: stretch;
  width: 4px;
  margin: 0 18px 0 -10px;
  background: #ff991f;
}

.toast button {
  margin-left: auto;
  color: #999;
  font-size: 30px;
}

.email-intro {
  margin-top: 77px;
  text-align: center;
}

.email-intro h2 {
  margin: 0 0 31px;
  color: #202020;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 700;
}

.input {
  position: relative;
  margin-bottom: 20px;
}

.input label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 16px;
  font-weight: 400;
}

.input input,
.input select {
  width: 100%;
  height: 45px;
  padding: 0 14px;
  border: 1px solid #dedede;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 17px;
  outline: 0;
}

.input.is-ok input,
.input.is-loading input {
  padding-right: 42px;
}

.input input::placeholder {
  color: #cfcfcf;
}

.input.is-error input,
.input.is-error select {
  border-color: var(--error);
}

.input.is-ok::after {
  content: "✓";
  position: absolute;
  right: 9px;
  bottom: 8px;
  color: var(--ok);
  font-size: 20px;
  font-weight: 900;
}

.input.is-loading::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 13px;
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.input__error {
  display: block;
  margin-top: 5px;
  color: var(--error);
  font-size: 14px;
}

.email-field {
  width: min(100%, 488px);
  margin: 0 auto 11px;
}

.email-field input {
  height: 61px;
  font-size: 18px;
}

.email-copy {
  margin: 0 auto 34px;
  max-width: 500px;
  color: #202020;
  font-size: 20px;
  line-height: 1.3;
  text-align: left;
}

.email-action {
  width: min(390px, 100%);
  min-height: 65px;
  margin: 0 auto 73px;
}

.suggestions {
  position: absolute;
  inset-inline: 0;
  top: 61px;
  z-index: 5;
  display: grid;
  padding: 4px 0;
  background: #eee;
  color: #555;
  font-size: 17px;
}

.suggestions button {
  min-height: 37px;
  color: #555;
}

.safe-list {
  max-width: 455px;
  margin: 0 auto;
  color: #5b5b5b;
}

.safe-list h3 {
  margin: 0 0 28px;
  font-size: 19px;
  font-weight: 500;
  text-transform: uppercase;
}

.safe-list li {
  margin-bottom: 22px;
  font-size: 17px;
  text-transform: uppercase;
}

.section {
  margin-bottom: 76px;
}

.section__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 58px;
  color: var(--purple);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 53px;
  height: 3px;
  background: var(--purple);
}

.edit {
  color: var(--purple);
  font-size: 24px;
}

.panel {
  padding: 40px 12px 30px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(58, 33, 82, 0.08);
}

.panel--soft {
  background: #f2f2f2;
  box-shadow: none;
}

.profile-text {
  margin: 0 0 22px;
  color: #7c707c;
  font-size: 18px;
  line-height: 1.45;
}

.grid-2 {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
}

.grid-2--address {
  grid-template-columns: 1fr 78px;
}

.inline-check {
  display: flex;
  gap: 13px;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 10px 0 24px;
  color: #777;
  font-size: 16px;
  text-align: left;
}

.inline-check .mini-check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.inline-check .mini-check.is-checked {
  background: var(--purple);
}

.summary-card {
  display: grid;
  gap: 9px;
  padding: 36px 7px;
  font-size: 19px;
  line-height: 1.35;
}

.summary-card strong {
  font-weight: 900;
}

.waiting {
  padding: 34px;
  color: #8c8c8c;
  font-size: 16px;
  text-align: center;
}

.shipping-options {
  margin-top: 27px;
  border: 1px solid #e1e1e1;
}

.shipping-option {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 98px;
  align-items: center;
  width: 100%;
  min-height: 93px;
  border-bottom: 1px solid #e1e1e1;
  background: #fff;
  text-align: left;
}

.shipping-option:last-child {
  border-bottom: 0;
}

.shipping-option.is-selected {
  background: #f3f5fb;
}

.radio {
  width: 21px;
  height: 21px;
  margin-left: 14px;
  border: 2px solid var(--purple);
  border-radius: 50%;
}

.shipping-option.is-selected .radio::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 4px;
  border-radius: 50%;
  background: var(--purple);
}

.shipping-option strong {
  display: block;
  margin-bottom: 4px;
  color: #2e2e2e;
  font-size: 17px;
  font-weight: 800;
}

.shipping-option span {
  min-width: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.25;
}

.shipping-option__price {
  display: grid;
  place-items: center end;
  align-self: stretch;
  padding-right: 14px;
  border-left: 1px solid #e6e6e6;
  color: #2e2e2e;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.address-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 96px;
  margin: 30px 0 12px;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
}

.address-card__icon {
  color: #ff7bc3;
  font-size: 29px;
}

.address-card__text {
  font-size: 20px;
  line-height: 1.03;
}

.address-card__text button {
  display: block;
  padding: 0;
  color: #222;
  font-size: 16px;
  text-align: left;
}

.manual-address {
  margin: 24px 0 12px;
}

.manual-address .cart-shipping__address {
  margin: 0 0 18px;
}

.delivery-summary {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 18px;
  align-items: center;
  padding: 48px 12px 24px;
  color: #8f8f8f;
}

.delivery-summary__price {
  display: grid;
  place-items: center;
  min-height: 78px;
  border-left: 1px solid #eee;
  color: #8b8b8b;
}

.change-delivery {
  grid-column: 1 / -1;
  min-height: 39px;
  border: 1px dashed #407aa1;
  color: #555;
  font-size: 15px;
}

.payment-tabs {
  display: grid;
  margin-bottom: 22px;
}

.payment-tabs button {
  min-height: 58px;
  border-bottom: 3px solid var(--purple);
  background: #fff;
  color: #111;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-tabs button.is-active {
  background: #e9e9e9;
  color: var(--purple);
}

.pix-box {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin-bottom: 78px;
  border: 13px solid #e6e6e6;
  background: #fff;
  text-align: center;
}

.pix-box img {
  width: 164px;
  margin-bottom: 33px;
}

.pix-box p {
  margin: 0 0 32px;
  color: #777;
  font-size: 19px;
}

.arrow-down {
  color: #ddd;
  font-size: 34px;
}

.card-form {
  padding: 28px 24px;
  background: #e9e9e9;
}

.card-number input {
  padding-right: 64px;
}

.card-brand {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 25px;
}

.card-brand.is-empty {
  display: none;
}

.billing-address {
  margin: -4px 0 22px;
}

.flag {
  display: block;
  width: 40px;
  height: 25px;
  background-image: url("./assets/card-flags.png");
  background-repeat: no-repeat;
}

.flag--visa {
  background-position: 0 0;
}

.flag--master {
  background-position: -40px 0;
}

.flag--amex {
  background-position: -120px 0;
}

.flag--hiper {
  background-position: -160px 0;
}

.flag--elo {
  background-position: -320px 0;
}

.recaptcha-note {
  margin: 4px 0 0;
  color: #a0a0a0;
  font-size: 13px;
}

.summary-product {
  position: relative;
  display: grid;
  grid-template-columns: 122px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(58, 33, 82, 0.08);
}

.summary-products {
  display: grid;
  gap: 12px;
}

.summary-product__qty {
  position: absolute;
  top: 21px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
}

.summary-product img {
  width: 95px;
  height: 95px;
  object-fit: contain;
}

.summary-product h3 {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 400;
  text-transform: uppercase;
}

.summary-product p {
  margin: 0;
  color: #777;
  font-size: 16px;
}

.summary-product__price {
  font-size: 18px;
}

.footer {
  padding: 52px 34px 45px;
  background: var(--purple);
  color: #fff;
}

.footer h2 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer__payments-list {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-bottom: 64px;
}

.footer__payments {
  display: block;
  width: min(100%, 461px);
}

.footer__pix {
  display: block;
  width: 58px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer__company {
  margin: 0 0 28px;
  font-size: 20px;
  line-height: 1.15;
}

.footer__vtex {
  display: block;
  width: 84px;
}

.fixed-pay {
  position: sticky;
  bottom: 0;
  z-index: 25;
  width: 100%;
  padding: 24px 41px calc(24px + env(safe-area-inset-bottom));
  background: var(--purple-dark);
}

.fixed-pay .button {
  min-height: 56px;
  background: transparent;
}

.processing {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-items: start;
  padding: 58px 18px;
  background: rgba(255, 255, 255, 0.72);
}

.processing__box {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 14px;
  align-items: center;
  width: min(100%, 360px);
  min-height: 88px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 4px;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.32);
}

.processing__box h2 {
  margin: 0 0 4px;
  font-size: 25px;
  font-weight: 400;
}

.processing__box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -3px;
  animation: spin 0.8s linear infinite;
}

.lock {
  color: rgba(255, 255, 255, 0.65);
  font-size: 42px;
}

.pix-result {
  min-height: 100vh;
  padding-bottom: 0;
}

.pix-result__top {
  height: 52px;
  background: var(--purple);
}

.pix-result__main {
  padding: 34px 18px 150px;
  text-align: center;
}

.pix-result__logo {
  width: 208px;
  max-width: 78%;
  margin-bottom: 12px;
}

.pix-result__timer {
  margin: 0 0 30px;
  color: #777;
  font-size: 16px;
}

.pix-copy {
  width: min(100%, 420px);
  margin: 0 auto 45px;
  padding: 26px 26px 30px;
  border-radius: 4px;
  background: #f1f2f4;
  text-align: left;
}

.pix-copy h1 {
  margin: 0 0 20px;
  color: #202020;
  font-size: 20px;
  line-height: 1.12;
}

.pix-qr {
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.pix-qr img {
  display: block;
  width: 168px;
  height: 168px;
  background: #fff;
}

.pix-code {
  overflow: hidden;
  width: 100%;
  height: 43px;
  margin-bottom: 14px;
  padding: 10px 9px;
  border: 0;
  background: #fff;
  color: #444;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
}

.copy-code {
  min-height: 52px;
  margin-bottom: 0;
  border-radius: 3px;
  background: #1f57df;
  font-size: 16px;
}

.copy-code.is-copied {
  background: #2ea44f;
}

.confirmation-box {
  display: grid;
  gap: 12px;
  width: min(100%, 390px);
  margin: 0 auto 54px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.confirmation-box h2 {
  margin: 0;
  color: var(--purple);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.confirmation-box p,
.confirmation-box span {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.35;
}

.other-phone {
  display: block;
  color: #2354ba;
  font-size: 25px;
  text-align: center;
}

.pix-instructions {
  width: min(100%, 340px);
  margin: 0 auto 36px;
  color: #d0d0d0;
  font-size: 17px;
  line-height: 1.18;
  text-align: left;
}

.pix-wait {
  color: #d9d9d9;
  font-size: 18px;
}

.pix-status-note {
  margin: 10px auto 0;
  color: #a5a5a5;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

.is-hidden {
  display: none !important;
}

.plain-link {
  padding: 0;
  color: #222;
  font-size: 16px;
  text-align: left;
}

.setup-body {
  background: #f7f7f7;
}

.setup-page {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
}

.setup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 18px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(42, 42, 42, 0.16);
}

.setup-topbar a {
  color: #171717;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.setup-content {
  padding: 34px 22px 70px;
}

.setup-content h1 {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.setup-content p {
  margin: 0 0 28px;
  color: #555;
  font-size: 16px;
  line-height: 1.4;
}

.setup-form,
.setup-result {
  display: grid;
  gap: 16px;
}

.setup-field {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.setup-field input,
.setup-field select,
.setup-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #dedede;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
  outline: 0;
}

.setup-field textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
}

.setup-grid {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
}

.setup-result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e1e1e1;
}

.setup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.setup-actions .button {
  min-height: 56px;
  font-size: 16px;
  text-decoration: none;
}

.setup-actions .button.is-copied {
  background: #2ea44f;
}

.admin-body {
  background: #f4f5f7;
}

.admin-boot {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 11px 16px;
  background: var(--purple-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.admin-boot.is-hidden {
  display: none;
}

.admin-boot.is-error {
  background: #bb4d61;
  text-transform: none;
}

.admin-login {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
  background: #f4f5f7;
}

.admin-login.is-hidden {
  display: none;
}

.admin-login__box {
  display: grid;
  gap: 14px;
  width: min(100%, 390px);
  padding: 30px;
  border: 1px solid #e7e3eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(43, 35, 52, 0.08);
}

.admin-login__logo {
  width: 132px;
  margin-bottom: 6px;
}

.admin-login h1 {
  margin: 0 0 6px;
  color: #241f28;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-login label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 14px;
  font-weight: 700;
}

.admin-login input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ded8e5;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 15px;
  outline: 0;
}

.admin-login__error {
  min-height: 18px;
  color: #bb4d61;
  font-size: 13px;
  font-weight: 700;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  color: #252525;
}

.admin-shell.is-locked {
  display: none;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 30px 20px;
  background: #fff;
  border-right: 1px solid #e7e3eb;
}

.admin-logo {
  display: block;
  width: 142px;
  margin: 0 auto 34px 0;
}

.admin-nav {
  display: grid;
  gap: 7px;
}

.admin-nav a,
.admin-open-checkout {
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 7px;
  color: #38313d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-nav a:hover,
.admin-nav a.is-active,
.admin-open-checkout {
  background: var(--purple-dark);
  color: #fff;
}

.admin-main {
  min-width: 0;
  padding: 34px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e4e0e8;
}

.admin-header h1 {
  margin: 0 0 6px;
  color: #241f28;
  font-size: 31px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-header p {
  margin: 0;
  color: #777;
  font-size: 15px;
}

.admin-open-checkout {
  display: grid;
  place-items: center;
  min-width: 160px;
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.admin-card,
.admin-info-panel,
.admin-config-card,
.admin-list-panel,
.admin-editor-panel,
.admin-order-detail {
  background: #fff;
  border: 1px solid #e7e3eb;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(43, 35, 52, 0.055);
}

.admin-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  min-height: 132px;
}

.admin-card span,
.admin-card small {
  color: #777;
  font-size: 13px;
  text-transform: uppercase;
}

.admin-card strong {
  font-size: 28px;
  font-weight: 900;
}

.admin-panel {
  padding: 0;
}

.admin-section__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-section__head h2 {
  margin: 0;
  color: #241f28;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-sync-status {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.admin-info-panel {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.admin-info-panel strong {
  color: #241f28;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-info-panel span {
  color: #706977;
  font-size: 14px;
  line-height: 1.45;
}

.admin-section__head select,
.admin-refresh,
.admin-file-button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #ded8e5;
  border-radius: 6px;
  background: #fff;
  color: #333;
}

.admin-refresh,
.admin-file-button {
  display: grid;
  place-items: center;
  color: var(--purple-dark);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-danger {
  border-color: #f0c7d4;
  color: #b4234f;
}

.admin-danger:disabled {
  opacity: 0.65;
}

.admin-file-button {
  cursor: pointer;
  font-size: 13px;
}

.admin-file-button input {
  display: none;
}

.admin-product-select {
  display: none;
}

.admin-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-config-card,
.admin-editor-panel,
.admin-list-panel {
  padding: 20px;
}

.admin-config-card h3,
.admin-editor-panel h3 {
  margin: 0 0 16px;
  color: var(--purple-dark);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.admin-product-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-product-toolbar label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.admin-product-toolbar input,
.admin-product-toolbar select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #ded8e5;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 14px;
  outline: 0;
}

.admin-product-list {
  display: grid;
  gap: 8px;
  max-height: 640px;
  margin-bottom: 0;
  overflow: auto;
  border: 0;
  background: transparent;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 140px 154px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #eee9f2;
  border-radius: 7px;
  background: #fff;
}

.admin-product-row.is-active {
  border-color: rgba(111, 44, 145, 0.36);
  box-shadow: 0 0 0 2px rgba(189, 143, 229, 0.22);
}

.admin-product-row img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.admin-product-row strong,
.admin-product-row span,
.admin-product-row small {
  display: block;
}

.admin-product-row strong {
  overflow: hidden;
  color: #222;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-row span,
.admin-product-row small {
  overflow: hidden;
  color: #777;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-price strong {
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.admin-product-price small {
  text-align: right;
}

.admin-product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-product-actions .admin-refresh {
  min-height: 38px;
  padding: 0 8px;
  font-size: 12px;
}

.admin-source-pill {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-top: 3px;
  padding: 3px 7px;
  background: #f1e9f8;
  color: var(--purple-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: end;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(142px, 160px));
  gap: 12px;
  align-items: stretch;
  margin-top: 4px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 14px;
}

.admin-form input,
.admin-form select,
.admin-order select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ded8e5;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 15px;
  outline: 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-dns-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #eee6f5;
  border-radius: 7px;
  background: #fbf9fd;
  color: #555;
  font-size: 14px;
}

.admin-dns-box code {
  color: var(--purple-dark);
  font-weight: 800;
}

.admin-shipping-list {
  display: grid;
  gap: 10px;
}

.admin-shipping-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(190px, 1fr) 130px 110px;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid #eee9f2;
  border-radius: 7px;
  background: #fff;
}

.admin-shipping-row label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.admin-shipping-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #ded8e5;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 14px;
  outline: 0;
}

.admin-form-actions--shipping {
  grid-template-columns: minmax(0, 240px);
  margin-top: 14px;
}

.admin-orders {
  display: grid;
  gap: 10px;
}

.admin-order-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 14px;
}

.admin-order-toolbar label {
  display: grid;
  gap: 7px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.admin-order-toolbar input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #ded8e5;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 14px;
  outline: 0;
}

.admin-orders-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.admin-order {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) 130px 150px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #eee9f2;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.admin-order.is-active {
  border-color: rgba(111, 44, 145, 0.36);
  box-shadow: 0 0 0 2px rgba(189, 143, 229, 0.22);
}

.admin-order div {
  min-width: 0;
}

.admin-order strong,
.admin-order span,
.admin-order small {
  display: block;
}

.admin-order span,
.admin-order small {
  overflow: hidden;
  color: #777;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-order__money {
  text-align: right;
}

.admin-order__actions {
  display: grid;
  gap: 8px;
}

.admin-order__actions .admin-refresh {
  min-height: 36px;
  font-size: 12px;
}

.admin-status-pill {
  display: inline-block;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid #e6d9f0;
  background: #f7f1fb;
  color: var(--purple-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-status-pill.is-paid {
  border-color: #b8dfc4;
  background: #edf8f0;
  color: #24763b;
}

.admin-status-pill.is-cancelled {
  border-color: #efc6cf;
  background: #fff1f3;
  color: #a33d4f;
}

.admin-order-detail {
  padding: 18px;
  margin-top: 0;
}

.admin-order-detail.is-hidden {
  display: none;
}

.admin-order-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.admin-order-detail h3 {
  margin: 0 0 5px;
  color: var(--purple-dark);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-order-detail p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-detail-box {
  padding: 14px;
  border: 1px solid #eee9f2;
  border-radius: 7px;
  background: #fff;
}

.admin-detail-box strong {
  display: block;
  margin-bottom: 8px;
  color: #222;
  font-size: 13px;
  text-transform: uppercase;
}

.admin-detail-box span {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-size: 13px;
  line-height: 1.35;
}

.admin-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-empty {
  padding: 22px;
  color: #777;
  text-align: center;
}

/* Keep the admin typography light and readable without changing the checkout. */
.admin-body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.admin-body .admin-login label,
.admin-body .admin-form label,
.admin-body .admin-product-toolbar label,
.admin-body .admin-shipping-row label,
.admin-body .admin-order-toolbar label {
  font-weight: 500;
}

.admin-body .admin-nav a,
.admin-body .admin-open-checkout,
.admin-body .admin-refresh,
.admin-body .admin-file-button {
  font-weight: 600;
}

.admin-body .admin-header h1,
.admin-body .admin-section__head h2,
.admin-body .admin-card strong,
.admin-body .admin-info-panel strong,
.admin-body .admin-config-card h3,
.admin-body .admin-editor-panel h3,
.admin-body .admin-order-detail h3 {
  font-weight: 700;
}

.admin-body .admin-sync-status,
.admin-body .admin-login__error {
  font-weight: 500;
}

.admin-body .admin-product-price strong,
.admin-body .admin-dns-box code,
.admin-body .admin-source-pill,
.admin-body .admin-status-pill {
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .page {
    min-height: 100vh;
  }
}

@media (min-width: 980px) {
  body {
    background: #f7f7f7;
  }

  .page {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 1120px) {
  .admin-product-layout,
  .admin-orders-layout {
    grid-template-columns: 1fr;
  }

  .admin-product-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .admin-order {
    grid-template-columns: 1fr;
  }

  .admin-shipping-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-product-price,
  .admin-product-actions {
    grid-column: 2;
  }

  .admin-order__money,
  .admin-order__actions {
    grid-column: 1;
  }

  .admin-product-price strong,
  .admin-product-price small,
  .admin-order__money {
    text-align: left;
  }
}

@container (max-width: 580px) {
  .content {
    padding-inline: 41px;
  }

  .steps {
    margin-bottom: 62px;
  }

  .cart-product {
    grid-template-columns: 84px minmax(116px, 1fr) minmax(126px, 154px) 24px;
    gap: 10px;
  }

  .cart-product__image {
    width: 78px;
    height: 78px;
  }

  .cart-product__name {
    font-size: 17px;
  }

  .qty {
    grid-template-columns: repeat(3, 48px);
    height: 48px;
  }

  .price__old,
  .price__now {
    font-size: 17px;
  }

  .agreement {
    margin-top: 166px;
  }
}

@media (max-width: 520px) {
  .content {
    padding-inline: 22px;
  }

  .cart-product {
    grid-template-columns: 60px minmax(104px, 1fr) minmax(100px, 116px) 16px;
    gap: 8px;
  }

  .cart-product__image {
    width: 58px;
    height: 58px;
  }

  .cart-product__name,
  .price__old,
  .price__now {
    font-size: 14px;
  }

  .qty {
    grid-template-columns: repeat(3, 36px);
    height: 40px;
  }

  .agreement {
    margin-top: 118px;
    font-size: 18px;
  }

  .steps {
    grid-template-columns: 45px 1fr 76px 1fr 62px 1fr 78px;
  }

  .summary-product {
    grid-template-columns: 110px 1fr;
  }

  .summary-product__price {
    grid-column: 2;
  }

  .setup-grid,
  .setup-actions {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 18px;
  }

  .admin-logo {
    width: 118px;
    margin-bottom: 16px;
  }

  .admin-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-nav a {
    min-width: max-content;
  }

  .admin-main {
    padding: 20px;
  }

  .admin-header,
  .admin-section__head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions {
    display: grid;
    justify-content: stretch;
  }

  .admin-cards,
  .admin-grid,
  .admin-dashboard-grid,
  .admin-config-grid,
  .admin-product-layout,
  .admin-product-toolbar,
  .admin-product-row,
  .admin-product-actions,
  .admin-link-row,
  .admin-form-actions,
  .admin-shipping-row,
  .admin-orders-layout,
  .admin-order,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-price strong,
  .admin-product-price small,
  .admin-order__money {
    text-align: left;
  }

  .admin-order-detail__head,
  .admin-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Checkout administration workspace */
.admin-body { font-family: "DM Sans", Arial, sans-serif; color: #202432; background: #f6f7fa; }
.admin-body .admin-shell { grid-template-columns: 238px minmax(0, 1fr); }
.admin-body .admin-sidebar { padding: 27px 14px; background: #fff; border-right-color: #e8eaf0; }
.admin-body .admin-logo { width: 128px; margin: 0 10px 28px; }
.admin-body .admin-nav { gap: 4px; }
.admin-body .admin-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 6px; color: #454a58; font-size: 14px; font-weight: 600; text-transform: none; }
.admin-body .admin-nav a:hover { background: #f2edf8; color: #61308e; }
.admin-body .admin-nav a.is-active { background: #ece4fa; color: #552395; }
.admin-body .admin-main { max-width: 1800px; width: 100%; padding: 25px 32px 48px; }
.admin-body .admin-header { padding-bottom: 20px; margin-bottom: 24px; border-color: #e3e6ec; }
.admin-body .admin-header h1 { margin-bottom: 4px; font-size: 25px; color: #171c2b; text-transform: none; }
.admin-body .admin-header p { font-size: 13px; color: #757b8a; }
.admin-header-shop { padding-right: 14px; border-right: 1px solid #dde1e8; font-size: 13px; color: #68707f; white-space: nowrap; }
.admin-body .admin-open-checkout { min-width: 136px; background: #66349b; color: #fff; font-size: 12px; text-transform: none; }
.admin-body .admin-refresh, .admin-body .admin-file-button { color: #593086; font-size: 13px; text-transform: none; }
.admin-body .admin-section__head h2 { font-size: 19px; color: #1d2231; text-transform: none; }
.admin-body .admin-sync-status { font-size: 12px; font-weight: 400; color: #777f8f; }
.admin-body .admin-card, .admin-body .admin-info-panel, .admin-body .admin-dashboard-recent, .admin-body .admin-config-card, .admin-body .admin-list-panel, .admin-body .admin-editor-panel, .admin-body .admin-order-detail { border-color: #e5e8ef; box-shadow: 0 4px 18px #222b4309; }
.admin-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 17px; }
.admin-dashboard-heading h2 { margin: 0 0 3px; font-size: 19px; font-weight: 700; }
.admin-dashboard-heading p { margin: 0; font-size: 12px; color: #7a8290; }
.admin-dashboard-heading > span { padding: 9px 12px; border: 1px solid #e1e4ec; border-radius: 5px; background: #fff; font-size: 12px; color: #5d6472; }
.admin-body .admin-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-body .admin-card { min-height: 124px; padding: 18px 20px; gap: 7px; }
.admin-body .admin-card span { color: #5d6471; font-size: 13px; font-weight: 600; text-transform: none; }
.admin-body .admin-card strong { color: #1e2230; font-size: 25px; font-weight: 700; white-space: nowrap; }
.admin-body .admin-card small { color: #6f7786; font-size: 12px; text-transform: none; }
.admin-body .admin-dashboard-grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 12px; margin-top: 12px; }
.admin-body .admin-info-panel { min-height: 290px; display: block; padding: 20px; }
.admin-widget-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.admin-widget-head h3 { margin: 0 0 4px; color: #202636; font-size: 17px; font-weight: 700; }
.admin-widget-head p { margin: 0; color: #798191; font-size: 12px; }
.admin-widget-head > strong { padding: 7px 10px; border: 1px solid #e2e5ed; border-radius: 5px; color: #555e6e; font-size: 11px; font-weight: 500; }
.admin-revenue-chart { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 205px; margin-top: 19px; padding: 10px 0 0; border-bottom: 1px solid #dfe4eb; background: repeating-linear-gradient(to top, transparent 0, transparent 45px, #e7eaf0 46px); }
.admin-chart-day { height: 100%; min-width: 0; display: flex; align-items: center; justify-content: end; flex-direction: column; gap: 6px; }
.admin-chart-day span { display: block; width: min(100%, 22px); min-height: 3px; background: #7444b3; border-radius: 3px 3px 0 0; }
.admin-chart-day small { color: #8b92a0; font-size: 9px; }
.admin-chart-empty { grid-column: 1 / -1; align-self: center; justify-self: center; color: #7b8392; font-size: 13px; }
#paymentBreakdown { display: flex; align-items: center; justify-content: center; gap: 25px; min-height: 228px; }
.admin-method-ring { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 158px; height: 158px; flex: none; border: 20px solid #7444b3; border-radius: 50%; text-align: center; }
.admin-method-ring strong { font-size: 16px; font-weight: 700; }
.admin-method-ring span { font-size: 11px; color: #757d88; }
.admin-method-ring.is-empty { border-color: #e0e3e9; }
.admin-method-legend { display: grid; gap: 5px; font-size: 13px; }
.admin-method-legend b::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 2px; background: #7444b3; }
.admin-method-legend span { font-size: 12px; color: #727b89; }
.admin-dashboard-recent { margin-top: 12px; padding: 20px; background: #fff; border: 1px solid #e5e8ef; border-radius: 8px; }
.admin-dashboard-empty { padding: 30px 0 10px; color: #7a8290; font-size: 13px; }
.admin-recent-table { margin-top: 16px; width: 100%; }
.admin-recent-row { display: grid; grid-template-columns: minmax(115px, 1.1fr) minmax(110px, 1.2fr) 90px 115px 90px; gap: 10px; align-items: center; min-height: 43px; padding: 8px 10px; border-bottom: 1px solid #eceef2; font-size: 12px; }
.admin-recent-row > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-recent-head { min-height: 34px; border-radius: 4px; background: #f2f3f7; color: #555d6c; font-size: 11px; font-weight: 700; }
.admin-recent-row .admin-status-pill { text-align: center; }
.admin-test-result { display: grid; gap: 4px; margin-top: 14px; padding: 14px 17px; border: 1px solid #dce2eb; border-radius: 6px; background: #fff; font-size: 13px; }
.admin-test-result strong { font-size: 14px; }
.admin-test-result span { line-height: 1.45; }
.admin-test-result.is-info { border-color: #cbd8ed; background: #f3f7fd; color: #234266; }
.admin-test-result.is-success { border-color: #a9dfc8; background: #effbf4; color: #196643; }
.admin-test-result.is-error { border-color: #f2bec3; background: #fff4f4; color: #a32d3a; }
.admin-appearance-layout { display: grid; grid-template-columns: minmax(310px, 1fr) minmax(340px, 1fr); gap: 26px; align-items: start; }
.admin-appearance-form { display: grid; gap: 22px; min-width: 0; }
.admin-editor-group { display: grid; gap: 13px; padding-bottom: 22px; border-bottom: 1px solid #e1e5ec; }
.admin-editor-group h3 { margin: 0; color: #222638; font-size: 16px; font-weight: 700; }
.admin-editor-group label { display: grid; gap: 6px; color: #505968; font-size: 12px; font-weight: 600; }
#pixCopyNoticeTextRow[hidden] { display: none; }
.admin-editor-group input:not([type="file"]):not([type="color"]), .admin-editor-group textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #dbe0e8; border-radius: 5px; background: #fff; color: #242b38; font: inherit; font-size: 13px; resize: vertical; }
.admin-editor-group input:not([type="file"]):not([type="color"]), .admin-editor-group textarea { font-weight: 400; }
.admin-editor-group input:focus, .admin-editor-group textarea:focus { outline: 2px solid #b68ae1; outline-offset: 1px; }
.admin-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.admin-style-option { display: grid; gap: 5px; min-height: 87px; padding: 12px 13px; border: 1px solid #dfe3eb; border-radius: 6px; background: #fff; color: #2d3341; text-align: left; cursor: pointer; }
.admin-style-option.is-selected { border: 2px solid #7444b3; padding: 11px 12px; background: #f7f2ff; }
.admin-style-option strong { font-size: 13px; }
.admin-style-option small { font-size: 11px; color: #717a89; }
.admin-style-number { color: #7444b3; font-size: 10px; font-weight: 700; }
.admin-logo-upload input { font-size: 13px; }
.admin-logo-upload span { display: none; }
.admin-logo-row { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.admin-logo-row img { width: 140px; height: 52px; object-fit: contain; object-position: left; }
.admin-color-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-color-grid input[type="color"] { width: 100%; height: 42px; padding: 4px; border: 1px solid #dbe0e8; border-radius: 5px; background: #fff; cursor: pointer; }
.admin-editor-actions { display: grid; gap: 9px; }
.admin-editor-actions .button { min-height: 47px; }
.admin-editor-actions span { min-height: 18px; font-size: 12px; color: #506273; }
.admin-preview-wrap { position: sticky; top: 20px; min-width: 0; }
.admin-preview-title { display: flex; justify-content: space-between; margin-bottom: 11px; font-size: 13px; color: #303747; }
.admin-preview-title span { color: #8a919d; }
.admin-preview { --preview-primary: #bd8fe5; --preview-accent: #6f2c91; border: 1px solid #e1e5ed; border-radius: 7px; background: #fff; box-shadow: 0 10px 28px #1c273411; overflow: hidden; }
.admin-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 76px; padding: 14px 20px; }
.admin-preview-top img { width: 126px; height: 43px; object-fit: contain; object-position: left; }
.admin-preview-top span { font-size: 10px; color: #56606c; }
.admin-preview-bar { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 7px 12px; background: var(--preview-primary); color: #fff; font-size: 11px; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
.admin-preview-content { display: grid; grid-template-columns: 1.12fr .88fr; gap: 14px; padding: 20px; }
.admin-preview-main, .admin-preview-summary { min-width: 0; padding: 18px; border: 1px solid #e2e6eb; border-radius: 16px; }
.admin-preview-steps { display: flex; align-items: center; margin-bottom: 18px; }
.admin-preview-steps b { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--preview-primary); color: #fff; font-size: 10px; }
.admin-preview-steps i { width: 100%; height: 1px; background: #d8dce3; }
.admin-preview h4 { margin: 0 0 14px; color: var(--preview-accent); font-size: 15px; }
.admin-preview-field { display: flex; align-items: center; height: 33px; margin-top: 9px; padding: 0 10px; border: 1px solid #e0e4eb; border-radius: 5px; color: #9299a4; font-size: 10px; }
.admin-preview-field--short { width: 70%; }
.admin-preview-main button { width: 100%; min-height: 35px; margin-top: 14px; border-radius: 20px; background: var(--preview-primary); color: #fff; font-size: 11px; font-weight: 700; pointer-events: none; }
.admin-preview-product { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #e7e9ed; }
.admin-preview-product > span { width: 39px; height: 39px; flex: none; border-radius: 3px; background: #efedf3; }
.admin-preview-product div { display: grid; gap: 4px; min-width: 0; }
.admin-preview-product b, .admin-preview-product small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.admin-preview-product small { color: #8b929f; }
.admin-preview-summary p { display: flex; justify-content: space-between; gap: 6px; margin: 15px 0 0; font-size: 11px; }
.admin-preview-footer { padding: 17px; background: var(--preview-primary); color: #fff; font-size: 10px; text-align: center; overflow-wrap: anywhere; }
.admin-preview[data-style="studio"] { background: #f6f7f8; }
.admin-preview[data-style="studio"] .admin-preview-bar { background: #222c34; }
.admin-preview[data-style="studio"] .admin-preview-main, .admin-preview[data-style="studio"] .admin-preview-summary { border-radius: 5px; background: #fff; }
.admin-preview[data-style="studio"] .admin-preview-main button { border-radius: 5px; }
.admin-preview[data-style="studio"] .admin-preview-footer { background: #222c34; }
.admin-preview[data-style="graphite"] { background: #f3f6f5; }
.admin-preview[data-style="graphite"] .admin-preview-top, .admin-preview[data-style="graphite"] .admin-preview-footer { background: #1f2b2c; color: #fff; }
.admin-preview[data-style="graphite"] .admin-preview-top { background: #fff; border-bottom: 2px solid #1f2b2c; }
.admin-preview[data-style="graphite"] .admin-preview-bar { background: #31413e; }
.admin-preview[data-style="graphite"] .admin-preview-main, .admin-preview[data-style="graphite"] .admin-preview-summary { border-radius: 7px; background: #fff; }
.admin-preview[data-style="graphite"] h4 { color: #1f3836; }
.admin-preview[data-style="graphite"] .admin-preview-main button { border-radius: 7px; }
.admin-preview[data-style="fresh"] { background: #f2f9f7; }
.admin-preview[data-style="fresh"] .admin-preview-bar { background: #d8f3e9; color: #154b43; }
.admin-preview[data-style="fresh"] .admin-preview-main, .admin-preview[data-style="fresh"] .admin-preview-summary { border-color: #cde8df; border-radius: 14px; background: #fff; }
.admin-preview[data-style="fresh"] h4 { color: #187466; }
.admin-preview[data-style="fresh"] .admin-preview-main button { border-radius: 11px; }
.admin-preview[data-style="fresh"] .admin-preview-footer { background: #174c47; }
.admin-preview[data-style="compact"] .admin-preview-top { border-bottom: 2px solid #242c33; }
.admin-preview[data-style="compact"] .admin-preview-bar { background: #f0f2f3; color: #303a42; }
.admin-preview[data-style="compact"] .admin-preview-main, .admin-preview[data-style="compact"] .admin-preview-summary { border-radius: 0; }
.admin-preview[data-style="compact"] h4 { color: #29333b; }
.admin-preview[data-style="compact"] .admin-preview-main button { border-radius: 3px; }
.admin-preview[data-style="compact"] .admin-preview-footer { background: #eef1f2; color: #273238; }
.admin-preview[data-style] h4 { color: var(--preview-accent); }
.admin-preview[data-style="studio"] .admin-preview-field,
.admin-preview[data-style="graphite"] .admin-preview-field,
.admin-preview[data-style="compact"] .admin-preview-field { border-radius: 4px; }
.admin-preview[data-style="fresh"] .admin-preview-field { border-color: #cde8df; border-radius: 11px; }
.admin-preview[data-style="performance"] { background: #fff; }
.admin-preview[data-style="performance"] .admin-preview-top { border-bottom: 1px solid #dce5de; }
.admin-preview[data-style="performance"] .admin-preview-bar { display: none; }
.admin-preview[data-style="performance"] .admin-preview-content { grid-template-columns: 1fr; gap: 9px; background: #fff; }
.admin-preview-performance-steps { display: none; }
.admin-preview[data-style="performance"] .admin-preview-performance-steps { display: flex; align-items: center; order: -2; padding: 3px 8px 5px; }
.admin-preview-performance-steps b { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--preview-primary); color: #fff; font-size: 10px; }
.admin-preview-performance-steps i { width: 100%; height: 1px; background: #b7d5be; }
.admin-preview[data-style="performance"] .admin-preview-main .admin-preview-steps { display: none; }
.admin-preview[data-style="performance"] .admin-preview-summary { order: -1; border-color: #dce5de; border-radius: 7px; }
#checkoutPreview[data-style="performance"] .admin-preview-summary { display: block; }
.admin-preview[data-style="performance"] .admin-preview-main { border-color: #dce5de; border-radius: 7px; }
.admin-preview[data-style="performance"] .admin-preview-main button { border-radius: 6px; background: #151b16; }
.admin-preview[data-style="performance"] .admin-preview-footer { background: #ebf7ed; color: #236331; }
.admin-style-option[data-checkout-style="performance"].is-selected { border-color: #268345; background: #f0faf1; }
@media (max-width: 1180px) { .admin-body .admin-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-appearance-layout { grid-template-columns: minmax(0, 1fr); } .admin-preview-wrap { position: static; } }
@media (max-width: 767px) {
  .admin-body .admin-shell.admin-shell { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .admin-body .admin-sidebar.admin-sidebar { min-width: 0; max-width: 100%; overflow: hidden; }
  .admin-body .admin-main.admin-main { min-width: 0; max-width: 100%; }
  .admin-appearance-layout, .admin-preview-wrap, .admin-editor-group { min-width: 0; }
  #editorStoreSelect { width: 100%; max-width: 100%; }
}
@media (max-width: 767px) { .admin-body .admin-shell { grid-template-columns: 1fr; } .admin-body .admin-sidebar { position: static; height: auto; padding: 16px; } .admin-body .admin-logo { width: 112px; margin: 0 0 14px; } .admin-body .admin-nav { display: flex; overflow-x: auto; gap: 4px; } .admin-body .admin-nav a { flex: none; white-space: nowrap; } .admin-body .admin-main { padding: 18px 14px 40px; } .admin-body .admin-header { align-items: start; flex-direction: column; } .admin-header-shop { display: none; } .admin-body .admin-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .admin-card { min-height: 108px; padding: 14px; } .admin-body .admin-card strong { font-size: 19px; } .admin-body .admin-dashboard-grid { grid-template-columns: 1fr; } .admin-recent-table { overflow-x: auto; } .admin-recent-row { min-width: 600px; } .admin-preview-content { grid-template-columns: 1fr; } .admin-preview-summary { display: none; } .admin-editor-group input:not([type="file"]):not([type="color"]), .admin-editor-group textarea { font-size: 16px; } }

.admin-brand { display: flex; align-items: center; gap: 11px; min-height: 44px; margin: 0 12px 35px; color: #181b29; font-size: 21px; font-weight: 700; }
.admin-brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: #6933a0; color: #fff; font-size: 19px; font-weight: 700; }
.admin-brand__mark img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.admin-brand--login { margin: 0 0 8px; }
.admin-body .admin-sidebar { background: #fbfbfd; }
.admin-body .admin-nav a { gap: 12px; padding-left: 16px; font-weight: 500; }
.admin-body .admin-nav a img { width: 18px; height: 18px; flex: none; opacity: .72; }
.admin-body .admin-nav a.is-active img { filter: invert(22%) sepia(44%) saturate(2200%) hue-rotate(236deg); opacity: 1; }
.admin-body .admin-nav a.is-active { background: #ebe4fa; color: #522695; font-weight: 700; }
.admin-body .admin-header { gap: 20px; }
.admin-body .admin-header h1 { font-size: 26px; font-weight: 700; }
.admin-global-search { display: flex; align-items: center; gap: 8px; width: clamp(200px, 23vw, 380px); min-height: 40px; padding: 0 12px; border: 1px solid #dfe2eb; border-radius: 6px; background: #fff; color: #7b8091; }
.admin-global-search span { font-size: 22px; line-height: 1; }
.admin-global-search img { width: 17px; height: 17px; opacity: .55; }
.admin-global-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #242736; font-size: 13px; }
.admin-global-search:focus-within { border-color: #875ab9; box-shadow: 0 0 0 2px #ede5f8; }
.admin-body .admin-card { min-height: 136px; padding: 20px; border-radius: 8px; }
.admin-body .admin-card strong { font-size: 26px; }
.admin-body .admin-card small { color: #22825a; }
.admin-logo-text { display: inline-block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #27213b; font-size: 17px; font-weight: 700; }
.admin-coupon-layout { display: grid; grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-coupon-form, .admin-coupon-list-wrap { display: grid; gap: 15px; padding: 22px; }
.admin-coupon-form h3, .admin-coupon-list-wrap h3 { margin: 0; color: #202636; font-size: 17px; font-weight: 700; }
.admin-coupon-form h3, .admin-coupon-list-wrap h3 { text-transform: none; }
.admin-coupon-form label { display: grid; gap: 6px; color: #505968; font-size: 12px; font-weight: 600; }
.admin-coupon-form input:not([type="checkbox"]), .admin-coupon-form select { min-width: 0; width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid #dbe0e8; border-radius: 5px; background: #fff; color: #242b38; font-size: 13px; font-weight: 400; }
.admin-coupon-form input:focus, .admin-coupon-form select:focus { outline: 2px solid #b68ae1; outline-offset: 1px; }
.admin-coupon-form .admin-coupon-active { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.admin-coupon-active input { width: 17px; height: 17px; accent-color: #6940a6; }
.admin-coupon-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.admin-coupon-actions .button { min-width: 150px; }
.admin-coupon-actions .button { min-height: 42px; padding: 10px 18px; border-radius: 6px; background: #6933a0; color: #fff; font-size: 13px; font-weight: 700; text-transform: none; }
.admin-coupon-actions [hidden] { display: none !important; }
.admin-logo-row [hidden], .admin-preview-top [hidden] { display: none !important; }
#couponStatus { min-height: 18px; margin: 0; color: #535c6f; font-size: 12px; }
.admin-coupon-list { display: grid; gap: 0; }
.admin-coupon-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid #eceef2; }
.admin-coupon-item__main { min-width: 0; display: grid; gap: 4px; }
.admin-coupon-item__main strong { color: #24263a; font-size: 14px; }
.admin-coupon-item__main span { color: #565d6d; font-size: 13px; }
.admin-coupon-item__main small { color: #828898; font-size: 11px; }
.admin-coupon-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.admin-coupon-switch { display: flex; align-items: center; gap: 5px; color: #485367; font-size: 12px; white-space: nowrap; }
.admin-coupon-switch input { width: 16px; height: 16px; accent-color: #2b9972; }
.admin-store-switch { display: flex; align-items: center; gap: 8px; }
.admin-store-switch select { min-width: 130px; max-width: 220px; }
.admin-store-switch [hidden] { display: none !important; }
.admin-body .admin-revenue-chart { position: relative; display: block; height: 205px; padding: 0; background: repeating-linear-gradient(to bottom, transparent 0, transparent 48px, #e7eaf0 49px); }
.admin-revenue-chart svg { position: absolute; inset: 5px 0 18px 54px; width: calc(100% - 54px); height: calc(100% - 23px); overflow: visible; }
.admin-chart-values { position: absolute; inset: 8px auto 23px 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; color: #737b8c; font-size: 10px; }
.admin-chart-labels { position: absolute; right: 0; bottom: -17px; left: 54px; display: flex; justify-content: space-between; color: #7d8593; font-size: 10px; }
.admin-body .admin-chart-empty { position: absolute; inset: 0; display: grid; place-items: center; }
@media (max-width: 1100px) { .admin-global-search { width: 200px; } .admin-coupon-layout { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .admin-brand { margin: 0 0 14px; } .admin-body .admin-header-actions { width: 100%; flex-wrap: wrap; } .admin-global-search { order: -1; width: 100%; } .admin-coupon-item { align-items: flex-start; flex-direction: column; } .admin-coupon-form input:not([type="checkbox"]), .admin-coupon-form select { font-size: 16px; } }
