/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6b35;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #ddd;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    isolation: isolate;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    text-decoration: none;
    color: var(--text-dark);
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-buttons, .user-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-text {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: color 0.3s;
}

.btn-text:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
    font-size: 24px;
    color: var(--text-dark);
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* 네비게이션 */
.nav {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
}

.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 102, 204, 0.1) 20%,
        rgba(0, 102, 204, 0.2) 50%,
        rgba(0, 102, 204, 0.1) 80%,
        transparent 100%
    );
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 14px 10px;
    position: relative;
    z-index: 10;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.05);
}

.nav a:hover::after {
    width: 80%;
}

/* 히어로 배너 */
.hero-banner {
    background: linear-gradient(135deg, #0066cc 0%, #4a90e2 50%, #00b4d8 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 180, 216, 0.3) 0%, transparent 50%);
    animation: wave 15s ease-in-out infinite;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 50px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 50px
        );
    opacity: 0.5;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(20px) translateY(-10px);
    }
    50% {
        transform: translateX(-10px) translateY(10px);
    }
    75% {
        transform: translateX(10px) translateY(-5px);
    }
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 기능 섹션 */
.features {
    padding: 60px 20px;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* 섹션 타이틀 */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* 카테고리 그리드 */
.product-categories {
    padding: 60px 20px;
    background: var(--bg-light);
}

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

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.category-image {
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.category-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 상품 그리드 */
.featured-products {
    padding: 60px 20px;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-origin {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.product-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eef4fc;
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.product-badge.badge-seller {
    background: #f1f3f5;
    color: #495057;
}

.product-badge.badge-origin {
    background: #e6fcf5;
    color: #0ca678;
}

.product-badge.badge-unit {
    background: #fff4e6;
    color: #d9480f;
}

/* 푸터 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.phone-number {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--secondary-color) !important;
    margin: 10px 0 !important;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.company-info {
    margin-bottom: 15px;
}

.company-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary-solid {
    background: var(--primary-color);
    color: white;
}

.btn-primary-solid:hover {
    background: #0052a3;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #e55a2b;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 폼 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

/* 반응형 */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul {
        flex-wrap: wrap;
        gap: 15px;
        padding: 12px 0;
    }

    .nav a {
        padding: 6px 12px;
        font-size: 14px;
    }

    .hero-banner {
        padding: 60px 20px;
    }

    .banner-content h2 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 14px 35px;
        font-size: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ============================================================
   UI 개선 레이어 (온스샵 디자인 시스템 v2)
   ============================================================ */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff4ff;
    --secondary-color: #ff6b35;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f6f8fc;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 40px rgba(37, 99, 235, 0.16);
}

html { scroll-behavior: smooth; }

body {
    background: #fff;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

/* 헤더 */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--border-color);
    border-bottom: none;
}

.header-top { padding: 14px 0; }

.logo h1 {
    font-size: 26px;
    letter-spacing: -0.04em;
    margin-bottom: 0;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo p { font-size: 12px; }

.btn-text {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 500;
}

.btn-text:hover { background: var(--primary-soft); }

.cart-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    background: var(--bg-light);
    transition: all 0.25s;
}

.cart-icon:hover {
    background: var(--primary-soft);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cart-count {
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ff6b35, #ef4444);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* 네비게이션: 칩 형태, 모바일은 가로 스크롤 */
.nav {
    background: transparent;
    border-top: 1px solid var(--border-color);
}

.nav::after { display: none; }

.nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.nav ul::-webkit-scrollbar { display: none; }
.nav li { flex: 0 0 auto; }

.nav a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

.nav a::after { display: none; }

.nav a:hover {
    background: var(--primary-soft);
    color: var(--primary-color);
}

/* 히어로 */
.hero-banner {
    background:
        radial-gradient(1200px 400px at 85% -10%, rgba(124, 58, 237, 0.55), transparent 60%),
        radial-gradient(900px 400px at 0% 110%, rgba(6, 182, 212, 0.5), transparent 60%),
        linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
    padding: 96px 20px 104px;
}

.hero-banner::after { display: none; }

.banner-content h2 {
    font-size: clamp(28px, 5vw, 52px);
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.banner-content p { font-size: clamp(15px, 2vw, 19px); }

.btn-primary {
    padding: 15px 38px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-primary::after {
    content: ' →';
    transition: margin-left 0.25s;
}

.btn-primary:hover::after { margin-left: 4px; }

/* 혜택 영역 */
.features {
    padding: 0 20px;
    margin-top: -44px;
    position: relative;
    z-index: 2;
    background: transparent;
}

.feature-grid {
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 24px 20px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    font-size: 22px;
    width: 52px;
    height: 52px;
    line-height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    margin-bottom: 14px;
}

.feature-item h3 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { font-size: 13px; }

/* 섹션 타이틀 */
.section-title {
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.section-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    margin: 12px auto 0;
}

/* 카테고리 카드: 3열 */
.product-categories {
    padding: 72px 20px 64px;
    background: #fff;
}

.category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    padding: 0;
    overflow: hidden;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.35);
}

.category-image {
    height: 170px;
    margin: 0;
    border-radius: 0;
    background: var(--bg-light);
}

.category-card h3 {
    font-size: 17px;
    margin: 16px 18px 4px;
    display: flex;
    align-items: center;
}

.category-card p {
    margin: 0 18px 18px;
    font-size: 13px;
}

/* 상품 카드 */
.featured-products {
    padding: 64px 20px 72px;
    background: var(--bg-light);
}

.product-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.35);
}

.product-image {
    height: auto;
    aspect-ratio: 1 / 1;
}

.product-card:hover .product-image img { transform: scale(1.06); }

.product-info {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.product-name {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
}

/* 설명은 상품명과 동일해 중복되므로 카드에서는 숨김 */
.product-card .product-description { display: none; }

.product-price {
    font-size: 21px;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    margin-top: auto;
    color: var(--text-dark);
}

.product-meta-tags { margin-top: 8px; }

.product-badge {
    border-radius: 6px;
    font-size: 11px;
}

/* 푸터 */
.footer {
    background: #0f172a;
    padding: 56px 20px 24px;
}

.footer-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 { font-size: 15px; letter-spacing: 0; color: #fff; }
.footer-section ul li a:hover { text-decoration: underline; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* 버튼/폼 */
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary-solid { background: var(--primary-color); }
.btn-primary-solid:hover { background: var(--primary-dark); transform: translateY(-1px); }
.form-control { border-radius: 10px; padding: 13px 16px; }
.form-control:focus { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }

/* 반응형 */
@media (max-width: 900px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-top { flex-direction: row; gap: 10px; padding: 10px 0; }
    .header-actions { gap: 8px; }
    .auth-buttons, .user-menu { gap: 2px; }
    .btn-text { padding: 6px 10px; font-size: 13px; }
    .nav ul { padding: 8px 16px; }
    .hero-banner { padding: 64px 20px 76px; }
    .features { margin-top: -32px; }
    .category-image { height: 120px; }
    .category-card h3 { font-size: 15px; margin: 12px 12px 2px; }
    .category-card p { margin: 0 12px 14px; font-size: 12px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-info { padding: 12px; }
    .product-name { font-size: 13px; }
    .product-price { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* 네비 정렬 보정: 로고 텍스트와 첫 항목 정렬 */
.nav ul { padding: 10px 0; margin-left: -16px; margin-right: -16px; }
@media (max-width: 768px) {
    .nav ul { padding: 8px 0; margin-left: -4px; margin-right: -20px; }
}

/* 히어로: 버튼 제거에 따른 여백 보정 */
.hero-banner { padding: 80px 20px 96px; }
.banner-content p { margin-bottom: 0; }
@media (max-width: 768px) {
    .hero-banner { padding: 56px 20px 72px; }
}
