@import url('header.css');

:root {
    --bg: #ffffff;
    --bg-soft: #f4f4f4;
    --panel: #ffffff;
    --line: #e8e8e8;
    --text: #1a1a1a;
    --muted: #666666;
    --primary: #000000;
    --accent: #cc0c00;
    --container: 1320px;
}

body.site {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Malgun Gothic", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

body.b2c-popup-open {
    overflow: hidden;
}

.b2c-main-popup[hidden] {
    display: none !important;
}

.b2c-main-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.b2c-main-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(3px);
}

.b2c-main-popup-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.b2c-main-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.64);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.b2c-main-popup-image {
    background: #f5f6f8;
}

.b2c-main-popup-image img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.b2c-main-popup-body {
    padding: 26px 28px 24px;
    text-align: center;
}

.b2c-main-popup-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--accent);
}

.b2c-main-popup-body h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.b2c-main-popup-body p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.65;
}

.b2c-main-popup-link {
    margin-top: 18px;
}

.b2c-main-popup-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid #edf0f4;
    background: #fafbfc;
}

.b2c-main-popup-actions button {
    border: 0;
    background: transparent;
    color: #555;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.b2c-main-popup-ok {
    font-weight: 700;
    color: #111 !important;
}

.site-container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* --- 상단 유틸 (ASUS 스타일 얇은 바) --- */
.site-topbar {
    background: #2d2d2d;
    color: #ccc;
    font-size: 12px;
}

.site-topbar-inner {
    display: flex;
    justify-content: flex-end;
    padding: 6px 0;
}

.site-topbar-links a {
    color: #ccc;
    text-decoration: none;
}

.site-topbar-links a:hover {
    color: #fff;
}

.site-topbar-sep {
    margin: 0 10px;
    color: #555;
    user-select: none;
}

/* --- 산업용 사이트 준비중 안내 --- */
.industrial-prepare-page {
    min-height: calc(100vh - 64px);
    position: relative;
    overflow: hidden;
    background: #111;
}

.industrial-prepare-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.industrial-prepare-bg iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: blur(7px) grayscale(0.15);
    transform: scale(1.04);
    opacity: 0.55;
    pointer-events: none;
}

.industrial-prepare-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.4));
}

.industrial-prepare-panel {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

.industrial-prepare-card {
    width: min(420px, 100%);
    padding: 38px 34px 34px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    text-align: center;
}

.industrial-prepare-card h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111;
}

.industrial-prepare-card p {
    margin: 0 0 26px;
    color: #555;
    font-size: 15px;
}

.industrial-prepare-card .btn {
    min-width: 120px;
    justify-content: center;
}

/* --- 메인 헤더: 화이트 + 보더 --- */
.site-header-asus {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 24px;
}

.site-logo-asus {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #000;
    text-decoration: none;
}

.site-nav-asus {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.site-nav-asus .nav-link {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 14px;
    border-radius: 2px;
}

.site-nav-asus .nav-link:hover,
.site-nav-asus .nav-link.is-active {
    color: #000;
    background: #f0f0f0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    margin-right: 8px;
}

.lang-switch-sep {
    color: #ccc;
    user-select: none;
}

.lang-link {
    display: inline-flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.2;
    transition: color 0.22s ease, background-color 0.22s ease;
}

.lang-link:hover {
    color: var(--primary);
}

.lang-link.is-active {
    color: var(--primary);
    background: #f0f0f0;
}

.menu-products-asus {
    position: relative;
    display: inline-block;
}

.menu-products-asus .menu-products-panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    display: none;
    z-index: 120;
}

.menu-products-panel--lineup {
    min-width: 200px;
    padding: 6px 0;
    overflow: visible;
}

.menu-products-asus:hover .menu-products-panel {
    display: block;
}

.menu-products-asus .menu-products-panel a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #222;
    text-decoration: none;
}

.menu-products-asus .menu-products-panel a:hover {
    background: #f5f5f5;
    color: #000;
}

/* 제품 라인업 — 1단: 대분류만, hover 시 옆 flyout */
.menu-lineup-root {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-lineup-item {
    position: relative;
    margin: 0;
    padding: 0;
}

.menu-products-asus .menu-products-panel--lineup a.menu-lineup-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.menu-lineup-item--has-sub:hover > .menu-lineup-cat,
.menu-lineup-item--has-sub:focus-within > .menu-lineup-cat {
    background: #f5f5f5;
    color: #e63946;
}

.menu-lineup-chevron {
    font-size: 14px;
    line-height: 1;
    color: #aaa;
    font-weight: 400;
}

.menu-lineup-item--has-sub:hover .menu-lineup-chevron,
.menu-lineup-item--has-sub:focus-within .menu-lineup-chevron {
    color: #e63946;
}

.menu-lineup-flyout {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 168px;
    margin: 0;
    padding: 6px 0;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    z-index: 130;
}

.menu-lineup-flyout::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 0;
    width: 10px;
    height: 100%;
}

