
/* v3 강제 CSS 수정 */
html, body { margin:0 !important; padding:0 !important; background:#fff !important; }
body { font-family: 'Noto Sans KR', Arial, sans-serif !important; }
#hd, #tnb, #gnb, #wrapper_title, #container_title { display:none !important; }
#container, #wrapper { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
.sh-wrap, .sh-wrap * { box-sizing:border-box; }
.sh-wrap a { text-decoration:none; }
.sh-wrap img { max-width:100%; }

body{margin:0!important;background:#fff}.sh-wrap *{box-sizing:border-box}

:root{--sh-blue:#0f4c81;--sh-navy:#0b243d;--sh-gold:#f6b21a;--sh-bg:#f6f8fb;--sh-text:#101828;--sh-muted:#667085;--sh-line:#e4e7ec}
#hd,#wrapper_title,#container_title,#tnb,#gnb{display:none!important}
.sh-wrap{font-family:'Noto Sans KR',Arial,sans-serif;color:var(--sh-text);word-break:keep-all}
.sh-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.sh-top{background:var(--sh-navy);color:#dbe7f3;font-size:13px}
.sh-top .sh-container{height:34px;display:flex;justify-content:flex-end;align-items:center;gap:18px}
.sh-top a{color:#fff;font-weight:800}
.sh-header{position:sticky;top:0;z-index:99;background:#fff;border-bottom:1px solid var(--sh-line)}
.sh-nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.sh-logo img{height:42px;width:auto;max-width:260px;object-fit:contain}
.sh-menu{display:flex;gap:30px;align-items:center;font-weight:800}
.sh-menu a{color:#344054}
.sh-menu a:hover{color:var(--sh-blue)}
.sh-quote-btn{background:var(--sh-blue);color:#fff!important;padding:12px 20px;border-radius:999px;font-weight:900}
.sh-side{position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:90;display:grid;gap:8px}
.sh-side a{width:120px;min-height:54px;background:#fff;border:1px solid var(--sh-line);border-radius:16px;box-shadow:0 10px 30px rgba(16,24,40,.18);display:grid;place-items:center;text-align:center;color:var(--sh-blue);font-weight:900}
.sh-side a:first-child{background:var(--sh-blue);color:#fff;line-height:1.25}
.sh-hero{position:relative;min-height:690px;background:#111827;color:#fff;overflow:hidden}
.sh-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.75}
.sh-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.25),rgba(0,0,0,.62))}
.sh-hero-in{position:relative;z-index:1;min-height:690px;display:flex;align-items:center}
.sh-hero-box{max-width:920px;background:rgba(8,31,54,.86);border:1px solid rgba(255,255,255,.22);border-radius:26px;padding:34px}
.sh-hero-box h1{font-size:54px;line-height:1.15;margin:0 0 14px;letter-spacing:-.05em;color:#fff}
.sh-hero-box p{font-size:20px;color:rgba(255,255,255,.92);margin:0}
.sh-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.sh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;border-radius:12px;padding:0 24px;font-weight:900;text-decoration:none!important}
.sh-btn.primary{background:var(--sh-gold);color:#111827}
.sh-btn.dark{background:#fff;color:var(--sh-blue)}
.sh-btn.outline{border:1px solid var(--sh-blue);color:var(--sh-blue);background:#fff}
.sh-section{padding:88px 0}
.sh-muted{background:var(--sh-bg)}
.sh-title{text-align:center;max-width:850px;margin:0 auto 44px}
.sh-title small{display:inline-block;color:var(--sh-blue);font-weight:900;letter-spacing:.12em;margin-bottom:8px}
.sh-title h2{font-size:42px;line-height:1.2;margin:0 0 12px;letter-spacing:-.05em;color:#101828}
.sh-title p{font-size:18px;color:var(--sh-muted);margin:0}
.sh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.sh-card{background:#fff;border:1px solid var(--sh-line);border-radius:24px;overflow:hidden;box-shadow:0 12px 30px rgba(16,24,40,.07)}
.sh-card img{width:100%;height:210px;object-fit:cover;background:#f8fafc}
.sh-card .in{padding:22px}
.sh-card h3{font-size:22px;line-height:1.35;margin:0 0 9px;color:#0b3158;letter-spacing:-.04em}
.sh-card p{color:#667085;min-height:76px;margin:0 0 16px}
.sh-card a{color:var(--sh-blue);font-weight:900}
.sh-sub-hero{background:linear-gradient(135deg,#0b243d,#0f4c81);color:#fff;padding:82px 0}
.sh-sub-hero h1{font-size:50px;line-height:1.2;margin:0 0 10px;color:#fff;letter-spacing:-.04em}
.sh-sub-hero p{font-size:19px;color:rgba(255,255,255,.9);max-width:900px}
.sh-product-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:46px;align-items:start}
.sh-product-main{width:100%;height:440px;object-fit:cover;border-radius:28px;box-shadow:0 24px 60px rgba(16,24,40,.14);background:#fff}
.sh-spec{display:grid;gap:14px}
.sh-spec-item{background:#fff;border:1px solid var(--sh-line);border-radius:18px;padding:20px;box-shadow:0 8px 20px rgba(16,24,40,.05)}
.sh-spec-item b{display:block;color:var(--sh-blue);font-size:18px;margin-bottom:7px}
.sh-map-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.sh-map-card{background:#fff;border:1px solid var(--sh-line);border-radius:24px;overflow:hidden;box-shadow:0 12px 30px rgba(16,24,40,.07)}
.sh-map-card img,.sh-map-card iframe{width:100%;height:420px;object-fit:cover;border:0}
.sh-map-card figcaption{padding:16px 18px;color:var(--sh-blue);font-weight:900}
.sh-footer{background:#101828;color:#d0d5dd;padding:42px 0 100px}
.sh-footer p{margin:4px 0}
.sh-mobile-cta{display:none}
@media(max-width:1100px){.sh-grid{grid-template-columns:repeat(2,1fr)}.sh-side{display:none}.sh-menu{display:none}}
@media(max-width:760px){.sh-container{width:min(100% - 28px,1180px)}.sh-hero,.sh-hero-in{min-height:640px}.sh-hero-box{padding:24px}.sh-hero-box h1{font-size:36px}.sh-section{padding:68px 0}.sh-grid,.sh-product-layout,.sh-map-grid{grid-template-columns:1fr}.sh-title h2,.sh-sub-hero h1{font-size:34px}.sh-card img,.sh-product-main{height:260px}.sh-map-card img,.sh-map-card iframe{height:300px}.sh-mobile-cta{position:fixed;left:0;right:0;bottom:0;z-index:120;display:grid;grid-template-columns:1fr 1fr 1fr}.sh-mobile-cta a{height:58px;display:grid;place-items:center;font-weight:900;color:#fff}.sh-mobile-cta a:nth-child(1){background:var(--sh-blue)}.sh-mobile-cta a:nth-child(2){background:#111827}.sh-mobile-cta a:nth-child(3){background:var(--sh-gold);color:#111827}}


/* v4 메뉴 글씨 확대 / 헤더 가독성 개선 */
.sh-top { font-size:15px !important; }
.sh-top .sh-container { height:38px !important; }
.sh-nav { height:92px !important; }
.sh-logo img { height:58px !important; max-width:340px !important; }
.sh-menu { gap:42px !important; font-size:18px !important; font-weight:900 !important; }
.sh-menu a { color:#102a43 !important; letter-spacing:-0.02em; }
.sh-quote-btn { font-size:17px !important; padding:15px 28px !important; border-radius:999px !important; }
.sh-hero { min-height:720px !important; }
.sh-hero-in { min-height:720px !important; }
@media(max-width:1100px){
  .sh-menu { display:none !important; }
  .sh-logo img { height:46px !important; }
  .sh-nav { height:76px !important; }
}


/* v8 오른쪽 고정 버튼: 블로그/쇼핑몰 추가 */
.sh-side{
    top:52% !important;
}
.sh-side a{
    width:128px !important;
    min-height:50px !important;
    font-size:15px !important;
}
.sh-side a[href*="blog.naver.com"]{
    background:#03c75a !important;
    color:#fff !important;
}
.sh-side a[href*="smartstore.naver.com"]{
    background:#111827 !important;
    color:#fff !important;
}
@media(max-width:760px){
    .sh-mobile-cta{
        grid-template-columns:repeat(5,1fr) !important;
    }
    .sh-mobile-cta a{
        height:56px !important;
        font-size:13px !important;
    }
    .sh-mobile-cta a:nth-child(4){
        background:#03c75a !important;
        color:#fff !important;
    }
    .sh-mobile-cta a:nth-child(5){
        background:#111827 !important;
        color:#fff !important;
    }
}


/* v12 메인 시공사진 갤러리: 메뉴만 표시 */
.sh-main-works-menu-only{
    clear:both;
    background:#f4f7fb;
    padding:86px 0 96px;
}
.sh-main-works-menu-title{
    text-align:center;
    margin-bottom:34px;
}
.sh-main-works-menu-title span{
    display:block;
    font-size:14px;
    font-weight:900;
    letter-spacing:.18em;
    color:#0f4c81;
    margin-bottom:10px;
}
.sh-main-works-menu-title h2{
    font-size:46px;
    line-height:1.18;
    letter-spacing:-.06em;
    color:#111827;
    margin:0 0 12px;
    font-weight:900;
}
.sh-main-works-menu-title p{
    font-size:19px;
    color:#667085;
    margin:0;
}
.sh-main-works-menu-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    max-width:1120px;
    margin:0 auto;
}
.sh-main-works-menu-grid a{
    display:flex;
    min-height:78px;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:16px 18px;
    border-radius:18px;
    background:#fff;
    border:1px solid #d0d5dd;
    color:#0b3158 !important;
    font-size:20px;
    line-height:1.35;
    font-weight:900;
    text-decoration:none !important;
    box-shadow:0 12px 28px rgba(16,24,40,.06);
    transition:.18s;
}
.sh-main-works-menu-grid a:hover{
    background:#0f4c81;
    color:#fff !important;
    transform:translateY(-3px);
}
.sh-main-works-menu-grid a.all{
    background:#0f4c81;
    color:#fff !important;
}
.sh-main-works-menu-grid a.all:hover{
    background:#0b3158;
}
@media(max-width:1024px){
    .sh-main-works-menu-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
    .sh-main-works-menu-only{padding:60px 0 74px}
    .sh-main-works-menu-title h2{font-size:34px}
    .sh-main-works-menu-title p{font-size:16px}
    .sh-main-works-menu-grid{grid-template-columns:1fr;gap:12px}
    .sh-main-works-menu-grid a{
        min-height:62px;
        font-size:18px;
    }
}



/* =========================================================
   성현하이텍 v16 제품소개 카드 정렬 / 자세히 보기 확대
   자동 적용 패치
   ========================================================= */

/* 제품 카드 그리드 정렬 */
body .sh-product-grid,
body .sh-products-grid,
body .product-grid,
body .products-grid,
body .sh-prod-grid,
body .sh-card-grid,
body .product-list,
body .products-list,
body .sh-product-list,
body .sh-products-list{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:28px !important;
    align-items:stretch !important;
}

/* 제품 카드 높이 정렬 */
body .sh-product-card,
body .sh-products-card,
body .product-card,
body .products-card,
body .sh-prod-card,
body .sh-card,
body .sh-product-grid > *,
body .sh-products-grid > *,
body .product-grid > *,
body .products-grid > *,
body .sh-card-grid > *,
body .product-list > *,
body .products-list > *,
body .sh-product-list > *,
body .sh-products-list > *{
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
    min-height:430px !important;
    overflow:hidden !important;
}

/* 제품 이미지 높이 통일 */
body .sh-product-card img,
body .sh-products-card img,
body .product-card img,
body .products-card img,
body .sh-prod-card img,
body .sh-card img,
body .sh-product-grid > * img,
body .sh-products-grid > * img,
body .product-grid > * img,
body .products-grid > * img,
body .sh-card-grid > * img,
body .product-list > * img,
body .products-list > * img,
body .sh-product-list > * img,
body .sh-products-list > * img{
    width:100% !important;
    height:210px !important;
    object-fit:cover !important;
    display:block !important;
}

/* 카드 내부 텍스트 영역 */
body .sh-product-card > div,
body .sh-products-card > div,
body .product-card > div,
body .products-card > div,
body .sh-prod-card > div,
body .sh-card > div,
body .sh-product-grid > * > div,
body .sh-products-grid > * > div,
body .product-grid > * > div,
body .products-grid > * > div,
body .sh-card-grid > * > div{
    display:flex !important;
    flex-direction:column !important;
    flex:1 !important;
}

/* 제품명 줄 높이 정렬 */
body .sh-product-card h2,
body .sh-product-card h3,
body .sh-products-card h2,
body .sh-products-card h3,
body .product-card h2,
body .product-card h3,
body .products-card h2,
body .products-card h3,
body .sh-card h2,
body .sh-card h3,
body .sh-product-grid > * h2,
body .sh-product-grid > * h3,
body .sh-products-grid > * h2,
body .sh-products-grid > * h3,
body .product-grid > * h2,
body .product-grid > * h3,
body .products-grid > * h2,
body .products-grid > * h3{
    min-height:74px !important;
    font-size:26px !important;
    line-height:1.25 !important;
    letter-spacing:-.05em !important;
    margin-bottom:14px !important;
}

/* 설명문 높이 정렬 */
body .sh-product-card p,
body .sh-products-card p,
body .product-card p,
body .products-card p,
body .sh-card p,
body .sh-product-grid > * p,
body .sh-products-grid > * p,
body .product-grid > * p,
body .products-grid > * p{
    min-height:58px !important;
    line-height:1.6 !important;
}

/* 자세히 보기 버튼 확대 */
body .sh-product-card a[href],
body .sh-products-card a[href],
body .product-card a[href],
body .products-card a[href],
body .sh-card a[href],
body .sh-product-grid > * a[href],
body .sh-products-grid > * a[href],
body .product-grid > * a[href],
body .products-grid > * a[href],
body .sh-card-grid > * a[href]{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:max-content !important;
    min-width:140px !important;
    min-height:52px !important;
    padding:0 24px !important;
    border-radius:999px !important;
    background:#0f4c81 !important;
    color:#fff !important;
    font-size:18px !important;
    font-weight:900 !important;
    text-decoration:none !important;
    margin-top:auto !important;
    box-shadow:0 10px 22px rgba(15,76,129,.20) !important;
}

body .sh-product-card a[href]:hover,
body .sh-products-card a[href]:hover,
body .product-card a[href]:hover,
body .products-card a[href]:hover,
body .sh-card a[href]:hover,
body .sh-product-grid > * a[href]:hover,
body .sh-products-grid > * a[href]:hover,
body .product-grid > * a[href]:hover,
body .products-grid > * a[href]:hover,
body .sh-card-grid > * a[href]:hover{
    background:#0b3158 !important;
    color:#fff !important;
    transform:translateY(-2px) !important;
}

@media(max-width:1100px){
    body .sh-product-grid,
    body .sh-products-grid,
    body .product-grid,
    body .products-grid,
    body .sh-prod-grid,
    body .sh-card-grid,
    body .product-list,
    body .products-list,
    body .sh-product-list,
    body .sh-products-list{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    }
}

@media(max-width:640px){
    body .sh-product-grid,
    body .sh-products-grid,
    body .product-grid,
    body .products-grid,
    body .sh-prod-grid,
    body .sh-card-grid,
    body .product-list,
    body .products-list,
    body .sh-product-list,
    body .sh-products-list{
        grid-template-columns:1fr !important;
        gap:18px !important;
    }

    body .sh-product-card,
    body .sh-products-card,
    body .product-card,
    body .products-card,
    body .sh-prod-card,
    body .sh-card,
    body .sh-product-grid > *,
    body .sh-products-grid > *,
    body .product-grid > *,
    body .products-grid > *,
    body .sh-card-grid > *{
        min-height:auto !important;
    }

    body .sh-product-card h2,
    body .sh-product-card h3,
    body .sh-products-card h2,
    body .sh-products-card h3,
    body .product-card h2,
    body .product-card h3,
    body .products-card h2,
    body .products-card h3,
    body .sh-card h2,
    body .sh-card h3{
        min-height:auto !important;
        font-size:24px !important;
    }

    body .sh-product-card p,
    body .sh-products-card p,
    body .product-card p,
    body .products-card p,
    body .sh-card p{
        min-height:auto !important;
    }
}



/* =========================================================
   성현하이텍 v18 제품소개 설명문 +2px 확대
   ========================================================= */

/* 제품 카드 안 설명문 글씨 2px 확대 */
body .sh-product-card p,
body .sh-products-card p,
body .product-card p,
body .products-card p,
body .sh-prod-card p,
body .sh-card p,
body .sh-product-grid > * p,
body .sh-products-grid > * p,
body .product-grid > * p,
body .products-grid > * p,
body .sh-card-grid > * p,
body .product-list > * p,
body .products-list > * p,
body .sh-product-list > * p,
body .sh-products-list > * p{
    font-size:16px !important;
    line-height:1.65 !important;
}

/* 제품 상세/소개 설명에도 같은 톤 적용 */
body .sh-product-desc,
body .product-desc,
body .sh-card-desc,
body .card-desc{
    font-size:16px !important;
    line-height:1.65 !important;
}



/* =========================================================
   성현하이텍 v20 상단 메뉴 견적문의 버튼 복구
   quote.php 버튼 CSS 충돌 방지
   ========================================================= */
body .sh-header .sh-quote-btn,
body header .sh-quote-btn,
body .sh-nav .sh-quote-btn{
    width:auto !important;
    min-width:128px !important;
    max-width:170px !important;
    height:56px !important;
    min-height:56px !important;
    padding:0 28px !important;
    border-radius:999px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#0f4c81 !important;
    color:#fff !important;
    font-size:18px !important;
    font-weight:900 !important;
    white-space:nowrap !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

/* 견적문의 페이지 폼 안 버튼만 전체폭 */
body .sh-quote-form .sh-quote-submit{
    width:100% !important;
    min-height:56px !important;
    border:0 !important;
    border-radius:999px !important;
    background:#f6b21a !important;
    color:#111827 !important;
    font-size:19px !important;
    font-weight:900 !important;
    margin-top:24px !important;
    cursor:pointer !important;
}
body .sh-quote-form .sh-quote-submit:hover{
    background:#ffcc33 !important;
}



/* =========================================================
   성현하이텍 v24 회사 대표전화 우선 노출
   ========================================================= */

/* 상단바 전화번호가 2개일 때 정렬 */
.sh-top .sh-container,
body .sh-top .sh-container{
    gap:14px !important;
    flex-wrap:wrap !important;
}
.sh-top a[href^="tel:070"],
body .sh-top a[href^="tel:070"]{
    color:#fff !important;
    font-weight:900 !important;
}
.sh-top a[href^="tel:010"],
body .sh-top a[href^="tel:010"]{
    color:rgba(255,255,255,.82) !important;
    font-weight:700 !important;
}

/* 오른쪽 고정 대표전화 버튼 */
.sh-side a[href^="tel:070"],
body .sh-side a[href^="tel:070"]{
    background:#0f4c81 !important;
    color:#fff !important;
    font-size:15px !important;
    line-height:1.35 !important;
}

/* 모바일 하단 대표전화 */
.sh-mobile-cta a[href^="tel:070"],
body .sh-mobile-cta a[href^="tel:070"]{
    background:#0f4c81 !important;
    color:#fff !important;
    font-weight:900 !important;
}

/* 견적문의 페이지 대표전화 안내문 강조 */
.sh-quote-title p,
body .sh-quote-title p{
    line-height:1.7 !important;
}



/* =========================================================
   성현하이텍 v29 상단 팩스번호 표시
   ========================================================= */
.sh-top .sh-container,
body .sh-top .sh-container{
    flex-wrap:wrap !important;
    gap:10px 16px !important;
}
.sh-top-fax,
body .sh-top-fax{
    display:inline-flex !important;
    align-items:center !important;
    color:rgba(255,255,255,.86) !important;
    font-size:14px !important;
    font-weight:800 !important;
    white-space:nowrap !important;
}
.sh-top-fax:before,
body .sh-top-fax:before{
    content:"|" !important;
    margin:0 10px 0 2px !important;
    color:rgba(255,255,255,.35) !important;
}
@media(max-width:768px){
    .sh-top-fax,
    body .sh-top-fax{
        font-size:12px !important;
    }
    .sh-top-fax:before,
    body .sh-top-fax:before{
        margin:0 6px !important;
    }
}
