/*
Theme Name: XINCHEN Store
Description: 面向工业传感器、通信设备和技术产品的 WooCommerce 定制主题。
Version: 0.3.0
Text Domain: gdunion-store
*/

:root {
    --gd-primary: #45c8bd;
    --gd-sky: #45c8bd;
    --gd-sky-soft: #e2f6f2;
    --gd-navy: #003f3a;
    --gd-ink: #103d39;
    --gd-muted: #577570;
    --gd-surface: #f3f8f6;
    --gd-border: #d9e8e4;
    --gd-radius: 18px;
    --gd-container: 1240px;
    --gd-shadow: 0 22px 60px rgba(0, 63, 58, .11);
}

.gd-language { position: relative; font-size: 13px; flex-shrink: 0; }
.gd-language summary { cursor: pointer; padding: 10px 8px; list-style: none; white-space: nowrap; }
.gd-language summary::-webkit-details-marker { display: none; }
.gd-language nav { position: absolute; inset-inline-end: 0; top: 100%; z-index: 100; min-width: 190px; padding: 8px; background: white; border: 1px solid var(--gd-border); border-radius: 10px; box-shadow: var(--gd-shadow); }
.gd-language nav a { display: block; padding: 9px 12px; text-decoration: none; color: var(--gd-ink); border-radius: 5px; }
.gd-language nav a:hover, .gd-language nav a[aria-current] { background: var(--gd-surface); }
html:not([lang^="zh"]) .gd-title-line { white-space: normal; }
html:not([lang^="zh"]) .gd-hero h1 { font-size: clamp(34px, 4.1vw, 62px); }
html:not([lang^="zh"]) .gd-actions { gap: 10px; }
html:not([lang^="zh"]) .gd-sensor-cart button { white-space: normal; }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .gd-logo { margin-right: 0; margin-left: auto; }
html[dir="rtl"] .gd-sensor-model, html[dir="rtl"] .gd-sensor-price, html[dir="rtl"] .gd-quantity-control, html[dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .gd-description-content ul { padding-left: 0; padding-right: 24px; }
html[dir="rtl"] .gd-hero h1 { letter-spacing: 0; line-height: 1.45; }
html[dir="rtl"] .woocommerce form { text-align: right; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="number"] { direction: ltr; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--gd-ink);
    background: #fff;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.admin-bar .gd-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gd-container { width: min(calc(100% - 48px), var(--gd-container)); margin-inline: auto; }

/* Header */
.gd-announcement {
    min-height: 39px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: #fff;
    background: #45c8bd;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .025em;
}
.gd-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,37,54,.1); backdrop-filter: blur(18px); }
.gd-nav { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.gd-logo { display: flex; align-items: center; flex: 0 0 auto; }
.gd-logo img { width: 144px; max-height: 46px; object-fit: contain; }
.gd-menu { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.gd-menu a { position: relative; padding: 27px 0 25px; font-size: 14px; font-weight: 750; }
.gd-menu a::after { content: ""; position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; background: var(--gd-sky); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.gd-menu a:hover { color: var(--gd-sky); }
.gd-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.gd-actions { display: flex; align-items: center; gap: 9px; }
.gd-action { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid var(--gd-border); border-radius: 999px; font-size: 13px; font-weight: 750; transition: .2s ease; }
.gd-action:hover { border-color: var(--gd-sky); color: var(--gd-sky); }
.gd-cart { gap: 8px; color: #fff; border-color: var(--gd-navy); background: var(--gd-navy); }
.gd-cart:hover { color: #fff; border-color: var(--gd-sky); background: var(--gd-sky); }
.gd-cart b { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 99px; color: var(--gd-navy); background: #fff; font-size: 10px; }
.gd-menu-toggle { width: 42px; height: 42px; display: none; place-content: center; gap: 5px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.gd-menu-toggle span { width: 23px; height: 2px; display: block; background: var(--gd-ink); transition: .2s ease; }
.gd-menu-toggle.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.gd-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.gd-menu-toggle.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Shared */
.gd-section { padding: 104px 0; }
.gd-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 42px; }
.gd-heading h2, .gd-use-cases h2 { margin: 0; font-size: clamp(34px, 4.2vw, 55px); line-height: 1.12; letter-spacing: -.045em; }
.gd-heading > p { max-width: 480px; margin: 0 0 6px; color: var(--gd-muted); }
.gd-button, .button, button.button, input.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 23px;
    border: 1px solid var(--gd-navy) !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--gd-navy) !important;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.gd-button:hover, .button:hover, button.button:hover, input.button:hover { color: #fff !important; border-color: var(--gd-sky) !important; background: var(--gd-sky) !important; transform: translateY(-2px); }
.gd-button-primary { border-color: var(--gd-sky) !important; background: var(--gd-sky) !important; box-shadow: 0 12px 28px rgba(0,158,227,.25); }
.gd-button-primary:hover { border-color: #008cc9 !important; background: #008cc9 !important; }
.gd-button-outline { color: var(--gd-navy) !important; background: transparent !important; }
.gd-button-outline:hover { color: #fff !important; background: var(--gd-navy) !important; border-color: var(--gd-navy) !important; }
.gd-text-link { display: inline-flex; align-items: center; gap: 13px; padding: 8px 0 6px; border-bottom: 1px solid currentColor; color: var(--gd-navy); font-size: 14px; font-weight: 800; }
.gd-text-link span { transition: transform .2s ease; }
.gd-text-link:hover { color: var(--gd-sky); }
.gd-text-link:hover span { transform: translateX(4px); }

/* Hero */
.gd-hero { overflow: hidden; position: relative; min-height: 690px; display: flex; align-items: stretch; background: #f5f9f7; }
.gd-hero::before { content: ""; position: absolute; inset: 0 0 0 52%; background: radial-gradient(circle at 48% 44%, rgba(69,200,189,.30), transparent 30%), linear-gradient(145deg, #dff3ef 0%, #b8e1db 100%); }
.gd-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 48px; }
.gd-hero-copy { padding: 82px 0 70px; }
.gd-hero h1 { max-width: 650px; margin: 0; color: var(--gd-navy); font-size: clamp(48px, 4.4vw, 62px); font-weight: 850; line-height: 1.08; letter-spacing: -.06em; }
.gd-title-line { display: block; white-space: nowrap; }
.gd-title-accent { color: var(--gd-sky); }
.gd-hero-intro { max-width: 590px; margin: 27px 0 0; color: #4c6575; font-size: 18px; line-height: 1.75; }
.gd-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.gd-hero-visual { position: relative; height: 100%; min-height: 690px; }
.gd-hero-visual::before { content: ""; position: absolute; top: 50%; left: 51%; width: min(88%, 590px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.58) 0%, rgba(255,255,255,.27) 44%, rgba(232,248,244,.16) 62%, rgba(232,248,244,0) 74%); filter: blur(10px); transform: translate(-50%,-50%); }
.gd-visual-grid { display: none; }
.gd-hero-product { position: absolute; top: 52%; left: 51%; width: 390px; aspect-ratio: 1; overflow: hidden; border: 12px solid rgba(255,255,255,.72); border-radius: 50%; background: #fff; box-shadow: 0 35px 75px rgba(0,63,58,.16); transform: translate(-50%,-50%) rotate(-4deg); }
.gd-hero-product img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transform: scale(1.06); }
.gd-device { position: absolute; top: 52%; left: 51%; width: 310px; height: 210px; padding: 27px; display: flex; align-items: flex-start; gap: 16px; border: 1px solid rgba(255,255,255,.85); border-radius: 34px; background: linear-gradient(150deg, rgba(255,255,255,.99), rgba(235,247,244,.98)); box-shadow: 0 35px 75px rgba(0,63,58,.18), inset 0 -12px 22px rgba(69,200,189,.07); transform: translate(-50%,-50%) rotate(-5deg); }
.gd-device-brand { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: var(--gd-sky); font-size: 15px; font-weight: 900; letter-spacing: -.05em; }
.gd-device > div { display: flex; flex-direction: column; padding-top: 2px; }
.gd-device > div strong { color: #173746; font-size: 15px; letter-spacing: .04em; }
.gd-device > div small { color: #79909a; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.gd-device-light { position: absolute; top: 32px; right: 29px; width: 9px; height: 9px; border-radius: 50%; background: #21c78a; box-shadow: 0 0 0 6px rgba(33,199,138,.15); }
.gd-device-port { position: absolute; bottom: 27px; width: 55px; height: 42px; border: 5px solid #647c87; border-bottom-width: 8px; border-radius: 5px; background: #183b4d; box-shadow: inset 0 0 0 3px #061f2d; }
.gd-device-port::after { content: ""; position: absolute; top: 7px; left: 8px; width: 4px; height: 4px; background: #ffd36a; box-shadow: 9px 0 #ffd36a, 18px 0 #ffd36a, 27px 0 #ffd36a; }
.gd-port-one { left: 27px; }
.gd-port-two { left: 96px; }
.gd-port-three { left: 165px; }

/* Products */
.gd-products-section { background: #fff; }
.gd-products-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.gd-products-intro h2 { margin: 0; font-size: clamp(38px,4.5vw,58px); line-height: 1.12; letter-spacing: -.045em; }
.gd-products-intro > p { max-width: 650px; margin: 20px auto 0; color: var(--gd-muted); }
.gd-sensor-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 23px; }
.gd-sensor-card { min-width: 0; }
.gd-sensor-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1.08; display: block; border-radius: 22px; background: #f4f7f5; }
.gd-sensor-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; transition: opacity .45s ease, transform .55s ease; }
.gd-sensor-image-alt { opacity: 0; transform: scale(1.04); }
.gd-sensor-card:hover .gd-sensor-image-main { opacity: 0; transform: scale(1.035); }
.gd-sensor-card:hover .gd-sensor-image-alt { opacity: 1; transform: scale(1); }
.gd-availability { position: absolute; z-index: 3; top: 15px; left: 15px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; color: #285d58; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(0,63,58,.08); font-size: 10px; font-weight: 800; }
.gd-availability i { width: 7px; height: 7px; border-radius: 50%; background: #2ac695; box-shadow: 0 0 0 4px rgba(42,198,149,.12); }
.gd-sensor-content { padding: 20px 3px 0; }
.gd-sensor-model { margin: 0 0 6px; color: #159f94; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.gd-sensor-content h3 { min-height: 54px; margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.gd-sensor-summary { min-height: 69px; margin: 11px 0 15px; color: var(--gd-muted); font-size: 12px; line-height: 1.65; }
.gd-sensor-specs { display: flex; flex-wrap: wrap; gap: 7px; }
.gd-sensor-specs span { padding: 5px 9px; border-radius: 999px; color: #356a64; background: #e8f5f2; font-size: 10px; font-weight: 750; }
.gd-sensor-price { min-height: 62px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--gd-border); }
.gd-sensor-price small { display: block; margin-bottom: 1px; color: #7a918d; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.gd-sensor-price .price, .gd-sensor-price .woocommerce-Price-amount { color: var(--gd-navy) !important; font-size: 21px !important; font-weight: 850 !important; line-height: 1.25; }
.gd-sensor-cart { display: grid; grid-template-columns: 94px 1fr; gap: 8px; margin-top: 10px; }
.gd-quantity-control { min-height: 43px; display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; overflow: hidden; border: 1px solid var(--gd-border); border-radius: 999px; background: #fff; }
.gd-quantity-control button { width: 28px; height: 100%; padding: 0; border: 0; color: var(--gd-navy); background: transparent; font-size: 17px; font-weight: 700; cursor: pointer; }
.gd-quantity-control button:hover { color: var(--gd-sky); }
.gd-quantity-control input { min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; color: var(--gd-ink); background: transparent; text-align: center; font-size: 12px; font-weight: 800; appearance: textfield; }
.gd-quantity-control input::-webkit-inner-spin-button, .gd-quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.gd-add-to-cart { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 0; border-radius: 999px; color: #fff; background: var(--gd-navy); font-size: 11px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.gd-add-to-cart:hover { background: var(--gd-sky); transform: translateY(-2px); }
.gd-sensor-unavailable { min-height: 52px; display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--gd-border); font-size: 11px; }
.gd-sensor-unavailable a { color: #159f94; font-weight: 800; }
.gd-heading-center { align-items: center; }
.gd-product-grid, .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4,1fr); gap: 22px; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; content: none !important; }
.gd-product-card, .woocommerce ul.products li.product { position: relative; float: none !important; width: auto !important; margin: 0 !important; padding: 0 0 20px !important; border: 0; border-bottom: 1px solid var(--gd-border); background: #fff; }
.gd-product-card .media, .woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1.08; display: grid; place-items: center; margin: 0 0 18px !important; border-radius: 2px; background: linear-gradient(145deg,#f2f5f6,#e6ecee); object-fit: contain; transition: transform .35s ease; }
.woocommerce ul.products li.product:hover a img { transform: translateY(-4px); }
.gd-placeholder { color: #89a0aa; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.gd-product-card h3, .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 48px; margin: 0 0 4px !important; padding: 0 !important; color: var(--gd-ink); font-size: 16px !important; line-height: 1.5; }
.woocommerce ul.products li.product .price { min-height: 27px; display: block; margin: 2px 0 13px !important; color: var(--gd-navy) !important; font-size: 16px !important; font-weight: 850 !important; }
.woocommerce ul.products li.product .button { width: 100%; min-height: 42px; margin-top: 5px !important; }
.woocommerce span.onsale { top: 12px !important; right: 12px !important; left: auto !important; min-width: auto !important; min-height: auto !important; padding: 5px 10px !important; border-radius: 999px !important; background: var(--gd-sky) !important; font-size: 10px !important; line-height: 1.2 !important; }
.gd-product-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gd-badge { padding: 4px 9px; border-radius: 999px; color: #176e66; background: #e3f6f2; font-size: 11px; font-weight: 800; }

/* Application ideas */
.gd-use-cases { overflow: hidden; color: var(--gd-ink); background: #e8f6f3; }
.gd-use-cases-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.gd-use-cases-intro > p { max-width: 620px; margin: 20px auto 0; color: var(--gd-muted); }
.gd-use-case-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.gd-use-case-card { min-width: 0; overflow: hidden; border: 1px solid rgba(0,63,58,.07); border-radius: 24px; background: #fff; box-shadow: 0 15px 40px rgba(0,63,58,.06); transition: transform .3s ease, box-shadow .3s ease; }
.gd-use-case-card:hover { box-shadow: 0 25px 55px rgba(0,63,58,.11); transform: translateY(-6px); }
.gd-use-case-media { position: relative; aspect-ratio: 1.16; overflow: hidden; background: linear-gradient(145deg,#f9fbf9,#eef4f1); }
.gd-use-case-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.gd-use-case-card:hover .gd-use-case-media img { transform: scale(1.035); }
.gd-use-case-content { padding: 23px 22px 22px; }
.gd-use-case-keywords { display: inline-flex; margin: 0 0 10px; padding: 6px 10px; border-radius: 999px; color: #147f77; background: #e8f6f3; font-size: 10px; font-weight: 850; line-height: 1.2; letter-spacing: .055em; }
.gd-use-case-content h3 { min-height: 54px; margin: 0; color: var(--gd-navy); font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.gd-use-case-description { min-height: 91px; margin-top: 12px; color: var(--gd-muted); font-size: 12px; line-height: 1.72; }
.gd-use-case-products { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gd-border); }
.gd-use-case-products > span { width: 100%; color: #7a918d; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.gd-use-case-products a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; color: #285d58; background: var(--gd-sky-soft); font-size: 10px; font-weight: 850; }
.gd-use-case-products a:hover { color: #fff; background: var(--gd-navy); }
.gd-use-case-products i { font-style: normal; font-size: 9px; }

/* Footer */
.gd-footer { padding: 65px 0 28px; color: rgba(255,255,255,.70); background: #003f3a; }
.gd-footer-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 31px; border-bottom: 1px solid rgba(255,255,255,.14); }
.gd-footer-logo { display: inline-flex; align-items: center; }
.gd-footer-logo img { width: 144px; max-height: 36px; display: block; filter: brightness(0) invert(1); }
.gd-footer-head p { margin: 0; font-size: 13px; }
.gd-footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 45px; padding: 49px 0; }
.gd-footer-grid section { display: flex; flex-direction: column; gap: 9px; }
.gd-footer h3 { margin: 0 0 8px; color: #fff; font-size: 13px; }
.gd-footer a, .gd-footer span, .gd-footer p { font-size: 12px; }
.gd-footer a:hover { color: #fff; }
.gd-footer-bottom { display: flex; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.gd-footer-bottom span { color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .04em; }

/* WooCommerce shared pages */
.gd-main { min-height: 60vh; padding: 64px 0 95px; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: auto !important; }
.woocommerce-tabs, .related.products { grid-column: 1 / -1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { display: none !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__image { cursor: default !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { cursor: default; }
.woocommerce div.product div.images .zoomImg { display: none !important; }
.gd-product-gallery-frame { display: block; }

.gd-product-details { grid-column: 1 / -1; margin-top: 45px; padding-top: 64px; border-top: 1px solid var(--gd-border); }
.gd-detail-heading { max-width: 780px; }
.gd-detail-heading p, .gd-specifications summary small { display: block; margin: 0 0 8px; color: #159f94; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.gd-detail-heading h2 { margin: 0; color: var(--gd-navy); font-size: clamp(34px,4.4vw,54px); line-height: 1.08; letter-spacing: -.045em; }
.gd-description-shell { position: relative; max-width: 900px; margin-top: 30px; }
.gd-description-content { position: relative; max-height: 285px; overflow: hidden; color: var(--gd-muted); transition: max-height .45s ease; }
.gd-description-content::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 110px; pointer-events: none; background: linear-gradient(to bottom,rgba(255,255,255,0),#fff 82%); transition: opacity .25s ease; }
.gd-description-content p { margin: 0 0 18px; font-size: 16px; line-height: 1.85; }
.gd-description-content h3 { margin: 31px 0 14px; color: var(--gd-ink); font-size: 17px; }
.gd-detail-highlights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.gd-detail-highlights li { position: relative; padding-left: 20px; color: var(--gd-ink); font-size: 14px; font-weight: 700; }
.gd-detail-highlights li::before { content: ""; position: absolute; top: .65em; left: 1px; width: 7px; height: 7px; border-radius: 50%; background: var(--gd-sky); box-shadow: 0 0 0 4px var(--gd-sky-soft); }
.gd-description-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 11px; margin-top: 8px; padding: 0; border: 0; color: var(--gd-navy); background: transparent; font-size: 13px; font-weight: 850; cursor: pointer; }
.gd-description-toggle i, .gd-specifications summary > i { position: relative; width: 28px; height: 28px; display: inline-block; flex: 0 0 auto; border: 1px solid var(--gd-border); border-radius: 50%; background: #fff; }
.gd-description-toggle i::before, .gd-description-toggle i::after, .gd-specifications summary > i::before, .gd-specifications summary > i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); transition: transform .25s ease; }
.gd-description-toggle i::after, .gd-specifications summary > i::after { transform: translate(-50%,-50%) rotate(90deg); }
.gd-description-shell.is-expanded .gd-description-content { max-height: 1200px; }
.gd-description-shell.is-expanded .gd-description-content::after { opacity: 0; }
.gd-description-shell.is-expanded .gd-description-toggle i::after { transform: translate(-50%,-50%) rotate(0deg); }
.gd-description-shell.is-not-collapsible .gd-description-content { max-height: none; }
.gd-description-shell.is-not-collapsible .gd-description-content::after { display: none; }

.gd-specifications { grid-column: 1 / -1; margin-top: 65px; border-top: 1px solid var(--gd-border); border-bottom: 1px solid var(--gd-border); }
.gd-specifications summary { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--gd-navy); cursor: pointer; list-style: none; font-size: clamp(23px,3vw,35px); font-weight: 850; line-height: 1.15; letter-spacing: -.03em; }
.gd-specifications summary::-webkit-details-marker { display: none; }
.gd-specifications summary:focus { outline: none; }
.gd-specifications summary:focus-visible { outline: 2px solid var(--gd-sky); outline-offset: 4px; }
.gd-specifications summary small { margin-bottom: 7px; letter-spacing: .1em; }
.gd-specifications[open] summary > i::after { transform: translate(-50%,-50%) rotate(0deg); }
.gd-specification-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px; padding: 5px 0 48px; }
.gd-specification-group h3 { margin: 0 0 17px; padding-bottom: 13px; border-bottom: 2px solid var(--gd-sky); color: var(--gd-navy); font-size: 15px; letter-spacing: .025em; }
.gd-specification-group dl { margin: 0; }
.gd-specification-group dl > div { display: grid; grid-template-columns: minmax(105px,.85fr) minmax(0,1.15fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--gd-border); font-size: 12px; line-height: 1.55; }
.gd-specification-group dt { color: var(--gd-muted); }
.gd-specification-group dd { margin: 0; color: var(--gd-ink); font-weight: 700; }
.gd-procurement { margin: 18px 0; padding: 15px; border-radius: 8px; background: var(--gd-surface); }
.gd-procurement dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 18px; margin: 0; }
.gd-procurement dt { color: var(--gd-muted); }
.gd-procurement dd { margin: 0; font-weight: 700; }

@media (max-width: 1100px) {
    .gd-nav { gap: 22px; }
    .gd-menu { gap: 20px; }
    .gd-hero-grid { gap: 25px; }
    .gd-product-grid, .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 980px) {
    body.admin-bar .gd-header { top: 46px; }
    .gd-menu-toggle { display: grid; }
    .gd-menu { display: none; position: absolute; top: calc(100% + 1px); right: 24px; left: 24px; margin: 0; padding: 14px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--gd-border); border-radius: 10px; background: #fff; box-shadow: var(--gd-shadow); }
    .gd-menu.is-open { display: flex; }
    .gd-menu a { padding: 12px 10px; border-bottom: 1px solid var(--gd-border); }
    .gd-menu a:last-child { border-bottom: 0; }
    .gd-menu a::after { display: none; }
    .gd-logo { margin-right: auto; }
    .gd-hero { min-height: auto; }
    .gd-hero::before { inset: 54% 0 0; }
    .gd-hero-grid { grid-template-columns: 1fr; }
    .gd-hero-copy { padding: 70px 0 28px; }
    .gd-hero-visual { min-height: 570px; }
    .gd-sensor-grid { grid-template-columns: repeat(2,1fr); gap: 36px 22px; }
    .gd-use-case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .woocommerce div.product { grid-template-columns: 1fr; }
    .gd-specification-groups { grid-template-columns: 1fr; gap: 34px; }
    .gd-footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
    body.admin-bar .gd-header { top: 0; }
    .gd-container { width: min(calc(100% - 30px), var(--gd-container)); }
    .gd-product-details { margin-top: 20px; padding-top: 48px; }
    .gd-description-content { max-height: 360px; }
    .gd-description-content p { font-size: 14px; line-height: 1.8; }
    .gd-detail-highlights { grid-template-columns: 1fr; }
    .gd-specifications { margin-top: 45px; }
    .gd-specifications summary { min-height: 90px; font-size: 24px; }
    .gd-specification-group dl > div { grid-template-columns: 112px minmax(0,1fr); gap: 12px; }
    .gd-announcement { min-height: 44px; padding: 8px 15px; text-align: center; font-size: 11px; line-height: 1.35; }
    .gd-nav { min-height: 66px; gap: 7px; }
    .gd-logo img { width: 112px; }
    .gd-account, .gd-cart span { display: none; }
    .gd-cart { width: 38px; min-width: 38px; padding: 0; border: 0; background: transparent; }
    .gd-cart::before { content: ""; width: 18px; height: 14px; border: 2px solid var(--gd-ink); border-top: 0; transform: skew(-7deg); }
    .gd-cart b { position: absolute; width: 17px; min-width: 17px; height: 17px; margin: -24px 0 0 20px; color: #fff; background: var(--gd-sky); }
    .gd-menu { right: 15px; left: 15px; }
    .gd-section { padding: 72px 0; }
    .gd-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
    .gd-heading h2, .gd-use-cases h2 { font-size: 37px; }
    .gd-hero-copy { padding: 56px 0 15px; }
    .gd-hero h1 { font-size: 39px; line-height: 1.1; }
    .gd-hero-intro { margin-top: 20px; font-size: 16px; }
    .gd-buttons { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 25px; }
    .gd-button { min-height: 48px; }
    .gd-hero-visual { min-height: 460px; margin: 0 -15px; }
    .gd-device { width: 235px; height: 164px; padding: 19px; border-radius: 17px; }
    .gd-hero-product { width: 280px; border-width: 9px; }
    .gd-device-brand { width: 37px; height: 37px; }
    .gd-device-light { top: 25px; right: 22px; }
    .gd-device-port { bottom: 21px; width: 43px; height: 33px; border-width: 4px; border-bottom-width: 6px; }
    .gd-device-port::after { top: 5px; left: 6px; box-shadow: 7px 0 #ffd36a, 14px 0 #ffd36a, 21px 0 #ffd36a; }
    .gd-port-one { left: 19px; } .gd-port-two { left: 71px; } .gd-port-three { left: 123px; }
    .gd-sensor-grid, .gd-product-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
    .gd-products-intro { margin-bottom: 32px; }
    .gd-sensor-media { aspect-ratio: 1.08; }
    .gd-sensor-content h3, .gd-sensor-summary { min-height: auto; }
    .gd-sensor-cart { grid-template-columns: 110px 1fr; }
    .gd-use-cases-intro { margin-bottom: 32px; }
    .gd-use-case-grid { grid-template-columns: 1fr; gap: 18px; }
    .gd-use-case-content h3, .gd-use-case-description { min-height: 0; }
    .gd-footer-head, .gd-footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
    .gd-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
