.cart-container.page-checkout,
.azm-flow-page {
  padding-top: 48px;
  padding-bottom: 72px;
}

.azm-flow-page {
  color: #111;
}

.azm-flow-page a {
  color: inherit;
}

body.woocommerce-cart .header.has-sticky,
body.woocommerce-checkout .header.has-sticky,
body.woocommerce-order-received .header.has-sticky {
  height: auto !important;
}

body.woocommerce-cart #header,
body.woocommerce-checkout #header,
body.woocommerce-order-received #header {
  position: relative !important;
  top: auto !important;
}

body.woocommerce-cart .header.has-sticky .header-wrapper,
body.woocommerce-checkout .header.has-sticky .header-wrapper,
body.woocommerce-order-received .header.has-sticky .header-wrapper {
  position: relative !important;
  top: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.woocommerce-cart #masthead,
body.woocommerce-checkout #masthead,
body.woocommerce-order-received #masthead {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.azm-flow-page .woocommerce-notices-wrapper,
.azm-flow-page .woocommerce-message,
.azm-flow-page .woocommerce-error,
.azm-flow-page .woocommerce-info {
  border-radius: 18px;
}

.azm-back-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.azm-back-link .azm-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

.azm-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.azm-icon svg {
  width: 100%;
  height: 100%;
}

.azm-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 48px;
  padding: 18px 36px 0;
}

.azm-stepper__track {
  position: absolute;
  top: 34px;
  left: 9%;
  right: 9%;
  height: 3px;
  background: linear-gradient(90deg, #111 0 33%, #b9b9b9 33% 100%);
}

.azm-stepper__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.azm-stepper__item.is-complete .azm-stepper__dot,
.azm-stepper__item.is-current .azm-stepper__dot {
  border-color: var(--azm-accent);
}

.azm-stepper__item.is-current .azm-stepper__dot {
  box-shadow: 0 0 0 8px rgba(53, 184, 240, 0.18);
}

.azm-stepper__dot {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 5px solid #111;
  background: #fff;
  color: transparent;
  font-size: 0;
}

.azm-stepper__label {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 600;
  color: #8e8e8e;
}

.azm-stepper__item.is-complete .azm-stepper__label,
.azm-stepper__item.is-current .azm-stepper__label {
  color: #111;
}

.azm-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.82fr);
  gap: 34px;
  align-items: start;
}

.azm-cart-page .azm-flow-grid {
  grid-template-columns: minmax(0, 1.58fr) minmax(350px, 0.92fr);
  gap: 32px;
}

.azm-flow-main,
.azm-flow-sidebar {
  min-width: 0;
}

.azm-panel {
  background: #fff;
  border: 1.5px solid rgba(17, 17, 17, 0.18);
  border-radius: var(--azm-panel-radius);
  box-shadow: var(--azm-shadow);
}

.azm-panel + .azm-panel {
  margin-top: 28px;
}

.azm-panel__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 38px 12px;
}

.azm-panel__head h2,
.azm-panel__head h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
}

.azm-panel__head p {
  margin: 0;
  color: var(--azm-muted);
}

.azm-cart-panel {
  padding: 4px 38px 18px;
}

.azm-cart-items {
  display: flex;
  flex-direction: column;
}

.azm-cart-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 172px;
  gap: 22px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.azm-cart-item:first-of-type {
  border-top: 0;
}

