:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  color: #17212b;
  background: #f5f7f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px max(24px, calc((100% - 1180px) / 2));
  background: #173b4b;
}

header a {
  color: #fff;
  text-decoration: none;
}

.brand {
  font-size: 20px;
  font-weight: 700;
}

.header-right {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}

.account-user-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-right button,
.header-right span {
  color: #fff;
  font: inherit;
}

.header-right button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.checkout-page {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 64px;
}

.back-link {
  color: #28677d;
  text-decoration: none;
}

h1 {
  margin: 18px 0 8px;
}

.page-intro,
.muted {
  color: #64717c;
  line-height: 1.5;
}

.checkout-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.checkout-progress li {
  padding: 8px 12px;
  border-radius: 20px;
  background: #e8edef;
  color: #52616c;
  font-size: 13px;
}

.checkout-progress li[aria-current="step"] {
  background: #173b4b;
  color: #fff;
}

.checkout-progress a {
  color: inherit;
  text-decoration: none;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-top: 22px;
}

.checkout-step[hidden],
.payment-option[hidden] {
  display: none;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.checkout-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 7px;
  background: #173b4b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.checkout-action.secondary {
  background: #edf1f2;
  color: #173b4b;
}

.checkout-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-panel {
  min-width: 0;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 16px #17212b0b;
}

.checkout-panel h2 {
  margin: 0 0 18px;
  font-size: 21px;
}

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

.field {
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.payment-methods select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ccd5dc;
  border-radius: 7px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.field input:focus,
.payment-methods select:focus {
  outline: 3px solid #d4e9ef;
  border-color: #28677d;
}

.payment-methods {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}

.payment-methods .muted {
  margin: 0 0 4px;
  font-size: 13px;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border: 1px solid #dbe2e6;
  border-radius: 8px;
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: #28677d;
  background: #f3f9fb;
}

.payment-option:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.55;
}

.payment-option input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: #173b4b;
}

.payment-option span {
  display: grid;
  gap: 4px;
}

.payment-option small {
  color: #64717c;
  line-height: 1.4;
}

.upi-app-picker {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dbe2e6;
  border-radius: 8px;
  background: #f8fafb;
}

.upi-app-picker[hidden],
.upi-app-options[hidden],
#upi-mobile-fallback[hidden],
#upi-desktop-option[hidden] {
  display: none;
}

.upi-app-picker h3,
.upi-app-picker p {
  margin: 0;
}

.upi-app-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.upi-app-button {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #ccd5dc;
  border-radius: 7px;
  background: #fff;
  color: #173b4b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.upi-app-button:hover,
.upi-app-button:focus-visible {
  border-color: #28677d;
  outline: 3px solid #d4e9ef;
}

.delivery-review {
  margin-bottom: 20px;
  padding: 14px;
  border-radius: 8px;
  background: #f5f7f8;
  line-height: 1.5;
}

.delivery-review p {
  margin: 3px 0;
}

.security-note {
  margin: 2px 0 0;
  color: #52616c;
  font-size: 13px;
  line-height: 1.5;
}

#place-order-button {
  margin-top: 0;
}

#verify-payment-again[hidden] {
  display: none;
}

.status {
  min-height: 22px;
  line-height: 1.5;
}

.status[data-state="error"] {
  color: #a12622;
}

.status[data-state="success"] {
  color: #176b3a;
}

.checkout-items {
  display: grid;
  gap: 14px;
}

.summary-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.summary-item img {
  width: 64px;
  height: 70px;
  border-radius: 7px;
  object-fit: cover;
}

