/* Robocraft storefront controls. Scoped so Astra / Elementor editor stays native. */
.rc-modal-open{overflow:hidden}.rc-side-panel,.rc-search-panel{color:var(--text);background:#0c171c;border:1px solid #456568;padding:26px;box-shadow:0 0 60px #0008;max-height:100dvh;overscroll-behavior:contain;z-index:99999}
.rc-side-panel{position:fixed;inset:0 0 0 auto;margin:0;width:min(490px,100%);max-width:100%;height:100dvh;overflow:auto;border-right:0;border-top:3px solid var(--acid)}
.rc-side-panel::backdrop,.rc-search-panel::backdrop{background:#020609b8;backdrop-filter:blur(4px)}
.rc-side-panel[open]{animation:rc-drawer-in .25s ease-out}.rc-side-panel header,.rc-search-panel header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.rc-side-panel h2,.rc-search-panel h2{font-size:38px;margin:0}.rc-side-panel .eyebrow{font-size:11px;margin-bottom:8px}.rc-side-panel [data-rc-count]{color:var(--acid);font-size:24px}.rc-side-panel [data-rc-dismiss],.rc-search-panel [data-rc-dismiss]{font-size:30px;width:44px;height:44px;border:1px solid #456568;flex-shrink:0}
.rc-cart-status:empty{display:none}.rc-cart-status{color:#ff98a7;margin-bottom:15px}.rc-drawer-line{display:grid;grid-template-columns:78px minmax(0,1fr) 30px;gap:15px;padding:20px 0;border-bottom:1px solid #30464d}.rc-drawer-image img{width:78px;height:100px;object-fit:contain;background:#111e24}.rc-drawer-name{display:block;font-size:17px;font-weight:600;line-height:1.25;margin-bottom:7px}.rc-drawer-price{display:block;color:var(--acid);font-size:15px;margin-bottom:10px}.rc-cart-remove{align-self:start;width:30px;min-height:36px;font-size:24px;color:#9ab9c3}.rc-drawer-line dl{font-size:12px;margin:0 0 7px;overflow-wrap:anywhere}.rc-drawer-line dd p{margin:0}.rc-drawer-summary{padding-top:24px}.rc-drawer-summary>div{display:flex;justify-content:space-between;gap:20px;margin-bottom:10px;font-size:16px}.rc-drawer-summary>div strong{color:var(--acid)}.rc-drawer-summary>.button{width:100%;margin:10px 0}.rc-drawer-summary>p{font-size:13px;line-height:1.6;color:var(--muted)}.rc-country-note{font-size:13px;line-height:1.6;padding:14px 16px;background:#dfff1508;border-left:3px solid var(--acid);color:#c3d4d7;margin:20px 0}.rc-drawer-summary .text-link{font-size:14px}
.rc-quantity{display:inline-grid;grid-template-columns:30px 42px 30px;align-items:center;min-width:102px;border:1px solid #4c7178;height:42px;background:#081217;line-height:1}.rc-quantity button{width:30px;height:40px;padding:0;color:var(--cyan);font-size:18px}.rc-quantity input[type=number]{height:40px;min-height:0;width:42px;border:0;padding:0!important;background:transparent;text-align:center;margin:0;border-radius:0;-moz-appearance:textfield;color:var(--text);font-size:14px}.rc-quantity input::-webkit-inner-spin-button,.rc-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.rc-card-purchase{display:flex;gap:8px;align-items:center;margin:0}.rc-card-purchase .add-small{width:42px;height:42px;min-height:42px;padding:0}.product-card .product-bottom{flex-wrap:wrap;gap:14px}.product-card .product-bottom .price{font-size:24px}.rc-card-purchase .add-small:disabled{opacity:.5}.rc-product-badges{position:absolute;top:12px;left:12px;right:12px;display:flex;flex-wrap:wrap;align-content:start;gap:5px;pointer-events:none;z-index:4}.rc-badge{font-family:var(--display);font-size:12px;line-height:1.2;letter-spacing:.03em;font-weight:700;padding:6px 9px;text-transform:uppercase;clip-path:polygon(7px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 7px)}.rc-badge-best{background:var(--acid);color:#101510}.rc-badge-new{background:var(--cyan);color:#06171b}.rc-badge-low{background:#102029ed;border:1px solid #ff526d;color:#ff8ca0}.rc-detail-media .rc-product-badges{top:18px;left:18px}.rc-detail-media .rc-badge{font-size:14px}
/* Shared product badges must load on catalog and home cards as well as product pages. */
.rc-badge-out{background:#ff526d;color:#080d16;border:1px solid #ff8ca0}
.rc-pack-image:has(.rc-badge-out) .pack-format{top:auto;bottom:12px;left:12px}
.rc-medal-gold{color:#e6c967!important}.rc-medal-silver{color:#c1d7e1!important}.rc-medal-bronze{color:#df9d71!important}
.rc-badge.rc-badge-award{display:inline-flex;align-items:center;gap:6px;background:#071015ed;border:1px solid currentColor;font-size:10px}.rc-badge-award svg{width:14px;height:18px}
.rc-product-awards{position:absolute;right:12px;bottom:12px;max-width:calc(100% - 24px);display:flex;flex-direction:column;align-items:flex-end;gap:5px;pointer-events:none;z-index:4}
.rc-detail-media .rc-product-awards{right:18px;bottom:18px;max-width:calc(100% - 36px)}
@media(max-width:700px){.rc-product-awards,.rc-detail-media .rc-product-awards{right:8px;bottom:8px;max-width:calc(100% - 16px)}}
@media(max-width:650px){.rc-badge.rc-badge-award{font-size:9px}}
.rc-shopping-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100000;background:#132c31;color:var(--text);border:1px solid var(--cyan);box-shadow:0 4px 30px #0008;padding:14px 24px;max-width:calc(100vw - 40px);font-size:15px;pointer-events:none}.rc-shopping-toast.is-error{border-color:#ff526d}.rc-shopping-toast[hidden]{display:none}
.rc-search-panel{width:min(720px,calc(100% - 32px));max-height:85dvh;margin:8vh auto auto;overflow:auto;border-top:3px solid var(--acid)}.rc-search-input-row{display:flex;gap:10px;margin-top:10px}.rc-search-input-row input{flex:1;min-width:0}.rc-search-status{font-size:14px;color:var(--muted);margin:20px 0 10px}.rc-search-result{display:flex;align-items:center;gap:18px;padding:12px 8px;border-bottom:1px solid #30464d}.rc-search-result:hover{background:#142b30}.rc-search-result img{object-fit:contain;background:#0a141b}.rc-search-result strong,.rc-search-result small{display:block}.rc-search-result small{color:var(--muted)}
#rc-back-top{position:fixed;right:24px;bottom:24px;width:48px;height:48px;background:var(--acid);color:#0b1115;z-index:80;font-size:28px;font-weight:bold;border:1px solid #f5ff91;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);opacity:0;visibility:hidden;transform:translateY(15px);transition:opacity .2s,transform .2s,visibility .2s}#rc-back-top.is-visible{opacity:1;visibility:visible;transform:none}#rc-back-top:hover{box-shadow:0 0 22px #eaff2850;background:#f2ff7a}#ast-scroll-top{display:none!important}
html[data-motion=on] .robocraft-wordpress .hero-divider:hover .signal-track,html[data-motion=on] .robocraft-wordpress .hero-divider:focus-within .signal-track,html[data-motion=on] .robocraft-wordpress .hero-divider:active .signal-track{animation-play-state:running}
.robocraft-wordpress [data-v3=photo]{cursor:default}.page-id-87 .human-hero .story-photo{height:clamp(360px,43vw,590px);margin:0}.page-id-87 .human-hero .story-photo>:is(button,.rc-static-photo),.page-id-87 .human-hero .story-photo img{height:100%!important;max-height:none!important;object-fit:cover}.page-id-87 .rc-page-shell{padding-bottom:50px}
.home .story-feature .rc-photo-frame{overflow:hidden;display:block;position:relative;isolation:isolate}.home .story-feature .rc-photo-frame img{height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.8,.2,1)}.home .story-feature .rc-photo-frame:hover img{transform:scale(1.035)}
.rc-blog-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:14px;padding-top:30px}.rc-blog-related{padding-bottom:60px}.rc-blog-related .news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#location-info{scroll-margin-top:140px}
@keyframes rc-drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
/* Matching yellow arrow and hover hand, with a shared dark outline. */
@media (hover:hover) and (pointer:fine) {
 body.robocraft-wordpress:not(.elementor-editor-active) {
  --rc-cursor-default:url("cursor-default.svg?v=restored-1") 4 3,auto;
  --rc-cursor-pointer:url("cursor-pointer.svg?v=restored-1") 16 3,pointer;
  cursor:var(--rc-cursor-default);
 }
 body.robocraft-wordpress:not(.elementor-editor-active) :is(.rc-static-photo,[data-v3=photo]) {cursor:var(--rc-cursor-default)}
 body.robocraft-wordpress:not(.elementor-editor-active) :is(input,textarea,[contenteditable=true]) {cursor:text}
 body.robocraft-wordpress:not(.elementor-editor-active) :is(a,button,summary,[role=button],select,label[for],input[type=checkbox],input[type=radio],input[type=submit],input[type=button],input[type=reset],input[type=range],input[type=color]) {cursor:var(--rc-cursor-pointer)}
 body.robocraft-wordpress:not(.elementor-editor-active) :is(button,input,select,textarea):disabled,
 body.robocraft-wordpress:not(.elementor-editor-active) :is(a,button,input,select,textarea,[role=button])[aria-disabled=true] {cursor:not-allowed}
}
@media(max-width:700px){.rc-side-panel{padding:22px 18px calc(24px + env(safe-area-inset-bottom))}.rc-search-panel{padding:22px 18px}.rc-search-panel h2{font-size:32px}.rc-search-input-row{flex-direction:column}.rc-search-result{gap:12px}.rc-product-badges{top:8px;left:8px;right:8px}.rc-badge{font-size:10px;padding:5px 7px}.rc-card-purchase{width:100%;justify-content:space-between;gap:6px}.product-card .product-bottom .price{font-size:22px}.rc-quantity{grid-template-columns:28px 36px 28px;min-width:92px}.rc-quantity button{width:28px}.rc-quantity input[type=number]{width:36px}.rc-card-purchase .add-small{width:38px}#rc-back-top{right:16px;bottom:calc(18px + env(safe-area-inset-bottom));width:44px;height:44px}.rc-shopping-toast{bottom:80px;width:max-content}.page-id-87 .human-hero .story-photo{height:420px}.rc-blog-related .news-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.rc-side-panel[open]{animation:none}#rc-back-top,.home .story-feature .rc-photo-frame img{transition:none}}
html[data-motion=off] .hero-divider .signal-track,html[data-motion=off] .hero-divider:hover .signal-track{animation-play-state:paused!important}

/* Separate quantity adjustment from the primary purchase action on every card. */
.robocraft-wordpress .rc-quantity>.screen-reader-text {position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.robocraft-wordpress .product-card .product-bottom {flex-wrap:wrap;gap:12px}
.product-card .rc-card-purchase {display:flex;flex-wrap:wrap;flex:1 1 236px;gap:10px;min-width:0;max-width:340px;margin:0 0 0 auto}
.product-card .rc-card-purchase .rc-quantity {flex:1 1 104px;grid-template-columns:34px minmax(32px,1fr) 34px;min-width:104px;height:44px;background:#081217}
.product-card .rc-card-purchase .rc-quantity button {width:34px;height:42px;min-height:42px}
.product-card .rc-card-purchase .rc-quantity input {width:100%;height:42px}
.product-card .rc-card-purchase .rc-card-add {display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 112px;width:auto;min-width:104px;height:44px;min-height:44px;padding:10px 12px;border:1px solid var(--acid);border-radius:0;background:var(--acid);color:#081217;font-family:inherit;font-size:14px;font-weight:700;line-height:1;white-space:nowrap;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));transition:background .2s,transform .2s}
.product-card .rc-card-add svg {width:19px;height:19px;flex:none;transform:none!important}
.product-card .rc-card-add:hover {background:#f4ff83;transform:translateY(-1px)}
.product-card .rc-card-add:focus-visible {outline:2px solid var(--cyan);outline-offset:3px;box-shadow:inset 0 0 0 2px #081217}
.product-card .rc-card-add:disabled {opacity:.55;transform:none}
.product-card .rc-card-add.is-added:disabled {opacity:1;background:var(--acid);transform:none}
@media (max-width:380px) {.robocraft-wordpress ul.products {grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce) {.product-card .rc-card-add {transition:none;transform:none}}

/* Keep sale and regular prices aligned without pushing purchase controls out of place. */
.robocraft-wordpress .product-card{container-type:inline-size;container-name:rc-product-card}
.robocraft-wordpress .product-card .product-bottom{display:grid;grid-template-columns:minmax(0,1fr);align-items:end;gap:12px;width:100%;margin-top:auto}
.robocraft-wordpress .product-card .product-bottom>.price{position:relative;display:block;min-width:0;min-height:51px;padding-top:20px;margin:0;color:var(--acid);font-size:26px;line-height:1.15;font-weight:700;font-variant-numeric:tabular-nums;white-space:normal}
.robocraft-wordpress .product-card .product-bottom>.price .woocommerce-Price-amount{white-space:nowrap}
.robocraft-wordpress .product-card .product-bottom>.price del{position:absolute;top:0;left:0;display:block;margin:0;color:#9fb5ba;font-size:14px;font-weight:500;line-height:18px;opacity:1;text-decoration:line-through;text-decoration-thickness:1px}
.robocraft-wordpress .product-card .product-bottom>.price del .woocommerce-Price-amount{color:inherit}
.robocraft-wordpress .product-card .product-bottom>.price ins{display:inline;background:transparent;color:var(--acid);font-weight:700;text-decoration:none}
.robocraft-wordpress .product-card .product-bottom>.price ins .woocommerce-Price-amount{color:inherit;text-decoration:none}
.robocraft-wordpress .product-card .product-bottom>.price .woocommerce-Price-currencySymbol{font-size:.55em;margin-left:2px}
.robocraft-wordpress .product-card .product-bottom>.price del .woocommerce-Price-currencySymbol{font-size:.75em}
.robocraft-wordpress .product-card .rc-card-purchase{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;min-width:0;max-width:none;margin:0}
.robocraft-wordpress .product-card .rc-card-purchase .rc-quantity{width:100%;min-width:0;grid-template-columns:34px minmax(28px,1fr) 34px}
.robocraft-wordpress .product-card .rc-card-purchase .rc-card-add{width:100%;min-width:0}
@container rc-product-card (min-width:280px){
 .robocraft-wordpress .product-card .rc-card-purchase{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}
}
@container rc-product-card (min-width:400px){
 .robocraft-wordpress .product-card .product-bottom{grid-template-columns:minmax(0,1fr) minmax(220px,1.8fr)}
}
@container rc-product-card (max-width:279px){
 .robocraft-wordpress .product-card .product-bottom>.price{font-size:22px;min-height:46px;padding-top:18px}
 .robocraft-wordpress .product-card .product-bottom>.price del{font-size:13px;line-height:16px}
}

/* WooCommerce announces both prices to screen readers without duplicating them visually. */
.robocraft-wordpress .product-card .price>.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
