.stpl-wrap{overflow:visible;height:auto;max-height:none;--stpl-accent:#cb1a3a;--stpl-line:#e0e0e0;--stpl-bg:#f5f5f5;max-width:760px;margin:0 auto;padding:12px 14px 16px;box-sizing:border-box;font-size:16px;line-height:1.45}
.stpl-wrap *{box-sizing:border-box}
.stpl-top{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:8px}
.stpl-titlewrap{display:flex;align-items:center;gap:8px;min-width:0}
.stpl-h1{margin:0;font-size:1.4rem;line-height:1.25;font-weight:700;overflow-wrap:anywhere}
.stpl-wrap .stpl-pencil{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#8a8a8a!important;box-shadow:none!important;cursor:pointer}
.stpl-wrap .stpl-pencil:hover,.stpl-wrap .stpl-pencil:focus-visible{color:var(--stpl-accent)!important;background:var(--stpl-bg)!important}
.stpl-wrap .stpl-title-input{width:100%;box-sizing:border-box!important;margin:0!important;padding:4px 8px!important;border:1px solid var(--stpl-accent)!important;border-radius:6px!important;background:#fff!important;color:inherit;font:inherit;font-size:1.4rem!important;font-weight:700!important;line-height:1.25!important;box-shadow:none!important}
.stpl-h2{font-size:1.15rem;margin:18px 0 6px}
.stpl-chips{display:flex;gap:6px}
.stpl-chip{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--stpl-bg);border:1px solid var(--stpl-line);font-size:.8rem}
.stpl-view{background:#fff7e0}
.stpl-msg{min-height:1.2em;color:var(--stpl-accent);font-size:.95rem}
.stpl-warn{color:var(--stpl-accent);font-size:.9rem;margin:4px 0}
.stpl-sub{color:#666;font-size:.85rem}
.stpl-note{background:#fff7e0;border:1px solid #f0dca0;padding:8px 10px;border-radius:6px}
.stpl-panel{border:1px solid var(--stpl-line);border-radius:8px;margin:10px 0;padding:8px 12px;background:#fff}
.stpl-panel summary{cursor:pointer;font-weight:700;padding:6px 0;min-height:44px;display:flex;align-items:center;justify-content:space-between;list-style:none}
.stpl-panel summary::-webkit-details-marker{display:none}
.stpl-panel summary::after{content:"";width:9px;height:9px;margin:0 6px 4px 12px;border-right:2px solid #b8b8b8;border-bottom:2px solid #b8b8b8;transform:rotate(45deg);transition:transform .15s ease;flex:none}
.stpl-panel[open] summary::after{transform:rotate(-135deg);margin-bottom:-2px}
.stpl-sum{display:flex;align-items:center;min-width:0}
.stpl-ico{display:inline-flex;align-items:center;margin-right:10px;color:var(--stpl-accent);flex:none}
.stpl-sketchlabel{font-weight:700;margin:12px 0 4px}
.stpl-notes{white-space:pre-wrap;background:var(--stpl-bg);border-radius:6px;padding:10px 12px;margin:10px 0;font-size:.92rem}
.stpl-sketch{box-sizing:border-box;overflow-x:auto;background:var(--stpl-bg);padding:10px;border-radius:6px;max-width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;line-height:1.25;font-variant-ligatures:none}
.stpl-wrap{--stpl-field-h:40px}
.stpl-wrap .stpl-link-row{display:flex;align-items:stretch;gap:8px;margin:6px 0}
.stpl-wrap .stpl-link-row input,.stpl-wrap .stpl-link-row select,.stpl-wrap .stpl-link-row button{box-sizing:border-box!important;height:var(--stpl-field-h)!important;min-height:var(--stpl-field-h)!important;max-height:var(--stpl-field-h)!important;margin:0!important;line-height:1!important;vertical-align:top!important}
.stpl-wrap .stpl-link-row input,.stpl-wrap .stpl-link-row select{flex:1;min-width:0;padding:0 10px!important;border:1px solid var(--stpl-line)!important;border-radius:6px!important;background:#fff!important;font-size:16px!important}
.stpl-wrap .stpl-link-row #stpl-addqty{flex:none;width:72px;text-align:center}
.stpl-wrap .stpl-link-row button{flex:none;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 16px!important;border:1px solid var(--stpl-accent)!important;border-radius:6px!important;background:var(--stpl-accent)!important;color:#fff!important;font-size:.85rem!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap;box-shadow:none!important;cursor:pointer}
.stpl-wrap .stpl-link-row button:hover,.stpl-wrap .stpl-link-row button:focus-visible{filter:brightness(1.1)}
.stpl-btn{min-height:44px;padding:8px 14px;border:1px solid var(--stpl-line);background:#fff;border-radius:6px;cursor:pointer;font-size:1rem}
.stpl-primary{background:var(--stpl-accent);border-color:var(--stpl-accent);color:#fff;font-weight:700;width:100%}
.stpl-primary[disabled]{opacity:.5;cursor:not-allowed}
.stpl-group{margin:12px 0;border:1px solid var(--stpl-line);border-radius:8px;overflow:hidden;background:#fff}
.stpl-ghead{display:flex;justify-content:space-between;align-items:center;background:var(--stpl-bg);padding:6px 12px;gap:8px;flex-wrap:wrap}
.stpl-ghead h3{margin:0;font-size:1rem}
/* Item checkbox: 15px, top-aligned with the product title. --stpl-cb-top nudges it up or down. */
.stpl-wrap{--stpl-cb-top:3px;--stpl-qty-h:38px}
.stpl-wrap .stpl-chk{display:inline-flex;align-items:flex-start;flex:none;margin:-6px 0;padding:6px 10px 6px 0;min-height:0;cursor:pointer;font-size:.85rem;line-height:1}
.stpl-wrap .stpl-chk input[type=checkbox]{-webkit-appearance:none!important;appearance:none!important;box-sizing:border-box!important;display:inline-block!important;position:relative;flex:none;width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;max-width:15px!important;margin:var(--stpl-cb-top) 0 0 0!important;padding:0!important;border:1.5px solid #9a9a9a!important;border-radius:3px!important;background:#fff!important;box-shadow:none!important;cursor:pointer;vertical-align:top}
.stpl-wrap .stpl-chk input[type=checkbox]::before{content:none!important;display:none!important}
.stpl-wrap .stpl-chk input[type=checkbox]:checked{background-color:var(--stpl-accent)!important;border-color:var(--stpl-accent)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.4l3 3 5.8-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:11px 11px!important}
.stpl-wrap .stpl-chk input[type=checkbox]:focus-visible{outline:2px solid #333;outline-offset:2px}
.stpl-item{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border-top:1px solid var(--stpl-line)}
.stpl-item-main{display:flex;gap:8px;align-items:flex-start}
.stpl-item-side{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between}
.stpl-name{font-weight:600;line-height:1.35}
.stpl-off .stpl-name,.stpl-off .stpl-price{opacity:.5}
.stpl-unavail .stpl-name{opacity:.6}
.stpl-wrap .stpl-qty{display:inline-flex!important;align-items:stretch!important;flex:none;gap:0!important;height:var(--stpl-qty-h);margin:0!important;padding:0!important;border:0!important;background:none!important}
.stpl-wrap .stpl-qty button,.stpl-wrap .stpl-qty input{box-sizing:border-box!important;float:none!important;height:var(--stpl-qty-h)!important;min-height:var(--stpl-qty-h)!important;max-height:var(--stpl-qty-h)!important;margin:0!important;border:1px solid #cfcfcf!important;border-radius:0!important;background:#fff!important;color:#222!important;box-shadow:none!important;font:inherit!important;line-height:1!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important;vertical-align:top!important}
.stpl-wrap .stpl-qty button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:var(--stpl-qty-h)!important;min-width:var(--stpl-qty-h)!important;padding:0!important;font-size:18px!important;cursor:pointer}
.stpl-wrap .stpl-qty button:first-child{border-radius:6px 0 0 6px!important}
.stpl-wrap .stpl-qty button:last-child{border-radius:0 6px 6px 0!important}
.stpl-wrap .stpl-qty input{width:52px!important;min-width:0!important;max-width:52px!important;padding:0 4px!important;border-left:0!important;border-right:0!important;font-size:16px!important;text-align:center!important;-moz-appearance:textfield!important;appearance:textfield!important}
.stpl-wrap .stpl-qty input::-webkit-outer-spin-button,.stpl-wrap .stpl-qty input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}
.stpl-link{background:none;border:0;color:var(--stpl-accent);cursor:pointer;text-decoration:underline;min-height:44px;font-size:.9rem;padding:0 6px}
.stpl-money{font-variant-numeric:tabular-nums}
.stpl-additem{margin:14px 0}
/* ---- Buy area: phones get a bar with one wide button and a drawer; from 600px up it is just the bottom of the page ---- */
.stpl-cta{position:sticky;bottom:0;z-index:50;margin:18px -14px 0;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--stpl-line);box-shadow:0 -4px 12px rgba(0,0,0,.08)}
.stpl-cta.stpl-open{z-index:99990}
.stpl-cta-locked{padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px))}
.stpl-drawer-toggle{display:block;width:100%;min-height:52px;font-size:1.05rem;cursor:pointer}
.stpl-lbl-d{display:none}
.stpl-lbl-m{display:inline}
.stpl-backdrop{display:none}
.stpl-open .stpl-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1}
.stpl-drawer{position:fixed;left:0;right:0;bottom:0;z-index:2;max-height:85vh;overflow-y:auto;background:#fff;border-radius:14px 14px 0 0;padding:4px 16px calc(12px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 24px rgba(0,0,0,.25);transform:translateY(100%);visibility:hidden;transition:transform .22s ease,visibility 0s linear .22s;overscroll-behavior:contain}
.stpl-open .stpl-drawer{transform:translateY(0);visibility:visible;transition:transform .22s ease,visibility 0s}
.stpl-drawer-head{display:flex;justify-content:flex-end;align-items:center;min-height:44px}
.stpl-close{background:none;border:0;font-size:1.8rem;line-height:1;min-width:44px;min-height:44px;cursor:pointer;color:#666}
html.stpl-lock{overflow:hidden}
/* the purchase button glows softly while the drawer is open on a phone */
@keyframes stpl-glow{0%,100%{box-shadow:0 0 6px 1px rgba(255,226,110,.55),0 0 14px 2px rgba(255,226,110,.28)}50%{box-shadow:0 0 13px 4px rgba(255,226,110,.95),0 0 28px 9px rgba(255,226,110,.5)}}
.stpl-drawer .stpl-buy:not([disabled]){animation:stpl-glow 2.4s ease-in-out infinite;min-height:52px;font-size:1.05rem}
@media (prefers-reduced-motion:reduce){.stpl-drawer .stpl-buy:not([disabled]){animation:none;box-shadow:0 0 12px 3px rgba(255,226,110,.7)}}
.stpl-total{display:flex;justify-content:space-between;align-items:baseline;font-size:1.15rem;margin:2px 0 12px}
.stpl-alt p{margin:8px 0 4px;font-size:.9rem}
.stpl-alt-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.stpl-alt-btn{min-height:44px;padding:6px 8px;border:1px solid var(--stpl-line);background:#fff;border-radius:6px;cursor:pointer;font-size:.9rem}
.stpl-on{border-color:var(--stpl-accent);background:#fdecef;font-weight:700}
.stpl-export{display:flex;gap:6px 16px;flex-wrap:wrap;margin-top:12px;font-size:.9rem;align-items:center;border-top:1px solid var(--stpl-line);padding-top:8px}
.stpl-sharemsg{color:var(--stpl-accent);font-size:.9rem;margin:6px 0}
.stpl-switchrow{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:12px 0;min-height:44px}
.stpl-switchrow>span{display:inline-flex;align-items:center;min-height:26px;line-height:1.2}
.stpl-switch{position:relative;display:inline-block;width:46px;height:26px;flex:none}
.stpl-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.stpl-slider{position:absolute;inset:0;background:#c8c8c8;border-radius:999px;transition:background .15s}
.stpl-slider::before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .15s}
.stpl-switch input:checked+.stpl-slider{background:var(--stpl-accent)}
.stpl-switch input:checked+.stpl-slider::before{transform:translateX(20px)}
.stpl-switch input:focus-visible+.stpl-slider{outline:2px solid #333;outline-offset:2px}
.stpl-foot{min-height:60px;padding-top:6px}
.stpl-foot p{margin:0}
.stpl-listid{font-size:.85rem;color:#888;margin-right:2px;align-self:center}
.stpl-chips{align-items:center}
.stpl-topmain{flex:1 1 100%;min-width:0}
.stpl-titlewrap{width:100%}
.stpl-receipt{border:2px solid #2e7d32;border-radius:8px;padding:10px 14px;margin:10px 0;background:#f4faf4}
.stpl-rt{width:100%;border-collapse:collapse}
.stpl-rt th,.stpl-rt td{text-align:left;padding:6px 4px;border-bottom:1px solid var(--stpl-line)}
.stpl-rt .stpl-money{text-align:right}
.stpl-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.stpl-addwrap{margin:10px 0;position:relative}
.stpl-addmsg{display:block;margin-top:6px;font-size:.9rem}
@media (min-width:600px){
	.stpl-item{flex-direction:row;justify-content:space-between;align-items:center}
	.stpl-alt-btns{grid-template-columns:repeat(4,1fr)}
	.stpl-primary{width:auto;min-width:240px}
	.stpl-topmain{flex:1 1 0}
	.stpl-cta,.stpl-cta.stpl-open{position:static;z-index:auto;margin:24px 0 0;padding:0;background:#fff;border:1px solid var(--stpl-line);border-top:2px solid var(--stpl-accent);border-radius:8px;box-shadow:none}
	.stpl-cta.stpl-cta-locked{padding:12px 16px}
	.stpl-drawer-toggle,.stpl-drawer-head,.stpl-backdrop,.stpl-open .stpl-backdrop{display:none!important}
	.stpl-drawer,.stpl-open .stpl-drawer{position:static;transform:none;visibility:visible;max-height:none;overflow:visible;box-shadow:none;border-radius:0;z-index:auto;transition:none;padding:16px 16px 6px}
	.stpl-lbl-d{display:inline}
	.stpl-lbl-m{display:none}
	.stpl-drawer .stpl-buy:not([disabled]){animation:none}
	html.stpl-lock{overflow:auto}
}
@media print{
	.stpl-cta,.stpl-additem,.stpl-qty button,.stpl-link,.stpl-chk,.stpl-export,.stpl-switchrow,.stpl-email{display:none!important}
	.stpl-panel{border:0}
	.stpl-wrap{padding:0;max-width:none}
}
/* Cart and checkout: the "Back to list" button keeps its arrow and its words on one line */
[data-stpl-back]{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:.4em;width:auto!important;max-width:none!important;white-space:nowrap!important}
[data-stpl-back]>*{display:inline-block!important;margin:0!important;white-space:nowrap!important;vertical-align:middle}
[data-stpl-back]::before,[data-stpl-back]::after{position:static!important;float:none!important;white-space:nowrap!important}