.summary-item h3 {
  margin: 0 0 5px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.summary-item p {
  margin: 0;
  color: #64717c;
  font-size: 13px;
}

.summary-item strong {
  white-space: nowrap;
  font-size: 14px;
}

.totals {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e2e7ea;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.totals dt,
.totals dd {
  margin: 0;
}

.grand-total {
  padding-top: 12px;
  border-top: 1px solid #e2e7ea;
  font-size: 18px;
  font-weight: 700;
}

.orders-list {
  display: grid;
  gap: 16px;
}

.order-card {
  display: grid;
  gap: 14px;
}

.order-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.order-card-heading h2 {
  margin: 0;
}

.order-card-heading time,
.order-card-meta {
  color: #64717c;
}

.order-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.order-card-meta p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.order-action,
.cancel-order-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: #173b4b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.order-action.secondary,
.cancel-order-button {
  background: #edf1f2;
  color: #a12622;
}

.order-action:disabled,
.cancel-order-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.order-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-bottom: 24px;
}

.order-status-grid p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.order-status-grid span {
  color: #52616c;
  overflow-wrap: anywhere;
}

.order-detail-card > h2 {
  margin-top: 26px;
}

.cancel-order-button {
  margin-top: 24px;
}

.cancel-order-button[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .checkout-progress {
    gap: 6px;
  }
}

@media (max-width: 520px) {
  header {
    padding: 16px;
  }

  .brand {
    max-width: 48%;
    font-size: 16px;
  }

  .header-right {
    gap: 9px;
    font-size: 14px;
  }

  .checkout-page {
    margin-top: 24px;
  }

  .checkout-panel {
    padding: 18px;
  }

  .checkout-actions > * {
    flex: 1 1 180px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .order-card-meta,
  .order-status-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-card-actions > * {
    flex: 1 1 160px;
  }

  .cancel-order-button {
    width: 100%;
  }

  .field.full {
    grid-column: auto;
  }

  .summary-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .summary-item img {
    width: 54px;
    height: 60px;
  }

  .summary-item strong {
    grid-column: 2;
  }
}



/* =========================================
   PREMIUM MY ORDERS PRODUCT PREVIEW
========================================= */

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(23, 43, 77, 0.06);
}

.order-card-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.order-card-heading h2 {
  margin: 0;
  color: #172b4d;
  font-size: 19px;
  font-weight: 800;
}

.order-card-heading time {
  color: #77849a;
  font-size: 12px;
}

.order-products-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin-top: 10px;
}

.order-product-thumbnail {
  display: flex;
  flex: 0 0 88px;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 100px;
  overflow: hidden;
  background: #f4f6f9;
  border: 1px solid #e9edf3;
  border-radius: 10px;
}

.order-product-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.order-product-thumbnail.image-fallback {
  color: #7b8798;
  font-size: 30px;
}

.order-product-info {
  min-width: 0;
}

.order-product-name {
  margin: 0 0 8px;
  color: #172b4d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.order-product-quantity,
.order-more-items {
  margin: 5px 0 0;
  color: #758198;
  font-size: 12px;
}

.order-card-meta {
  min-width: 0;
  color: #58657a;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.order-card-meta p {
  margin: 5px 0;
}

.order-card-meta strong {
  color: #263b59;
}

.order-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 20px;
  background: #edf1f7;
  color: #536174;
  font-size: 11px;
  font-weight: 700;
}

.order-status-badge.is-success {
  background: #e5f7ec;
  color: #187744;
}

.order-status-badge.is-pending {
  background: #fff3d7;
  color: #946200;
}

.order-status-badge.is-danger {
  background: #fde8e8;
  color: #b42318;
}

.order-card-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.order-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #2874f0;
  border-radius: 7px;
  background: #2874f0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.order-action:hover {
  background: #1758c7;
  transform: translateY(-1px);
}

.order-action.secondary {
  background: #fff;
  color: #2874f0;
}

.order-action.secondary:hover {
  background: #edf4ff;
}

.order-action:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 850px) {
  .order-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
  }

  .order-card-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .order-card-actions .order-action {
    flex: 1 1 140px;
  }
}

@media (max-width: 520px) {
  .order-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .order-card-actions {
    grid-column: auto;
    flex-direction: column;
  }

  .order-card-actions .order-action {
    width: 100%;
  }

  .order-product-thumbnail {
    flex-basis: 76px;
    width: 76px;
    height: 90px;
  }
}


/* =========================================
   PARTNER JEANS & PANTS
   PREMIUM ORDER TRACKING TIMELINE
========================================= */

.tracking-panel {
    margin: 28px 0;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(18, 38, 63, 0.06);
    box-sizing: border-box;
}

.tracking-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.tracking-eyebrow {
    margin: 0 0 8px;
    color: #a17a3d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tracking-heading h2 {
    margin: 0 0 8px;
    color: #172b4d;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.3;
}

.tracking-heading p:not(.tracking-eyebrow) {
    margin: 0;
    color: #697586;
    font-size: 14px;
    line-height: 1.6;
}

.tracking-badge {
    flex-shrink: 0;
    padding: 9px 15px;
    border-radius: 30px;
    background: #eef4ff;
    color: #2459a9;
    font-size: 12px;
    font-weight: 750;
    text-transform: capitalize;
}

