/* Shop (public): the catalog, a product, the order form and the order page. Phones first, white page, boxes with a firm edge. */
.shop-preview{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:#faeeda;color:#633806;font-size:13px;line-height:1.45}
.shop-grid{display:grid;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}
.shop-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid #d5dfeb;border-radius:12px;box-shadow:0 1px 2px rgba(20,35,70,.05)}
.shop-card:active{background:#f3f6fb}
.shop-card-media{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;background:var(--accent-soft,#e8f0fc);text-decoration:none}
.shop-card-media img{display:block;width:100%;height:100%;object-fit:cover}.shop-card-ph{padding:6px;font-size:12px;font-weight:700;text-align:center;color:var(--accent-strong,#244c85)}
.shop-card-body{display:flex;flex-direction:column;gap:2px;padding:9px 10px 11px;min-width:0}
.shop-card-photo{position:relative}.shop-card-kind{position:absolute;right:7px;bottom:7px;padding:2px 8px;border-radius:6px;background:rgba(255,255,255,.94);border:1px solid #d5dfeb;font-size:11.5px;font-weight:700;line-height:1.4;color:var(--accent-strong,#244c85);pointer-events:none}
.shop-card-sum{margin:0;font-size:12.5px;line-height:1.45;color:#596b81;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.shop-card-body h2{margin:0;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shop-card-body h2 a{color:#18304e;text-decoration:none}.shop-card-body h2 a::after{content:"";position:absolute;inset:0;z-index:1}
.shop-card-price{font-size:14px;font-weight:800;color:#18304e}
@media(min-width:700px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.shop-card-body h2{font-size:15px}}
@media(min-width:1100px){.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* a product, the order form and the order page */
.shop-page main{padding-top:7px;padding-bottom:calc(100px + env(safe-area-inset-bottom))}
@media(min-width:700px){.shop-page main{padding-top:24px}}
.shop-detail{max-width:720px;margin:0 auto}
.shop-cover{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:var(--accent-soft,#e8f0fc);margin:0 0 10px}
.shop-kind{margin:0 0 2px;font-size:13px;font-weight:700}.shop-kind a{color:var(--accent-strong,#244c85);text-decoration:none}
.shop-detail h1{margin:0 0 4px;font-size:20px;line-height:1.3;color:#18304e;letter-spacing:-.01em}
.shop-price{margin:0 0 8px;font-size:20px;font-weight:800;color:#18304e}
.shop-summary{margin:0 0 10px;font-size:15px;font-weight:600;line-height:1.5;color:#33476a}
.shop-description{margin:0 0 14px}
.shop-got{margin:14px 0 0;padding:12px 14px;border:1px solid var(--accent-line,#c3b1e7);border-radius:12px;background:var(--accent-soft,#faf8ff)}.shop-got h2{margin:0 0 6px;font-size:15px}
.shop-got ul{list-style:none;margin:0 0 8px;padding:0}.shop-got li{display:flex;align-items:center;gap:9px;padding:5px 0;font-size:14px}.shop-got small{color:#617188;margin-left:4px}.shop-got p{margin:0;font-size:13px;color:#4b5b73}
.file-ico{flex:none;width:18px;height:22px;border-radius:3px;background:#fff;border:1px solid var(--accent-line,#c3b1e7)}.file-ico.is-link{border-color:#b6d58d;background:#eaf3de}
.shop-bar{position:fixed;left:0;right:0;bottom:0;z-index:5;background:#fff;border-top:1px solid #e1e8f2;padding:10px 18px calc(10px + env(safe-area-inset-bottom))}
.shop-bar-in{max-width:720px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.shop-bar strong{font-size:18px}
.shop-buy{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:1px solid var(--accent,#255fcc);border-radius:10px;background:var(--accent,#255fcc);color:#fff;font:inherit;font-size:15px;font-weight:800;text-decoration:none;cursor:pointer}.shop-buy:hover{text-decoration:none;filter:brightness(.95)}
.shop-buy-quiet{background:#fff;color:var(--accent-strong,#244c85);border-color:var(--accent-line,#b7cdf3)}
.shop-form form,.shop-upload{display:grid;gap:12px;margin:12px 0 0}
.shop-form label,.shop-upload label{display:block;font-size:14px;font-weight:700;color:#18304e}.shop-form label small,.shop-upload label small{display:block;font-weight:400;font-size:12.5px;color:#617188;margin:1px 0 3px}
.shop-form input:not([type=checkbox]),.shop-upload input{display:block;width:100%;min-height:48px;margin-top:4px;padding:0 12px;border:1px solid #b9c6d8;border-radius:10px;background:#fff;font:inherit;font-size:16px;font-weight:400;color:#18304e}
.shop-upload input[type=file]{padding:10px 12px;height:auto}
.shop-agree{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important}.shop-agree input{flex:none;width:20px;height:20px;margin:2px 0 0}.shop-agree a{color:var(--accent,#215bc5)}
.shop-sum{display:flex;justify-content:space-between;gap:10px;margin:8px 0;padding:10px 12px;border:1px solid #d5dfeb;border-radius:10px;font-size:14px}
.shop-code-id{font-size:.8em;letter-spacing:.02em;color:var(--accent-strong,#244c85);white-space:nowrap}.shop-who{margin:0 0 10px;color:#4b5b73}
.shop-note{display:grid;gap:2px;margin:0 0 12px;padding:10px 12px;border-radius:10px;font-size:14px}.shop-note b{font-weight:800}
.shop-note.wait{background:#faeeda;color:#633806}.shop-note.ok{background:#eaf3de;color:#27500a}.shop-note.bad{background:#fcebeb;color:#791f1f}.shop-note.gr{background:#eef1f5;color:#444441}
.shop-pay{margin:0 0 12px;padding:14px;border:1px solid #d5dfeb;border-radius:12px;text-align:center}.shop-pay-k{margin:0;font-size:13px;color:#617188}
.shop-total{margin:2px 0;font-size:28px;font-weight:800;color:#18304e}.shop-total mark{background:#fff0a8;color:inherit;border-radius:4px;padding:0 3px}.shop-pay-sub{margin:0 0 8px;font-size:12.5px}
.shop-qris{display:block;width:min(240px,70%);height:auto;margin:10px auto;border:1px solid #d5dfeb;border-radius:8px}
.shop-bank{display:grid;gap:2px;margin-top:10px;font-size:14px}.shop-bank b{font-size:20px;letter-spacing:.04em}.shop-copy{justify-self:center;min-height:44px;margin-top:6px;padding:0 16px;border:1px solid var(--accent-line,#b7cdf3);border-radius:10px;background:#fff;color:var(--accent-strong,#244c85);font:inherit;font-weight:700;cursor:pointer}.shop-copied{min-height:1.3em;font-size:13px;color:#1f6b3a}
.shop-files{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}.shop-files li{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d5dfeb;border-radius:12px}.shop-files li>div{flex:1;min-width:0}.shop-files b{display:block;overflow-wrap:anywhere}.shop-files .muted{font-size:12.5px}.shop-files .shop-buy{min-height:44px;padding:0 16px;font-size:14px}
.shop-help{margin:12px 0 0}.shop-help .shop-buy{width:100%}.shop-keep{margin:10px 0 0;font-size:12.5px}.shop-contact{margin:14px 0}
.home-shop{margin:18px 0 0}.home-shop h2{margin:0 0 8px;font-size:18px}.home-shop .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-shop .shop-grid .shop-card:nth-child(3){display:none}
.home-shop-more{display:inline-block;margin-top:8px;font-weight:700}
@media(min-width:700px){.home-shop .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-shop .shop-grid .shop-card:nth-child(3){display:flex}.shop-detail h1{font-size:28px}}
@media(min-width:1100px){.home-shop .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.shop-guide{margin:14px 0}.shop-guide h2{margin:0 0 6px;font-size:16px}
.shop-buy[aria-disabled=true]{opacity:.6;cursor:default}
.shop-soon{padding:28px 0 12px}.shop-soon h1{margin:0 0 8px}.shop-soon p{margin:0 0 12px;line-height:1.6;color:#3a4d69}.shop-soon-links{display:flex;gap:10px;flex-wrap:wrap}.shop-soon-links .shop-buy{width:auto;margin:0}
/* catalog, round 9: a 4:3 photo, the kind on its lower right, the price as a button */
.shop-card-media{aspect-ratio:4/3}
.shop-card-body{gap:0;padding:9px 10px 0;flex:1 1 auto}
.shop-card-body h2{min-height:2.7em;margin:0}
.shop-card-sp{margin:2px 0 9px;min-height:1.5em;line-height:1.5;font-size:12.5px;color:#596b81;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-card-sp span{color:#5a6b82}
/* the price is a bar flush with the left, right and bottom edges of the card (the card clips its corners), like "Unduh sertifikat" */
.shop-card-go{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:auto -10px 0;height:34px;padding:0 12px;background:var(--accent,#255fcc);color:#fff;font-size:14px}.shop-card-go b{font-weight:800;white-space:nowrap}.shop-card-go .icon{width:16px;height:16px;flex:none}
.shop-card:hover .shop-card-go{background:var(--accent-strong,#244c85)}
/* banner: the dots sit on the photo, lower right */
.shop-banner .art-dots{left:auto;right:8px;bottom:8px;width:auto;gap:0;padding:0 3px;border-radius:99px;background:rgba(0,0,0,.45)}
.shop-banner .art-dots button{width:22px;height:22px;min-height:0;min-width:0}.shop-banner .art-dots button::before{background:rgba(255,255,255,.6)}.shop-banner .art-dots button.is-on::before{background:#fff}
.shop-results{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px;font-size:13.5px;color:#3a4d69}.shop-results .text-link{font-weight:700;white-space:nowrap}
/* the home page: the products section is for the wide layout only; below 1024 px the bottom bar has the Shop tab */
@media(max-width:1023px){.home-shop{display:none}}
/* the catalog card on a phone (under 700 px) is a little finer: title 12, writer 12, label 11, price 13, corners 8 (the wide layout keeps 15 / 12.5 / 14 / 12) */
@media(max-width:699px){
 .shop-detail .shop-price{font-size:18px}      /* under a 20 px page title the price is 18 */
 .shop-card{border-radius:8px}
 .shop-card-body h2{font-size:12px}
 .shop-card-sp{font-size:12px}
 .shop-card-go{font-size:13px}
 .shop-card-kind{border-radius:4px;font-size:11px}
}

/* the receipt card on the order page */
.shop-receipt{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0 0;padding:10px 12px;border:1px solid #d5dfeb;border-radius:10px}.shop-receipt>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.shop-receipt small{font-size:12px}
.shop-receipt-btns{display:flex;gap:8px;flex-wrap:wrap}.shop-receipt .shop-buy{width:auto;margin:0}

/* stage D: the "Produk terkait" / "Materi dan rekaman" card under an article, an event and a certificate (the catalog card itself, one column wide) */
.shop-rel{margin:18px 0 0}.shop-rel-k{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#5a6b82}
.shop-rel-card{max-width:240px}
@media(min-width:700px){.shop-rel-card{max-width:280px}.shop-rel-k{font-size:13px}}
.event-done .shop-rel{margin:14px 0 0}

/* stage E: the "Cari pesanan" link under the catalog and the checkout form */
.shop-find-link{margin:18px 0 0;font-size:13px;color:#5a6b82}.shop-find-link a{font-weight:700}
.shop-detail .notice.error{margin:12px 0 0;padding:10px 12px;border:1px solid #f09595;border-radius:10px;background:#fcebeb;color:#a32d2d;font-size:14px;line-height:1.5}

/* stage H: the "Unggulan" label on a card and the order menu of the catalog */
.shop-card-feat{position:absolute;left:7px;top:7px;padding:2px 8px;border-radius:6px;background:#b9770e;color:#fff;font-size:11.5px;font-weight:700;line-height:1.4}
@media(max-width:699px){.shop-card-feat{border-radius:4px;font-size:11px}}
.shop-sort{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}.shop-sort-n{font-size:13px;color:#5a6b82}.shop-sort label{margin:0}.shop-sort select{min-height:40px;margin:0;padding:0 10px;border:1px solid #b9c6d8;border-radius:10px;background:#fff;font:inherit;font-size:14px;color:#18304e}

/* stage I: the help request of a paid buyer */
.shop-ask{margin:14px 0 0}.shop-ask-form{border:1px solid #d5dfeb;border-radius:12px;padding:0 12px;margin:0 0 12px}.shop-ask-form summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;color:var(--accent-strong,#244c85)}.shop-ask-form form{display:grid;gap:10px;padding:0 0 12px}
.shop-ask-form label{display:block;font-size:14px;font-weight:700;color:#18304e}.shop-ask-form label small{display:block;font-weight:400;font-size:12.5px;color:#617188;margin:1px 0 3px}
.shop-ask-form textarea{display:block;width:100%;margin-top:4px;padding:10px 12px;border:1px solid #b9c6d8;border-radius:10px;background:#fff;font:inherit;font-size:16px;font-weight:400;color:#18304e;resize:vertical}

/* Normal and active promotion prices */
.shop-price-value{display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:2px}.shop-price-value s{font-size:12px;font-weight:400;opacity:.8}.shop-price-value small{flex-basis:100%;font-size:12px;font-weight:500}.shop-card-go{height:auto;min-height:34px;padding-top:6px;padding-bottom:6px}.shop-card-go .shop-price-value{column-gap:6px}.shop-card-go .shop-price-value s{font-size:10px}.shop-card-go .shop-price-value small{font-size:10px}.shop-sum .shop-price-value{justify-content:flex-end;text-align:right}

/* Checkout: stacked product summary, compact buyer fields and persistent payment footer. */
.shop-checkout-page .shop-checkout-summary{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:12px 0 24px;padding:16px 18px}
.shop-checkout-product{font-size:16px;font-weight:600;overflow-wrap:anywhere}
.shop-checkout-prices{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;font-variant-numeric:tabular-nums}
.shop-checkout-prices s{font-size:14px;color:#617188}.shop-checkout-prices b{font-size:21px;font-weight:800}
.shop-checkout-savings{font-size:14px;color:var(--accent-strong,#244c85)}
.shop-checkout-page .shop-form form{gap:16px;margin-top:0}
.shop-checkout-page .shop-form form>label{margin:0;line-height:1.5}
.shop-checkout-page .shop-form input:not([type=checkbox]){box-sizing:border-box;height:48px;min-height:48px;margin:8px 0 0;padding:0 14px;scroll-margin-block:100px}
.shop-checkout-page .shop-agree{margin-top:8px!important;font-size:14px;line-height:1.75!important}
.shop-checkout-footer{position:fixed;bottom:0;left:0;right:0;z-index:11;border-top:1px solid #e1e8f2;background:#fff;padding:14px 18px calc(14px + env(safe-area-inset-bottom))}
.shop-checkout-footer-in{max-width:720px;margin:0 auto}.shop-checkout-footer .shop-buy{width:100%;min-height:56px}
.shop-page.shop-checkout-page main{padding-bottom:calc(120px + env(safe-area-inset-bottom))}

/* Order payment footer: admin contact left, required proof upload right. */
.shop-proof-footer{position:fixed;bottom:0;left:0;right:0;z-index:11;border-top:1px solid #e1e8f2;background:#fff;padding:14px 18px calc(14px + env(safe-area-inset-bottom))}
.shop-proof-footer-in{max-width:720px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shop-proof-footer .shop-buy{min-width:0;min-height:54px;padding:10px 8px;font-size:14px;text-align:center}
.shop-proof-footer .shop-buy:disabled{opacity:.55;cursor:default;filter:none}
.shop-page.shop-proof-page main{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
/* WhatsApp is the sole buyer confirmation action; legacy proofs remain in the admin. */
.shop-wa-footer .shop-proof-footer-in{display:block}.shop-wa-footer .shop-buy{width:100%;min-height:56px}
.shop-wa-instructions{margin:22px 0 0}.shop-wa-instructions h2{font-size:16px;margin:0 0 6px}.shop-wa-instructions p{font-size:14px;line-height:1.8;color:#617188;margin:6px 0}

.shop-wa-instructions ol{margin:8px 0;padding-left:22px;font-size:14px;line-height:1.8;color:#617188}.shop-wa-instructions li+li{margin-top:8px}

/* Offer card title as a plain sentence, and the pop-up before the certificate download (10 Nov 2026) */
.shop-rel-k,.shop-offer h2{margin:0 0 8px;font-size:16px;font-weight:700;letter-spacing:0;text-transform:none;color:inherit;line-height:1.3}
@media(min-width:700px){.shop-rel-k{font-size:16px}}
.shop-offer{border:0;border-radius:14px;padding:16px;width:min(92vw,360px);max-height:90vh;overflow:auto;background:#fff;color:inherit}
.shop-offer::backdrop{background:rgba(0,0,0,.5)}
.shop-offer h2{margin:0 28px 4px 0}.shop-offer>p{margin:0 0 12px;font-size:13px}
.shop-offer .shop-card{margin:0}
.shop-offer-x{position:absolute;top:6px;right:8px;width:40px;height:40px;border:0;background:none;font-size:24px;line-height:1;color:#5a6b82;cursor:pointer;border-radius:8px}
.shop-offer-acts{display:grid;gap:8px;margin-top:12px}.shop-offer-acts .button{width:100%;text-align:center;min-height:44px}
.shop-offer .shop-card-media{aspect-ratio:16/9}
.shop-offer-acts .button.quiet{background:#fff;color:var(--accent,#245dcb);border:1px solid #c5d3e7}
.shop-offer>p.shop-offer-note{margin:8px 0 0;font-size:11.5px;color:#5a6b82;text-align:center}
.shop-offer:focus,.shop-offer:focus-visible{outline:0}
