/* RoboThings — premium "added to cart" message */
html body .woocommerce-message:has(.rt-atc){
	background:transparent !important;border:0 !important;border-top:0 !important;box-shadow:none !important;
	padding:0 !important;margin:16px auto 24px !important;max-width:640px;width:auto !important;
	color:#1C1C1E !important;outline:0;display:block !important;list-style:none
}
html body .woocommerce-message:has(.rt-atc)::before,
html body .woocommerce-message:has(.rt-atc)::after{content:none !important;display:none !important}
/* Block-theme / block-notice version */
html body .wc-block-components-notice-banner:has(.rt-atc){
	background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;margin:16px auto 24px !important;max-width:640px;display:block !important;color:#1C1C1E !important
}
html body .wc-block-components-notice-banner:has(.rt-atc) > svg{display:none !important}
html body .wc-block-components-notice-banner:has(.rt-atc) > .wc-block-components-notice-banner__content{flex:1 1 auto;padding:0 !important;margin:0 !important;width:100%}
html body .woocommerce-notices-wrapper:has(.rt-atc){background:transparent !important;padding:0 16px !important;border:0 !important}

.rt-atc{
	--rt-o:#F47C08;--rt-ink:#1C1C1E;--rt-line:#ECE7DF;--rt-mute:#6B6760;--rt-ok:#03D197;
	position:relative;box-sizing:border-box;width:100%;background:#fff;border:1px solid var(--rt-line);border-radius:20px;
	padding:18px;box-shadow:0 18px 40px -22px rgba(28,28,30,.35),0 2px 6px rgba(28,28,30,.05);
	font-family:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.45;color:var(--rt-ink);
	text-align:left;overflow:hidden;animation:rtAtcIn .45s cubic-bezier(.2,.9,.3,1.2) both
}
.rt-atc::before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,var(--rt-o),#FFB15C)}
.rt-atc *{box-sizing:border-box}
@keyframes rtAtcIn{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.rt-atc{animation:none}}

.rt-atc__head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 14px}
.rt-atc__tick{width:26px;height:26px;border-radius:50%;background:var(--rt-ok);position:relative;flex:0 0 26px}
.rt-atc__tick::after{content:"";position:absolute;left:9px;top:5px;width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.rt-atc__label{font-family:Sora,"IBM Plex Sans",sans-serif;font-weight:700;font-size:17px;letter-spacing:-.01em;color:var(--rt-ink)}
.rt-atc__count{margin-left:auto;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:12px;font-weight:500;color:var(--rt-mute);
	background:#F7F4EF;border:1px solid var(--rt-line);border-radius:999px;padding:4px 10px;white-space:nowrap}

.rt-atc__item{display:flex;align-items:center;gap:14px;padding:12px;border-radius:14px;background:#FBF9F6;border:1px solid var(--rt-line)}
.rt-atc__thumb{flex:0 0 64px;width:64px;height:64px;border-radius:12px;background:#fff;border:1px solid var(--rt-line);overflow:hidden;display:flex;align-items:center;justify-content:center}
html body .rt-atc .rt-atc__img{width:100% !important;height:100% !important;object-fit:contain !important;object-position:center !important;margin:0 !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;max-width:none}
.rt-atc__info{min-width:0;display:flex;flex-direction:column;gap:4px}
.rt-atc__name{font-weight:600;font-size:15px;line-height:1.35;color:var(--rt-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.rt-atc__meta{font-size:13.5px;color:var(--rt-mute)}
.rt-atc__meta .amount{color:var(--rt-ink);font-weight:600;white-space:nowrap}
.rt-atc__dot{margin:0 4px;color:#B9B3AA}

.rt-atc__ship{margin-top:12px;padding-left:4px;font-size:13.5px;color:#1F7A55;display:flex;align-items:center;gap:8px}
.rt-atc__ship::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--rt-ok);box-shadow:0 0 0 4px rgba(3,209,151,.18);flex:0 0 8px}

.rt-atc__actions{display:grid;grid-template-columns:1fr 1.25fr;gap:10px;margin-top:16px}
html body .rt-atc a.rt-atc__btn{
	display:flex !important;align-items:center;justify-content:center;gap:8px;min-height:50px;height:auto;padding:12px 14px !important;margin:0 !important;float:none !important;
	border-radius:14px !important;font-family:Sora,"IBM Plex Sans",sans-serif !important;font-weight:700 !important;font-size:15px !important;line-height:1.2 !important;
	text-decoration:none !important;text-align:center;white-space:normal;transition:transform .15s,box-shadow .15s,background .15s;box-shadow:none;letter-spacing:0;text-transform:none !important
}
html body .rt-atc a.rt-atc__btn--ghost{background:#fff !important;color:var(--rt-ink) !important;border:1.5px solid var(--rt-ink) !important}
html body .rt-atc a.rt-atc__btn--ghost:hover{background:#F7F4EF !important}
html body .rt-atc a.rt-atc__btn--main{background:var(--rt-o) !important;color:#fff !important;border:1.5px solid var(--rt-o) !important;box-shadow:0 10px 20px -10px rgba(244,124,8,.8)}
html body .rt-atc a.rt-atc__btn--main:hover{background:#DD6E04 !important;transform:translateY(-1px)}
html body .rt-atc a.rt-atc__btn:focus-visible{outline:3px solid rgba(244,124,8,.45);outline-offset:2px}

@media (max-width:420px){
	.rt-atc{padding:16px;border-radius:18px}
	.rt-atc__head{row-gap:6px}
}

/* polish */
html body .woocommerce-message:has(.rt-atc):focus,html body .wc-block-components-notice-banner:has(.rt-atc):focus,html body .woocommerce-message:has(.rt-atc):focus-visible,html body .wc-block-components-notice-banner:has(.rt-atc):focus-visible{outline:0 !important;box-shadow:none !important}
html body .rt-atc a.rt-atc__btn{opacity:1 !important}
.rt-atc__head{display:grid;grid-template-columns:26px minmax(0,1fr) auto;column-gap:10px;row-gap:2px}
.rt-atc__tick{grid-row:1 / span 2;align-self:center}
@media (max-width:480px){
	.rt-atc__count{grid-column:2;grid-row:2;justify-self:start;margin:0;background:none;border:0;padding:0;font-size:12px}
	.rt-atc__actions{grid-template-columns:1fr 1.15fr}
}
