.commerce-page {
    --commerce-ink: #18171b;
    --commerce-muted: #6e6a75;
    --commerce-line: #dfded8;
    --commerce-paper: #f7f6f2;
    --commerce-pink: #ff3366;
    --commerce-gold: #fcb80b;
    min-height: 60vh;
    background: var(--commerce-paper);
    color: var(--commerce-ink);
}

.commerce-page *,
.commerce-page *::before,
.commerce-page *::after {
    box-sizing: border-box;
}

.commerce-container {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.commerce-heading {
    padding-block: clamp(60px,8vw,93px) 35px;
}

.commerce-heading--compact {
    padding-bottom: 25px;
}

.commerce-eyebrow {
    margin: 0 0 12px;
    color: #a82949;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.5;
    text-transform: uppercase;
}

.commerce-heading h1,
.commerce-auth-card h1 {
    margin: 0;
    font-size: clamp(39px,6vw,66px);
    font-weight: 750;
    letter-spacing: -.07em;
    line-height: .98;
}

.commerce-heading > p:not(.commerce-eyebrow):not(.commerce-alert),
.commerce-auth-card > p:not(.commerce-eyebrow):not(.commerce-alert) {
    max-width: 700px;
    margin: 17px 0 0;
    color: var(--commerce-muted);
    font-size: 14px;
    line-height: 1.8;
}

.commerce-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    background: var(--commerce-pink);
    padding: 12px 20px;
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 780;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.commerce-button:hover {
    transform: translateY(-2px);
    background: #e72f5d;
    box-shadow: 0 10px 24px rgba(255,51,102,.18);
}

.commerce-button--wide {
    width: 100%;
}

.commerce-button--secondary {
    border: 1px solid var(--commerce-line);
    background: transparent;
    color: var(--commerce-ink);
}

.commerce-button--secondary:hover {
    border-color: var(--commerce-pink);
    background: transparent;
    color: #a82949;
    box-shadow: none;
}

.commerce-text-link,
.commerce-text-button {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: none;
    padding: 0;
    color: #a82949;
    font: inherit;
    font-size: 11px;
    font-weight: 760;
    text-decoration: none;
    cursor: pointer;
}

.commerce-text-link:hover,
.commerce-text-button:hover {
    color: var(--commerce-pink);
}

.commerce-alert {
    margin: 18px 0 0;
    border: 1px solid transparent;
    padding: 12px 15px;
    font-size: 12px;
    line-height: 1.6;
}

.commerce-alert--error {
    border-color: #e7b8bd;
    background: #fff1f2;
    color: #8e2635;
}

.commerce-alert--success {
    border-color: #b8dcca;
    background: #eef9f2;
    color: #246644;
}

.cart-unavailable {
    margin-bottom: 18px;
}

.cart-unavailable h2 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.35;
}

.cart-unavailable p {
    margin: 0 0 10px;
    font-size: 12px;
}

.cart-unavailable ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.cart-unavailable li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 12px;
}

.cart-unavailable form {
    display: inline;
}