/* TIMELINE CONTAINER */

.tracking-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tracking-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 17px;
    min-height: 83px;
    padding-bottom: 23px;
    box-sizing: border-box;
}

/* Last step has no extra space */

.tracking-step:last-child {
    min-height: auto;
    padding-bottom: 0;
}

/* STEP CIRCLE */

.tracking-marker {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 2px solid #d7dee8;
    border-radius: 50%;
    background: #ffffff;
    color: #8a94a3;
    font-size: 13px;
    font-weight: 800;
    box-sizing: border-box;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

/* VERTICAL CONNECTING LINE */

.tracking-step:not(:last-child)::after {
    position: absolute;
    top: 36px;
    bottom: 0;
    left: 17px;
    width: 2px;
    background: #e2e7ef;
    content: "";
    transition: background 0.25s ease;
}

/* STEP CONTENT */

.tracking-step h3 {
    margin: 4px 0 6px;
    color: #26364b;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
}

.tracking-step p {
    margin: 0;
    color: #758195;
    font-size: 13px;
    line-height: 1.6;
}

/* COMPLETED STEPS */

.tracking-step.is-complete .tracking-marker {
    border-color: #16865c;
    background: #16865c;
    color: #ffffff;
}

.tracking-step.is-complete:not(:last-child)::after {
    background: #16865c;
}

.tracking-step.is-complete h3 {
    color: #16865c;
}

/* CURRENT STEP */

.tracking-step.is-current .tracking-marker {
    border-color: #172b4d;
    background: #172b4d;
    color: #ffffff;
    box-shadow: 0 0 0 5px #e9edf5;
}

.tracking-step.is-current h3 {
    color: #172b4d;
}

/* TRACKING INFORMATION */

.tracking-note {
    margin: 24px 0 0;
    padding-top: 17px;
    border-top: 1px solid #edf0f4;
    color: #758195;
    font-size: 12px;
    line-height: 1.7;
}

/* CANCELLED ORDER */

.tracking-panel.is-cancelled .tracking-badge {
    background: #fff0f0;
    color: #b42318;
}

.tracking-panel.is-cancelled .tracking-marker {
    border-color: #e1a6a2;
    background: #ffffff;
    color: #b42318;
    box-shadow: none;
}

.tracking-panel.is-cancelled .tracking-note {
    color: #b42318;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 768px) {
    .tracking-panel {
        padding: 22px;
    }

    .tracking-heading h2 {
        font-size: 23px;
    }

    .tracking-step {
        min-height: 80px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 480px) {
    .tracking-panel {
        margin: 20px 0;
        padding: 18px 15px;
        border-radius: 14px;
    }

    .tracking-heading {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    .tracking-heading h2 {
        font-size: 21px;
    }

    .tracking-heading p:not(.tracking-eyebrow) {
        font-size: 13px;
    }

    .tracking-badge {
        padding: 8px 12px;
        font-size: 11px;
    }

    .tracking-step {
        gap: 13px;
        min-height: 80px;
        padding-bottom: 21px;
    }

    .tracking-marker {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .tracking-step:not(:last-child)::after {
        top: 34px;
        left: 16px;
    }

    .tracking-step h3 {
        margin-top: 3px;
        font-size: 14px;
    }

    .tracking-step p {
        font-size: 12px;
    }

    .tracking-note {
        margin-top: 20px;
        padding-top: 14px;
        font-size: 11px;
    }
}

/* ==========================================
   PROFESSIONAL ORDER DETAILS SECTIONS
   Partner Jeans & Pants
========================================== */

/* Main order details card */
.order-detail-card {
    width: 100%;
    max-width: 1050px;
    margin: 24px auto;
    padding: 30px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(20, 35, 55, 0.07);
}

.order-detail-card > h1 {
    margin: 0 0 26px;
    color: #172b4d;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 750;
    letter-spacing: -0.7px;
}

/* Keep tracking visually separate from the sections below */
.order-detail-card > .tracking-panel {
    margin-bottom: 28px;
}

/* Order information */
.order-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 32px;
}

.order-status-grid > p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 92px;
    margin: 0;
    padding: 18px;
    box-sizing: border-box;
    background: #f7f9fc;
    border: 1px solid #e8edf3;
    border-radius: 12px;
}

.order-status-grid strong {
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.order-status-grid span {
    overflow-wrap: anywhere;
    color: #172b4d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

/* Section headings */
.order-detail-card > h2,
.delivery-summary h2 {
    margin: 30px 0 16px;
    color: #172b4d;
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -0.3px;
}

/* Product list */
#detail-items.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 26px;
}

#detail-items .summary-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#detail-items .summary-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 5px 16px rgba(20, 35, 55, 0.05);
}

#detail-items .summary-item img {
    display: block;
    width: 88px;
    height: 100px;
    object-fit: contain;
    padding: 5px;
    box-sizing: border-box;
    background: #f5f7fa;
    border-radius: 10px;
}

#detail-items .summary-item h3 {
    margin: 0 0 9px;
    color: #172b4d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

#detail-items .summary-item p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

#detail-items .summary-item > strong {
    color: #172b4d;
    font-size: 16px;
    font-weight: 750;
    white-space: nowrap;
}