.azm-cart-item__thumb img {
  width: 100%;
  max-width: 92px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.azm-cart-item__title {
  margin: 0 0 10px;
  font-size: clamp(0.98rem, 1.15vw, 1.14rem);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.azm-cart-item__meta,
.azm-cart-item__meta p,
.azm-cart-item__meta dl {
  margin: 0 0 12px;
  color: var(--azm-muted);
  font-size: 0.88rem;
}

.azm-cart-item__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.azm-cart-item__price {
  min-width: 160px;
  text-align: right;
}

.azm-cart-item__regular {
  display: block;
  color: #6f6f6f;
  text-decoration: line-through;
  font-size: 0.98rem;
}

.azm-cart-item__current {
  display: block;
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.azm-cart-item .ux-quantity {
  display: inline-grid;
  grid-template-columns: 56px 84px 56px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececec;
}

.azm-cart-item .ux-quantity .qty {
  height: 56px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  text-align: center;
  font-size: 1.35rem;
  font-weight: 600;
  box-shadow: none;
}

.azm-cart-item .ux-quantity .button,
.azm-cart-item .ux-quantity .ux-quantity__button {
  width: 56px;
  height: 56px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  box-shadow: none;
  font-size: 1.6rem;
}

.azm-remove-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #d62828;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.azm-cart-update {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.azm-cart-update .button {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
}

.azm-note-panel {
  padding: 0 38px 34px;
}

.azm-note-panel textarea {
  width: 100%;
  min-height: 180px;
  border: 0;
  border-radius: 22px;
  background: #efefef;
  box-shadow: none;
  padding: 24px;
  resize: vertical;
}

.azm-summary-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.azm-summary-panel {
  padding: 34px 38px;
}

.azm-summary-panel h3,
.azm-helper-panel h3,
.azm-promo-panel h3 {
  margin: 0 0 26px;
  font-size: clamp(1.3rem, 1.55vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.azm-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  font-size: 0.98rem;
}

.azm-summary-row strong {
  font-size: clamp(1.06rem, 1.3vw, 1.5rem);
  font-weight: 700;
  text-align: right;
}

.azm-summary-row small {
  display: inline-block;
  margin-left: 8px;
  color: #111;
  font-size: 0.95em;
  font-weight: 600;
}

.azm-summary-caption {
  margin: 10px 0 0;
  color: var(--azm-muted);
  line-height: 1.55;
}

.azm-helper-panel,
.azm-promo-panel {
  padding: 28px 32px;
}

.azm-helper-feature {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
}

.azm-helper-feature + .azm-helper-feature {
  margin-top: 20px;
}

.azm-helper-feature h4 {
  margin: 0 0 6px;
  font-size: 1.28rem;
  font-weight: 700;
}

.azm-helper-feature p,
.azm-helper-feature a {
  margin: 0;
  color: var(--azm-muted);
  line-height: 1.55;
}

.azm-summary-cta .button,
.azm-place-order .button {
  width: 100%;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 22px;
  border: 0;
  background: #1f1f1f;
  color: #fff;
  box-shadow: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.azm-summary-cta .button::before,
.azm-place-order .button::before {
  content: "";
  width: 28px;
  height: 28px;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18v10H3zm0 3h18'/%3E%3C/svg%3E");
}

.azm-promo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.azm-promo-form .input-text,
.azm-promo-form input[type="text"],
.azm-checkout-main input[type="text"],
.azm-checkout-main input[type="email"],
.azm-checkout-main input[type="tel"],
.azm-checkout-main select,
.azm-checkout-main textarea,
.azm-checkout-main .select2-selection {
  min-height: 64px;
  border: 2px solid rgba(17, 17, 17, 0.26);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  padding: 0 22px;
  font-size: 1.08rem;
}

.azm-checkout-main textarea {
  min-height: 180px;
  width: 100%;
  padding: 18px 22px;
}

.azm-promo-form .button {
  min-height: 64px;
  padding: 0 28px;
  border-radius: 18px;
  border: 1.5px solid rgba(17, 17, 17, 0.18);
  background: #fff;
  color: #111;
  box-shadow: none;
}

.azm-checkout-grid {
  grid-template-columns: minmax(0, 1.52fr) minmax(360px, 0.98fr);
  gap: 30px;
  align-items: start;
}

.azm-checkout-main > .azm-panel {
  padding-bottom: 28px;
  margin-top: 28px;	
}

.azm-checkout-main .woocommerce-billing-fields__field-wrapper,
.azm-checkout-main .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 0 38px;
}

.azm-checkout-main .form-row-wide,
.azm-checkout-main .form-row-first,
.azm-checkout-main .form-row-middle,
.azm-checkout-main .form-row-last {
  width: 100%;
  margin: 0 0 10px;
  float: none;
}

.azm-checkout-main .form-row-wide {
  grid-column: span 6;
}

.azm-checkout-main .form-row-first,
.azm-checkout-main .form-row-last,
.azm-checkout-main .form-row-middle {
  grid-column: span 2;
}

.azm-checkout-main label {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.azm-checkout-main label .optional {
  display: none;
}

.azm-checkout-main .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.azm-login-link {
  display: inline-block;
  padding: 0 38px 10px;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.azm-section-title {
  margin: 0;
  padding: 0 38px 22px;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.azm-section-title + .woocommerce-billing-fields__field-wrapper {
  padding-top: 0;
}

.azm-field-group {
  padding-top: 6px;
}

.azm-invoice-fields {
  padding: 8px 0 0;
}

.azm-invoice-fields[hidden] {
  display: none !important;
}

.azm-invoice-inline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
  align-items: center;
  padding: 0 38px 16px;
}

.azm-invoice-inline-copy {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
}

.azm-invoice-inline-control .form-row {
  margin: 0;
}

.azm-invoice-fields__grid {
  padding-top: 0;
}

.azm-invoice-fields__grid .form-row {
  margin-bottom: 0;
}

.azm-invoice-address-fields {
  padding-top: 10px;
}

.azm-invoice-address-fields[hidden] {
  display: none !important;
}

.azm-invoice-address-title {
  margin: 0;
  padding: 0 38px 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

.azm-checkout-main .azm-form-row-span-2 {
  grid-column: span 2;
}

.azm-checkout-main .azm-form-row-span-4 {
  grid-column: span 4;
}

.azm-country-hidden {
  display: none;
}

.azm-payment-panel .wc_payment_methods {
  margin: 0;
  padding: 0 38px;
  list-style: none;
}

.azm-payment-panel .woocommerce-checkout-payment,
.azm-payment-panel #payment,
.azm-payment-panel ul.payment_methods {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.azm-payment-panel .wc_payment_method {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1.5px solid rgba(17, 17, 17, 0.14);
  border-radius: 22px;
}

.azm-payment-panel .payment_box {
  margin-top: 16px;
  padding: 20px;
  border-radius: 18px;
  background: #f6f6f6;
}

.azm-place-order {
  padding: 18px 38px 0;
}

.azm-payment-notice {
  margin: 0 38px;
  border-radius: 18px;
}

.azm-place-order .woocommerce-privacy-policy-text,
.azm-place-order .form-row {
  margin-bottom: 18px;
}

.azm-review-order {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.azm-review-order__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.azm-review-order__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.azm-review-order__thumb {
  position: relative;
}

.azm-review-order__thumb img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  background: #fff;
}

.azm-review-order__qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.azm-review-order__name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
}

.azm-review-order__price {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.azm-review-order__totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.azm-review-order__totals .azm-summary-row strong {
  font-size: 1.2rem;
}

.azm-checkout-summary-panel {
  position: sticky;
  top: 110px;
  padding: 28px;
}

.azm-checkout-summary-panel h3 {
  margin: 0 0 22px;
  font-size: 1.55rem;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .azm-flow-grid {
    grid-template-columns: 1fr;
  }

  .azm-cart-page .azm-flow-grid,
  .azm-checkout-grid {
    grid-template-columns: 1fr;
  }

  .azm-checkout-summary-panel {
    position: static;
  }

  .azm-flow-sidebar {
    order: 3;
  }

  .azm-flow-main,
  .azm-flow-sidebar,
  .woocommerce-cart-form {
    width: 100%;
  }
	
}

@media (max-width: 767px) {
  .cart-container.page-checkout,
  .azm-flow-page {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .azm-back-link {
    font-size: 2.1rem;
    gap: 14px;
    margin-bottom: 24px;
  }

  .azm-stepper {
    gap: 8px;
    padding: 12px 0 0;
    margin-bottom: 32px;
  }

  .azm-stepper__track {
    left: 9%;
    right: 9%;
    top: 24px;
  }

  .azm-stepper__dot {
    width: 26px;
    height: 26px;
  }

  .azm-stepper__item.is-current .azm-stepper__dot {
    box-shadow: 0 0 0 5px rgba(53, 184, 240, 0.18);
  }

  .azm-stepper__label {
    font-size: 1rem;
  }

  .azm-panel__head,
  .azm-summary-panel,
  .azm-helper-panel,
  .azm-promo-panel,
  .azm-note-panel,
  .azm-checkout-summary-panel,
  .azm-place-order,
  .azm-checkout-main .woocommerce-billing-fields__field-wrapper,
  .azm-checkout-main .woocommerce-additional-fields__field-wrapper {
    padding-left: 22px;
    padding-right: 22px;
  }

  .azm-section-title,
  .azm-login-link {
    padding-left: 22px;
    padding-right: 22px;
  }

  .azm-cart-panel {
    padding-left: 22px;
    padding-right: 22px;
  }

  .azm-cart-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .azm-invoice-inline-row {
    grid-template-columns: 1fr;
    padding-left: 22px;
    padding-right: 22px;
  }

  .azm-invoice-address-title {
    padding-left: 22px;
    padding-right: 22px;
  }

  .azm-cart-item__thumb img {
    max-width: 150px;
  }

  .azm-cart-item__price {
    min-width: 0;
    text-align: left;
  }

  .azm-checkout-main .woocommerce-billing-fields__field-wrapper,
  .azm-checkout-main .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .azm-checkout-main .form-row-wide,
  .azm-checkout-main .form-row-first,
  .azm-checkout-main .form-row-middle,
  .azm-checkout-main .form-row-last,
  .azm-checkout-main .azm-form-row-span-2,
  .azm-checkout-main .azm-form-row-span-4 {
    grid-column: span 1;
  }

  .azm-promo-form {
    grid-template-columns: 1fr;
  }

  .azm-review-order__item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .azm-review-order__price {
    grid-column: 2;
    justify-self: start;
  }
}