.cart-unavailable button {
    border: 0;
    background: transparent;
    padding: 2px 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.commerce-empty {
    margin-bottom: 85px;
    border: 1px solid var(--commerce-line);
    background: #fff;
    padding: clamp(28px,5vw,54px);
}

.commerce-empty h2 {
    margin: 0;
    font-size: 29px;
    letter-spacing: -.05em;
}

.commerce-empty p {
    margin: 10px 0 22px;
    color: var(--commerce-muted);
    font-size: 13px;
    line-height: 1.8;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(280px,.37fr);
    align-items: start;
    gap: clamp(32px,5vw,72px);
    padding-bottom: 95px;
}

.cart-items {
    display: grid;
    gap: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 142px minmax(0,1fr) auto;
    align-items: center;
    gap: 22px;
    border-top: 1px solid var(--commerce-line);
    padding: 22px 0;
}

.cart-item:last-of-type {
    border-bottom: 1px solid var(--commerce-line);
}

.cart-item__image {
    display: grid;
    aspect-ratio: 1.3;
    overflow: hidden;
    place-items: center;
    background: #25232d;
    color: var(--commerce-gold);
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__details .commerce-eyebrow {
    margin-bottom: 6px;
}

.cart-item__details h2 {
    margin: 0;
    font-size: 19px;
    letter-spacing: -.04em;
    line-height: 1.2;
}

.cart-item__details h2 a {
    color: inherit;
    text-decoration: none;
}

.cart-item__details > p:not(.commerce-eyebrow) {
    margin: 7px 0 9px;
    color: var(--commerce-muted);
    font-size: 11px;
    line-height: 1.65;
}

.cart-item__details > span {
    color: var(--commerce-muted);
    font-size: 9px;
}

.cart-item__actions {
    display: grid;
    justify-items: end;
    gap: 15px;
    text-align: right;
}

.cart-item__actions strong {
    font-size: 13px;
}

.cart-item__actions button {
    border: 0;
    background: none;
    padding: 2px 0;
    color: #a82949;
    font: inherit;
    font-size: 10px;
    font-weight: 730;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.cart-items > .commerce-text-link {
    margin-top: 19px;
}

.cart-clear-form {
    justify-self: start;
    margin-top: -7px;
}

.cart-summary,
.checkout-summary {
    position: sticky;
    top: 115px;
    border: 1px solid var(--commerce-line);
    background: #fff;
    padding: 25px;
}

.cart-summary h2,
.checkout-summary h2 {
    margin: 0 0 20px;
    font-size: 23px;
    letter-spacing: -.05em;
}

.cart-summary > div,
.checkout-summary__total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--commerce-line);
    padding-block: 14px;
    font-size: 11px;
}

.cart-summary > p:not(.commerce-eyebrow) {
    margin: 6px 0 19px;
    color: var(--commerce-muted);
    font-size: 10px;
    line-height: 1.7;
}

.cart-summary .cart-summary__secure {
    margin: 12px 0 0 !important;
    text-align: center;
}

.commerce-auth-page {
    display: grid;
    min-height: 72vh;
    place-items: center;
    padding: 55px 20px 85px;
}

.commerce-auth-card {
    width: min(100%, 510px);
    border: 1px solid var(--commerce-line);
    background: #fff;
    padding: clamp(27px,5vw,49px);
    box-shadow: 0 17px 48px rgba(28,26,33,.05);
}

.commerce-auth-card h1 {
    font-size: clamp(37px,5vw,52px);
}

.commerce-auth-card > p:not(.commerce-eyebrow):not(.commerce-alert) {
    font-size: 12px;
}

.commerce-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.commerce-field {
    display: grid;
    gap: 7px;
    color: var(--commerce-ink);
    font-size: 10px;
    font-weight: 740;
}

.commerce-field > span {
    color: var(--commerce-muted);
    font-size: 9px;
    font-weight: 500;
}

.commerce-field input,
.conversation-composer textarea {
    width: 100%;
    min-height: 45px;
    border: 1px solid #d7d4ce;
    border-radius: 3px;
    background: #fff;
    padding: 11px 13px;
    color: var(--commerce-ink);
    font: inherit;
    font-size: 12px;
}

.commerce-field input:focus,
.conversation-composer textarea:focus {
    border-color: #a82949;
    outline: 2px solid rgba(168,41,73,.14);
}

.commerce-auth-switch {
    margin: 19px 0 0;
    color: var(--commerce-muted);
    font-size: 10px;
}

.commerce-auth-switch a {
    color: #a82949;
    font-weight: 750;
}

.commerce-auth-admin {
    margin: 20px 0 0;
    border-top: 1px solid var(--commerce-line);
    padding-top: 14px;
    color: var(--commerce-muted);
    font-size: 9px;
    line-height: 1.65;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(290px,.58fr);
    align-items: start;
    gap: clamp(32px,6vw,85px);
    padding-bottom: 95px;
}

.checkout-form {
    display: grid;
    gap: 24px;
}

.checkout-section {
    border: 1px solid var(--commerce-line);
    background: #fff;
    padding: clamp(21px,3vw,31px);
}

.checkout-section h2 {
    margin: 0 0 19px;
    font-size: 23px;
    letter-spacing: -.045em;
}

.checkout-contact {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 19px;
}

.checkout-contact > div {
    display: grid;
    gap: 5px;
    border: 1px solid var(--commerce-line);
    background: #faf9f6;
    padding: 12px;
}

.checkout-contact span {
    color: var(--commerce-muted);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.checkout-contact strong {
    overflow-wrap: anywhere;
    font-size: 11px;
}

.payment-methods {
    display: grid;
    gap: 10px;
}

.payment-method {
    display: grid;
    grid-template-columns: 18px 30px minmax(0,1fr) 16px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--commerce-line);
    padding: 15px;
    cursor: pointer;
}

.payment-method__brand {
    display: grid!important;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 7px;
    background: #f3f0e9;
    color: #1f1d23;
    font-size: 15px;
    font-weight: 850;
}

.payment-method__brand img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.paystack-popup-page {
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: 24px;
}

.paystack-popup-card {
    width: min(560px,100%);
    border: 1px solid var(--commerce-line);
    border-radius: 16px;
    background: #fff;
    padding: clamp(24px,5vw,42px);
    box-shadow: 0 22px 70px rgba(24,23,27,.12);
}

.paystack-popup-card h1 {
    margin: 0;
    font-size: clamp(29px,5vw,42px);
    letter-spacing: -.055em;
    line-height: 1.04;
}

.paystack-popup-card>p:not(.commerce-eyebrow) {
    color: var(--commerce-muted);
    font-size: 13px;
    line-height: 1.7;
}

.paystack-popup-total {
    display: flex;
    justify-content: space-between;
    border-block: 1px solid var(--commerce-line);
    padding-block: 16px;
}

.paystack-popup-total strong {
    color: var(--commerce-ink);
}

.paystack-popup-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
    color: var(--commerce-muted);
    font-size: 11px;
    line-height: 1.7;
}

