.ajm-code-card{display:flex!important;flex-direction:column;text-align:left;overflow:hidden;background:linear-gradient(145deg,#171b22,#0b0e13);border:1px solid #b497513d;border-radius:16px;color:#f5f2e9;min-width:0}
.ajm-code-card>img{width:100%;height:170px;object-fit:cover;display:block}
.ajm-code-card .ajm-card-body{display:flex;flex-direction:column;flex:1;padding:18px;gap:9px}
.ajm-code-card .ajm-card-name{font-size:19px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.ajm-code-card .ajm-card-sub{font-size:13px;line-height:1.5;color:#b7c0cd}
.ajm-code-price{font-size:24px;font-weight:800;color:#f2cf7a}
.ajm-code-stock{margin:0 0 5px!important;font-size:13px;color:#9ce3bd}
.ajm-code-buy{display:block;text-align:center;padding:12px 14px;margin-top:auto;border-radius:9px;background:linear-gradient(115deg,#f2d386,#cda045);color:#14100a!important;font-weight:900;text-decoration:none!important;min-height:44px;box-sizing:border-box;line-height:20px}
.ajm-code-buy:hover{filter:brightness(1.1)}.ajm-code-buy:focus-visible{outline:3px solid white;outline-offset:3px}
.ajm-code-buy[aria-disabled=true]{background:#343942;color:#abb1ba!important;cursor:not-allowed}
.ajm-delivered-codes{margin:20px 0;padding:20px;border:1px solid #a68a4a80;border-radius:12px;background:#11151c;color:#f4f1e8}
.ajm-delivered-codes h3,.ajm-delivered-codes strong{color:#f3d58c!important}.ajm-delivered-codes code{background:#222832;color:#fff;font-size:16px}
@media(max-width:600px){.ajm-code-card>img{height:150px}.ajm-code-card .ajm-card-body{padding:14px}.ajm-delivered-codes{padding:14px}}
/* Shared ebook checkout styling is enabled only for the presentation of code purchases. */
html body.ajm-code-checkout #header,html body.ajm-code-checkout #footer,html body.ajm-code-checkout .ct-header,html body.ajm-code-checkout .ct-footer,html body.ajm-code-checkout .entry-header,html body.ajm-code-checkout .hero-section{display:none!important}
html body.ajm-code-checkout .site-main,html body.ajm-code-checkout .entry-content{padding-top:0!important}
html body.ajm-code-checkout form.checkout *{box-sizing:border-box}
html body.ajm-code-checkout form.checkout input.input-text{font-size:16px!important}
html body.ajm-code-checkout .woocommerce-additional-fields:empty{display:none!important}
html body.ajm-code-checkout .ajm-code-checkout-hero{padding:28px;border:1px solid #a17b343d;border-radius:20px;background:radial-gradient(ellipse at top right,#b982252b,transparent 65%),#111720;margin:0 0 24px;color:#d9e2ed}
html body.ajm-code-checkout .ajm-code-back{display:inline-block;margin-bottom:24px;color:#ead197!important;text-decoration:none;font-size:13px}
html body.ajm-code-checkout .ajm-code-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:1.5px;color:#eac16a}
html body.ajm-code-checkout .ajm-code-checkout-hero h2{color:#fff!important;font-size:clamp(25px,4vw,36px)!important;line-height:1.15!important;margin:12px 0!important}
html body.ajm-code-checkout .ajm-code-checkout-hero p{color:#aebdce!important;font-size:14px!important;line-height:1.6!important;margin:0!important}
.ajm-code-purchase-items{display:grid;gap:10px;margin-top:22px}.ajm-code-purchase-item{display:flex;align-items:center;gap:14px;padding:14px;background:#090e16;border:1px solid #ffffff0f;border-radius:12px;min-width:0}.ajm-code-purchase-item img{width:64px;height:64px;border-radius:9px;object-fit:cover}.ajm-code-purchase-item strong{display:block;color:#f3d286;overflow-wrap:anywhere}.ajm-code-purchase-item span{display:block;color:#a8b6c8;font-size:12px;margin-top:5px}
@media(max-width:600px){html body.ajm-code-checkout .woocommerce{width:100%!important;box-sizing:border-box!important;padding:16px 12px 50px!important}html body.ajm-code-checkout .ajm-code-checkout-hero{padding:20px!important;border-radius:16px!important}html body.ajm-code-checkout form.checkout{min-width:0!important}html body.ajm-code-checkout #customer_details,html body.ajm-code-checkout #order_review{min-width:0!important}.ajm-code-purchase-item img{width:52px;height:52px}.ajm-code-purchase-item{gap:10px}}
html body.ajm-code-checkout #order_review table{width:100%!important;border-collapse:collapse!important}html body.ajm-code-checkout #order_review table th,html body.ajm-code-checkout #order_review table td{text-align:left!important;padding:12px 6px!important}html body.ajm-code-checkout #order_review table th:last-child,html body.ajm-code-checkout #order_review table td:last-child{text-align:right!important;white-space:nowrap}
.ajm-account-cart-panel{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1180px;margin:18px auto 24px;padding:20px 24px;background:linear-gradient(120deg,#171d27,#0e141d);border:1px solid #b9964b70;border-radius:16px;color:#f5f0e6;clear:both}.ajm-account-cart-panel strong{font-size:20px;color:#f4d17e}.ajm-account-cart-panel strong span{display:inline-block;padding:3px 9px;border-radius:20px;background:#f4d17e;color:#16110a;font-size:14px}.ajm-account-cart-panel p{margin:8px 0 0;color:#bac6d4}.ajm-account-cart-actions{display:flex;gap:10px;flex-wrap:wrap}.ajm-account-cart-panel .ajm-account-cart-actions a{display:block;padding:12px 16px;border:1px solid #d8b55b;border-radius:9px;color:#f4d17e!important;text-decoration:none!important;font-weight:750;min-height:44px;box-sizing:border-box}.ajm-account-cart-panel .ajm-account-cart-actions a.ajm-cart-pay{background:#f4cb69;color:#171108!important}@media(max-width:600px){.ajm-account-cart-panel{margin:14px 12px 20px;padding:18px;flex-direction:column;align-items:stretch}.ajm-account-cart-actions{display:grid;grid-template-columns:1fr 1fr}.ajm-account-cart-actions a{text-align:center;font-size:13px}}
/* Stock box, one-time restock signup, and private order progress. */
.ajm-code-card .ajm-code-stock{display:inline-flex;align-items:center;gap:9px;align-self:flex-start;padding:9px 12px;border:1px solid #65c99845;border-radius:9px;background:#65c99810;color:#a7e8c4;font-size:13px;font-weight:700;line-height:1.3;margin:3px 0 8px!important}
.ajm-code-stock svg{width:20px;height:20px;flex-shrink:0}.ajm-code-card .ajm-code-stock.is-empty{color:#b6bfce;background:#9aa8bd0b;border-color:#9aa8bd36}
.ajm-code-card .ajm-restock{margin:2px 0 0;border-top:1px solid #ffffff13;padding-top:4px}.ajm-code-card .ajm-restock[hidden]{display:none!important}
.ajm-restock summary{cursor:pointer;list-style:none;text-align:center;padding:12px 4px;color:#f1ce7a;font-size:13px;font-weight:750;min-height:44px;box-sizing:border-box}.ajm-restock summary::-webkit-details-marker{display:none}.ajm-restock summary:before{content:'＋';margin-right:6px}.ajm-restock[open] summary:before{content:'−'}
.ajm-code-card .ajm-restock-form{display:grid;gap:10px;margin:2px 0 0;min-width:0}.ajm-restock-form label{display:grid;gap:7px;color:#e0e6f0;font-size:12px;font-weight:650}
.ajm-code-card .ajm-restock-form input{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;padding:11px 12px;border:1px solid #687486;border-radius:8px;background:#090e16;color:#fff;line-height:1.3;font-size:16px;box-shadow:none}
.ajm-code-card .ajm-restock-form button,.ajm-delivered-codes .ajm-code-actions button,.ajm-delivered-codes .ajm-code-actions a,.ajm-delivered-codes .ajm-order-refresh{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #d4b163;border-radius:9px;background:#ebc572;color:#17130b!important;font-family:inherit;font-size:13px;font-weight:750;line-height:1.4;text-decoration:none!important;cursor:pointer;white-space:normal;text-align:center}
.ajm-restock-form button:disabled,.ajm-order-refresh:disabled{opacity:.65;cursor:wait}.ajm-restock summary:focus-visible,.ajm-restock-form input:focus-visible,.ajm-restock-form button:focus-visible,.ajm-code-actions button:focus-visible,.ajm-code-actions a:focus-visible,.ajm-order-refresh:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ajm-code-card .ajm-restock-help,.ajm-code-card .ajm-restock-feedback{margin:0;font-size:12px;line-height:1.55;color:#acb9cc}.ajm-code-card .ajm-restock-feedback{color:#f1d696;overflow-wrap:anywhere}.ajm-restock-feedback:empty{display:none}
.ajm-delivered-codes{box-sizing:border-box;min-width:0;max-width:100%;padding:24px;background:linear-gradient(140deg,#171e29,#0e141e);border-color:#b9974b66;border-radius:16px}.ajm-delivered-codes *{box-sizing:border-box}.ajm-delivered-codes .ajm-order-kicker{display:block;color:#aab7ca;font-size:11px;font-weight:750;letter-spacing:1.2px;line-height:1.5}.ajm-delivered-codes h3{margin:9px 0 22px!important;font-size:22px!important;line-height:1.3!important;overflow-wrap:anywhere}
.ajm-delivered-codes .ajm-order-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0!important;margin:0 0 18px!important}.ajm-delivered-codes .ajm-order-step{display:flex;align-items:center;gap:9px;padding:12px 10px;border:1px solid #7f8ca02e;border-radius:10px;margin:0;min-width:0;background:#090f18;color:#a1aec1;font-size:12px;font-weight:650;line-height:1.45}.ajm-delivered-codes .ajm-step-number{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#263142;color:#b9c5d6;font-size:12px}.ajm-delivered-codes .ajm-order-step.is-current{background:#a7822614;border-color:#dfb55d80;color:#f2d99d}.ajm-delivered-codes .is-current .ajm-step-number{background:#e6c16b;color:#17130b}.ajm-delivered-codes .ajm-order-step.is-done{color:#aae6c8;border-color:#6ec89b40}.ajm-delivered-codes .is-done .ajm-step-number{color:#a5edc5;background:#214437}
.ajm-delivered-codes .ajm-order-note{margin:0 0 18px;color:#bdc9d9;font-size:14px;line-height:1.6}.ajm-delivered-codes .ajm-delivered-item{padding:18px;margin:14px 0 0;border:1px solid #ffffff15;border-radius:12px;background:#090f18;min-width:0}.ajm-delivered-item strong{display:block;font-size:15px;overflow-wrap:anywhere}.ajm-delivered-codes .ajm-delivered-item code{display:block;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;user-select:all;-webkit-user-select:all;padding:14px;margin:12px 0;border:1px dashed #8190a84d;border-radius:8px;background:#1b2432;font-size:16px;line-height:1.6;color:#fff}
.ajm-code-actions{display:flex;flex-wrap:wrap;gap:10px}.ajm-delivered-codes .ajm-code-actions .ajm-code-redeem{background:transparent;color:#f0cf86!important;border-color:#ba964b70}.ajm-copy-feedback,.ajm-order-feedback{display:block;margin-top:8px;font-size:12px;line-height:1.5;color:#a6e5c4}.ajm-copy-feedback:empty,.ajm-order-feedback:empty{display:none}.ajm-delivered-codes .ajm-order-refresh{background:transparent;color:#f0cf86!important}
@media(max-width:600px){.ajm-delivered-codes{padding:16px}.ajm-delivered-codes h3{font-size:20px!important}.ajm-delivered-codes .ajm-order-steps{gap:6px}.ajm-delivered-codes .ajm-order-step{flex-direction:column;text-align:center;padding:11px 5px;gap:8px;font-size:11px}.ajm-delivered-codes .ajm-step-number{flex-basis:28px}.ajm-delivered-codes .ajm-delivered-item{padding:13px}.ajm-code-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ajm-code-actions button:only-child{grid-column:1/-1}.ajm-delivered-codes .ajm-code-actions button,.ajm-delivered-codes .ajm-code-actions a{padding:10px 8px;font-size:12px}.ajm-delivered-codes .ajm-order-note{font-size:13px}}
.ajm-grid.ajm-service-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));align-items:start;gap:18px}.ajm-code-card{align-self:start;cursor:default}.ajm-code-card:hover{transform:none}
@media(max-width:540px){.ajm-grid.ajm-service-grid{grid-template-columns:minmax(0,1fr);gap:16px}.ajm-code-card>img{height:180px}.ajm-code-card .ajm-card-body{padding:18px}.ajm-code-card .ajm-card-name{font-size:20px}.ajm-code-card .ajm-code-stock{padding:9px 12px}}
