/* Keep the original theme control and handler, but align it with the header. */
body:has(#idea-hero) div.fixed:has(>button[aria-pressed]>svg:is(.lucide-moon,.lucide-sun)){top:20px;bottom:auto;right:40px;z-index:50}
body:has(#idea-hero) header>div>div:has(>#site-account-actions){margin-right:56px}
@media(min-width:768px) and (max-width:1023px){body:has(#idea-hero) div.fixed:has(>button[aria-pressed]>svg:is(.lucide-moon,.lucide-sun)){right:32px}}
@media(max-width:767px){body:has(#idea-hero) header>div>div:has(>#site-account-actions){margin-right:0}body:has(#idea-hero) div.fixed:has(>button[aria-pressed]>svg:is(.lucide-moon,.lucide-sun)){right:140px}}
@media(max-width:360px){body:has(#idea-hero) div.fixed:has(>button[aria-pressed]>svg:is(.lucide-moon,.lucide-sun)){top:84px;right:20px}}
.product-catalog,.product-detail-page{--product-ink:#111;--product-muted:#686868;--product-line:#dedede;--product-surface:#f5f6f7;color:var(--product-ink);letter-spacing:0}
.product-container{max-width:1440px;margin:0 auto;padding:0 48px}
#sign-up .company-contact-buttons a[data-register-link]{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;max-width:100%;box-sizing:border-box;padding:12px 28px;border-radius:999px;font-family:inherit;font-size:14px;font-weight:700;line-height:1.5;text-decoration:none;white-space:nowrap;cursor:pointer;transition:opacity .18s ease,transform .18s ease}
#sign-up .company-contact-buttons a.company-contact-primary[data-register-link]{border:1px solid transparent;background:var(--surface-foreground);color:var(--surface)}
#sign-up .company-contact-buttons a.company-contact-secondary[data-register-link]{border:1px solid currentColor;background:transparent;color:inherit}
#sign-up .company-contact-buttons a[data-register-link]:hover{opacity:.85}
#sign-up .company-contact-buttons a[data-register-link]:active{transform:translateY(1px)}
#sign-up .company-contact-buttons a[data-register-link]:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(prefers-reduced-motion:reduce){#sign-up .company-contact-buttons a[data-register-link]{transition:none}#sign-up .company-contact-buttons a[data-register-link]:active{transform:none}}
.gallery-center-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:20px;padding:8px 18px;border:1px solid #d5d5d5;border-radius:999px;font-size:14px;line-height:1.5;color:var(--foreground);background:var(--background)}.gallery-center-link:hover{background:var(--muted)}
.gallery-product-image .gallery-product-cover{display:block;width:100%;height:100%;object-fit:cover;transition:filter .24s ease,transform .24s ease}
#gallery .gallery-product{--gallery-cover-height:200px;width:calc(var(--gallery-cover-height) * 1672 / 941)}
@media(min-width:640px){#gallery .gallery-product{--gallery-cover-height:262.5px}}
#gallery .gallery-product-image{height:var(--gallery-cover-height);aspect-ratio:1672/941}
.gallery-product-image{position:relative;isolation:isolate;width:100%;box-sizing:border-box}
#gallery .gallery-track-paused{transform:var(--gallery-paused-transform)!important}
.gallery-product-image::after{content:"";position:absolute;inset:0;background:#171717;opacity:0;pointer-events:none;transition:opacity .24s ease}
.gallery-product-action{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,calc(-50% + 8px));opacity:0;pointer-events:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;min-width:140px;padding:0 20px;box-sizing:border-box;border-radius:999px;background:#fff;color:#111;font-size:14px;font-weight:600;line-height:1.3;white-space:nowrap;box-shadow:0 4px 18px #00000014;transition:opacity .24s ease,transform .24s ease}
.gallery-product-image:is(:hover,:focus-visible)::after{opacity:.14}
.gallery-product-image:is(:hover,:focus-visible) .gallery-product-cover{filter:grayscale(.35) brightness(.96);transform:scale(1.015)}
.gallery-product-image:is(:hover,:focus-visible) .gallery-product-action{opacity:1;transform:translate(-50%,-50%)}
.gallery-product-image:active .gallery-product-cover{transform:scale(.99);filter:grayscale(.45) brightness(.91)}
.gallery-product-image:active .gallery-product-action{transform:translate(-50%,-50%) scale(.96)}
@media(hover:none){.gallery-product-action{opacity:1;left:auto;right:12px;top:auto;bottom:12px;transform:none;min-height:40px;min-width:116px;padding:0 14px;font-size:13px}.gallery-product-image:is(:hover,:focus-visible,:active) .gallery-product-action{transform:none}.gallery-product-image:hover::after{opacity:0}.gallery-product-image:hover .gallery-product-cover{filter:none;transform:none}}
@media(prefers-reduced-motion:reduce){.gallery-product-image .gallery-product-cover,.gallery-product-image::after,.gallery-product-action{transition:none}.gallery-product-image:is(:hover,:focus-visible,:active) .gallery-product-cover{transform:none}}
#gallery{scroll-margin-top:96px}.gallery-product-image{display:block;overflow:hidden;border-radius:8px;aspect-ratio:16/10}.gallery-product-image .product-card-media{height:100%;padding:20px 16px 0;gap:12px;box-sizing:border-box}.gallery-product-image .product-screen{border-width:3px;flex-basis:28%;height:260px}.gallery-product-image .product-screen-side{margin-top:24px}.gallery-product-caption{font-size:12px;line-height:1.7;color:#686868;margin-top:12px;white-space:normal}.gallery-product-image:focus-visible{outline:2px solid #111;outline-offset:4px}#gallery .flex.w-max:has(.gallery-product-image:hover),#gallery .flex.w-max:has(.gallery-product-image:focus-within){animation-play-state:paused}
#products.product-catalog{display:block!important;padding:96px 0;scroll-margin-top:84px;background:#fff}
.product-section-heading{margin-bottom:32px}.product-section-heading h2{font-size:32px;font-weight:600;line-height:1.3;margin:0 0 12px}.product-section-heading p{font-size:16px;color:var(--product-muted);margin:0;line-height:1.7}
.product-card{display:block;max-width:680px;border:1px solid var(--product-line);border-radius:8px;overflow:hidden;text-decoration:none;color:inherit!important;background:white;transition:box-shadow .2s,border-color .2s}
.product-card:hover{border-color:#aaa;box-shadow:0 12px 36px #0000000c}.product-card:focus-visible,.product-detail-page a:focus-visible,.product-detail-page button:focus-visible,.product-detail-page select:focus-visible{outline:2px solid #111;outline-offset:5px}
.product-card-media{height:360px;overflow:hidden;display:flex;gap:20px;justify-content:center;align-items:flex-start;padding:42px 26px 0;background:#f1f2f4}
.product-screen{flex:0 0 27%;max-width:170px;border:5px solid #fff;border-bottom:0;border-radius:8px 8px 0 0;overflow:hidden;box-shadow:0 8px 30px #00000013;background:white;height:340px}.product-screen img{width:100%;height:auto;display:block}.product-screen-main{margin-top:0}.product-screen-side{margin-top:40px}
.product-card-content{padding:28px 32px}.product-card-content h3{margin:0 0 8px;font-size:26px;font-weight:600;line-height:1.4}.product-card-content p{font-size:16px;line-height:1.6;margin:0 0 16px;color:#565656}.product-feature-list{font-size:14px;line-height:1.9;color:#686868;overflow-wrap:anywhere}.product-detail-link{display:inline-flex;gap:8px;align-items:center;font-size:15px;margin-top:24px;font-weight:600}.product-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.product-detail-page{margin:0;font-family:Arial,"Microsoft YaHei",sans-serif;background:#fff;font-size:16px;line-height:1.7}.product-detail-page *{box-sizing:border-box}.product-detail-page a{color:inherit;text-decoration:none}.product-detail-header{height:80px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between;gap:16px}.product-brand{display:flex;align-items:center;gap:12px;font-weight:600}.product-brand img{width:32px;height:32px}.product-detail-controls{display:flex;align-items:center;gap:24px}.product-back{display:inline-flex;align-items:center;gap:8px;font-size:14px}.product-select{position:relative}.product-select select{appearance:none;border:1px solid #d4d4d4;border-radius:6px;background:#fff;color:#111;padding:10px 36px 10px 12px;font:inherit;font-size:14px;cursor:pointer}.product-select .product-icon{pointer-events:none;position:absolute;right:12px;top:15px;width:14px;height:14px}
.product-detail-hero{padding-top:64px;padding-bottom:48px}.product-detail-hero h1{font-size:48px;line-height:1.25;margin:0 0 16px;font-weight:600;overflow-wrap:anywhere}.product-detail-subtitle{font-size:24px;line-height:1.5;margin:0 0 24px}.product-detail-description{max-width:720px;font-size:17px;color:var(--product-muted);margin:0}.product-detail-tags{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:28px;color:#555;font-size:14px}
.product-preview-band{background:var(--product-surface);padding:40px 0 48px}.product-preview-heading{font-size:14px;color:#666;margin:0 0 18px;font-weight:400}.product-preview-tabs{display:flex;border-bottom:1px solid #d5d5d5;gap:28px;margin-bottom:32px}.product-preview-tabs button{font:inherit;font-size:16px;border:0;border-bottom:2px solid transparent;padding:12px 0;background:transparent;color:#666;cursor:pointer;min-height:48px}.product-preview-tabs button[aria-selected=true]{color:#111;border-color:#111;font-weight:600}
.product-preview-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:56px;max-width:900px;margin:auto}.product-preview-image{width:280px;height:606px;overflow:hidden;border:7px solid #fff;border-radius:8px;box-shadow:0 16px 40px #00000012;justify-self:center;background:#fff}.product-preview-image img{width:100%;height:auto;display:block}.product-preview-panel p{font-size:22px;line-height:1.8;max-width:360px;margin:0;overflow-wrap:anywhere}
.product-detail-features{padding:72px 0}.product-detail-features h2{font-size:28px;line-height:1.5;margin:0 0 32px;font-weight:600}.product-detail-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}.product-detail-feature-grid h3{font-size:18px;margin:16px 0 10px;line-height:1.5;font-weight:600}.product-detail-feature-grid p{font-size:16px;color:#686868;margin:0;overflow-wrap:anywhere}.product-detail-feature-grid .product-icon{width:24px;height:24px}.product-detail-footer{padding:32px 0 48px;border-top:1px solid #eee}.product-detail-footer .product-container{display:flex;align-items:center;justify-content:space-between;gap:24px}.product-detail-footer p{font-size:16px;margin:0;color:#666}.product-contact{background:#111;color:white!important;border-radius:6px;padding:12px 20px;display:inline-flex;align-items:center;gap:10px;font-size:15px}
@media(max-width:800px){.product-container{padding:0 24px}#products.product-catalog{padding:64px 0}.product-section-heading h2{font-size:28px}.product-detail-hero h1{font-size:36px}.product-detail-subtitle{font-size:20px}.product-detail-header{height:72px}.product-detail-controls{gap:16px}.product-detail-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.product-preview-panel{gap:28px}.product-preview-panel p{font-size:18px}.product-preview-image{width:248px;height:537px}}
@media(max-width:520px){.product-container{padding:0 20px}.product-card-media{height:270px;gap:12px;padding:28px 12px 0}.product-screen{flex-basis:29%;border-width:3px;height:270px}.product-screen-side{margin-top:28px}.product-card-content{padding:24px}.product-card-content h3{font-size:24px}.product-feature-list{font-size:14px}.product-detail-hero{padding-top:40px;padding-bottom:32px}.product-detail-header .product-brand span{display:none}.product-detail-controls{gap:14px}.product-preview-panel{grid-template-columns:minmax(0,1fr);gap:24px}.product-preview-panel p{max-width:320px;justify-self:center;font-size:16px}.product-preview-tabs{gap:22px}.product-preview-tabs button{font-size:14px}.product-preview-band{padding-top:28px}.product-detail-features{padding:48px 0}.product-detail-features h2{font-size:24px}.product-detail-feature-grid{gap:28px 20px}.product-detail-feature-grid h3{font-size:16px}.product-detail-footer .product-container{align-items:flex-start;flex-direction:column}.product-preview-image{width:248px;height:537px}}
@media(prefers-reduced-motion:reduce){.product-card{transition:none}}