.paystack-popup-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.commerce-button:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
    box-shadow: none;
}

.payment-method:has(input:checked) {
    border-color: #a82949;
    box-shadow: inset 0 0 0 1px #a82949;
}

.payment-method input {
    accent-color: #a82949;
}

.payment-method span {
    display: grid;
    gap: 4px;
}

.payment-method strong {
    font-size: 12px;
}

.payment-method small {
    color: var(--commerce-muted);
    font-size: 9px;
}

.payment-method > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c8c5c0;
}

.payment-method:has(input:checked) > i {
    background: var(--commerce-pink);
}

.checkout-payment-empty {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border: 1px solid var(--commerce-line);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.checkout-payment-empty > span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    background: #f7f2e8;
    color: #9b7631;
    font-size: 9px;
}

.checkout-payment-empty strong {
    font-size: 12px;
}

.checkout-payment-empty p {
    margin: 5px 0 0;
    color: var(--commerce-muted);
    font-size: 10px;
    line-height: 1.7;
}

.checkout-payment-empty a {
    color: #a82949;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.checkout-notice {
    margin: 15px 0 0;
    border-left: 3px solid var(--commerce-gold);
    background: #faf7ed;
    padding: 12px 14px;
    color: #5e5961;
    font-size: 10px;
    line-height: 1.7;
}

.checkout-notice--blocked {
    border-left-color: #b12d4c;
    background: #fff0f2;
    color: #702338;
}

.payment-availability {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.payment-availability__item {
    overflow: hidden;
    border: 1px solid var(--commerce-line);
    background: #fff;
}

.payment-availability__item > summary {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 15px;
    cursor: pointer;
    list-style: none;
}

.payment-availability__item > summary::-webkit-details-marker {
    display: none;
}

.payment-availability__item > summary > span:first-child {
    display: grid;
    gap: 4px;
}

.payment-availability__item > summary strong {
    font-size: 12px;
}

.payment-availability__item > summary small {
    color: var(--commerce-muted);
    font-size: 9px;
}

.payment-availability__status {
    max-width: 48%;
    border-radius: 999px;
    background: #f5eee0;
    padding: 6px 9px;
    color: #654b17;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.payment-availability__item > p {
    margin: 0;
    border-top: 1px solid var(--commerce-line);
    padding: 13px 15px;
    color: var(--commerce-muted);
    font-size: 10px;
    line-height: 1.7;
}

.payment-availability__address {
    display: grid;
    gap: 9px;
    border-top: 1px solid var(--commerce-line);
    padding: 13px 15px;
}

.payment-availability__address > span {
    color: #702338;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
}

.payment-availability__address code {
    overflow-wrap: anywhere;
    border: 1px solid var(--commerce-line);
    background: var(--commerce-paper);
    padding: 10px;
    font-size: 10px;
    line-height: 1.6;
}

.payment-availability__address .commerce-button {
    width: fit-content;
}

.payment-availability__item > summary:focus-visible,
.payment-availability__address button:focus-visible {
    outline: 3px solid #a82949;
    outline-offset: 3px;
}

.crypto-copy-status {
    min-height: 1.5em;
    margin: 0;
    color: var(--commerce-muted);
    font-size: 10px;
}

.commerce-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--commerce-muted);
    font-size: 10px;
    line-height: 1.7;
}

