/* Electronics shop page (scripts/build_shop.py). The thanks.html shell does not load the site's section styles. */
.sh { --ink: #16252b; --mute: #5d6a6c; --line: #dceaee; --teal: #0b8fa8; background: #f6fafb; }
.sh [hidden] { display: none !important; }
.sh .s__wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); box-sizing: border-box; }
/* hero */
.sh-hero { position: relative; overflow: hidden; padding: clamp(104px, 11vw, 136px) 0 clamp(36px, 5vw, 60px); color: #e8f7fa; background: radial-gradient(60% 90% at 85% 10%, rgba(34, 211, 238, .28), transparent 65%), radial-gradient(50% 80% at 5% 100%, rgba(99, 102, 241, .22), transparent 65%), linear-gradient(150deg, #06222c, #0a3a48 60%, #0b4a5a); }
.sh-hero::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.sh-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.sh-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 12px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #8fe3f1; }
.sh-eyebrow span { padding: 5px 9px; border-radius: 6px; background: #22d3ee; color: #052a33; }
.sh-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.06; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.sh-hero h1 em { font-style: normal; color: #5fe0f2; }
.sh-lede { margin: 16px 0 22px; max-width: 560px; font-size: 18px; line-height: 1.5; color: #c5e3ea; }
.sh-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 56px; padding: 0 18px; border-radius: 14px; background: #fff; color: #6a7779; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.sh-search svg { flex: none; width: 20px; height: 20px; }
.sh-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 16.5px "Source Sans 3", sans-serif; color: var(--ink); }
.sh-search:focus-within { box-shadow: 0 0 0 3px #22d3ee, 0 18px 40px rgba(0, 0, 0, .28); }
.sh-stats { list-style: none; display: flex; gap: 26px; margin: 20px 0 0; padding: 0; font-size: 14px; color: #a9d2db; }
.sh-stats b { margin-right: 6px; font-size: 22px; font-weight: 600; color: #fff; }
.sh-collage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sh-float { display: grid; place-items: center; aspect-ratio: 1; padding: 8%; border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: 0 18px 36px rgba(0, 0, 0, .3); animation: shFloat 7s ease-in-out infinite; }
.sh-float .sh-art { width: 100%; height: auto; }
.sh-float.f1, .sh-float.f4, .sh-float.f6 { animation-delay: -2.4s; transform: translateY(10px); }
.sh-float.f2, .sh-float.f7 { animation-delay: -4.6s; }
@keyframes shFloat { 50% { translate: 0 -8px; } }
.sh-banner { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px clamp(16px, 3vw, 40px); background: #fff4e0; border-bottom: 1px solid #f2d39a; color: #6e4706; font-size: 14.5px; line-height: 1.45; justify-content: center; }
.sh-banner i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #d98a0b; }
/* category tiles */
.sh-cats { padding: 20px 0 6px; }
.sh-tiles { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 8px; }
.sh-tile { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 8px 6px 9px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; font-family: "Source Sans 3", sans-serif; text-align: center; transition: transform .18s, box-shadow .18s, border-color .18s; }
.sh-tile .sh-art { width: 100%; max-width: 74px; height: 50px; padding: 3px; border-radius: 9px; background: var(--t); box-sizing: border-box; }
.sh-tile[data-cat="all"] .sh-art { background: #dff3f7; }
.sh-tile span { font-size: 12.5px; font-weight: 600; line-height: 1.18; color: var(--ink); }
.sh-tile small { font-size: 11px; color: var(--mute); }
.sh-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(8, 70, 90, .5); border-color: #a9d5de; }
.sh-tile.on { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.sh-tile:focus-visible { outline: 3px solid #22b5cc; outline-offset: 2px; }
/* products */
.sh-body { padding: 14px 0 72px; }
.sh-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.sh-count { font-size: 14.5px; font-weight: 600; color: var(--mute); }
.sh-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.sh-sort select { height: 40px; padding: 0 10px; border: 1px solid #cfdfe3; border-radius: 10px; background: #fff; font: 500 14.5px "Source Sans 3", sans-serif; color: var(--ink); }
.sh-sec { margin-top: 26px; }
.sh-sec header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sh-sec h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sh-sec header span { font-size: 13.5px; color: var(--mute); }
.sh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 14px; }
.sh-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .18s, box-shadow .18s, border-color .18s; content-visibility: auto; contain-intrinsic-size: auto 340px; }
.sh-card:hover { transform: translateY(-3px); border-color: #a9d5de; box-shadow: 0 20px 36px -22px rgba(8, 70, 90, .55); }
.sh-img { position: relative; display: grid; place-items: center; width: 100%; height: 150px; padding: 18px 20px 12px; border: 0; background: radial-gradient(70% 70% at 50% 45%, #fff, var(--t)); cursor: zoom-in; }
.sh-art { display: block; filter: drop-shadow(0 8px 8px rgba(10, 40, 50, .22)); }
.sh-img .sh-art { width: 100%; height: 100%; transition: transform .25s; }
.sh-card:hover .sh-img .sh-art { transform: scale(1.06) rotate(-1.5deg); }
.sh-img:focus-visible, .sh-notify:focus-visible { outline: 3px solid #22b5cc; outline-offset: -3px; }
.sh-oos { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(40, 50, 55, .86); color: #fff; font: 600 11.5px/1.1 "Source Sans 3", sans-serif; }
.sh-txt { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 0; }
.sh-txt small { font: 500 10.5px/1.3 "IBM Plex Mono", monospace; letter-spacing: .03em; text-transform: uppercase; color: #0a6f83; }
.sh-txt h3 { margin: 0; font-size: 15.5px; line-height: 1.28; font-weight: 600; color: var(--ink); }
.sh-txt p { margin: 0; font-size: 13.5px; line-height: 1.42; color: var(--mute); }
.sh-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 14px 0; }
.sh-price { font-size: 14px; font-weight: 700; color: var(--ink); }
.sh-sku { font: 500 10.5px/1 "IBM Plex Mono", monospace; color: #7c898c; white-space: nowrap; }
.sh-notify { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 10px 14px 14px; height: 40px; border: 1px solid var(--teal); border-radius: 10px; background: #fff; color: #0a6f83; font: 600 14px "Source Sans 3", sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.sh-notify svg { width: 16px; height: 16px; }
.sh-notify:hover { background: var(--teal); color: #fff; }
.sh-empty { padding: 48px 0; text-align: center; font-size: 16px; color: var(--mute); }
.sh-note { margin: 26px 0 0; font-size: 13px; line-height: 1.5; color: #6a7779; }
/* quick view */
.sh-dlg { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 20px; overflow: auto; box-shadow: 0 40px 90px rgba(6, 40, 50, .45); }
.sh-dlg::backdrop { background: rgba(6, 30, 38, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sh-dlg form { display: grid; grid-template-columns: 1fr 1fr; }
.sh-dlg__art { display: grid; place-items: center; padding: 28px; background: radial-gradient(70% 70% at 50% 45%, #fff, var(--t, #e6f4f8)); }
.sh-dlg__art .sh-art { width: 100%; height: auto; }
.sh-dlg__body { position: relative; display: flex; flex-direction: column; gap: 11px; padding: 24px; }
.sh-x { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #eef3f5; color: #3d4a4d; font-size: 21px; line-height: 1; cursor: pointer; }
.sh-oos--in { position: static; align-self: flex-start; }
.sh-dlg h2 { margin: 0; padding-right: 30px; font-size: 22px; line-height: 1.22; font-weight: 600; color: var(--ink); }
.sh-dlg__spec { margin: 0; font-size: 15px; line-height: 1.45; color: var(--mute); }
.sh-dlg__item { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 9px 0; border-block: 1px solid var(--line); font: 500 12px "IBM Plex Mono", monospace; color: #6a7779; }
.sh-dlg__item b { font: 700 15px "Source Sans 3", sans-serif; color: var(--ink); }
.sh-dlg label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; color: #3d4a4d; }
.sh-dlg input { height: 42px; padding: 0 12px; border: 1px solid #cfdfe3; border-radius: 9px; font: 400 15.5px "Source Sans 3", sans-serif; }
.sh-dlg__fine { margin: 0; font-size: 12.5px; line-height: 1.4; color: #6a7779; }
.sh-dlg__msg { margin: 0; font-size: 14px; font-weight: 600; color: #146c43; } .sh-dlg__msg:empty { display: none; }
.sh-send { height: 44px; border: 0; border-radius: 10px; background: var(--teal); color: #fff; font: 600 15px "Source Sans 3", sans-serif; cursor: pointer; }
.sh-send:hover { background: #0a7a90; }
@media (max-width: 1180px) { .sh-tiles { display: flex; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; } .sh-tile { flex: none; width: 104px; } .sh-tile.on { box-shadow: inset 0 0 0 2px var(--teal); } }
@media (max-width: 860px) { .sh-hero__in { grid-template-columns: minmax(0, 1fr); } .sh-collage { display: none; } .sh-banner { justify-content: flex-start; } }
@media (max-width: 620px) { .sh-dlg form { grid-template-columns: 1fr; } .sh-dlg__art { padding: 14px 40px; } }
@media (max-width: 520px) { .sh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .sh-img { height: 112px; padding: 26px 12px 8px; } .sh-txt { padding: 10px 10px 0; } .sh-foot { flex-direction: column; gap: 3px; padding: 8px 10px 0; } .sh-notify { margin: 8px 10px 10px; } }
@media (prefers-reduced-motion: reduce) { .sh-float { animation: none; } .sh-card, .sh-tile, .sh-img .sh-art { transition: none; } }
main.sh > section { margin: 0 !important; max-width: none !important; width: 100% !important; border: 0 !important; box-shadow: none !important; }

/* second pass: hero mosaic, project ideas, sticky bar, cleaner cards */
.sh-collage { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.sh-float.f0 { grid-column: span 2; grid-row: span 2; padding: 6%; aspect-ratio: auto; }
.sh-float.f5, .sh-float.f6, .sh-float.f7 { display: none; }
.sh-float { background: linear-gradient(160deg, #fff, #e6f3f6); }
.sh-kits { padding: 22px 0 6px; }
.sh-kits header, .sh-sec header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sh-kits header { margin-bottom: 12px; }
.sh-kits h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sh-kits header span { font-size: 14px; color: var(--mute); }
.sh-kitgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sh-kit { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 14px 16px 15px; border: 1px solid #0d4a5a; border-radius: 16px; background: linear-gradient(150deg, #0a3a48, #0b5668); color: #fff; font-family: "Source Sans 3", sans-serif; text-align: left; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.sh-kit:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -20px rgba(6, 50, 64, .85); }
.sh-kit:focus-visible { outline: 3px solid #22b5cc; outline-offset: 2px; }
.sh-kit__art { display: flex; margin-bottom: 6px; }
.sh-kit__art .sh-art { width: 66px; height: 50px; margin-right: -8px; padding: 4px; border-radius: 11px; background: #fff; box-sizing: border-box; box-shadow: 0 6px 12px rgba(0, 0, 0, .25); filter: none; }
.sh-kit b { font-size: 17px; line-height: 1.2; font-weight: 600; }
.sh-kit small { flex: 1; font-size: 13.5px; line-height: 1.4; color: #bfe3ea; }
.sh-kit em { margin-top: 5px; font-style: normal; font-size: 13.5px; font-weight: 600; color: #5fe0f2; }
.sh-active { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: #0a3a48; color: #fff; font-size: 15px; font-weight: 600; }
.sh-active button { border: 0; background: none; color: #5fe0f2; font: 600 14px "Source Sans 3", sans-serif; cursor: pointer; white-space: nowrap; }
.sh-tools { position: sticky; top: 72px; z-index: 5; margin: 0 calc(clamp(16px, 3vw, 40px) * -1); padding: 8px clamp(16px, 3vw, 40px); background: rgba(246, 250, 251, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sh-sec { scroll-margin-top: 130px; }
.sh-txt small { display: none; }
.sh-img { height: 164px; }
.sh-oos { left: auto; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; background: rgba(255, 255, 255, .92); color: #8a4b08; box-shadow: 0 1px 4px rgba(10, 40, 50, .18); }
.sh-oos::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d98a0b; }
.sh-oos--in { background: #fff4e0; box-shadow: none; }
.sh-more { display: block; margin: 14px auto 0; padding: 10px 22px; border: 1px solid #cfdfe3; border-radius: 999px; background: #fff; color: #0a6f83; font: 600 14.5px "Source Sans 3", sans-serif; cursor: pointer; }
.sh-more:hover { border-color: var(--teal); background: #eef8fa; }
.sh-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 34px; padding: 22px 26px; border-radius: 18px; background: linear-gradient(135deg, #0b8fa8, #06475a); color: #fff; }
.sh-ask b { display: block; font-size: 21px; font-weight: 600; }
.sh-ask span { font-size: 15px; color: #d6f1f6; }
.sh-ask a { padding: 11px 22px; border-radius: 10px; background: #fff; color: #0a5f72; font-weight: 700; font-size: 15px; text-decoration: none; }
@media (max-width: 1000px) { .sh-kitgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .sh-tools { top: 60px; } }
@media (max-width: 520px) { .sh-kitgrid { grid-template-columns: 1fr; } .sh-img { height: 120px; padding-top: 30px; } .sh-oos { right: 7px; top: 7px; } }
body.shop-page { overflow-x: clip !important; overflow-y: visible !important; }
.sh-tools { top: 0; }
@media (max-width: 860px) { .sh-tools { top: 0; } }

/* third pass: real image files, category pages, answers for search */
.sh-img { padding: 0; height: auto; aspect-ratio: 10 / 7; background: #eef5f7; overflow: hidden; }
.sh-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s; }
.sh-card:hover .sh-img img { transform: scale(1.05); }
.sh-float { padding: 0; overflow: hidden; background: #fff; }
.sh-float img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sh-float.f0 { padding: 0; }
.sh-tile { color: inherit; text-decoration: none !important; }
.sh-tile img { display: block; width: 100%; max-width: 78px; aspect-ratio: 10 / 7; height: auto; border-radius: 9px; object-fit: cover; }
.sh-kit__art img { width: 72px; height: 50px; margin-right: -8px; border-radius: 11px; object-fit: cover; background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, .25); }
.sh-dlg__art { padding: 0; background: #eef5f7; }
.sh-dlg__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sh-hero--cat { padding-bottom: clamp(24px, 3vw, 40px); }
.sh-hero--cat h1 { font-size: clamp(32px, 4vw, 50px); }
.sh-hero__pic { justify-self: end; width: min(100%, 380px); border-radius: 20px; overflow: hidden; box-shadow: 0 22px 44px rgba(0, 0, 0, .32); }
.sh-hero__pic img { display: block; width: 100%; height: auto; }
.sh-hero--cat .sh-lede { max-width: 640px; }
.sh-crumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; font-size: 14px; color: #a9d2db; }
.sh-crumbs a { color: #8fe3f1; text-decoration: none; } .sh-crumbs a:hover { text-decoration: underline; } .sh-crumbs i { font-style: normal; opacity: .55; } .sh-crumbs span { color: #fff; }
.sh-sec h2 a { color: inherit; text-decoration: none; } .sh-sec h2 a:hover { color: #0a6f83; }
.sh-more { display: table; text-decoration: none; }
.sh-compare { padding: 8px 0 36px; }
.sh-compare h2, .sh-faq h2, .sh-cross h2 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sh-answer { max-width: 860px; margin: 0 0 14px; font-size: 16.5px; line-height: 1.55; color: #3d4a4d; }
.sh-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sh-tablewrap table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 14.5px; }
.sh-tablewrap th, .sh-tablewrap td { padding: 11px 14px; border-bottom: 1px solid #edf3f5; text-align: left; vertical-align: top; color: #3d4a4d; }
.sh-tablewrap thead th { background: #eef6f8; font-size: 12.5px; font-weight: 600; color: #0a5f72; }
.sh-tablewrap tbody th { font-weight: 600; color: var(--ink); }
.sh-tablewrap tr:last-child th, .sh-tablewrap tr:last-child td { border-bottom: 0; }
.sh-faq { padding: 4px 0 36px; }
.sh-faqlist { display: grid; gap: 8px; max-width: 920px; }
.sh .faq__item { padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sh .faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; cursor: pointer; list-style: none; }
.sh .faq__item summary::-webkit-details-marker { display: none; }
.sh .faq__item summary::after { content: "+"; font-size: 20px; line-height: 1; color: #0a6f83; }
.sh .faq__item[open] summary::after { content: "–"; }
.sh .faq__q { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.sh .faq__a { padding: 0 16px 14px; }
.sh .faq__a p { margin: 0; font-size: 15px; line-height: 1.55; color: #3d4a4d; }
.sh-cross { padding: 0 0 64px; }
.sh-cross p { max-width: 920px; margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; color: #3d4a4d; }
.sh-cross a { color: #0a6f83; font-weight: 600; }
.sh-next { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sh-cross .sh-note { font-size: 13px; color: #6a7779; }
.sh-body { padding-bottom: 40px; }
@media (max-width: 860px) { .sh-hero__pic { display: none; } }
@media (max-width: 520px) { .sh-img { height: auto; padding: 0; } }
.sh-card { content-visibility: visible; contain-intrinsic-size: none; }

/* photographs: credits */
.sh-dlg__credit { margin: -4px 0 0; font-size: 12px; line-height: 1.35; color: #6a7779; }
.sh-dlg__credit a { color: inherit; }
.sh-note a { color: #0a6f83; }
.sh-credits table { min-width: 760px; }
.sh-credits img { display: block; width: 96px; height: auto; border-radius: 8px; }
.sh-credits a { color: #0a6f83; word-break: break-word; }