/* Price summary */
.order-detail-card > dl.totals {
    width: 100%;
    max-width: 480px;
    margin: 0 0 30px auto;
    padding: 22px;
    box-sizing: border-box;
    background: #f7f9fc;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
}

.order-detail-card > dl.totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e5eaf0;
}

.order-detail-card > dl.totals dt {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.order-detail-card > dl.totals dd {
    margin: 0;
    color: #172b4d;
    font-size: 14px;
    font-weight: 650;
    text-align: right;
}

.order-detail-card > dl.totals .grand-total {
    margin-top: 6px;
    padding-top: 18px;
    border-bottom: 0;
    border-top: 1px dashed #cbd5e1;
}

.order-detail-card > dl.totals .grand-total dt,
.order-detail-card > dl.totals .grand-total dd {
    color: #172b4d;
    font-size: 19px;
    font-weight: 800;
}

/* Shipping address */
.order-detail-card > .delivery-summary {
    margin-top: 8px;
    padding: 22px 24px;
    background: #f7f9fc;
    border: 1px solid #e5eaf0;
    border-left: 4px solid #172b4d;
    border-radius: 12px;
}

.order-detail-card > .delivery-summary h2 {
    margin: 0 0 14px;
}

#detail-address p {
    margin: 7px 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#detail-address p:first-child {
    color: #172b4d;
    font-size: 16px;
    font-weight: 750;
}

/* Cancel order button */
#cancel-order-button.cancel-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 0 24px;
    color: #b42318;
    background: #ffffff;
    border: 1px solid #f0b7b2;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#cancel-order-button.cancel-order-button:hover:not(:disabled) {
    background: #fff1f0;
    border-color: #d92d20;
}

#cancel-order-button.cancel-order-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

#cancel-order-button[hidden] {
    display: none !important;
}

/* Tablet */
@media (max-width: 850px) {
    .order-detail-card {
        padding: 22px;
    }

    .order-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #detail-items .summary-item {
        grid-template-columns: 76px minmax(0, 1fr) auto;
        gap: 13px;
        padding: 14px;
    }

    #detail-items .summary-item img {
        width: 76px;
        height: 88px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .order-detail-card {
        margin: 14px auto;
        padding: 16px;
        border-radius: 13px;
    }

    .order-detail-card > h1 {
        margin-bottom: 20px;
        font-size: 25px;
    }

    .order-status-grid {
        gap: 9px;
        margin-bottom: 25px;
    }

    .order-status-grid > p {
        min-height: 82px;
        padding: 12px;
        gap: 8px;
    }

    .order-status-grid strong {
        font-size: 10px;
        letter-spacing: 0.3px;
    }

    .order-status-grid span {
        font-size: 13px;
    }

    .order-detail-card > h2,
    .delivery-summary h2 {
        font-size: 19px;
    }

    #detail-items .summary-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    #detail-items .summary-item img {
        width: 64px;
        height: 78px;
    }

    #detail-items .summary-item h3 {
        font-size: 14px;
    }

    #detail-items .summary-item p {
        font-size: 12px;
    }

    #detail-items .summary-item > strong {
        grid-column: 2;
        justify-self: start;
        font-size: 15px;
    }

    .order-detail-card > dl.totals {
        max-width: none;
        padding: 16px;
    }

    .order-detail-card > .delivery-summary {
        padding: 17px;
    }

    #cancel-order-button.cancel-order-button {
        width: 100%;
    }
}


/* CHECKOUT VISIBILITY FIX */
body {
  color: #17212b;
  background: #f5f7f8;
}