.commerce-checkbox input {
    margin-top: 3px;
    accent-color: #a82949;
}

.checkout-summary__items {
    display: grid;
}

.checkout-summary__item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--commerce-line);
    padding-block: 13px;
    font-size: 10px;
}

.checkout-summary__item > span {
    display: grid;
    gap: 5px;
    font-weight: 740;
}

.checkout-summary__item small {
    color: var(--commerce-muted);
    font-size: 8px;
    font-weight: 500;
}

.checkout-summary__total {
    align-items: center;
    margin-top: 4px;
    font-weight: 750;
}

.checkout-summary > .commerce-text-link {
    margin-top: 20px;
}

.account-page {
    padding-bottom: 95px;
}

.account-layout {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
    align-items: start;
    gap: clamp(28px,5vw,65px);
}

.account-navigation {
    position: sticky;
    top: 110px;
    display: grid;
    border-top: 1px solid var(--commerce-line);
}

.account-navigation > a,
.account-navigation > form > button {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--commerce-line);
    background: transparent;
    padding: 14px 10px;
    color: var(--commerce-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-navigation > a:hover,
.account-navigation > form > button:hover,
.account-navigation > a[aria-current="page"] {
    color: #a82949;
}

.account-content {
    min-width: 0;
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 13px;
    margin-bottom: 19px;
}

.account-stat-grid > a {
    display: grid;
    gap: 14px;
    border: 1px solid var(--commerce-line);
    background: #fff;
    padding: 19px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.account-stat-grid > a:hover {
    transform: translateY(-2px);
    border-color: #c1bdc5;
}

.account-stat-grid span {
    color: var(--commerce-muted);
    font-size: 9px;
    font-weight: 700;
}

.account-stat-grid strong {
    font-size: 28px;
    letter-spacing: -.05em;
}

.account-panel,
.conversation-panel {
    border: 1px solid var(--commerce-line);
    background: #fff;
    padding: clamp(20px,3vw,30px);
}

.account-panel__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.account-panel__heading .commerce-eyebrow {
    margin-bottom: 6px;
}

.account-panel__heading h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.05em;
}

.account-panel__heading > a {
    color: #a82949;
    font-size: 10px;
    font-weight: 730;
}

.commerce-empty-inline {
    border-top: 1px solid var(--commerce-line);
    padding: 20px 0 0;
    color: var(--commerce-muted);
    font-size: 11px;
    line-height: 1.7;
}

.commerce-empty-inline p {
    margin: 0 0 10px;
}

.commerce-empty-inline a {
    color: #a82949;
    font-weight: 750;
}

.account-order-list {
    display: grid;
}

.account-order-list > a {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    align-items: center;
    gap: 18px;
    border-top: 1px solid var(--commerce-line);
    padding: 15px 0;
    color: inherit;
    font-size: 10px;
    text-decoration: none;
}

.account-order-list > a > span:first-child {
    display: grid;
    gap: 5px;
}

.account-order-list small {
    color: var(--commerce-muted);
    font-size: 9px;
}

.commerce-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eeece8;
    padding: 6px 9px;
    color: #5c5862;
    font-size: 8px;
    font-weight: 760;
    line-height: 1.2;
    text-transform: capitalize;
    white-space: nowrap;
}

.commerce-status--paid {
    background: #e8f5ee;
    color: #266849;
}

.commerce-status--awaiting_payment,
.commerce-status--pending {
    background: #fff4d5;
    color: #78570b;
}

.commerce-status--cancelled,
.commerce-status--failed,
.commerce-status--refunded {
    background: #fae9eb;
    color: #8e2635;
}

.order-state {
    margin-bottom: 18px;
    border: 1px solid #ead9ad;
    background: #fffaf0;
    padding: clamp(20px,3vw,28px);
}

.order-state h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.05em;
}

.order-state > p:not(.commerce-eyebrow) {
    max-width: 760px;
    margin: 10px 0 0;
    color: #625d57;
    font-size: 11px;
    line-height: 1.8;
}

.order-state--paid {
    border-color: #b8dcca;
    background: #f1faf4;
}

.account-order-items > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--commerce-line);
    padding-block: 14px;
    font-size: 11px;
}

.account-order-items > div > span {
    display: grid;
    gap: 5px;
}