.menu-lineup-item--has-sub:hover .menu-lineup-flyout,
.menu-lineup-item--has-sub:focus-within .menu-lineup-flyout {
    display: block;
}

.menu-products-asus .menu-products-panel--lineup .menu-lineup-flyout a {
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 400;
    color: #666;
}

.menu-products-asus .menu-products-panel--lineup .menu-lineup-flyout a:hover {
    background: #f8f8f8;
    color: #111;
}

.menu-lineup-item--all {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}

.menu-lineup-cat--all {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #777 !important;
}

.menu-lineup-cat--all:hover {
    color: #111 !important;
}

/* --- 히어로 롤링 (대형 풀블리드) --- */
.hero-slider-lite {
    position: relative;
    min-height: min(72vh, 640px);
    max-height: 720px;
    overflow: hidden;
    background: #111;
}

.hero-slide-lite {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease;
    background-size: cover;
    background-position: center center;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 48px 0 80px;
}

.hero-slide-lite::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 0;
}

.hero-slide-lite .site-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-slide-lite.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-lite h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 640px;
}

.hero-slide-lite p {
    margin: 0;
    font-size: clamp(14px, 1.6vw, 17px);
    opacity: 0.92;
    max-width: 520px;
    line-height: 1.55;
}

.hero-cta {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-slide-lite .btn-primary {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
}

.hero-slide-lite .btn-primary:hover {
    background: transparent;
    color: #fff;
}

.hero-slide-lite .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    background: transparent;
}

.hero-slide-lite .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
}

.hero-dots button.is-active {
    background: #fff;
    transform: scale(1.15);
}

/* --- 카테고리 타일 띠 (ASUS 메인 중간 띠 느낌) --- */
.asus-category-strip {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 0 36px;
}

.asus-category-head {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 18px;
}

.asus-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.asus-cat-tile--accent {
    background: #111;
    color: #fff;
    border-color: #222;
}

.asus-cat-tile--accent strong,
.asus-cat-tile--accent span {
    color: #fff;
}

.asus-cat-tile--accent span {
    opacity: 0.85;
}