.checkout-page,
.checkout-page h1,
.checkout-page h2,
.checkout-page h3,
.checkout-page p,
.checkout-page label,
.checkout-page legend,
.checkout-page dt,
.checkout-page dd,
.checkout-page strong,
.checkout-page span {
  color: #17212b;
}

.checkout-panel {
  background: #ffffff;
  color: #17212b;
}

.checkout-panel input,
.checkout-panel select,
.checkout-panel textarea {
  background: #ffffff;
  color: #17212b;
}

.checkout-panel label,
.checkout-panel .field label {
  color: #17212b;
}

.checkout-panel .muted,
.checkout-panel .page-intro,
.checkout-panel .summary-item p {
  color: #64717c;
}

.checkout-panel [hidden],
.checkout-step[hidden],
.payment-option[hidden] {
  display: none !important;
}

/* CHECKOUT TEXT CONTRAST FIX */
main.checkout-page {
    color: #172b4d !important;
}

main.checkout-page h1,
main.checkout-page h2,
main.checkout-page h3,
main.checkout-page p,
main.checkout-page label,
main.checkout-page legend,
main.checkout-page dt,
main.checkout-page dd,
main.checkout-page li,
main.checkout-page strong,
main.checkout-page span {
    color: #172b4d;
}

main.checkout-page .muted,
main.checkout-page .page-intro {
    color: #64748b;
}

main.checkout-page .checkout-panel {
    background-color: #ffffff;
    color: #172b4d;
}

main.checkout-page input,
main.checkout-page select,
main.checkout-page textarea {
    background-color: #ffffff;
    color: #172b4d;
    -webkit-text-fill-color: #172b4d;
}

main.checkout-page input::placeholder,
main.checkout-page textarea::placeholder {
    color: #64748b;
    opacity: 1;
}


/* PARTNER CHECKOUT COUPON STYLES */
.checkout-coupon {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  background: #f8fafc;
}

.checkout-coupon h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #172b4d;
}

.checkout-coupon-controls {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-coupon-controls input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  text-transform: uppercase;
}

.checkout-coupon-controls button {
  padding: 11px 18px;
  border: 1px solid #172b4d;
  border-radius: 8px;
  background: #172b4d;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.checkout-coupon-controls button:hover {
  background: #243f68;
}

.checkout-coupon-controls button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-coupon-controls #checkout-coupon-remove {
  background: #ffffff;
  color: #172b4d;
}

#checkout-coupon-message {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #475569;
}

#checkout-coupon-message[data-state="success"] {
  color: #167345;
}

#checkout-coupon-message[data-state="error"] {
  color: #b42318;
}

#checkout-coupon-discount {
  color: #167345;
  font-weight: 600;
}

.checkout-coupon [hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .checkout-coupon {
    padding: 14px;
  }

  .checkout-coupon-controls {
    gap: 8px;
  }

  .checkout-coupon-controls button {
    padding: 10px 12px;
  }
}


/* ==========================================================
   PARTNER JEANS & PANTS — CONSOLIDATED LUXURY CHECKOUT
   Palette: Midnight Navy / Champagne Gold / Warm Ivory
   Existing checkout and payment JavaScript IDs are preserved.
   ========================================================== */

:root {
  --pj-navy: #14263d;
  --pj-navy-deep: #0d1b2d;
  --pj-gold: #b89558;
  --pj-gold-light: #e4d2ae;
  --pj-ivory: #f8f6f1;
  --pj-paper: #ffffff;
  --pj-text: #263345;
  --pj-muted: #77808c;
  --pj-border: #e6e0d5;
  --pj-success: #276747;
  --pj-danger: #a33f3f;
  --pj-radius: 16px;
  --pj-shadow: 0 12px 36px rgba(20, 38, 61, .075);
}

html {
  scroll-behavior: smooth;
}

html body:has(main.checkout-page) {
  background: var(--pj-ivory);
  color: var(--pj-text);
  font-family: Arial, Helvetica, sans-serif;
}

html body main.checkout-page {
  width: min(1080px, calc(100% - 48px));
  max-width: 1080px;
  margin: 38px auto 76px;
  line-height: 1.55;
}

html body main.checkout-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pj-navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

html body main.checkout-page .back-link:hover {
  color: var(--pj-gold);
}

