/* WILCO CHANGE: RobotBuilder shared stylesheet, version 1.2, 10 November 2026. Adds compact desktop search and live product suggestions with tiny thumbnails. */
:root { color-scheme: light; --ink: #17212b; --muted: #66717d; --line: #e2e7ec; --surface: #f5f7f9; --accent: #1769aa; --accent-dark: #105181; --white: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-logo { color: var(--ink); font-size: 1.65rem; font-weight: 800; letter-spacing: -1px; }
.site-logo span { color: var(--accent); }
.main-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.main-nav a { color: var(--ink); font-size: .94rem; font-weight: 600; }
.site-main { min-height: 65vh; padding-top: 28px; padding-bottom: 64px; }
.hero { padding: 58px 48px; border-radius: 16px; background: var(--surface); }
.hero h1 { max-width: 720px; margin: 5px 0 12px; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -1.5px; }
.hero p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.eyebrow { margin: 0 0 7px; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.button { display: inline-block; margin-top: 12px; padding: 11px 19px; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 700; }
.button:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.section-block { margin-top: 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
h1, h2, h3 { line-height: 1.25; }
.section-heading h2 { margin: 0; font-size: 1.8rem; }
.result-count, .category-count { color: var(--muted); font-size: .88rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-card { display: flex; min-height: 160px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.category-card:hover { border-color: var(--accent); text-decoration: none; }
.category-card h3 { margin: 12px 0; font-size: 1.2rem; }
.text-link { font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.product-image { display: flex; height: 210px; align-items: center; justify-content: center; padding: 14px; background: #fff; }
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card-body { padding: 16px; }
.product-card h2, .product-card h3 { margin: 5px 0 10px; font-size: 1rem; }
.product-card h2 a, .product-card h3 a { color: var(--ink); }
.product-type { margin: 0; color: var(--muted); font-size: .78rem; }
.price { margin: 10px 0; font-size: 1.1rem; font-weight: 700; }
.price-muted { color: var(--muted); font-size: .94rem; font-weight: 400; }
.merchant-line { color: var(--muted); font-size: .88rem; }
.catalogue-note, .disclosure { color: var(--muted); font-size: .85rem; }
.breadcrumbs { margin: 0 0 24px; color: var(--muted); font-size: .88rem; }
.breadcrumbs span { color: var(--ink); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.detail-image { display: flex; min-height: 390px; align-items: center; justify-content: center; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.detail-image img { max-width: 100%; max-height: 430px; object-fit: contain; }
.detail-copy h1 { margin: 6px 0 16px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.detail-brand, .merchant-line { color: var(--muted); }
.detail-price { margin: 18px 0 4px; font-size: 1.65rem; font-weight: 700; }
.description-block { max-width: 900px; }
.product-description { white-space: pre-line; overflow-wrap: anywhere; }
.category-intro { color: var(--muted); }
.empty-state { padding: 70px 0; text-align: center; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { padding-top: 25px; padding-bottom: 25px; color: var(--muted); font-size: .85rem; }
.footer-inner p { margin: 5px 0; }
@media (max-width: 900px) { .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; gap: 10px; } .main-nav { gap: 10px 18px; } }
@media (max-width: 600px) { .container { width: min(100% - 28px, 1160px); } .hero { padding: 35px 24px; } .category-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .product-image { height: 155px; } .product-card-body { padding: 11px; } .product-detail { grid-template-columns: 1fr; gap: 24px; } .detail-image { min-height: 260px; } .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; } }

/* WILCO CHANGE: RobotBuilder v1.1 retailer CTA uses the shared button styling with clear spacing on product pages. */
.retailer-button { margin-top: 8px; }


/* WILCO CHANGE: RobotBuilder search styles, version 1.1, 10 November 2026. Keeps the shared header search usable on desktop and mobile. */
.header-search-wrap { padding: 0 0 14px; }
.header-search { display: flex; width: min(100%, 620px); gap: 8px; margin-left: auto; }
.header-search input, .search-page-form input { min-width: 0; flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font: inherit; }
.header-search button, .search-page-form button { padding: 10px 20px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.header-search button:hover, .search-page-form button:hover { background: var(--accent-dark); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.search-page-form { display: flex; max-width: 700px; gap: 8px; margin: 18px 0 28px; }
.search-summary { margin: 0 0 20px; color: var(--muted); }
@media (max-width: 600px) { .header-search { width: 100%; } .header-search-wrap { padding-bottom: 12px; } .search-page-form { width: 100%; } .search-page-form button { padding-right: 14px; padding-left: 14px; } }


/* WILCO CHANGE: Keep the header search compact on desktop and position live product matches directly beneath it. */
.header-search-box { position: relative; width: min(100%, 440px); margin-left: auto; }
.header-search-wrap { display: flex; justify-content: flex-end; }
.header-search { width: 100%; }
.header-search input { min-height: 42px; padding-top: 8px; padding-bottom: 8px; }
.header-search button { padding: 8px 16px; }
.product-suggestions { position: absolute; z-index: 1000; top: calc(100% + 4px); right: 0; left: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.product-suggestions[hidden] { display: none; }
/* WILCO CHANGE: Keep suggestion thumbnails deliberately small so the dropdown stays compact and product names remain easy to scan. */
.product-suggestion { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 7px 10px; border-bottom: 1px solid var(--line); color: var(--ink); }
.product-suggestion:last-child { border-bottom: 0; }
.product-suggestion:hover, .product-suggestion:focus { background: var(--surface); text-decoration: none; }
.suggestion-thumb { display: block; flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.suggestion-text { display: block; min-width: 0; }
.suggestion-title, .suggestion-detail { display: block; }
.suggestion-title { font-size: .9rem; font-weight: 700; line-height: 1.35; }
.suggestion-detail { margin-top: 2px; color: var(--muted); font-size: .76rem; }
@media (max-width: 600px) { .header-search-box { width: 100%; } }

/* WILCO CHANGE: RobotBuilder information pages, version 1.0, 10 November 2026. Keeps FAQ and legal text readable within the existing site layout. */
.content-page { max-width: 900px; margin: 0 auto; }
.content-page h1 { margin: 5px 0 14px; font-size: clamp(2rem, 4vw, 2.7rem); }
.content-page h2 { margin: 32px 0 8px; font-size: 1.25rem; }
.content-page p { max-width: 820px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }


/* WILCO CHANGE: RobotBuilder homepage hero background, version 1.1, 10 November 2026. Extends only the background and contrast layers to both viewport edges while keeping the text aligned with the normal page container. */
.hero {
    position: relative;
    isolation: isolate;
    border-radius: 0;
    background: transparent;
}
.hero::before {
    position: absolute;
    z-index: -2;
    top: -8px;
    bottom: -8px;
    left: 50%;
    width: 100vw;
    content: "";
    background-image: url('/robot-builder-hero.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(3px);
    transform: translateX(-50%) scale(1.02);
}
.hero::after {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    content: "";
    background: rgba(255, 255, 255, .70);
    transform: translateX(-50%);
}