.asus-cat-tile--accent:hover {
    border-color: #444;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* --- G마켓 미니샵 전면 띠 --- */
.asus-minishop-hero {
    background: linear-gradient(105deg, #0a0a0a 0%, #1a1a2e 48%, #252540 100%);
    color: #fff;
    padding: 40px 0 44px;
}

.asus-minishop-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.asus-minishop-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.asus-minishop-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.asus-minishop-desc {
    margin: 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.btn-minishop {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
    padding: 12px 22px;
    font-size: 12px;
}

.btn-minishop:hover {
    background: transparent;
    color: #fff;
}

.asus-section-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.asus-section-title-tight {
    margin-bottom: 0;
}

.asus-product-grid--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.asus-product-card-price {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    color: #111;
}

.asus-product-card--shop h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.7em;
}

.asus-product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.asus-product-card-link:focus {
    outline: 2px solid #0046ad;
    outline-offset: 2px;
}

.asus-gmarket-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;
    text-align: center;
    color: var(--muted);
    background: #fafafa;
    border: 1px dashed var(--line);
}

.asus-cat-tile {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    padding: 18px 12px;
    text-align: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.asus-cat-tile:hover {
    border-color: #ccc;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.asus-cat-tile strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.asus-cat-tile span {
    font-size: 12px;
    color: var(--muted);
}

/* --- 섹션 공통 --- */
.asus-section {
    padding: 48px 0 56px;
}

.asus-section--alt {
    background: var(--bg-soft);
}

.section-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 8px;
}

.section-title {
    margin: 0 0 28px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- 제품 카드 (이미지 상단, ASUS 타일) --- */
.asus-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.asus-product-card {
    background: var(--panel);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.asus-product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.asus-product-card-img {
    aspect-ratio: 16 / 10;
    background: #f8f8f8;
    overflow: hidden;
}

.asus-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.asus-product-card-body {
    padding: 20px 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.asus-product-card-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
}

.asus-product-card-body p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

/* --- 지원 띠 --- */
.asus-support-strip {
    background: #1a1a1a;
    color: #eee;
    padding: 22px 0;
}

.asus-support-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.asus-support-inner p {
    margin: 0;
    font-size: 15px;
}

.asus-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.asus-support-links a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.asus-support-links a:hover {
    text-decoration: underline;
}

/* --- 오시는 길 (네이버 지도 퍼가기) --- */
.b2c-location {
    background: #f7f8fa;
    border-top: 1px solid var(--line);
    padding: 36px 0 40px;
}

.b2c-location-grid {
    display: grid;
}

.b2c-location-grid--split {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.65fr) minmax(260px, 0.78fr);
    grid-template-areas: "info map contact";
    gap: 18px 20px;
    align-items: stretch;
}

.b2c-location-info {
    grid-area: info;
    min-width: 0;
}

.b2c-location-info .b2c-location-address {
    margin-bottom: 16px;
}

.b2c-location-map-side {
    grid-area: map;
    align-self: stretch;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.b2c-kakao-static-map--compact {
    display: flex;
    flex: 1;
    margin: 0;
    max-width: 100%;
    border: 1px solid #d4d9e2;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f4f8;
}

.b2c-kakao-static-map--compact img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 300px;
    object-fit: cover;
}

.b2c-location-contact-col {
    grid-area: contact;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.b2c-location-contact-title {
    margin: 0 0 14px;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.b2c-location-contact-list {
    margin: 0 0 18px;
    padding: 0;
}

.b2c-location-contact-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 14px;
    padding: 12px 0;
    border-bottom: 1px solid #e8ebf0;
    align-items: baseline;
}

.b2c-location-contact-row:first-child {
    padding-top: 0;
}

.b2c-location-contact-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.b2c-location-contact-row dt {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.b2c-location-contact-row dd {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    word-break: keep-all;
}

.b2c-location-contact-row dd a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.b2c-location-contact-row dd a:hover {
    text-decoration: underline;
}

.b2c-location-contact-email {
    margin: 0 0 18px;
    font-size: 14px;
}

.b2c-location-contact-email a {
    color: #444;
    text-decoration: none;
}

.b2c-location-contact-email a:hover {
    text-decoration: underline;
}

.b2c-location-contact-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.b2c-location-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888;
}

.b2c-location-title {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.b2c-location-company {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.b2c-location-address {
    margin: 0 0 20px;
    font-style: normal;
    font-size: 15px;
    line-height: 1.65;
    color: #444;
}

.b2c-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.b2c-kakao-static-map {
    display: block;
    margin-top: 14px;
    border: 1px solid #d4d9e2;
    border-radius: 8px;
    overflow: hidden;
    max-width: 560px;
    background: #f2f4f8;
}

.b2c-kakao-static-map img {
    display: block;
    width: 100%;
    height: auto;
}

.b2c-location-map {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #e8e8e8;
    min-height: 360px;
}

.b2c-location-map iframe {
    display: block;
    width: 100%;
    min-height: 360px;
}

/* --- 푸터 --- */
.asus-footer {
    background: #f0f0f0;
    border-top: 1px solid var(--line);
    padding: 40px 0 24px;
    color: #444;
    font-size: 13px;
}

.asus-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.asus-footer h4 {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
}

.asus-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.asus-footer li {
    margin-bottom: 8px;
}

.asus-footer a {
    color: #555;
    text-decoration: none;
}

.asus-footer a:hover {
    color: #000;
    text-decoration: underline;
}

.asus-footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #777;
    font-size: 12px;
}

/* --- 공통 버튼 (내부 페이지용) --- */
.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 32px 24px 56px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 18px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-outline {
    border: 2px solid #ccc;
    color: var(--text);
    background: #fff;
}

.btn-buy {
    background: #111;
    color: #fff;
    border: 2px solid #111;
}

.btn-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* --- B2C 홈 전용 섹션 --- */
.b2c-hero-slider {
    position: relative;
    min-height: min(72vh, 640px);
    max-height: 720px;
    overflow: hidden;
    background: #101010;
}

.b2c-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease;
    background-size: cover;
    background-position: center center;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 48px 0 80px;
}

.b2c-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 0;
}

.b2c-hero-slide .site-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.b2c-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.b2c-hero-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.b2c-hero-slide h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 680px;
}

.b2c-hero-slide p {
    margin: 0;
    font-size: clamp(14px, 1.6vw, 17px);
    opacity: 0.94;
    max-width: 560px;
    line-height: 1.55;
}

.b2c-hero-cta {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.b2c-hero-slide .btn-primary {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
}

.b2c-hero-slide .btn-primary:hover {
    background: transparent;
    color: #fff;
}

.b2c-hero-slide .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    background: transparent;
}

.b2c-hero-slide .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* --- B2C 메인: 카테고리 카드 캐러셀 --- */
.b2c-cat-hero {
    background: linear-gradient(160deg, #0a0e16 0%, #121a2a 45%, #0f1420 100%);
    color: #e8eef9;
    padding: 36px 0 44px;
    border-bottom: 1px solid #1f2a3d;
}

.b2c-cat-hero-inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.35fr);
    gap: 28px;
    align-items: center;
}