.account-order-items small {
    color: var(--commerce-muted);
    font-size: 9px;
}

.account-order-total {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--commerce-line);
    padding-top: 16px;
    font-size: 13px;
    font-weight: 760;
}

.account-payment-note {
    margin: 13px 0 0;
    color: var(--commerce-muted);
    font-size: 9px;
    line-height: 1.7;
}

.crypto-payment-details {
    display: grid;
    margin: 0;
}

.crypto-payment-details > div {
    display: grid;
    grid-template-columns: minmax(130px,.35fr) minmax(0,1fr);
    gap: 12px;
    border-top: 1px solid var(--commerce-line);
    padding: 12px 0;
}

.crypto-payment-details dt {
    color: var(--commerce-muted);
    font-size: 10px;
    font-weight: 700;
}

.crypto-payment-details dd {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 10px;
}

.crypto-payment-details code {
    overflow-wrap: anywhere;
    color: var(--commerce-ink);
    font-size: 10px;
}

.crypto-payment-details button {
    border: 1px solid var(--commerce-line);
    border-radius: 999px;
    background: transparent;
    padding: 6px 10px;
    color: inherit;
    font: inherit;
    font-size: 9px;
    cursor: pointer;
}

.crypto-payment-qr {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    border: 1px solid var(--commerce-line);
    border-radius: 8px;
    background: var(--commerce-paper);
    padding: 13px;
}

.crypto-payment-qr canvas {
    display: block;
    width: 176px;
    height: 176px;
    flex: 0 0 176px;
    border: 7px solid #fff;
}

.crypto-payment-qr strong {
    font-size: 11px;
}

.crypto-payment-qr p,
.crypto-payment-qr span {
    display: block;
    margin: 5px 0 0;
    color: var(--commerce-muted);
    font-size: 10px;
    line-height: 1.7;
}

.crypto-txid-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.crypto-txid-form > p {
    margin: 0;
    color: var(--commerce-muted);
    font-size: 10px;
    line-height: 1.7;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 17px;
}

.download-list,
.conversation-list {
    display: grid;
}

.download-list > article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-top: 1px solid var(--commerce-line);
    padding: 17px 0;
}

.download-list h3 {
    margin: 0;
    font-size: 15px;
    letter-spacing: -.03em;
}

.download-list article > div > p:not(.commerce-eyebrow) {
    margin: 6px 0 0;
    color: var(--commerce-muted);
    font-size: 10px;
    line-height: 1.6;
}

.conversation-list > a {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--commerce-line);
    padding: 15px 0;
    color: inherit;
    text-decoration: none;
}

.conversation-list > a > span:first-child {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.conversation-list small {
    overflow: hidden;
    color: var(--commerce-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-list time {
    color: var(--commerce-muted);
    font-size: 9px;
}

.conversation-unread {
    border-radius: 999px;
    background: #fff1f3;
    padding: 5px 8px;
    color: #a82949;
    font-size: 8px;
    font-weight: 750;
}

.conversation-panel {
    padding: 0;
}

.conversation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--commerce-line);
    padding: 19px 22px;
}

.conversation-header .commerce-eyebrow {
    margin-bottom: 5px;
}

.conversation-header h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.04em;
}

.conversation-header > a {
    color: #a82949;
    font-size: 9px;
    font-weight: 750;
}

.conversation-thread {
    display: flex;
    min-height: 250px;
    max-height: 560px;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 22px;
}

.conversation-message {
    width: min(82%, 520px);
    border: 1px solid var(--commerce-line);
    background: #f7f6f2;
    padding: 12px 14px;
}

.conversation-message--customer {
    align-self: flex-end;
    border-color: #f4c1ce;
    background: #fff5f7;
}

.conversation-message p {
    margin: 0;
    color: var(--commerce-ink);
    font-size: 11px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.conversation-message time {
    display: block;
    margin-top: 8px;
    color: var(--commerce-muted);
    font-size: 8px;
    text-align: right;
}

.conversation-empty,
.conversation-awaiting,
.conversation-closed {
    color: var(--commerce-muted);
    font-size: 10px;
    line-height: 1.7;
}

.conversation-composer {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--commerce-line);
    padding: 19px 22px 22px;
}

.conversation-composer label {
    font-size: 10px;
    font-weight: 750;
}

.conversation-composer textarea {
    min-height: 90px;
    resize: vertical;
}