html body main.checkout-page > h1 {
  margin: 22px 0 7px;
  color: var(--pj-navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -.8px;
  line-height: 1.15;
}

html body main.checkout-page .page-intro {
  margin: 0 0 26px;
  color: var(--pj-muted);
  font-size: 15px;
}

/* Progress navigation */
html body main.checkout-page .checkout-progress {
  display: flex;
  align-items: stretch;
  gap: 9px;
  margin: 26px 0 24px;
  padding: 0 0 5px;
  list-style: none;
}

html body main.checkout-page .checkout-progress li {
  flex: 1 1 0;
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid var(--pj-border);
  border-radius: 10px;
  background: var(--pj-paper);
  color: #667080;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  transition: background .2s ease, border-color .2s ease,
    color .2s ease;
}

html body main.checkout-page .checkout-progress li[aria-current="step"] {
  border-color: var(--pj-navy);
  background: var(--pj-navy);
  color: #fff;
  box-shadow: 0 5px 15px rgba(20, 38, 61, .14);
}

html body main.checkout-page .checkout-progress a {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

html body main.checkout-page .checkout-progress a:hover {
  color: var(--pj-gold-light);
  text-decoration: none;
}

/* Status messages */
html body main.checkout-page #checkout-status,
html body main.checkout-page #confirmation-status,
html body main.checkout-page #payment-success-status {
  padding: 13px 16px;
  border-radius: 10px;
  line-height: 1.6;
}

html body main.checkout-page #checkout-status:empty,
html body main.checkout-page #confirmation-status:empty,
html body main.checkout-page #payment-success-status:empty {
  display: none;
}

html body main.checkout-page [data-state="success"] {
  border: 1px solid #cfe5d5;
  background: #edf7f0;
  color: var(--pj-success);
}

html body main.checkout-page [data-state="error"] {
  border: 1px solid #efd2d2;
  background: #fff0f0;
  color: var(--pj-danger);
}

/* Step container: keep JavaScript-controlled hidden state intact */
html body main.checkout-page .checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-top: 20px;
}

html body main.checkout-page .checkout-step[hidden],
html body main.checkout-page .payment-option[hidden] {
  display: none !important;
}

html body main.checkout-page .checkout-panel {
  min-width: 0;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid rgba(184, 149, 88, .2);
  border-radius: var(--pj-radius);
  background: var(--pj-paper);
  box-shadow: var(--pj-shadow);
}

html body main.checkout-page .checkout-panel h2 {
  margin: 0 0 25px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--pj-border);
  color: var(--pj-navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(23px, 3vw, 29px);
  font-weight: 600;
  line-height: 1.3;
}

html body main.checkout-page .checkout-panel h3 {
  color: var(--pj-navy);
}

html body main.checkout-page .muted {
  color: var(--pj-muted);
  line-height: 1.65;
}

/* Delivery form */
html body main.checkout-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

html body main.checkout-page .field {
  min-width: 0;
}

html body main.checkout-page .field label {
  display: block;
  margin-bottom: 8px;
  color: var(--pj-navy);
  font-size: 13px;
  font-weight: 700;
}

html body main.checkout-page .field.full {
  grid-column: 1 / -1;
}

html body main.checkout-page input:not([type="radio"]):not([type="checkbox"]),
html body main.checkout-page select,
html body main.checkout-page textarea {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid #dedbd4;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--pj-text);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

html body main.checkout-page textarea {
  min-height: 100px;
  resize: vertical;
}

html body main.checkout-page input:not([type="radio"]):not([type="checkbox"]):focus,
html body main.checkout-page select:focus,
html body main.checkout-page textarea:focus {
  border-color: var(--pj-gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 88, .14);
}

html body main.checkout-page input::placeholder,
html body main.checkout-page textarea::placeholder {
  color: #9a9fa7;
}

html body main.checkout-page input:disabled,
html body main.checkout-page select:disabled,
html body main.checkout-page textarea:disabled {
  cursor: not-allowed;
  background: #f3f2ef;
}

/* Delivery review and cart items */
html body main.checkout-page .delivery-review {
  margin-bottom: 20px;
  padding: 17px 19px;
  border: 1px solid var(--pj-border);
  border-radius: 11px;
  background: #fbfaf7;
  color: var(--pj-text);
  line-height: 1.7;
}

html body main.checkout-page .checkout-items,
html body main.checkout-page #confirmation-items {
  display: grid;
  gap: 0;
}

html body main.checkout-page .summary-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 18px 0;
  border-bottom: 1px solid var(--pj-border);
}