.b2c-cat-hero-kicker {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7f93b8;
}

.b2c-cat-hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.b2c-cat-hero-copy p {
    margin: 0;
    max-width: 420px;
    color: #b8c6de;
    line-height: 1.55;
}

.b2c-cat-hero-cta {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.b2c-cat-hero .btn-primary {
    background: #e8eef9;
    color: #0f1420;
    border-color: #e8eef9;
}

.b2c-cat-hero .btn-outline {
    border-color: #4a5f86;
    color: #e8eef9;
    background: transparent;
}

.b2c-cat-carousel {
    position: relative;
    min-width: 0;
}

.b2c-cat-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;
}

.b2c-cat-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.b2c-cat-carousel-track {
    display: flex;
    gap: 14px;
}

.b2c-cat-carousel-card {
    flex: 0 0 min(78%, 300px);
    scroll-snap-align: start;
    text-decoration: none;
    color: #f2f6ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 22px 20px 18px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.b2c-cat-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.28);
}

.b2c-cat-carousel-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 8px;
}

.b2c-cat-carousel-card strong {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.b2c-cat-carousel-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    flex: 1;
}

.b2c-cat-carousel-go {
    margin-top: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.b2c-cat-carousel-card--ram {
    position: relative;
    overflow: hidden;
    padding: 22px 100px 18px 20px;
    background: linear-gradient(145deg, #1e3a5f, #2a4f7a);
}

.b2c-cat-carousel-card--ram .b2c-cat-carousel-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 72px;
    height: 72px;
    max-width: 40%;
    max-height: 45%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    opacity: 0.95;
    z-index: 1;
}

.b2c-cat-carousel-card--ssd {
	position: relative;
    overflow: hidden;
    padding: 22px 100px 18px 20px;
    background: linear-gradient(145deg, #1f3348, #2d4a63);
}

.b2c-cat-carousel-card--ssd .b2c-cat-carousel-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 72px;
    height: 72px;
    max-width: 40%;
    max-height: 45%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    opacity: 0.95;
    z-index: 1;
}

.b2c-cat-carousel-card--usb {
	position: relative;
    overflow: hidden;
    padding: 22px 100px 18px 20px;
    background: linear-gradient(145deg, #2a2f4a, #3a4168);
}

.b2c-cat-carousel-card--usb .b2c-cat-carousel-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 72px;
    height: 72px;
    max-width: 40%;
    max-height: 45%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    opacity: 0.95;
    z-index: 1;
}

.b2c-cat-carousel-card--ext {
	position: relative;
    overflow: hidden;
    padding: 22px 100px 18px 20px;
    background: linear-gradient(145deg, #24344a, #35506c);
}

.b2c-cat-carousel-card--ext .b2c-cat-carousel-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 72px;
    height: 72px;
    max-width: 40%;
    max-height: 45%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    opacity: 0.95;
    z-index: 1;
}

.b2c-cat-carousel-card--parts {
	position: relative;
    overflow: hidden;
    padding: 22px 100px 18px 20px;
    background: linear-gradient(145deg, #2b2438, #443456);
}

.b2c-cat-carousel-card--parts .b2c-cat-carousel-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 72px;
    height: 72px;
    max-width: 40%;
    max-height: 45%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    opacity: 0.95;
    z-index: 1;
}

.b2c-cat-carousel-card--store {
    background: linear-gradient(145deg, #3a2a1f, #5a3f2a);
}

.b2c-cat-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(10, 14, 22, 0.82);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.b2c-cat-carousel-btn:hover {
    background: rgba(20, 28, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.45);
}

.b2c-cat-carousel-btn--prev {
    left: -6px;
}

.b2c-cat-carousel-btn--next {
    right: -6px;
}

.b2c-cat-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.b2c-cat-carousel-dots button {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    padding: 0;
    cursor: pointer;
}

.b2c-cat-carousel-dots button.is-active {
    background: #fff;
    transform: scale(1.2);
}

.b2c-section {
    padding: 48px 0 56px;
}

.b2c-section-soft {
    background: #fff;
}

.b2c-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.b2c-section-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 8px;
}

.b2c-section-title {
    margin: 0 0 28px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.b2c-title-spaced {
    margin-bottom: 0;
}

.b2c-manifesto {
    background: #0e1118;
    color: #e6ebf5;
    padding: 40px 0;
    border-top: 1px solid #1f2432;
    border-bottom: 1px solid #1f2432;
}

.b2c-manifesto-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
}

.b2c-manifesto-kicker {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8c9cb8;
    font-weight: 700;
}

.b2c-manifesto-title {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.24;
    letter-spacing: -0.02em;
}

.b2c-manifesto-desc {
    margin: 0;
    max-width: 760px;
    color: #bcc8dd;
    line-height: 1.6;
}

.b2c-manifesto-points {
    display: grid;
    gap: 10px;
}

.b2c-manifesto-points article {
    background: #141a25;
    border: 1px solid #232b3a;
    padding: 14px;
}

.b2c-manifesto-points strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.b2c-manifesto-points span {
    font-size: 13px;
    color: #b5c2d8;
}

.b2c-scenario-strip {
    padding: 26px 0;
    background: #111722;
    border-bottom: 1px solid #1f2432;
}

.b2c-scenario-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.b2c-scenario-card {
    background: #182131;
    border: 1px solid #273249;
    padding: 16px;
    color: #d8e1f2;
}

.b2c-scenario-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.b2c-scenario-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #b8c4da;
}

