@charset "utf-8";
@import url("../basic/style.css");
/* 제품목록 전용: 공통 헤더·사이드바·견적문의·푸터에는 스타일을 적용하지 않습니다. */
#bo_list.ds-product-board { --ds-pl-blue:#087eea; --ds-pl-ink:#203b50; --ds-pl-muted:#587186; --ds-pl-rule:#dce6ed; width:100%; min-width:0; margin:0 0 34px; box-sizing:border-box; background:#fff; font-family:"Pretendard Variable","Pretendard",sans-serif; color:var(--ds-pl-ink); }
.ds-product-board *, .ds-product-board *::before, .ds-product-board *::after { box-sizing:border-box; }
.ds-product-board, .ds-product-board * {font-family:"Pretendard Variable","Pretendard",sans-serif!important;}
.ds-product-board a { color:inherit; text-decoration:none; }
.ds-product-board button, .ds-product-board input { font-family:"Pretendard Variable","Pretendard",sans-serif; }
.ds-product-board a:focus-visible, .ds-product-board button:focus-visible, .ds-product-board input:focus-visible { outline:2px solid var(--ds-pl-blue); outline-offset:3px; }
.ds-product-board-visually-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.ds-product-board-intro { padding:0 0 16px; }
.ds-product-board-overline { display:flex;align-items:center;gap:12px;margin-bottom:22px;color:#087eea;font-size:12px;font-weight:700;letter-spacing:.1em; }
.ds-product-board-rule { display:block;width:30px;height:3px;flex:0 0 30px;background:#087eea; }
.ds-product-board-intro h2 { margin:0 0 10px; color:#19374e; font-family:"Pretendard Variable","Pretendard",sans-serif; font-size:clamp(25px,2.5vw,33px);font-weight:700;letter-spacing:-.04em;line-height:1.35;word-break:keep-all; }
.ds-product-board-intro p { margin:0; color:var(--ds-pl-muted);font-size:14px;line-height:1.75; }
/* 63: Standard DS ELECTRIC category tabs, matching the certification list tabs. */
.ds-product-board-categories { display:flex;width:100%;min-height:55px;border-bottom:1px solid #d4e1ea;margin:4px 0 21px; }
.ds-product-board-tab { position:relative;display:flex;flex:1;min-width:0;min-height:55px;align-items:center;justify-content:center;text-align:center;border-bottom:3px solid transparent;padding:10px 10px 8px;color:#607b90!important;font-size:max(var(--ds-min-font,12px),15px);font-weight:650;line-height:1.4;overflow-wrap:anywhere; }
.ds-product-board-tab+.ds-product-board-tab::before { content:"";position:absolute;top:14px;bottom:13px;left:0;width:1px;background:#dce7ef; }
.ds-product-board-tab:hover { color:#0068aa!important; }
.ds-product-board-tab.is-active { color:#0068aa!important;border-bottom-color:#087dc0;font-weight:750; }
.ds-product-board-summary { display:flex;justify-content:space-between;align-items:center;gap:12px;padding:26px 0 15px;border-bottom:1px solid var(--ds-pl-rule); }
.ds-product-board-summary h3 { margin:0;color:#47677e;font-family:"Pretendard Variable","Pretendard",sans-serif;font-size:15px;font-weight:700; }
.ds-product-board-summary p { margin:0;color:#667f92;font-size:13px;white-space:nowrap; }
.ds-product-board-summary strong { margin:0 5px;color:#096eae;font-size:17px;font-weight:700; }
.ds-product-board-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr)); }
.ds-product-board-card { position:relative;min-width:0;min-height:210px;border-bottom:1px solid #e2eaf0; }
.ds-product-board-card:nth-child(odd) {border-right:1px solid #e2eaf0;}
.ds-product-board-card-link { display:flex;align-items:center;gap:15px;height:100%;min-height:210px;padding:18px 10px 18px 0; }
.ds-product-board-card:nth-child(even) .ds-product-board-card-link {padding-left:15px;padding-right:0;}
.ds-product-board-image {display:flex;align-items:center;justify-content:center;flex:0 0 42%;max-width:170px;min-width:0;height:164px;overflow:hidden;}
.ds-product-board-image img {display:block;max-width:100%;width:100%;height:100%;object-fit:contain;}
.ds-product-board-copy {display:flex;flex:1;min-width:0;min-height:130px;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;}
.ds-product-board-category-label,.ds-product-board-notice{display:block;color:#1677b1;font-size:12px;font-weight:700;line-height:1.45;}
.ds-product-board-notice {color:#9d5632;}
.ds-product-board-name,.ds-product-board-model {display:block;max-width:100%;font-size:clamp(17px,1.8vw,21px);font-weight:700;line-height:1.35;letter-spacing:-.03em;color:var(--ds-pl-ink);overflow-wrap:anywhere;}
.ds-product-board-description {color:var(--ds-pl-muted);font-size:13px;line-height:1.75;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.ds-product-board-detail {display:inline-block;margin-top:4px;color:#0c6ca9;font-size:13px;font-weight:700;line-height:1.4;}
.ds-product-board-card-link:hover .ds-product-board-name,.ds-product-board-card-link:hover .ds-product-board-model,.ds-product-board-card-link:hover .ds-product-board-detail {color:var(--ds-pl-blue);}
.ds-product-board-select {position:absolute;top:8px;left:8px;z-index:1;background:#fff;border:1px solid #e1e8ee;padding:3px 4px;display:flex;align-items:center;}
.ds-product-board-select input {width:17px;height:17px;margin:0;accent-color:var(--ds-pl-blue);}
.ds-product-board-empty {margin:0;padding:65px 15px;text-align:center;color:var(--ds-pl-muted);font-size:15px;border-bottom:1px solid var(--ds-pl-rule);}
.ds-product-board-paging {margin:25px 0;}
.ds-product-board-paging .pg_wrap {display:block;margin:0;text-align:center;}
.ds-product-board-paging .pg {display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;}
.ds-product-board-paging .pg_page,.ds-product-board-paging .pg_current {display:inline-flex;justify-content:center;align-items:center;min-width:34px;height:34px;margin:0;padding:4px 8px;border:1px solid transparent;background:transparent;color:#60778a;font-size:13px;font-weight:700;text-decoration:none;box-shadow:none;border-radius:0;}
.ds-product-board-paging .pg_current {background:#086caf;color:#fff;}
.ds-product-board-paging .pg_page:hover{color:var(--ds-pl-blue);border-color:#c7d9e7;}
.ds-product-board-paging .pg_start,.ds-product-board-paging .pg_prev,.ds-product-board-paging .pg_next,.ds-product-board-paging .pg_end {min-width:40px;width:auto;background:none;font-size:12px;text-indent:0;}
.ds-product-board-tools {display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:18px 0 20px;}
.ds-product-board-tools a {padding:9px 12px;font-size:13px;color:#36576e;border:1px solid #d1e0ea;}
.ds-product-board-tools a.ds-product-board-write {background:#0e699f;border-color:#0e699f;color:#fff;}
.ds-product-board-tools a:hover {color:var(--ds-pl-blue);}
.ds-product-board-tools a.ds-product-board-write:hover {color:#e9f3ff;}
.ds-product-board-admin-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 0 0;font-size:13px;}
.ds-product-board-admin-actions label {display:inline-flex;align-items:center;gap:6px;margin-right:auto;}
.ds-product-board-admin-actions button {border:1px solid #c9d8e3;background:#fff;color:#36576e;padding:8px 12px;font-size:13px;cursor:pointer;}
.ds-product-board-admin-actions button:hover {color:var(--ds-pl-blue);}
/* 64: B-2 soft-round search, compact 44px controls (B-3 vertical height only). */
.ds-product-board-search {display:block;margin:30px 0 0;padding:0;background:transparent;border:0;}
.ds-product-board-search h3 {display:block;margin:0 0 19px;padding:0 0 0 10px;border:0;white-space:normal;font-family:"Pretendard Variable","Pretendard",sans-serif;font-size:14px;font-weight:760;line-height:1.45;color:#25465f;}
.ds-product-board-search form {display:flex;align-items:stretch;flex:1;min-width:0;gap:10px;margin:0;}
.ds-product-board-search input[type="search"] {appearance:none;flex:1;min-width:0;width:100%;height:44px;min-height:44px;padding:0 15px;background:transparent;border:1px solid #cbdce7;color:#17364d;font-size:14px;line-height:1.5;border-radius:7px;box-shadow:none;}
.ds-product-board-search input[type="search"]:focus {outline:0;border-color:#086fb7;box-shadow:none;}
.ds-product-board-search input[type="search"]::placeholder {color:#98a9b6;opacity:1;}
.ds-product-board-search button[type="submit"] {display:inline-flex;flex:none;align-items:center;justify-content:center;gap:8px;min-width:108px;height:44px;min-height:44px;padding:0 16px;border:1px solid #086fb7;border-radius:7px;background:#fff;color:#086fb7;font-size:14px;font-weight:750;line-height:1.3;white-space:nowrap;box-shadow:none;cursor:pointer;}
.ds-product-board-search button[type="submit"]:hover {color:#005d9f;border-color:#005d9f;background:#fff;}
.ds-product-board-search :is(input,button):focus-visible {outline:0;border-color:#086fb7;}
.ds-product-board-search button[type="submit"] svg {display:block;flex:none;width:17px;height:17px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.ds-product-board-search button[type="submit"] span {display:block;line-height:1.3;}
.ds-product-board-reset {font-size:13px;color:#41647d!important;text-decoration:underline!important;white-space:nowrap;}
.ds-product-board-reset:hover {color:var(--ds-pl-blue)!important;}
@media (max-width:1120px) { .ds-product-board-card-link { gap:9px; } .ds-product-board-image {max-width:145px;flex-basis:40%;height:145px;} .ds-product-board-card:nth-child(even) .ds-product-board-card-link{padding-left:10px;} .ds-product-board-name,.ds-product-board-model{font-size:18px;} }
@media (max-width:800px) { .ds-product-board-grid {grid-template-columns:1fr;} .ds-product-board-card:nth-child(odd){border-right:0;} .ds-product-board-card-link {gap:18px;min-height:190px;padding:16px 0;} .ds-product-board-card:nth-child(even) .ds-product-board-card-link{padding:16px 0;} .ds-product-board-image {flex:0 0 34%;height:154px;max-width:190px;} .ds-product-board-name,.ds-product-board-model{font-size:20px;} }
@media (max-width:600px) { .ds-product-board-intro h2{font-size:27px;} .ds-product-board-intro p{font-size:13px;} .ds-product-board-summary{padding:22px 0 13px;} .ds-product-board-card-link{gap:12px;min-height:173px;padding:14px 0;} .ds-product-board-card:nth-child(even) .ds-product-board-card-link {padding:14px 0;} .ds-product-board-image{flex:0 0 39%;height:140px;} .ds-product-board-name,.ds-product-board-model{font-size:18px;} .ds-product-board-copy{gap:6px;min-height:118px;} .ds-product-board-description{font-size:12px;-webkit-line-clamp:2;} .ds-product-board-search{padding:0;} .ds-product-board-search form{width:100%;gap:8px;} .ds-product-board-search button[type="submit"]{min-width:94px;padding:0 10px;} .ds-product-board-paging .pg_page,.ds-product-board-paging .pg_current{min-width:30px;height:32px;font-size:12px;} }
@media (max-width:370px) { .ds-product-board-image{flex-basis:36%;height:125px;} .ds-product-board-name,.ds-product-board-model{font-size:17px;} .ds-product-board-search input[type="search"]{font-size:13px;padding:0 11px;} .ds-product-board-search button[type="submit"]{padding:0 10px;} }

.ds-product-board .ds-product-board-model{color:#0d74ac;}

/* 55: Align card text with the image's top and its detail link with the image's bottom. */
.ds-product-board-card-link{--ds-pl-photo-height:164px;}
.ds-product-board-card-link .ds-product-board-image,
.ds-product-board-card-link .ds-product-board-copy{height:var(--ds-pl-photo-height);}
.ds-product-board-card-link .ds-product-board-copy{min-height:0;justify-content:flex-start;}
.ds-product-board-card-link .ds-product-board-detail{margin-top:auto;}
@media (max-width:1120px){.ds-product-board-card-link{--ds-pl-photo-height:145px;}}
@media (max-width:800px){.ds-product-board-card-link{--ds-pl-photo-height:154px;}}
@media (max-width:600px){.ds-product-board-card-link{--ds-pl-photo-height:140px;}}
@media (max-width:370px){.ds-product-board-card-link{--ds-pl-photo-height:125px;}}

/* 58: Match the product overline to the sidebar's blue top rule.
   Keep the mobile overline at its natural start where the sidebar title is hidden. */
#bo_list.ds-product-board .ds-product-board-overline { margin-bottom: 13px; }
@media (min-width: 981px) {
  #bo_list.ds-product-board .ds-product-board-overline { margin-top: -9px; }
}

/* 63: Matching certification tab responsive dimensions. */
@media (max-width:700px) {
 .ds-product-board-categories { min-height:47px;overflow-x:auto;scrollbar-width:thin;margin-bottom:12px; }
 .ds-product-board-tab { min-height:47px;font-size:max(var(--ds-min-font,10px),13px);padding:8px 10px; }
}

/* 66: Actual vertical spacing independent of inherited heading margins.
   Put the label at a 12px inset and preserve an 18px gap above the form. */
#bo_list.ds-product-board > section.ds-product-board-search {
    display: flex !important;
    flex-direction: column;
    row-gap: 18px;
}
#bo_list.ds-product-board > section.ds-product-board-search > h3 {
    display: block;
    margin: 0 !important;
    padding: 0 0 0 12px !important;
}
#bo_list.ds-product-board > section.ds-product-board-search > form {
    margin: 0;
}

/* 69: D-1 Classic Typography pagination, consistent 14px labels and numbers (product + certification).
   Keep GnuBoard's actual page URLs and navigation; style presentation only.
   Default B-2 soft-round search design stays unchanged. */
#bo_list.ds-product-board .ds-product-board-paging .pg_wrap,
#bo_list.ds-cert-board .ds-cert-pagination .pg_wrap { display:block;float:none;clear:both;width:100%;margin:0;padding:0;text-align:center;background:transparent;border:0; }
#bo_list.ds-product-board .ds-product-board-paging .pg,
#bo_list.ds-cert-board .ds-cert-pagination .pg { display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 5px;min-height:40px;margin:0;padding:0;font-size:0; }
#bo_list.ds-product-board .ds-product-board-paging .pg > :is(a.pg_page, strong.pg_current),
#bo_list.ds-cert-board .ds-cert-pagination .pg > :is(a.pg_page, strong.pg_current) { position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:40px;margin:0;padding:2px 9px;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;text-indent:0!important;overflow:visible;color:#72899a!important;font-family:"Pretendard Variable","Pretendard",sans-serif!important;font-size:14px!important;font-weight:550;line-height:1;text-decoration:none;white-space:nowrap; }
#bo_list.ds-product-board .ds-product-board-paging .pg > strong.pg_current,
#bo_list.ds-cert-board .ds-cert-pagination .pg > strong.pg_current { font-size:14px!important;font-weight:800!important;letter-spacing:-.025em;color:#0873b9!important; }
#bo_list.ds-product-board .ds-product-board-paging .pg > a.pg_page:hover,
#bo_list.ds-cert-board .ds-cert-pagination .pg > a.pg_page:hover { background:transparent!important;border:0!important;color:#0862a0!important;text-decoration:none; }
#bo_list.ds-product-board .ds-product-board-paging .pg > a.pg_page:focus-visible,
#bo_list.ds-cert-board .ds-cert-pagination .pg > a.pg_page:focus-visible { outline:2px solid #0873b9;outline-offset:2px; }
#bo_list.ds-product-board .ds-product-board-paging .pg > :is(a.pg_page:not(.pg_start,.pg_prev,.pg_next,.pg_end),strong.pg_current) ~ :is(a.pg_page:not(.pg_start,.pg_prev,.pg_next,.pg_end),strong.pg_current)::before,
#bo_list.ds-cert-board .ds-cert-pagination .pg > :is(a.pg_page:not(.pg_start,.pg_prev,.pg_next,.pg_end),strong.pg_current) ~ :is(a.pg_page:not(.pg_start,.pg_prev,.pg_next,.pg_end),strong.pg_current)::before { content:"";position:absolute;top:50%;left:-3px;transform:translateY(-50%);width:1px;height:13px;background:#d4e1e9;pointer-events:none; }
#bo_list.ds-product-board .ds-product-board-paging .pg > :is(a.pg_start,a.pg_prev,a.pg_next,a.pg_end),
#bo_list.ds-cert-board .ds-cert-pagination .pg > :is(a.pg_start,a.pg_prev,a.pg_next,a.pg_end) { min-width:43px;width:auto;margin:0 8px;padding:2px 5px;color:#8599a8!important;font-size:14px!important;font-weight:600;letter-spacing:0; }
@media(max-width:600px) {
#bo_list.ds-product-board .ds-product-board-paging .pg,
#bo_list.ds-cert-board .ds-cert-pagination .pg { column-gap:0;row-gap:4px; }
#bo_list.ds-product-board .ds-product-board-paging .pg > :is(a.pg_page, strong.pg_current),
#bo_list.ds-cert-board .ds-cert-pagination .pg > :is(a.pg_page, strong.pg_current) { min-width:35px;height:40px;padding:2px 5px;font-size:14px!important; }
#bo_list.ds-product-board .ds-product-board-paging .pg > strong.pg_current,
#bo_list.ds-cert-board .ds-cert-pagination .pg > strong.pg_current { font-size:14px!important; }
#bo_list.ds-product-board .ds-product-board-paging .pg > :is(a.pg_start,a.pg_prev,a.pg_next,a.pg_end),
#bo_list.ds-cert-board .ds-cert-pagination .pg > :is(a.pg_start,a.pg_prev,a.pg_next,a.pg_end) { min-width:37px;margin:0 4px;padding:2px 5px;font-size:14px!important; }
#bo_list.ds-product-board .ds-product-board-paging .pg > :is(a.pg_page:not(.pg_start,.pg_prev,.pg_next,.pg_end),strong.pg_current) ~ :is(a.pg_page:not(.pg_start,.pg_prev,.pg_next,.pg_end),strong.pg_current)::before,
#bo_list.ds-cert-board .ds-cert-pagination .pg > :is(a.pg_page:not(.pg_start,.pg_prev,.pg_next,.pg_end),strong.pg_current) ~ :is(a.pg_page:not(.pg_start,.pg_prev,.pg_next,.pg_end),strong.pg_current)::before { left:-2px; }
}
@media(max-width:360px) {
#bo_list.ds-product-board .ds-product-board-paging .pg > :is(a.pg_start,a.pg_prev,a.pg_next,a.pg_end),
#bo_list.ds-cert-board .ds-cert-pagination .pg > :is(a.pg_start,a.pg_prev,a.pg_next,a.pg_end) { min-width:33px;margin:0 3px;padding:2px 3px; }
}

/* On narrow screens, keep longer page groups in one line instead of
   breaking a number/divider onto a new row. Short groups stay centered. */
@media (max-width:600px) {
#bo_list.ds-product-board .ds-product-board-paging .pg_wrap,
#bo_list.ds-cert-board .ds-cert-pagination .pg_wrap {display:flex;justify-content:safe center;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;}
#bo_list.ds-product-board .ds-product-board-paging .pg,
#bo_list.ds-cert-board .ds-cert-pagination .pg {flex:0 0 auto;flex-wrap:nowrap;}
}