html body main.checkout-page .summary-item img {
  display: block;
  width: 82px;
  height: 96px;
  border-radius: 9px;
  background: var(--pj-ivory);
  object-fit: cover;
}

html body main.checkout-page .summary-item h3 {
  margin: 0 0 5px;
  color: var(--pj-navy);
  font-size: 15px;
  line-height: 1.45;
}

html body main.checkout-page .summary-item p {
  margin: 3px 0;
  color: var(--pj-muted);
  font-size: 12px;
  line-height: 1.5;
}

html body main.checkout-page .summary-item > strong {
  color: var(--pj-navy);
  font-size: 14px;
  white-space: nowrap;
}

/* Coupon */
html body main.checkout-page .checkout-coupon {
  margin: 25px 0;
  padding: 21px;
  border: 1px dashed #c8ad7d;
  border-radius: 12px;
  background: #fcfaf5;
}

html body main.checkout-page .checkout-coupon h3 {
  margin: 0 0 13px;
  font-size: 16px;
}

html body main.checkout-page .checkout-coupon-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 9px;
}

html body main.checkout-page .checkout-coupon-controls button {
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--pj-gold);
  border-radius: 8px;
  background: var(--pj-navy);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

html body main.checkout-page .checkout-coupon-controls button:hover {
  background: #243d5b;
}

html body main.checkout-page .checkout-coupon-controls button[hidden] {
  display: none !important;
}

html body main.checkout-page #checkout-coupon-message {
  margin: 10px 0 0;
  color: var(--pj-muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Totals */
html body main.checkout-page .totals {
  margin: 23px 0 0;
  padding: 0;
}

html body main.checkout-page .totals > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #efede8;
}

html body main.checkout-page .totals dt {
  color: #657080;
  font-size: 14px;
}

html body main.checkout-page .totals dd {
  margin: 0;
  color: var(--pj-navy);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

html body main.checkout-page .totals .grand-total {
  align-items: center;
  margin-top: 8px;
  padding: 18px 0 0;
  border-top: 1px solid var(--pj-gold);
  border-bottom: 0;
}

html body main.checkout-page .totals .grand-total dt {
  color: var(--pj-navy);
  font-size: 18px;
  font-weight: 800;
}

html body main.checkout-page .totals .grand-total dd {
  color: var(--pj-navy);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
}

/* Payment choices */
html body main.checkout-page .payment-methods {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

html body main.checkout-page .payment-methods legend {
  margin-bottom: 15px;
  color: var(--pj-navy);
  font-size: 15px;
  font-weight: 700;
}

html body main.checkout-page .payment-option {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 12px;
  padding: 17px;
  border: 1px solid var(--pj-border);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease,
    box-shadow .2s ease;
}

html body main.checkout-page .payment-option:has(input:checked) {
  border-color: var(--pj-gold);
  background: #fcfaf5;
  box-shadow: 0 0 0 2px rgba(184, 149, 88, .1);
}

html body main.checkout-page .payment-option input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--pj-navy);
}

html body main.checkout-page .payment-option > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

html body main.checkout-page .payment-option strong {
  color: var(--pj-navy);
  font-size: 14px;
}

html body main.checkout-page .payment-option small {
  color: var(--pj-muted);
  font-size: 12px;
  line-height: 1.6;
}

html body main.checkout-page .security-note,
html body main.checkout-page #gateway-note {
  color: var(--pj-muted);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* Buttons */
html body main.checkout-page .checkout-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

html body main.checkout-page .checkout-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 49px;
  padding: 12px 22px;
  border: 1px solid var(--pj-navy);
  border-radius: 9px;
  background: var(--pj-navy);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease,
    box-shadow .2s ease, transform .2s ease;
}

html body main.checkout-page .checkout-action:hover:not(:disabled) {
  border-color: var(--pj-navy-deep);
  background: var(--pj-navy-deep);
  box-shadow: 0 5px 14px rgba(20, 38, 61, .14);
  transform: translateY(-1px);
}

html body main.checkout-page .checkout-action.secondary {
  border-color: var(--pj-border);
  background: #fff;
  color: var(--pj-navy);
}

html body main.checkout-page .checkout-action.secondary:hover:not(:disabled) {
  border-color: var(--pj-gold);
  background: #fcfaf5;
}

html body main.checkout-page .checkout-action:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

html body main.checkout-page button:focus-visible,
html body main.checkout-page a:focus-visible {
  outline: 3px solid rgba(184, 149, 88, .6);
  outline-offset: 3px;
}

