/* Storefront-only theme. No image filters: manufacturer artwork keeps its original colours. */
.shop-theme-picker{position:relative;color:#334155;flex:none}
.shop-theme-picker summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer;border-radius:10px;list-style:none}
.shop-theme-picker summary::-webkit-details-marker{display:none}
.shop-theme-picker summary:hover{background:#eaf1f8}
.shop-theme-picker summary:focus-visible,[data-shop-theme-select]:focus-visible{outline:2px solid #3b82f6;outline-offset:3px}
.shop-theme-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:80;width:230px;padding:14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;box-shadow:0 12px 30px #0003}
.shop-theme-popover label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
[data-shop-theme-select]{min-height:44px;border:1px solid #b6c6d8;border-radius:8px;background:#fff;color:#334155;font-size:14px;padding:8px 10px;max-width:100%}
.shop-theme-popover select{width:100%}
.shop-theme-mobile{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;border-bottom:1px solid #e2e8f0;font-size:13px}
.shop-theme-sun{display:none}
@media(max-width:767px){.shop-theme-picker{display:none!important}}
@media screen {
html[data-shop-theme=light]{color-scheme:light}
html[data-shop-theme=dark]{color-scheme:dark;--shop-bg:#101827;--shop-panel:#182438;--shop-raised:#213149;--shop-line:#384b64;--shop-text:#e5edf8;--shop-muted:#a9b9cd;--shop-link:#91c5ff;background:var(--shop-bg)}
html[data-shop-theme=dark] body{background:var(--shop-bg)!important;color:var(--shop-text)!important}
html[data-shop-theme=dark] .shop-theme-moon{display:none}
html[data-shop-theme=dark] .shop-theme-sun{display:block}
html[data-shop-theme=dark] :is(.shop-theme-picker,.shop-theme-mobile){color:var(--shop-text)}
html[data-shop-theme=dark] :is(.bg-white,.bg-slate-50,.bg-slate-100,.bg-gray-50,.bg-gray-100,.shop-card,.catalog-card,.model-card,.model-filters,.model-views,.account-card,.shop-theme-popover){background:var(--shop-panel)!important;border-color:var(--shop-line)!important;color:var(--shop-text)}
html[data-shop-theme=dark] :is(.bg-blue-50,.bg-blue-100,.bg-brand-50,.bg-brand-100,.bg-slate-200,.bg-gray-200){background:var(--shop-raised)!important}
html[data-shop-theme=dark] :is(.from-blue-50,.from-slate-50,.from-brand-50){background:var(--shop-raised)!important}
html[data-shop-theme=dark] :is(.text-black,.text-slate-950,.text-slate-900,.text-slate-800,.text-slate-700,.text-gray-950,.text-gray-900,.text-gray-800,.text-gray-700){color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.text-slate-600,.text-slate-500,.text-slate-400,.text-gray-600,.text-gray-500,.text-gray-400){color:var(--shop-muted)!important}
html[data-shop-theme=dark] :is(.text-brand-900,.text-brand-800,.text-brand-700,.text-brand-600,.text-blue-900,.text-blue-800,.text-blue-700,.text-blue-600){color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.border-slate-100,.border-slate-200,.border-slate-300,.border-gray-100,.border-gray-200,.border-gray-300,.border-blue-100,.border-blue-200,.border-brand-100,.border-brand-200){border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(.divide-slate-100,.divide-slate-200,.divide-gray-200)>*+*{border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select){background:var(--shop-bg)!important;color:var(--shop-text)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(input,textarea)::placeholder{color:#99aac0!important;opacity:1}
html[data-shop-theme=dark] input:is([type=checkbox],[type=radio]){accent-color:#5ba5f5}
html[data-shop-theme=dark] :is(.hover\:bg-slate-50,.hover\:bg-slate-100,.hover\:bg-gray-50,.hover\:bg-gray-100,.hover\:bg-blue-50,.hover\:bg-brand-50):hover{background:var(--shop-raised)!important}
html[data-shop-theme=dark] :is(.bg-emerald-50,.bg-emerald-100,.bg-green-50,.bg-green-100){background:#173e35!important}
html[data-shop-theme=dark] :is(.text-emerald-600,.text-emerald-700,.text-emerald-800,.text-green-600,.text-green-700,.text-green-800){color:#92e3b7!important}
html[data-shop-theme=dark] :is(.bg-amber-50,.bg-amber-100,.bg-yellow-50,.bg-yellow-100){background:#423620!important}
html[data-shop-theme=dark] :is(.text-amber-600,.text-amber-700,.text-amber-800,.text-yellow-700){color:#f9d889!important}
html[data-shop-theme=dark] :is(.bg-rose-50,.bg-rose-100,.bg-red-50,.bg-red-100){background:#492633!important}
html[data-shop-theme=dark] :is(.text-rose-600,.text-rose-700,.text-rose-800,.text-red-600,.text-red-700){color:#ffacb9!important}
/* Light gradients must also change their text surface, not only the fallback colour. */
html[data-shop-theme=dark] :is(.from-accent-50,.from-amber-50,.from-emerald-50,.from-blue-100,.from-brand-100,.bg-accent-50){background:var(--shop-raised)!important}
html[data-shop-theme=dark] :is(.text-accent-700,.text-accent-800){color:#f9d889!important}
html[data-shop-theme=dark] :is(.product-sticky-bar,.product-summary-band,.product-resource-tablist,.product-quantity-control,#portal-sidebar){background:var(--shop-panel)!important;border-color:var(--shop-line)!important;color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.product-quantity-control button,.product-quantity-total,.purchase-contact,.family-filter,.family-banner,.family-variant-buy,.family-table th){background:var(--shop-raised)!important;border-color:var(--shop-line)!important;color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.product-resource-tablist .ros-tab-btn:hover,.product-resource-tablist .ros-tab-btn[aria-current=true]){background:var(--shop-raised)!important;color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.product-summary-name,.product-summary-price strong,.product-quantity-total output,.product-model-heading,.price-contact a,.purchase-contact a,.family-wrap,.family-variant-title,.family-variant-price strong,.family-key-specs dd,.family-spec-details dd){color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.product-summary-short,.product-summary-price small,.product-quantity-total small,.price-contact,.price-contact p,.purchase-contact p,.product-delivery-detail p,.family-eyebrow,.family-variants-heading>p,.family-part-code,.family-part-code span,.family-key-specs dt,.family-spec-details dt,.family-variant-price small,.family-variant-delivery,.family-stock-label,.family-item small){color:var(--shop-muted)!important}
html[data-shop-theme=dark] :is(.family-item,.family-variant-row,.family-nav a,.family-link){background:var(--shop-panel)!important;border-color:var(--shop-line)!important;color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.family-table a,.family-spec-details summary){color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.family-stock--in_stock,.family-stock--software,.family-stock--service){color:#92e3b7!important}
html[data-shop-theme=dark] :is(.family-stock--supplier){color:var(--shop-link)!important}
html[data-shop-theme=dark] .family-intro{color:#fff!important}
html[data-shop-theme=dark] :is(#product-mobile-buy,#shop-cart-panel,.cart-panel-heading,.variant-compare-dialog,#ghiduri-alegere article){background:var(--shop-panel)!important;color:var(--shop-text)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(.cart-panel-heading button,.variant-compare-table th,.variant-compare-table tr[data-different=true] td){background:var(--shop-raised)!important;color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(#product-mobile-buy strong,#ghiduri-alegere article h3){color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(#product-mobile-buy small,.cart-preview-item small,.cart-preview-summary small,.variant-compare-note,#ghiduri-alegere article p){color:var(--shop-muted)!important}
html[data-shop-theme=dark] :is(.cart-preview-item a,.cart-panel-full,.variant-compare-table a,#ghiduri-alegere article a){color:var(--shop-link)!important}
html[data-shop-theme=dark] img[src*="/rosistem-aidc-logo.svg"]{content:url("../images/rosistem-aidc-logo-dark.svg?v=20260926-compact");background:transparent}
html[data-shop-theme=dark] :is(.catalog-card-price strong,.catalog-card-price small,.aidc-home-faq summary){color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.catalog-card-code,.catalog-card-code strong,.catalog-card-brand,.catalog-card-summary,.catalog-card-price span,.catalog-card-price del,.catalog-card-delivery,.catalog-card-tools button){color:var(--shop-muted)!important}
html[data-shop-theme=dark] :is(.aidc-home-solution-grid a,.aidc-home-faq summary span,.aidc-home-button-light){color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.catalog-card-commerce,.catalog-card-tools,.aidc-home-faq details){border-color:var(--shop-line)!important}
html[data-shop-theme=dark] .catalog-card-tools button[aria-pressed=true]{color:#ffacb9!important}
/* Navigation, search suggestions and overlays. */
html[data-shop-theme=dark] :is(#shop-sticky-header,#mb-menu,#ros-mobile-suggest,#ros-suggest,.megamenu-panel,.shop-models-band){background:var(--shop-panel)!important;color:var(--shop-text)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(#shop-mobile-search form,.shop-theme-picker summary:hover){background:var(--shop-raised)!important}
html[data-shop-theme=dark] :is(#shop-mobile-menu-toggle,#shop-mobile-search button,[data-mobile-language]){color:var(--shop-link)!important}
html[data-shop-theme=dark] [data-mobile-language]{background:var(--shop-raised)!important;border-color:var(--shop-line)!important}
/* Homepage and model catalogue use bespoke cards alongside utility classes. */
html[data-shop-theme=dark] :is(.aidc-home-category,.aidc-home-model,.aidc-home-solutions,.aidc-home-solution-grid article,.aidc-home-help,.aidc-home-link,.aidc-home-button-light,.aidc-home-path:not(.aidc-home-path--robotics)){background:var(--shop-panel)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(.aidc-home-heading h2,.aidc-home-help h2,.aidc-home-category h3,.aidc-home-model h3,.aidc-home-solution-grid h3,.aidc-home-path h2){color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.aidc-home-heading>p,.aidc-home-category p,.aidc-home-model p,.aidc-home-model-copy>small,.aidc-home-model-price small,.aidc-home-solution-grid p,.aidc-home-help p,.aidc-home-path p,.aidc-home-eyebrow,.model-lead,.model-card p,.model-card small){color:var(--shop-muted)!important}
html[data-shop-theme=dark] :is(.aidc-home-link,.aidc-home-model-link,.aidc-home-subcats a,.aidc-home-path-link,.model-reset,.model-card-actions a){color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.aidc-home-category-icon,.aidc-home-filters button,.aidc-home-subcats a:hover){background:var(--shop-raised)!important;color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.aidc-home-subcats,.aidc-home-brands,.aidc-home-model-image){border-color:var(--shop-line)!important}
/* White logo backplates keep dark manufacturer marks legible, with no recolouring. */
html[data-shop-theme=dark] .aidc-home-brand-grid a{background:#f4f6f9!important;border-radius:8px}
/* Product details, technical tables and customer account. */
html[data-shop-theme=dark] :is(.product-model-summary,.product-delivery-detail,.purchase-benefit,.purchase-benefits,.product-quote-compact,.product-secondary-button,.model-variants-access,.account-notice,.account-button.secondary,#portal-drawer-open){background:var(--shop-raised)!important;border-color:var(--shop-line)!important;color:var(--shop-text)!important}
html[data-shop-theme=dark] .product-model-summary nav a{background:var(--shop-panel)!important;border-color:var(--shop-line)!important;color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.purchase-benefit small,.product-model-summary small,.account-note,.account-page small){color:var(--shop-muted)!important}
html[data-shop-theme=dark] :is(.product-model-summary h2,.product-model-summary h3,.purchase-benefit strong){color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.ros-product-desc,.prose){color:var(--shop-text)!important;--tw-prose-body:var(--shop-text);--tw-prose-headings:var(--shop-text);--tw-prose-links:var(--shop-link);--tw-prose-bold:var(--shop-text);--tw-prose-counters:var(--shop-muted);--tw-prose-captions:var(--shop-muted)}
html[data-shop-theme=dark] :is(.ros-product-desc h1,.ros-product-desc h2,.ros-product-desc h3,.ros-product-desc strong,.ros-product-desc th){color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.ros-product-desc table th,.ros-product-desc table tr:first-child td,.ros-product-desc table tr:nth-child(even) td,.ros-product-desc blockquote){background:var(--shop-raised)!important;color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.ros-product-desc td,.account-table td,.account-table th,.account-item){border-color:var(--shop-line)!important}
html[data-shop-theme=dark] .account-table a{color:var(--shop-link)!important}
html[data-shop-theme=dark] .account-button.danger{background:#492633;color:#ffacb9}
/* Bespoke storefront components also use the shared dark surfaces. Keep these
   screen-only so invoices, comparison PDFs and printing retain their own palette. */
html[data-shop-theme=dark] :is(.catalog-card-image,.category-model-card,.model-empty,.offers-empty,.classification-guides article,.classification-rows,.classification-product,.shop-editorial-section,.compare-page-table,.catalog-preview-heading,#catalog-preview,#catalog-filter-dialog,.seap-dialog,.compat-empty,.compat-types button,.compat-codes a,.catalog-filter-chips a,.catalog-preview-trigger,.family-variant-image,.family-intro img,.aidc-home-model-image,.aidc-home-solution-icon){background:var(--shop-panel)!important;color:var(--shop-text)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(.category-models,.catalog-filter-heading,.compat-controls,.compat-scope,.classification-search,.seap-product,.product-model-link,.product-model-link:hover,.offers-nav a[aria-current=page],.compare-page-table thead th,.compare-page-table th:first-child,.compare-page-table tbody tr:nth-child(even) td,.ros-static-page table th,.ros-static-page table tr:first-child td,.ros-static-page table tr:nth-child(even) td,.ros-static-page blockquote,.seap-guide ol li,.variant-compare-table tbody th,.variant-compare-bar .variant-compare-open,#catalog-compare-tray>a,.catalog-preview-heading button,.catalog-card-tools button:hover,.catalog-card-tools button[aria-pressed=true],.aidc-premium-home .aidc-home-button,.rt-wrap .ql-toolbar){background:var(--shop-raised)!important;color:var(--shop-text)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(.classification-wrap,.compare-page-tools,.compare-price,.compare-product-name,.compat-controls label,.compat-controls button,.compat-scope,.model-catalog,.model-card h2,.model-card h3,.offers-wrap,.ros-static-page,.shop-editorial-section,.account-page,.account-page h1,.account-page h2,.account-page h3,.account-table th){color:var(--shop-text)!important}
html[data-shop-theme=dark] :is(.classification-intro,.classification-guides p,.classification-source,.classification-product small,.compare-code,.compare-page-table small,.compare-page-note,.compat-result,.compat-footnote,.seap-dialog header p,.seap-product small,.seap-note,.seap-close,.model-active,.model-toolbar,.model-card-meta,.offers-intro,.shop-editorial-section p,.aidc-home-description){color:var(--shop-muted)!important}
html[data-shop-theme=dark] :is(.classification-code,.classification-row a,.classification-guides a,.seap-note a,.shop-editorial-section a,.catalog-full-link,.ros-static-page a,.model-views button,.model-views a){color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.compare-page-table th,.compare-page-table td,.classification-row,.seap-dialog header,.compat-scope,.family-table td,.family-table th,.variant-compare-table th,.variant-compare-table td,.rt-wrap .ql-container,.rt-wrap .ql-toolbar){border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(.seap-trigger,.seap-trigger:hover){background:#173e35!important;color:#92e3b7!important;border-color:#386459!important}
html[data-shop-theme=dark] :is(.seap-errors,.catalog-discount,.catalog-card-tools button[data-catalog-action=wishlist][aria-pressed=true]){background:#492633!important;color:#ffacb9!important}
html[data-shop-theme=dark] .catalog-featured{background:var(--shop-raised)!important;color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(.compat-types button[aria-pressed=true],.aidc-home-filters button[aria-pressed=true]){background:#285d8f!important;color:white!important;border-color:#78b5f0!important}
html[data-shop-theme=dark] .seap-actions button:not(.seap-submit){background:var(--shop-raised)!important;color:var(--shop-text)!important;border-color:var(--shop-line)!important}
/* Rich text from the catalogue may carry its own light inline colours. */
html[data-shop-theme=dark] :is(.ros-product-desc,.ros-static-page) :is(p,span,div,td,th,li,h1,h2,h3,h4,strong)[style*="color"]{color:inherit!important}
html[data-shop-theme=dark] :is(.ros-product-desc,.ros-static-page) [style*="background"]{background:transparent!important}

html[data-shop-theme=dark] :is(.aidc-hero__primary,.aidc-hero__equipment,.aidc-home-path-art span){background:var(--shop-raised)!important;color:var(--shop-text)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] #shop-sticky-header a[style*="background:#fef3e2"]{background:#423620!important;color:#f9d889!important}
html[data-shop-theme=dark] :is(.ros-product-desc h4,.ros-product-desc b,.ros-static-page h1,.ros-static-page h2,.ros-static-page h3,.ros-static-page h4,.ros-static-page strong){color:var(--shop-text)!important}
html[data-shop-theme=dark] .ros-product-desc a{color:var(--shop-link)!important}
html[data-shop-theme=dark] :is(main[style*="background:#F8FAFC"],.family-compare-check,.family-compare-check:hover,#offer-reference,main>section[style*="background:white"]){background:var(--shop-panel)!important;color:var(--shop-text)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] .family-compare-check[aria-pressed=true]{background:#285d8f!important;color:white!important;border-color:#78b5f0!important}
html[data-shop-theme=dark] main>section[style*="background:white"] :is(p,button[formaction]){color:var(--shop-muted)!important}
html[data-shop-theme=dark] main>section[style*="background:white"] button[formaction]{background:var(--shop-raised)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] a[style*="background:#fff5df"]{background:#423620!important;color:#f9d889!important}
}
@media print{.shop-theme-picker,.shop-theme-mobile{display:none!important}html{color-scheme:light}}

/* Shared, keyboard-accessible theme buttons on desktop and mobile. */
.shop-theme-popover{width:286px;padding:16px;border-radius:16px;box-shadow:0 14px 40px #0f172a26}
.shop-theme-label{display:block;font-size:12px;font-weight:650;margin-bottom:10px}
.shop-theme-options{display:flex;gap:4px;padding:4px;background:#edf2f7;border-radius:12px}
.shop-theme-options button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:60px;padding:8px 6px;border:1px solid transparent;border-radius:9px;color:#475569;font-size:11px;font-weight:600;cursor:pointer;transition:background .15s,color .15s}
.shop-theme-options button:hover{background:#dce7f3}
.shop-theme-options button[aria-pressed=true]{background:#fff;border-color:#b9d3f0;color:#155da6;box-shadow:0 2px 5px #0f172a0d}
.shop-theme-options button:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}
.shop-theme-mobile{align-items:stretch;flex-direction:column;gap:0;padding:12px 16px}
@media screen{
html[data-shop-theme=dark] .shop-theme-options{background:var(--shop-bg)}
html[data-shop-theme=dark] .shop-theme-options button{color:var(--shop-muted)}
html[data-shop-theme=dark] .shop-theme-options button:hover{background:var(--shop-raised)}
html[data-shop-theme=dark] .shop-theme-options button[aria-pressed=true]{background:var(--shop-raised);color:var(--shop-link);border-color:#628bb5;box-shadow:none}
/* Imported descriptions use the page palette in either mode, including legacy
   font tags and table cell colours. Typography, emphasis and images stay intact. */
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page){--description-text:#334155;--description-title:#0f172a;--description-link:#0a6ac8;--description-line:#dbe3ed;--description-surface:#f1f5f9;color:var(--description-text)!important;overflow-wrap:anywhere}
html[data-shop-theme=dark] :is(.ros-product-desc,.ros-static-page){--description-text:var(--shop-text);--description-title:var(--shop-text);--description-link:var(--shop-link);--description-line:var(--shop-line);--description-surface:var(--shop-raised)}
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page) :is(p,span,font,div,li,ul,ol,b,strong,em,i,td,th,h1,h2,h3,h4,h5,h6){color:inherit!important;background-color:transparent!important;background-image:none!important}
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page) :is(h1,h2,h3,h4,h5,h6){color:var(--description-title)!important}
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page) a{color:var(--description-link)!important;text-decoration:underline;text-underline-offset:3px}
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page) :is(table,tbody,tr){background:transparent!important;color:inherit!important;max-width:100%;border-color:var(--description-line)!important}
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page) :is(td,th,hr){border-color:var(--description-line)!important}
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page) :is(th,thead td,blockquote,pre){background:var(--description-surface)!important;color:var(--description-text)!important}
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page) tr:nth-child(even) td{background:var(--description-surface)!important}
html[data-shop-theme] :is(.ros-product-desc,.ros-static-page) pre{max-width:100%;overflow:auto;padding:12px;border-radius:8px}
html[data-shop-theme=dark] :is(.bg-neutral-50,.bg-neutral-100,.bg-zinc-50,.bg-zinc-100,.bg-stone-50,.bg-stone-100){background:var(--shop-panel)!important;color:var(--shop-text)!important}
}
@media screen{
html[data-shop-theme=dark] #mb-menu a[style*="background:#edf5ff"]{background:var(--shop-raised)!important;color:var(--shop-link)!important}
html[data-shop-theme=dark] #shop-mobile-contact{color:#92e3b7!important}
html[data-shop-theme=dark] #mb-menu [style*="border-bottom"]{border-color:var(--shop-line)!important}
}

/* Round the photograph itself, not just its larger object-fit container. */
#prod-main-img{width:auto!important;height:auto!important;max-width:calc(100% - 32px);max-height:calc(100% - 32px);padding:0!important;border-radius:16px;object-fit:contain}
/* Keep the dimensions defined by each image slot. Auto-sized images can overflow compact cards and cover their text. */
.aidc-hero__device img,.catalog-card-image img,.aidc-home-model-image img,.family-variant-image img{max-width:100%;border-radius:12px;object-fit:contain}
.catalog-card-image{flex-shrink:0;overflow:hidden}
#ros-thumbs img{border-radius:8px}
#ros-lightbox-img{border-radius:16px}
@media screen{
html[data-shop-theme=dark] .aidc-hero__equipment-caption{color:var(--shop-text)!important;border-color:var(--shop-line)!important}
html[data-shop-theme=dark] :is(.aidc-hero__equipment-label,.aidc-hero__equipment-caption>span:last-child){color:var(--shop-muted)!important}
}
/* CDN contain variants can include transparent letterboxing. An image-local
   backplate gives the entire photograph a single rounded outline. */
#prod-main-img,.aidc-hero__device img,.catalog-card-image img,.aidc-home-model-image img,.family-variant-image img,#ros-lightbox-img{background:#fff!important}

/* Manufacturer artwork always has a neutral white plate, in both themes. */
.manufacturer-logo-surface{background:#fff!important;border:1px solid #e2e8f0;border-radius:12px;padding:12px;overflow:hidden}
html[data-shop-theme] .manufacturer-logo-surface span{color:#334155!important}
.manufacturer-logo-surface img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.shop-support-panel{background:linear-gradient(135deg,#eff6ff,#eef2ff)}
@media screen{
html[data-shop-theme=dark] .shop-support-panel{background:linear-gradient(135deg,var(--shop-panel),var(--shop-raised));border-color:var(--shop-line)!important}
html[data-shop-theme=dark] .shop-support-panel a.border-2:hover{color:#fff!important}
}

@media screen{html[data-shop-theme=dark] img[src*="/aidc-monogram-light.svg"]{content:url("../images/aidc-monogram-dark.svg?v=2");background:transparent}}

/* Hero photos retain a white rounded backplate, including transparent CDN
   margins. Disable blend/mask effects that tinted artwork with the slide colour. */
.aidc-hero__device,.aidc-hero__robot{background:#fff!important;border-radius:16px;overflow:hidden;isolation:isolate}
.aidc-hero__device img,.aidc-hero__robot img{background:#fff!important;mix-blend-mode:normal!important;mask-image:none!important;-webkit-mask-image:none!important;border-radius:16px;object-fit:contain}

/* Compact mobile appearance and language controls, with accessible icon labels. */
.shop-mobile-preferences{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-bottom:1px solid #e2e8f0}
.shop-mobile-preferences .shop-theme-mobile{padding:0;border:0;flex:none}
.shop-mobile-preferences .shop-theme-options{gap:0;padding:2px;border-radius:9px}
.shop-mobile-preferences .shop-theme-options button{width:40px;min-height:44px;padding:6px;flex:none}
.shop-mobile-preferences .shop-theme-options button span{display:none}
.shop-mobile-languages{display:flex;align-items:center;gap:5px}
.shop-mobile-preferences .shop-mobile-languages a{padding:0 8px!important;font-size:12px!important}
html[data-shop-theme=dark] .shop-mobile-preferences{border-color:var(--shop-border)}
@media(max-width:350px){.shop-mobile-preferences{padding:8px;gap:4px}.shop-mobile-preferences .shop-theme-options button{width:36px}.shop-mobile-preferences .shop-mobile-languages a{padding:0 6px!important}}

.shop-mobile-userbar{display:flex;align-items:center;gap:8px;padding:6px 12px;border-bottom:1px solid #e2e8f0}
.shop-mobile-user{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:44px;font-size:13px;font-weight:650;color:#174e7b}
.shop-mobile-user svg{flex:none}.shop-mobile-user span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-mobile-shortcuts{display:flex;gap:2px;flex:none}.shop-mobile-shortcuts a{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;color:#174e7b}
.shop-mobile-shortcuts a:hover,.shop-mobile-shortcuts a:focus-visible{background:#eaf3fb}.shop-mobile-shortcuts .shop-mobile-whatsapp{color:#157347}
.shop-mobile-shortcuts a:after{content:attr(data-tip);position:absolute;top:100%;right:0;background:#17263b;color:#fff;padding:5px 8px;border-radius:5px;font-size:12px;white-space:nowrap;pointer-events:none;opacity:0;z-index:20}
.shop-mobile-shortcuts a:hover:after,.shop-mobile-shortcuts a:focus-visible:after{opacity:1}
html[data-shop-theme=dark] .shop-mobile-userbar{border-color:var(--shop-border)}html[data-shop-theme=dark] :is(.shop-mobile-user,.shop-mobile-shortcuts a){color:var(--shop-link)}html[data-shop-theme=dark] .shop-mobile-shortcuts a:hover,html[data-shop-theme=dark] .shop-mobile-shortcuts a:focus-visible{background:var(--shop-raised)}

/* Resource cards size to their labels instead of stretching across the section. */
.shop-resource-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}
.shop-resource-list .shop-resource-card{flex:0 1 auto;width:max-content;max-width:100%;min-height:52px;padding:8px 12px;gap:10px}
.shop-resource-card .shop-resource-icon{width:32px;height:32px}
.shop-resource-card .min-w-0{flex:0 1 auto}
.shop-resource-card .truncate{white-space:normal;overflow-wrap:anywhere}
.shop-resource-card>svg:last-child,.shop-resource-card>span:last-child{margin-left:12px}

/* Empty feedback sections retain only the compact contribution controls. */
.ros-tab-panel.shop-feedback-empty{padding:6px 24px;border:0;box-shadow:none}
.shop-feedback-disclosure{margin-top:16px}
.shop-feedback-empty .shop-feedback-disclosure{margin-top:0}
.shop-feedback-disclosure>summary.shop-feedback-toggle{display:inline-flex;align-items:center;width:auto;max-width:100%;min-height:32px;padding:5px 10px;margin:0;border:1px solid var(--shop-line);border-radius:6px;background:transparent;color:var(--shop-link);font-size:13px;font-weight:500;line-height:20px;cursor:pointer;list-style:none}
.shop-feedback-toggle::-webkit-details-marker{display:none}
.shop-feedback-toggle:hover{background:var(--shop-raised)}
.shop-feedback-toggle:focus-visible{outline:2px solid var(--shop-link);outline-offset:2px}
.shop-feedback-disclosure[open]>.shop-feedback-toggle{margin-bottom:12px}
@media(pointer:coarse){.shop-feedback-disclosure>summary.shop-feedback-toggle{min-height:44px}}
.shop-feedback-toggle{gap:6px}
.shop-feedback-toggle .shop-feedback-icon{width:16px;height:16px;flex:0 0 16px}

.ros-tab-panel:focus-visible{outline:2px solid var(--shop-link);outline-offset:-2px}