.conversation-composer .commerce-button {
    justify-self: end;
}

.account-profile-panel .commerce-form {
    max-width: 520px;
    margin-top: 0;
}

.commerce-page a:focus-visible,
.commerce-page button:focus-visible,
.commerce-page input:focus-visible,
.commerce-page textarea:focus-visible {
    outline: 3px solid var(--commerce-pink);
    outline-offset: 3px;
}

[data-theme='dark'] .commerce-page {
    --commerce-ink: #f6f4f8;
    --commerce-muted: #bbb7c4;
    --commerce-line: #3c3948;
    --commerce-paper: #191824;
}

[data-theme='dark'] .commerce-empty,
[data-theme='dark'] .cart-summary,
[data-theme='dark'] .checkout-summary,
[data-theme='dark'] .commerce-auth-card,
[data-theme='dark'] .checkout-section,
[data-theme='dark'] .paystack-popup-card,
[data-theme='dark'] .account-stat-grid > a,
[data-theme='dark'] .account-panel,
[data-theme='dark'] .conversation-panel {
    background: #211f33;
}

[data-theme='dark'] .commerce-field input,
[data-theme='dark'] .conversation-composer textarea {
    border-color: #4d4958;
    background: #191824;
    color: #f6f4f8;
}

[data-theme='dark'] .checkout-contact > div,
[data-theme='dark'] .order-state {
    background: #292637;
}

[data-theme='dark'] .payment-method:has(input:checked) {
    border-color: #ff668a;
    box-shadow: inset 0 0 0 1px #ff668a;
}

[data-theme='dark'] .checkout-payment-empty {
    border-color: #464052;
    background: #211f33;
}

[data-theme='dark'] .payment-method__brand {
    background: #302d39;
    color: #f5f3f8;
}

[data-theme='dark'] .checkout-payment-empty > span {
    background: #383143;
    color: #f2ce7a;
}

[data-theme='dark'] .checkout-payment-empty a {
    color: #ff8ba6;
}

[data-theme='dark'] .checkout-notice {
    background: #302b21;
    color: #ded8cb;
}

[data-theme='dark'] .checkout-notice--blocked {
    border-left-color: #ff7791;
    background: #3b222d;
    color: #ffd6de;
}

[data-theme='dark'] .payment-availability__item {
    background: #211f33;
}

[data-theme='dark'] .payment-availability__status {
    background: #403820;
    color: #ffdf7b;
}

[data-theme='dark'] .payment-availability__address > span {
    color: #ffd6de;
}

[data-theme='dark'] .payment-availability__address code {
    background: #191824;
}

[data-theme='dark'] .conversation-message {
    background: #292637;
}

[data-theme='dark'] .conversation-message--customer {
    border-color: #6a3446;
    background: #332330;
}

[data-theme='dark'] .commerce-status--paid {
    background: #203d30;
    color: #a5e2bf;
}

[data-theme='dark'] .crypto-payment-qr {
    border-color: #464052;
    background: #191824;
}

@media(max-width:560px) {
    .crypto-payment-details > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .crypto-payment-qr {
        align-items: flex-start;
        flex-direction: column;
    }
}

[data-theme='dark'] .commerce-status--awaiting_payment,
[data-theme='dark'] .commerce-status--pending {
    background: #403820;
    color: #ffdf7b;
}

@media (max-width: 767px) {
    .commerce-container {
        width: min(100% - 40px, 560px);
    }
}

.checkout-payment-dialog,
.crypto-payment-dialog {
    width: min(680px, calc(100vw - 32px));
    max-width: none;
    max-height: min(88vh, 880px);
    overflow: auto;
    border: 1px solid var(--commerce-line);
    border-radius: 20px;
    background: var(--commerce-paper);
    padding: 0;
    color: var(--commerce-ink);
    box-shadow: 0 28px 90px rgba(15, 12, 24, .28);
}

.checkout-payment-dialog::backdrop,
.crypto-payment-dialog::backdrop {
    background: rgba(15, 12, 24, .68);
    backdrop-filter: blur(5px);
}

.checkout-payment-dialog__content,
.crypto-payment-dialog__content {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 4vw, 34px);
}

.checkout-payment-dialog__heading,
.crypto-payment-dialog__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
}

.checkout-payment-dialog__heading h2,
.crypto-payment-dialog__heading h2 {
    margin: 0;
    font-size: clamp(22px, 4vw, 32px);
    letter-spacing: -.045em;
    line-height: 1.1;
}