/* Confirmation and payment-success pages */
html body main.checkout-page .confirmation-card,
html body main.checkout-page .payment-success-card {
  width: 100%;
  max-width: 760px;
  margin: 30px auto;
}

html body main.checkout-page .confirmation-card > h1,
html body main.checkout-page .payment-success-card > h1 {
  margin: 0 0 18px;
  color: var(--pj-navy) !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.2;
}

html body main.checkout-page .confirmation-state {
  padding: 16px 18px;
  border: 1px solid #d6e8da;
  border-radius: 10px;
  background: #eff7f0;
  color: var(--pj-success);
  line-height: 1.7;
}

html body main.checkout-page #order-reference,
html body main.checkout-page #payment-success-reference {
  display: inline-block;
  margin: 12px 0;
  padding: 9px 13px;
  border: 1px solid var(--pj-border);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--pj-navy);
  font-weight: 700;
  overflow-wrap: anywhere;
}

html body main.checkout-page .delivery-summary {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pj-border);
  color: var(--pj-text);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

html body main.checkout-page .delivery-summary p {
  margin: 5px 0;
}

html body main.checkout-page .confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

html body main.checkout-page .confirmation-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--pj-navy);
  border-radius: 9px;
  background: var(--pj-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}

html body main.checkout-page .confirmation-actions a:hover {
  background: var(--pj-navy-deep);
}

html body main.checkout-page #confirm-order-link[hidden] {
  display: none !important;
}

/* Responsive: tablets */
@media (max-width: 800px) {
  html body main.checkout-page {
    width: calc(100% - 32px);
    margin-top: 27px;
  }

  html body main.checkout-page .checkout-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  html body main.checkout-page .checkout-progress li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 9px 6px;
  }

  html body main.checkout-page .checkout-panel {
    padding: 25px;
  }
}

/* Responsive: phones */
@media (max-width: 520px) {
  html body main.checkout-page {
    width: calc(100% - 24px);
    margin: 20px auto 42px;
  }

  html body main.checkout-page > h1 {
    margin-top: 17px;
    font-size: 32px;
  }

  html body main.checkout-page .page-intro {
    font-size: 14px;
  }

  html body main.checkout-page .checkout-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 20px 0;
  }

  html body main.checkout-page .checkout-progress li {
    min-height: 44px;
    font-size: 11px;
  }

  html body main.checkout-page .checkout-panel {
    padding: 19px 16px;
    border-radius: 13px;
  }

  html body main.checkout-page .checkout-panel h2 {
    margin-bottom: 20px;
    padding-bottom: 14px;
    font-size: 24px;
  }

  html body main.checkout-page .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  html body main.checkout-page .field.full {
    grid-column: auto;
  }

  html body main.checkout-page .checkout-coupon {
    padding: 15px;
  }

  html body main.checkout-page .checkout-coupon-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  html body main.checkout-page .checkout-coupon-controls input {
    grid-column: 1 / -1;
  }

  html body main.checkout-page .checkout-coupon-controls button {
    padding: 10px 13px;
  }

  html body main.checkout-page .summary-item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
  }

  html body main.checkout-page .summary-item img {
    width: 62px;
    height: 76px;
  }

  html body main.checkout-page .summary-item > strong {
    grid-column: 2;
    justify-self: start;
  }

  html body main.checkout-page .totals dt,
  html body main.checkout-page .totals dd {
    font-size: 13px;
  }

  html body main.checkout-page .totals .grand-total dt {
    font-size: 16px;
  }

  html body main.checkout-page .totals .grand-total dd {
    font-size: 23px;
  }

  html body main.checkout-page .checkout-actions {
    flex-direction: column;
    align-items: stretch;
  }

  html body main.checkout-page .checkout-actions > *,
  html body main.checkout-page .confirmation-actions > * {
    width: 100%;
    max-width: none;
  }

  html body main.checkout-page .checkout-action {
    width: 100%;
    min-height: 49px;
  }

  html body main.checkout-page .confirmation-card,
  html body main.checkout-page .payment-success-card {
    margin: 18px auto;
  }

  html body main.checkout-page .confirmation-actions {
    flex-direction: column;
  }

  html body main.checkout-page .confirmation-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html body main.checkout-page *,
  html body main.checkout-page *::before,
  html body main.checkout-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ===== END CONSOLIDATED LUXURY CHECKOUT ===== */