.b2c-category-wall {
    background: #0f1420;
    color: #e7edf9;
    padding: 30px 0 36px;
}

.b2c-category-wall .b2c-section-kicker {
    color: #7f90ad;
}

.b2c-category-wall .b2c-section-title {
    color: #f2f6ff;
}

.b2c-category-strip {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 0 36px;
}

.b2c-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.b2c-category-grid-strong {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.b2c-cat-tile {
    display: block;
    background: #171f2e;
    border: 1px solid #273249;
    text-decoration: none;
    color: #e9eefb;
    padding: 18px 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.b2c-cat-tile:hover {
    border-color: #3f4f6b;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.b2c-cat-tile strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.b2c-cat-tile span {
    font-size: 13px;
    color: #aebbd5;
}

.b2c-cat-tile-accent {
    background: linear-gradient(140deg, #2a3f68, #314d80);
    border-color: #3f5f98;
}

.b2c-cat-tile-accent span {
    color: #dae5ff;
}

.b2c-store-highlight {
    background: linear-gradient(105deg, #0a0a0a 0%, #162239 52%, #21365d 100%);
    color: #fff;
    padding: 40px 0 44px;
}

.b2c-store-highlight-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.b2c-store-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.b2c-store-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.b2c-store-desc {
    margin: 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.b2c-product-grid {
    display: grid;
    gap: 18px;
}

.b2c-product-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 메인 홈 추천 상품 */
.b2c-product-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 1080px;
    margin: 0 auto;
}

.b2c-product-grid-home .b2c-product-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #c8c8c8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.b2c-product-grid-home .b2c-product-card:hover {
    transform: translateY(-4px);
    border-color: #999;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.b2c-product-grid-home .b2c-product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 172px;
    padding: 10px 12px;
    background: #fff;
}

.b2c-product-grid-home .b2c-product-img img {
    display: block;
    max-width: 100%;
    max-height: 156px;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.b2c-product-grid-home .b2c-product-card:hover .b2c-product-img img {
    transform: scale(1.06);
}

.b2c-product-grid-home .b2c-product-hover-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(155deg, rgba(12, 12, 12, 0.94) 0%, rgba(204, 12, 0, 0.9) 100%);
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    text-decoration: none;
}

.b2c-product-grid-home .b2c-product-hover-cover__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.28s ease 0.06s, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.b2c-product-grid-home .b2c-product-card:hover .b2c-product-hover-cover {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.b2c-product-grid-home .b2c-product-card:hover .b2c-product-hover-cover__label {
    opacity: 1;
    transform: translateY(0);
}

.b2c-product-grid-home .b2c-product-body {
    padding: 12px 12px 14px;
}

.b2c-product-grid-home .b2c-badge {
    font-size: 10px;
    margin-bottom: 4px;
}

.b2c-product-grid-home .b2c-product-body h3 {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.b2c-product-grid-home .b2c-product-body p {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b2c-product-grid-home .btn-row .btn {
    padding: 6px 12px;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .b2c-product-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .b2c-product-grid-home .b2c-product-img {
        min-height: 160px;
        padding: 10px;
    }

    .b2c-product-grid-home .b2c-product-img img {
        max-height: 142px;
    }
}

@media (max-width: 720px) {
    .b2c-product-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .b2c-product-grid-home .b2c-product-img {
        min-height: 148px;
        padding: 8px;
    }

    .b2c-product-grid-home .b2c-product-img img {
        max-height: 128px;
    }
}

.b2c-product-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.b2c-product-card {
    background: var(--panel);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.b2c-product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.b2c-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.b2c-product-img {
    aspect-ratio: 16 / 10;
    background: #fff;
    overflow: hidden;
}

.b2c-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.b2c-product-body {
    padding: 20px 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.b2c-badge {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.b2c-product-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.b2c-product-body p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

.b2c-price {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 800;
    color: #111;
    flex: 0 0 auto;
}

.b2c-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;
    text-align: center;
    color: var(--muted);
    background: #fafafa;
    border: 1px dashed var(--line);
}

.b2c-support-strip {
    background: #1a1a1a;
    color: #eee;
    padding: 22px 0;
}

.b2c-support-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.b2c-support-inner p {
    margin: 0;
    font-size: 15px;
}

.b2c-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.b2c-support-links a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.b2c-support-links a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .asus-product-grid--wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .asus-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .b2c-product-grid-three,
    .b2c-product-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .b2c-cat-hero-inner {
        grid-template-columns: 1fr;
    }
    .b2c-manifesto-grid {
        grid-template-columns: 1fr;
    }
    .b2c-scenario-grid {
        grid-template-columns: 1fr;
    }
    .b2c-category-grid-strong {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .b2c-location-grid--split {
        grid-template-columns: 1.35fr 0.85fr;
        grid-template-areas:
            "info info"
            "map contact";
    }

    .b2c-kakao-static-map--compact img {
        max-height: 260px;
    }
}

@media (max-width: 720px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0 16px;
    }

    .site-nav-asus {
        width: 100%;
    }

    .hero-slider-lite {
        min-height: 56vh;
    }
    .b2c-hero-slider {
        min-height: 56vh;
    }
    .b2c-cat-carousel-card {
        flex-basis: 86%;
    }
    .b2c-cat-carousel-btn--prev {
        left: 0;
    }

    .b2c-location-grid--split {
        grid-template-columns: 1fr;
        grid-template-areas:
            "info"
            "map"
            "contact";
    }
    .b2c-cat-carousel-btn--next {
        right: 0;
    }

    .asus-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .b2c-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .b2c-category-grid-strong {
        grid-template-columns: 1fr;
    }

    .asus-product-grid,
    .asus-product-grid--wide,
    .b2c-product-grid-three,
    .b2c-product-grid-four,
    .grid {
        grid-template-columns: 1fr;
    }

    .asus-footer-grid {
        grid-template-columns: 1fr;
    }
    .b2c-location-map iframe {
        min-height: 280px;
    }
}
/* 카드 배경용 전면 이미지 (우하단 아이콘 .b2c-cat-carousel-icon 제외) */
.b2c-cat-carousel-card > img:not(.b2c-cat-carousel-icon) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
.b2c-cat-carousel-card:has(> img:not(.b2c-cat-carousel-icon)) {
    padding: 0;
}

.b2c-manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}



.b2c-manifesto-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.b2c-manifesto-img-parallax {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
    transition: transform 0.6s ease;
}

.b2c-manifesto-image:hover .b2c-manifesto-img-parallax {
    transform: scale(1.08);
}

.highlight {
    color: #e63946;
}

/* 제품 페이지 */
.b2c-lineup-page {
    padding: 2.5rem 0 4rem;
}

.b2c-hub-lead {
    color: #666;
    margin: -0.5rem 0 1.75rem;
}

.b2c-product-hub {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 1rem;
}

.b2c-product-hub-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 300px;
    padding: 1rem 1.25rem 1.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* 아이콘 영역 높이 통일 → 아래 빨간 라벨·제목 시작 위치 맞춤 */
.b2c-product-hub-icon {
    display: block;
    width: 100%;
    height: 128px;
    margin: 0 0 0.75rem;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center bottom;
}

.b2c-product-hub-icon--text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 128px;
    margin: 0 0 0.75rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.b2c-product-hub-card--ram .b2c-product-hub-icon,
.b2c-product-hub-card--ssd .b2c-product-hub-icon,
.b2c-product-hub-card--usb .b2c-product-hub-icon,
.b2c-product-hub-card--ssd-drive .b2c-product-hub-icon,
.b2c-product-hub-card--cooler .b2c-product-hub-icon {
    width: 100%;
    height: 128px;
    margin: 0 0 0.75rem;
}


.b2c-product-hub-card--ram {
    background: #1e3a5f;
    border-color: #2d3a52;
}

.b2c-product-hub-card--ssd {
    background: #1f3348;
    border-color: #2d3a52;
}

.b2c-product-hub-card--usb {
    background: #2a2f4a;
    border-color: #2d3a52;
}

.b2c-product-hub-card--ssd-drive {
    background: #24344a;
    border-color: #2d3a52;
}

.b2c-product-hub-card--cooler {
    background: #2b2438;
    border-color: #2d3a52;
}

.b2c-product-hub-card:hover {
    border-color: #ccc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.b2c-product-hub-label {
    display: block;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #e63946;
    text-transform: uppercase;
    line-height: 1.3;
}

.b2c-product-hub-card strong {
    display: block;
    margin: 0.85rem 0 0;
    font-size: 1.6rem;
    line-height: 1.3;
}

.b2c-product-hub-card p {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
}

/* 허브 카드(어두운 배경) — 제목·설명 밝은 색 */
.b2c-product-hub-card--ram strong,
.b2c-product-hub-card--ssd strong,
.b2c-product-hub-card--usb strong,
.b2c-product-hub-card--ssd-drive strong,
.b2c-product-hub-card--cooler strong,
.b2c-support-hub .b2c-product-hub-card strong {
    color: #f2f6ff;
}

.b2c-product-hub-card--ram p,
.b2c-product-hub-card--ssd p,
.b2c-product-hub-card--usb p,
.b2c-product-hub-card--ssd-drive p,
.b2c-product-hub-card--cooler p,
.b2c-support-hub .b2c-product-hub-card p {
    color: rgba(255, 255, 255, 0.88);
}

/* 고객지원 허브 (support.asp) */
.b2c-support-hub {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.b2c-support-hub .b2c-product-hub-card--drivers {
    background: #1a3352;
    border-color: #2d4a68;
}

.b2c-support-hub .b2c-product-hub-card--notice {
    background: #1f2b3d;
    border-color: #34445c;
}

.b2c-support-hub .b2c-product-hub-card--faq {
    background: #2a3048;
    border-color: #3a4560;
}

.b2c-support-hub .b2c-product-hub-card--contact {
    background: #243038;
    border-color: #2f4550;
}

.b2c-support-hub .b2c-product-hub-card--notice:hover,
.b2c-support-hub .b2c-product-hub-card--drivers:hover,
.b2c-support-hub .b2c-product-hub-card--faq:hover,
.b2c-support-hub .b2c-product-hub-card--contact:hover {
    border-color: #5a7a9a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.b2c-support-hub .b2c-product-hub-card--disabled {
    cursor: default;
    pointer-events: none;
    opacity: 0.88;
}

.b2c-support-hub .b2c-product-hub-card--disabled:hover {
    border-color: #3a4560;
    box-shadow: none;
}

.b2c-support-hub .b2c-product-hub-badge {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.b2c-cat-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.b2c-cat-switcher a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f4f4f5;
}

.b2c-cat-switcher a:hover {
    background: #e8e8ec;
    color: #111;
}

.b2c-cat-switcher a.is-active {
    background: #1a1a2e;
    color: #fff;
}

.b2c-cat-switcher-all {
    color: #888 !important;
    background: transparent !important;
    border: 1px dashed #ccc;
}

.b2c-line-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.b2c-line-quick a {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    padding: 0.3rem 0.65rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.b2c-line-quick a:hover {
    border-color: #999;
    color: #111;
}

.b2c-line-block-title {
    font-size: 1.15rem;
    margin: 0 0 1rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #eee;
    color: #333;
    font-weight: 600;
}

.b2c-lineup-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.b2c-lineup-nav-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.25rem 0;
}

.b2c-lineup-nav-cat {
    flex: 0 0 auto;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    background: #e8e8ec;
    transition: background 0.2s, color 0.2s;
}

.b2c-lineup-nav-cat:hover {
    background: #1a1a2e;
    color: #fff;
}

.b2c-lineup-nav-sub {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.15rem 0 0 1.25rem;
    padding: 0.35rem 0 0.35rem 0.85rem;
    border-left: 2px solid #ddd;
}

.b2c-lineup-nav-sub a {
    font-size: 0.78rem;
    font-weight: 400;
    color: #7a7a85;
    text-decoration: none;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    border: none;
    background: transparent;
    transition: color 0.2s, background 0.2s;
}

.b2c-lineup-nav-sub a:hover {
    color: #111;
    background: #f0f0f2;
}

.b2c-lineup-section {
    margin-bottom: 3rem;
    scroll-margin-top: 5rem;
}

.b2c-lineup-section--alt {
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fb;
}

.b2c-lineup-cat {
    font-size: 1.75rem;
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e63946;
    display: inline-block;
}

.b2c-lineup-lines {
    display: grid;
    gap: 2rem;
}

.b2c-line-block {
    scroll-margin-top: 5rem;
}

.b2c-line-block h3 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    color: #555;
    font-weight: 600;
}

.b2c-line-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* 컴퓨터 부품 > 쿨러: 상품 이미지가 카드 안에 잘리지 않게 */
#line-parts-cooler .b2c-product-img,
#line-parts-motherboard .b2c-product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

#line-parts-cooler .b2c-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 12px;
    transform: none;
    box-sizing: border-box;
}

#line-parts-motherboard .b2c-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 0;
    transform: scale(1.12);
    box-sizing: border-box;
}

/* USB: 쿨러와 동일하게 카드 안에 이미지 전체 노출 */
#line-usb-20 .b2c-product-img,
#line-usb-30 .b2c-product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

#line-usb-20 .b2c-product-img img,
#line-usb-30 .b2c-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 12px;
    box-sizing: border-box;
}

.b2c-line-empty {
    color: #888;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .b2c-lineup-section--alt {
        padding: 1.25rem;
    }
    .b2c-lineup-nav {
        gap: 0.4rem;
    }
}

/* 상품 상세 */
.b2c-product-detail {
    padding: 2rem 0 4rem;
}

.b2c-detail-breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.b2c-detail-breadcrumb a {
    color: #1a4d7a;
    text-decoration: none;
}

.b2c-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.b2c-detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.1fr);
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.b2c-detail-media {
    width: 500px;
    height: 500px;
    max-width: 100%;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    overflow: hidden;
}

.b2c-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.b2c-detail-image--empty {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.95rem;
}

.b2c-detail-title {
    font-size: 1.75rem;
    margin: 0.5rem 0 1rem;
    line-height: 1.3;
}

.b2c-detail-summary {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.b2c-detail-actions {
    margin-top: 0.5rem;
}

.b2c-detail-spec {
    padding: 1.5rem 1.75rem;
}

.b2c-detail-spec-title {
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.b2c-spec-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.b2c-spec-table {
    display: table;
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 0.98rem;
    background: #fff;
}

.b2c-spec-table thead {
    display: table-header-group;
}

.b2c-spec-table tbody {
    display: table-row-group;
}

.b2c-spec-table tr {
    display: table-row;
}

.b2c-spec-table th,
.b2c-spec-table td {
    display: table-cell;
    border: 1px solid #e8eaed;
    border-width: 0 0 1px 0;
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
}

.b2c-spec-table thead th {
    background: #eef2f6;
    color: #333;
    font-weight: 700;
    font-size: 0.9rem;
}

.b2c-spec-table tbody th[scope="row"] {
    width: 32%;
    background: #f8f9fb;
    color: #333;
    font-weight: 600;
}

.b2c-spec-table tbody td {
    background: #fff;
    color: #222;
}

.b2c-spec-multiline {
    white-space: pre-line;
}

.b2c-detail-empty {
    color: #888;
    margin: 0;
}

/* Contact form (Web3Forms) */
.b2c-contact-page {
    max-width: 640px;
}

.b2c-contact-lead {
    color: #555;
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.b2c-contact-email-hint {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    color: #444;
}

.b2c-contact-info-page {
    max-width: 920px;
}

.b2c-contact-info-card {
    margin: 0 0 18px;
    padding: 30px 32px;
    border: 1px solid #e1e4ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.b2c-contact-info-card h2 {
    margin: 0 0 16px;
    font-size: clamp(20px, 2.2vw, 26px);
    letter-spacing: -0.04em;
}

.b2c-contact-info-card p {
    margin: 0 0 14px;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
}

.b2c-contact-info-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin: 20px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    background: #f7f8fa;
}

.b2c-contact-info-center strong {
    font-size: 18px;
}

.b2c-contact-info-center a,
.b2c-contact-info-card p a {
    color: #111;
    font-weight: 800;
    text-decoration: none;
}

.b2c-contact-info-center a:hover,
.b2c-contact-info-card p a:hover {
    text-decoration: underline;
}

.b2c-contact-info-card--secondary {
    border-color: #d6dbe5;
}

.b2c-contact-info-card .btn-row {
    margin-top: 20px;
}

.b2c-contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.b2c-contact-card--success h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.b2c-contact-card--warn {
    border-color: #f5c2c7;
    background: #fff8f8;
}

.b2c-contact-setup-hint {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0 1rem;
}

.b2c-contact-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem 1.75rem 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.b2c-contact-field {
    margin-bottom: 1.1rem;
}

.b2c-contact-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #222;
}

.b2c-contact-field label .req {
    color: #b42318;
    font-weight: 700;
}

.b2c-contact-field input,
.b2c-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    color: #222;
    background: #fff;
}

.b2c-contact-field input:focus,
.b2c-contact-field textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.b2c-contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

.b2c-contact-privacy {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.b2c-contact-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .b2c-detail-layout {
        grid-template-columns: 1fr;
    }

    .b2c-detail-media {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .b2c-detail-image {
        width: 100%;
        height: 100%;
    }

    .b2c-detail-image--empty {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }
}