.checkout-payment-dialog__content > p:not(.commerce-eyebrow),
.crypto-payment-dialog__content > p:not(.commerce-eyebrow) {
    margin: 0;
    color: var(--commerce-muted);
    font-size: 13px;
    line-height: 1.75;
}

.checkout-payment-dialog__notice {
    border-left: 3px solid var(--commerce-gold);
    background: color-mix(in srgb, var(--commerce-gold) 10%, transparent);
    padding: 12px 14px;
}

.checkout-payment-dialog__close,
.crypto-payment-dialog__close {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid var(--commerce-line);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 24px;
    cursor: pointer;
}

.checkout-payment-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.crypto-payment-launcher {
    display: grid;
    justify-items: start;
    gap: 12px;
}

.crypto-payment-launcher > p {
    margin: 0;
    color: var(--commerce-muted);
    font-size: 12px;
    line-height: 1.7;
}

.crypto-payment-dialog .crypto-payment-details {
    margin: 0;
}

.crypto-payment-dialog .crypto-payment-qr {
    margin-top: 0;
}

.crypto-txid-form[data-crypto-txid-form] .commerce-field small {
    display: block;
    margin-top: 7px;
    color: var(--commerce-muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.7;
}

[data-theme='dark'] .checkout-payment-dialog,
[data-theme='dark'] .crypto-payment-dialog {
    border-color: #464052;
    background: #211f33;
    color: #f6f4f8;
}

[data-theme='dark'] .checkout-payment-dialog__notice {
    background: rgba(252, 184, 11, .1);
}

@media (max-width: 560px) {
    .checkout-payment-dialog,
    .crypto-payment-dialog {
        width: calc(100vw - 20px);
        max-height: 92vh;
        border-radius: 15px;
    }

    .checkout-payment-dialog__actions {
        flex-direction: column-reverse;
    }

    .checkout-payment-dialog__actions .commerce-button {
        width: 100%;
    }
}

.commerce-page .checkout-payment-dialog,
.commerce-page .crypto-payment-dialog {
    color-scheme: light;
}

[data-theme='dark'] .commerce-page .checkout-payment-dialog,
[data-theme='dark'] .commerce-page .crypto-payment-dialog {
    color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
    .checkout-payment-dialog,
    .crypto-payment-dialog,
    .checkout-payment-dialog *,
    .crypto-payment-dialog * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 767px) {
    .commerce-heading {
        padding-top: 52px;
    }

    .cart-layout,
    .checkout-layout,
    .account-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cart-summary,
    .checkout-summary,
    .account-navigation {
        position: static;
    }

    .account-navigation {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        border-top: 0;
        border-bottom: 1px solid var(--commerce-line);
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .account-navigation > a,
    .account-navigation > form > button {
        width: auto;
        flex: 0 0 auto;
        border: 1px solid var(--commerce-line);
        border-radius: 999px;
        padding: 9px 12px;
        white-space: nowrap;
    }

    .account-navigation > a[aria-current="page"] {
        border-color: #a82949;
        background: #a82949;
        color: #fff;
    }

    .account-navigation > form {
        flex: 0 0 auto;
    }

    .account-stat-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 8px;
    }

    .account-stat-grid > a {
        gap: 11px;
        padding: 13px;
    }

    .account-stat-grid span {
        font-size: 8px;
    }

    .account-stat-grid strong {
        font-size: 23px;
    }
}

@media (max-width: 520px) {
    .commerce-container {
        width: calc(100% - 32px);
    }

    .cart-item {
        grid-template-columns: 82px minmax(0,1fr);
        align-items: start;
        gap: 13px;
    }

    .cart-item__details h2 {
        font-size: 15px;
    }

    .cart-item__actions {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .checkout-contact {
        grid-template-columns: 1fr;
    }

    .account-order-list > a {
        grid-template-columns: minmax(0,1fr) auto;
        gap: 8px;
    }

    .account-order-list > a > strong {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .download-list > article {
        align-items: flex-start;
        flex-direction: column;
    }

    .conversation-list > a {
        grid-template-columns: minmax(0,1fr) auto;
    }

    .conversation-list time {
        grid-column: 2;
        grid-row: 1;
    }

    .conversation-list .conversation-unread {
        grid-column: 2;
    }

    .conversation-message {
        width: 92%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .commerce-page *,
    .commerce-page *::before,
    .commerce-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
