.htcp{margin:6px 0 18px;border:2px solid #b08d4c;background:#fbf8f1;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#1b1b1b;box-shadow:0 6px 20px rgba(17,88,65,.10);flex:1 1 100%;width:100%}
.htcp-head{display:flex;gap:14px;align-items:center;padding:16px;background:#115841;color:#fff}
.htcp-eg{width:88px;height:88px;object-fit:cover;flex:none;border:2px solid #d9bf86;background:#fff}
.htcp-badge{display:inline-block;background:#d9bf86;color:#1b1b1b;font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;padding:3px 8px;margin:0 0 6px}
.htcp-head h3{margin:0 0 4px;font-family:Georgia,serif;font-weight:400;font-size:23px;line-height:1.2;color:#fff;letter-spacing:0;text-transform:none}
.htcp-head p{margin:0;font-size:14px;line-height:1.5;color:#e4eee8}
.htcp-body{padding:14px 16px 16px;display:grid;gap:14px}
.htcp-find{display:grid;grid-template-columns:1fr 104px auto;gap:8px;align-items:end}
.htcp-find label{white-space:nowrap}
.htcp-yr{flex:1 1 100%;font-size:14px;color:#1b1b1b}
.htcp-hit{background:#fff}
.htcp label{display:block;font-size:13px;font-weight:700;letter-spacing:.3px;margin:0 0 6px;text-transform:none}
.htcp-row{display:grid;grid-template-columns:1fr auto;gap:8px}
.htcp input[type=text]{width:100%;height:46px;box-sizing:border-box;border:1px solid #d9d4c7;background:#fff;padding:0 12px;font-size:16px;font-family:inherit;color:#1b1b1b;border-radius:0;margin:0}
.htcp input:focus{outline:2px solid #115841;outline-offset:1px}
.htcp input[type=file]{font-size:14px;max-width:100%}
.htcp-btn,.htcp-go{height:46px;padding:0 18px;background:#115841;color:#fff;border:0;border-radius:0;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;cursor:pointer}
.htcp-go{width:100%;height:52px;background:#b08d4c;color:#fff;font-size:14px}
.htcp-go:not(:disabled):hover{background:#9a7a3f}
.htcp-go:disabled{background:#b9c7c0;cursor:not-allowed}
.htcp-link{background:none;border:0;padding:0;color:#115841;text-decoration:underline;font:inherit;font-size:14px;cursor:pointer;letter-spacing:0;text-transform:none}
.htcp-or{margin:8px 0 0;font-size:14px;color:#4a4a4a}
.htcp-results{display:grid;gap:8px;margin-top:10px;max-height:340px;overflow:auto}
.htcp-results:empty{display:none}
.htcp-hit,.htcp-chosen{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:1px solid #e3ded2;padding:8px 10px;cursor:pointer;font:inherit;color:inherit;border-radius:0;text-transform:none;letter-spacing:0}
.htcp-hit:hover,.htcp-hit:focus{border-color:#115841;background:#f4f8f5}
.htcp-chosen{cursor:default;flex-wrap:wrap;background:#f4f8f5;border-color:#cfdcd3}
.htcp-th{display:flex;gap:4px;flex:none}
.htcp-th img{width:52px;height:52px;object-fit:contain;border-radius:50%;background:#f3f1ec}
.htcp-tt{display:grid;gap:2px;flex:1;min-width:0}
.htcp-tt strong{font-size:14px;font-weight:600;line-height:1.3}
.htcp-tt small{font-size:12.5px;color:#5d5c55}
.htcp-y{flex:1 1 100%;display:flex!important;align-items:center;gap:10px;margin:4px 0 0!important;font-weight:600!important}
.htcp-y input{max-width:110px}
.htcp-pills{display:flex;flex-wrap:wrap;gap:8px}
.htcp-pills button{height:42px;padding:0 16px;border:1px solid #d9d4c7;background:#fff;color:#1b1b1b;font:inherit;font-size:14px;cursor:pointer;border-radius:0;text-transform:none;letter-spacing:0}
.htcp-pills button[aria-checked=true]{border-color:#115841;background:#115841;color:#fff}
.htcp-msg{margin:0;font-size:14px;line-height:1.5;color:#4a4a4a}
.htcp-msg:empty{display:none}
.htcp-msg.bad{color:#a4262c}
.htcp-out{display:grid;grid-template-columns:1fr;gap:10px}
.htcp-out figure{margin:0}
.htcp-out figcaption{font-size:12.5px;color:#5d5c55;margin-top:4px}
.htcp-img{aspect-ratio:1/1;background:#f3f1ec;display:flex;align-items:center;justify-content:center;overflow:hidden}
.htcp-img img{width:100%;height:100%;object-fit:cover;display:block}
.htcp-fail{font-size:13px;color:#8a8375}
.htcp-wait{position:relative;width:64px;height:64px;display:flex;align-items:center;justify-content:center}
.htcp-wait .htcp-spin{position:absolute;inset:0;width:auto;height:auto;border-width:4px}
.htcp-count{font-family:Georgia,serif;font-size:24px;color:#115841;line-height:1}
.htcp-spin{width:28px;height:28px;border:3px solid #d9d4c7;border-top-color:#115841;border-radius:50%;animation:htcpspin .8s linear infinite}
@keyframes htcpspin{to{transform:rotate(360deg)}}
.htcp-small{margin:0;font-size:12.5px;line-height:1.5;color:#6b6a63}
@media(max-width:480px){.htcp-find{grid-template-columns:1fr 92px}.htcp-find .htcp-btn{grid-column:1/-1}.htcp-eg{width:64px;height:64px}.htcp-head h3{font-size:20px}}
/* theme overrides */
.htcp [hidden]{display:none!important}
form.cart .htcp .htcp-go{opacity:1!important;visibility:visible!important;display:block!important;height:52px!important;background:#b08d4c!important;color:#fff!important}
form.cart .htcp .htcp-go:disabled{background:#d8ccb2!important;color:#fff!important;cursor:not-allowed}

form.cart .htcp .htcp-add{display:block;width:100%;height:54px;margin:0;background:#115841!important;color:#fff!important;border:0;border-radius:0;font-size:15px;font-weight:700;letter-spacing:2px;text-transform:uppercase;cursor:pointer;opacity:1!important}
form.cart .htcp .htcp-add[hidden]{display:none!important}
.htcp-ordernote{margin:0 0 14px;padding:12px 14px;background:#f4f8f5;border:1px solid #cfdcd3;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.5;color:#1b1b1b}
.htcp-ordernote[hidden]{display:none!important}
.htcp-ordernote .htcp-link{margin-left:6px}
form.cart table.variations[hidden],form.cart .variations[hidden]{display:none!important}
.htcp-pills.htcp-need button{border-color:#a4262c;box-shadow:0 0 0 2px rgba(164,38,44,.15)}
.htcp-nocuff{color:#a4262c!important;font-weight:600}
.htcp-pills button:disabled{opacity:.45!important;text-decoration:line-through;cursor:not-allowed;background:#f3f1ec}
.htcp-pills button[data-piece]{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;height:auto!important;min-height:52px;padding:6px 16px;line-height:1.25}
.htcp-pp{font-size:13px;font-weight:600;color:#115841}
.htcp-pp .woocommerce-Price-amount{color:inherit}
.htcp-pills button[aria-checked=true] .htcp-pp{color:#d9bf86}
.htcp-pills button:disabled .htcp-pp{text-decoration:line-through}
.htcp-disc{border:2px solid #b08d4c;border-left-width:6px;background:#fff8e8;padding:14px 16px;margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#1b1b1b}
.htcp-disc-h{margin:0 0 8px!important;font-family:Georgia,serif;font-size:18px;line-height:1.25;color:#7a5a1e}
.htcp-disc ul{margin:0;padding:0 0 0 18px;display:grid;gap:6px}
.htcp-disc li{font-size:14px;line-height:1.5;margin:0}
.htcp-disc-sm{margin:4px 0 14px;width:100%;flex:1 1 100%}
.htcp-disc-sm .htcp-disc-h{font-size:16px}
.htcp-disc-sm li{font-size:13px}
.htcp-srcopts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.htcp-srcopts button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:12px 14px;border:2px solid #d9d4c7;background:#fff;color:#1b1b1b;border-radius:0;cursor:pointer;font:inherit;text-transform:none;letter-spacing:0;height:auto}
.htcp-srcopts button strong{font-size:15px;font-weight:700}
.htcp-srcopts button small{font-size:12.5px;color:#5d5c55}
.htcp-srcopts button[aria-checked=true]{border-color:#115841;background:#115841;color:#fff}
.htcp-srcopts button[aria-checked=true] small{color:#d9e7df}
.htcp-srcopts.htcp-need button{border-color:#a4262c;box-shadow:0 0 0 2px rgba(164,38,44,.15)}
.htcp-same{margin:6px 0 0;font-size:13px;font-weight:600;color:#115841}
.htcp-if-source{display:none}
body.htcp-src-source .htcp-if-source{display:list-item}
@media(max-width:400px){.htcp-srcopts{grid-template-columns:1fr}}
/* nothing below the choice until they've picked post / source */
.htcp:not(.is-post):not(.is-source) .htcp-after{display:none!important}
.htcp-postcoin{display:none}
.htcp.is-post .htcp-postcoin{display:grid;gap:0}
.htcp.is-post:not(.post-preview) .htcp-search{display:none!important}
.htcp.is-post.post-preview #htcpWantPreview{display:none}
.htcp.is-post:not(.post-preview) #htcpNote{display:none}
body.htcp-src-post .htcp-disc-sm{display:none}
.htcp-postcoin .htcp-or{margin-top:8px}
.htcp-after{display:grid;gap:14px}
.htcp-fstat{display:flex;align-items:center;gap:10px;margin:10px 0 0;padding:10px 12px;background:#f4f8f5;border:1px solid #cfdcd3;font-size:14px;font-weight:600;color:#115841}
.htcp-fstat[hidden]{display:none!important}
.htcp-fstat.is-bad{background:#fbeeee;border-color:#e8c3c3;color:#a4262c}
.htcp-spin-sm{width:18px;height:18px;border-width:3px;flex:none}
#htcpFind:disabled{opacity:.6!important;cursor:wait}
/* Engraving pop-up on the own coin listing: square photo of the chosen piece, message placed on its engraving area */
body.ht-own-coin[class*="htcp-piece-"] .ht-ep-prev.plain{width:min(100%,clamp(150px,calc(92vh - 470px),340px));height:auto;aspect-ratio:1;margin:0 auto 10px}
body.ht-own-coin[class*="htcp-piece-"] .ht-ep-prev.plain img{object-fit:cover}
body.ht-own-coin.htcp-piece-keyring .ht-ep-prev.plain .ht-ep-disc{left:43%;top:71%;width:36%}
body.ht-own-coin.htcp-piece-necklace .ht-ep-prev.plain .ht-ep-disc{left:47.5%;top:71%;width:34%}
body.ht-own-coin.htcp-piece-cufflinks .ht-ep-prev.plain .ht-ep-disc{left:34%;top:61%;width:27%}
body.ht-own-coin.htcp-piece-cufflinks .ht-ep-prev.plain .ht-ep-txt{font-size:11px!important}
body.ht-own-coin.htcp-piece-hipflask .ht-ep-prev.plain .ht-ep-disc{left:50%;top:22%;width:40%}
.htcp-typed{margin-top:12px}
.htcp-typed label{font-weight:600!important;font-size:13px}
.htcp.is-post .htcp-typed{display:none}
.htcp.has-coin .htcp-typed{display:none}
/* "Make it a gift" engraving preview on the own coin listing: photo of the chosen piece with the message on it */
.htcp-engprev{position:relative;width:min(100%,300px);aspect-ratio:1;margin:0 auto;overflow:hidden;background:#F1EDE4}
.htcp-engprev[hidden],#beng .ht-eng-discs[hidden]{display:none!important}
.htcp-engprev img{width:100%;height:100%;object-fit:cover;display:block}
.htcp-engprev span{position:absolute;transform:translate(-50%,-50%);width:36%;text-align:center;font-family:Georgia,Gelasio,serif;font-style:italic;color:#3a3226;font-size:15px;line-height:1.15;word-break:break-word;text-shadow:0 1px 0 rgba(255,255,255,.55);pointer-events:none}
.htcp-engprev span.ph{opacity:.45}
body.htcp-piece-keyring .htcp-engprev span{left:43%;top:71%}
body.htcp-piece-necklace .htcp-engprev span{left:47.5%;top:71%;width:34%}
body.htcp-piece-cufflinks .htcp-engprev span{left:34%;top:61%;width:27%;font-size:11px!important}
body.htcp-piece-hipflask .htcp-engprev span{left:50%;top:22%;width:40%}
