.customer-auth{max-width:660px;margin:20px auto 80px}.customer-auth h1{font-size:clamp(42px,6vw,76px)}.customer-auth.inline{margin:30px 0}.customer-auth.inline h1{font-size:40px}.customer-links{display:flex;flex-wrap:wrap;gap:22px;margin:24px 0}.customer-links a{font-size:13px;text-decoration:underline}.customer-social{display:flex;gap:15px;padding-top:22px;border-top:1px solid #d5d1c5}.customer-social button{padding:12px 25px;background:transparent;border:1px solid #d5d1c5;color:#777}.customer-error{color:#9e3126;min-height:20px}.customer-layout{display:grid;grid-template-columns:230px 1fr;gap:64px}.customer-layout aside nav{display:grid;margin-bottom:30px}.customer-layout aside nav a{display:flex;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #d5d1c5}.customer-layout aside nav a.active{background:var(--ink);color:var(--cream)}.customer-layout section{min-width:0}.customer-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0 50px}.customer-stats div{padding:24px;border:1px solid #d5d1c5}.customer-stats strong{display:block;font-size:40px;font-weight:400}.customer-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0;border-bottom:1px solid #d5d1c5}.customer-row small{display:block;margin-top:10px;font-size:11px}.customer-row img{width:95px;float:left;margin:0 25px 15px 0}.customer-layout form{max-width:650px}.customer-layout h3{margin-top:30px}.customer-page h1{font-size:clamp(40px,6vw,76px)}@media(max-width:760px){.customer-layout{grid-template-columns:1fr;gap:35px}.customer-layout aside nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:10px}.customer-layout aside nav a{white-space:nowrap;gap:15px}.customer-stats{gap:8px}.customer-stats div{padding:14px;font-size:12px}.customer-stats strong{font-size:28px}.customer-row{align-items:flex-start;flex-direction:column}.customer-auth{margin-top:0}.customer-auth .form-grid{grid-template-columns:1fr}}
.customer-page label,.customer-auth label{display:grid;gap:10px;font-size:14px}.customer-page input,.customer-auth input{width:100%;min-width:0;box-sizing:border-box;padding:16px;background:transparent;border:1px solid #d5d1c5;border-radius:0;font:inherit;color:var(--ink)}.customer-layout form{display:grid;gap:18px}.customer-layout aside{min-width:0}.customer-layout section p{overflow-wrap:anywhere}.customer-row>div{display:grid;grid-template-columns:95px 1fr;column-gap:24px;min-width:0}.customer-row>div:not(:has(img)){display:block}.customer-row img{grid-column:1;grid-row:1/4;float:none;margin:0;width:95px}.customer-row h3,.customer-row p{grid-column:2;margin:0 0 12px}.customer-auth.inline .checkbox-label{display:flex}.customer-layout aside>.text-link{border:0;background:transparent;padding:0;font:inherit;cursor:pointer}@media(max-width:760px){.customer-layout form{width:100%}.customer-layout section{overflow-wrap:anywhere}.customer-row>div{grid-template-columns:75px 1fr;column-gap:18px}.customer-row img{width:75px}}

.payment-options{display:grid;gap:12px}.payment-option{display:flex;gap:14px;padding:18px;border:1px solid var(--ink,#222);cursor:pointer}.payment-option input{width:22px;min-height:22px}.payment-option small{display:block;margin-top:6px}.payment-option:has(input:disabled){opacity:.55;cursor:default}.payment-result{max-width:850px}.customer-error a{display:block;margin-top:12px}.checkout-pay{width:100%;margin-top:16px}@media(max-width:650px){.checkout input,.checkout select{font-size:16px;min-height:48px}.checkout-pay{min-height:54px}}

.customer-auth{max-width:540px;margin:48px auto 72px}
.customer-auth-heading{text-align:center;margin-bottom:30px}
.customer-auth .customer-auth-heading h1{font-size:clamp(30px,4vw,46px);line-height:1.16;margin:18px 0;text-wrap:balance}
.customer-auth-heading p{font-size:16px;line-height:1.6;margin:0;color:#656159}
.customer-auth .form-grid{grid-template-columns:1fr;gap:20px}
.customer-auth form>.button{width:100%;justify-content:center;margin-top:8px}
.customer-auth .customer-links{justify-content:center;gap:14px 22px}
.customer-password{position:relative;display:flex;align-items:center}
.customer-auth .customer-password input,.customer-page .customer-password input{padding-right:92px}
.customer-password button{position:absolute;right:8px;border:0;background:transparent;padding:10px;color:#4f4b43;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
.password-guidance,.auth-footnote{font-size:13px;line-height:1.6;color:#656159;margin:14px 0}
.auth-footnote{text-align:center}
.auth-notice{padding:18px;border:1px solid #cbbb88;background:#fff9e7;border-radius:12px;line-height:1.6;margin:20px 0}
.auth-notice a{text-decoration:underline}.customer-auth .customer-error:empty,.customer-feedback:empty{display:none}
.customer-feedback{padding:15px;background:#eef4e8;font-size:14px;line-height:1.6}
.customer-social{flex-direction:column}.customer-social[hidden]{display:none}
.customer-social .button{width:100%;color:var(--ink);cursor:pointer;border-radius:999px}
.auth-progress{text-align:center;padding:24px}
@media(max-width:600px){.customer-auth{margin:24px auto 50px}.customer-auth.inline h1{font-size:30px}}

/* Keep payment progress in the checkout panel. */
.checkout-payment-progress { min-height: 16rem; }
.checkout-payment-progress h2 { display:flex; align-items:center; gap:.65rem; }
.checkout-payment-spinner { display:inline-block; flex:0 0 auto; width:1.15rem; height:1.15rem; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:checkout-payment-spin .85s linear infinite; }
@keyframes checkout-payment-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .checkout-payment-spinner { animation:none; } }

.checkout-confirmation .confirmation-grid { display:grid; grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr); gap:clamp(26px, 6vw, 92px); align-items:start; }
.checkout-confirmation .confirmation-check { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#ffcf00; color:#201b11; font-size:24px; }
.checkout-confirmation h1 { font-size:clamp(42px, 5.7vw, 80px); line-height:1.02; margin:18px 0 32px; }
.checkout-confirmation .confirmation-summary { display:grid; gap:14px; margin:0; padding:0; }
.checkout-confirmation .confirmation-summary div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:0 0 13px; border-bottom:1px solid var(--store-line,#746c61); }
.checkout-confirmation dt { font-size:.9rem; }
.checkout-confirmation dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.checkout-confirmation .confirmation-total { font-weight:700; font-size:clamp(1.45rem, 2.55vw, 2.25rem); }
.checkout-confirmation .confirmation-links { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:25px; }
.checkout-confirmation .confirmation-links a { text-decoration:underline; text-underline-offset:4px; }
.checkout-confirmation .confirmation-products { padding:clamp(18px, 3vw, 36px); background:var(--store-panel,#282423); color:var(--store-paper,#fff9ee); border:1px solid var(--store-line,#746c61); border-radius:24px; }
.checkout-confirmation .confirmation-products h2 { font-size:clamp(1.65rem, 3vw, 2.4rem); margin:0 0 23px; }
.checkout-confirmation .confirmation-product { display:grid; grid-template-columns:minmax(78px, 125px) minmax(0, 1fr); gap:clamp(12px, 2.4vw, 25px); align-items:center; }
.checkout-confirmation .confirmation-product+.confirmation-product { margin-top:20px; padding-top:20px; border-top:1px solid var(--store-line,#746c61); }
.checkout-confirmation .confirmation-cover { aspect-ratio:10/13; display:grid; place-items:center; border-radius:10px; overflow:hidden; background:color-mix(in srgb, currentColor 9%, transparent); font-size:1.5rem; }
.checkout-confirmation .confirmation-cover img { width:100%; height:100%; object-fit:contain; }
.checkout-confirmation .confirmation-product h3 { font-size:clamp(1.13rem, 2.4vw, 1.76rem); line-height:1.17; margin:0 0 9px; overflow-wrap:anywhere; }
.checkout-confirmation .confirmation-product p { margin:0 0 8px; }
.checkout-confirmation .confirmation-product .button { min-height:44px; max-width:100%; white-space:normal; margin:9px 0 0; text-align:center; padding:10px 15px; }
@media (max-width:760px) { .checkout-confirmation .confirmation-grid { grid-template-columns:1fr; } .checkout-confirmation h1 { margin-bottom:21px; } }
@media (max-width:410px) { .checkout-confirmation .confirmation-product { grid-template-columns:70px minmax(0,1fr); } }

/* Original brand assets, displayed without stretching or raster upscaling. */
.quick-checkout .payment-options .payment-option {
 border-radius:20px;
 padding:22px;
 gap:18px;
 transition:border-color .18s ease, box-shadow .18s ease;
}
.quick-checkout .payment-options .payment-option:has(input:checked) {
 border-color:#d4ad35;
 box-shadow:inset 0 0 0 1px #d4ad35;
}
.quick-checkout .payment-options .payment-option:has(input:focus-visible) {
 outline:2px solid #ffcf00;
 outline-offset:4px;
}
.quick-checkout .payment-option>span { min-width:0; flex:1; }
.quick-checkout .payment-option input[type=radio] { margin-top:4px; flex:none; }
.quick-checkout .payment-options .payment-brands {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:10px;
 margin:16px 0 14px;
}
.quick-checkout .payment-brands .payment-brand {
 display:flex;
 align-items:center;
 justify-content:center;
 flex:0 0 104px;
 width:104px;
 height:80px;
 padding:12px;
 border:1px solid #e7e4dd;
 border-radius:14px;
 background:#fff;
 box-shadow:0 3px 10px #00000012;
 overflow:hidden;
}
.quick-checkout .payment-brands .payment-logo {
 display:block;
 width:100%;
 height:100%;
 max-width:100%;
 object-fit:contain;
}
.quick-checkout .payment-brands .payment-brand-mpesa { padding:4px; }
.quick-checkout .payment-brand-mpesa .payment-logo { width:70px; height:70px; border-radius:10px; }
.quick-checkout .payment-brands .payment-brand-afrimoney {
 flex-basis:152px;
 width:152px;
 background:#8c1c62;
 border-color:#8c1c62;
}
.quick-checkout .payment-brand-visa .payment-logo { max-width:78px; }
.quick-checkout .payment-brand-mastercard .payment-logo { max-width:74px; }
@media (max-width:600px) {
 .quick-checkout .payment-options .payment-option { padding:18px 14px; gap:12px; }
 .quick-checkout .payment-options .payment-brands { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-width:248px; gap:8px; }
 .quick-checkout .payment-brands .payment-brand { width:100%; height:76px; padding:11px; }
 .quick-checkout .payment-brands .payment-brand-mpesa { padding:3px; }
 .quick-checkout .payment-brands .payment-brand-afrimoney { width:100%; padding:8px; }
}
