a {
    text-decoration: none;
    color: inherit;
}

.page-wrapper {
    max-width: 1920px;
    margin: 0 auto;
}

.narrow-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 헤더 전용 컨테이너 */
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 상단 헤더 */
.top-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

/* 로고 */
.logo img {
    width: 200px;
}

.logo-sub {
    padding-left: 10px;
    width: 100px;
	vertical-align: top;
}

/* 검색창 */
.search-wrapper {
    display: flex;
    width: 360px;
    height: 40px;
    border: 2px solid #e74c3c;
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
    font-family: sans-serif;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    color: #333;
}

.search-input::placeholder {
    color: #aaa;
}

.search-button {
    background-color: #e74c3c;
    border: none;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.search-button img {
    width: 55px;
}

/* 메뉴탭 영역 */
.tab-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.tab-section {
    border-top: 1px solid #e0e0e0;
    border-bottom: 4px solid #e74c3c;
    background: #fff;
}

.tab-list {
    display: flex;
    justify-content: center;
    gap: 100px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-item {
    padding: 14px 0;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: #e74c3c;
    font-weight: 700;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e74c3c;
}

/* 슬라이더 영역 */
.slider-section {
    position: relative;
    width: 100%;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide {
    flex: 0 0 414px;
    margin-right: 16px;
    position: relative;
}

.slide img {
    width: 414px;
    height: 267px;
    display: block;
}

.slide-caption {
    width: 414px;
    height: 84px;
    background: #000;
    color: #fff;
    font-size: 16px;
    padding: 16px;
    box-sizing: border-box;
    position: relative;
}

.slider-btn {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.slider-btn img {
    width: 100%;
    height: auto;
}

.slider-btn.prev {
    left: 350px;
}

.slider-btn.next {
    right: 350px;
}

/* 메인 리스트 영역 */
.product-list-section {
    max-width: 1920px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.product-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tab-button {
    padding: 10px 24px;
    border: none;
    border-radius: 20px;
    background: #eee;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-button.active {
    background: #0033a0;
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image {
    height: 100%;
    max-width: 308px;
    max-height: 308px;
    object-fit: cover;
    border-radius: 4px;
}

.product-title {
    font-weight: bold;
    font-size: 16px;
    margin-top: 16px;
    text-align: center;
    padding: 0 8px;
}

.divider {
    width: 80%;
    border: none;
    border-top: 1px solid #ddd;
    margin: 12px 0;
}

.product-desc {
    font-size: 14px;
    color: #444;
    text-align: center;
    padding: 0 16px 16px;
}

.product-btn {
    background: #f79e1b;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    margin-bottom: 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.product-btn:hover {
    background: #d8800c;
}

.btn-to-top {
    position: fixed;
    bottom: 40px;
    left: calc(50% + 640px + 20px);
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 999;
    display: none;
}

.btn-to-top img {
    width: 100%;
    height: auto;
}

/* Blog Page 추가 */
.blog-hero {
    background-color: #f8f8f8;
    padding: 80px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.blog-hero p {
    font-size: 18px;
    color: #777;
}

.blog-list-section {
    padding: 60px 20px;
    background-color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

/*
.blog-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
*/

.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.blog-snippet {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.blog-meta {
    font-size: 12px;
    color: #999;
    margin-top: 16px;
    text-align: right;
}

/* 블로그 상세 페이지 */
.blog-detail-section {
    max-width: 768px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'sans-serif';
    color: #222;
    line-height: 1.7;
}

.blog-detail-section h1 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    color: #222;
}

.blog-detail-section img {
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    border-radius: 8px;
}

.blog-detail-section .blog-date {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-bottom: 16px;
}

.blog-detail-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #333;
}

.blog-detail-section p {
    font-size: 15px;
    margin-bottom: 16px;
}

.blog-detail-section ol {
    padding-left: 20px;
    margin-bottom: 24px;
}

.blog-detail-section ol li {
    margin-bottom: 8px;
    font-size: 15px;
}

.blog-nav {
    display: flex;
    justify-content: space-between;
    max-width: 768px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.blog-nav button {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.blog-nav button:hover {
    background-color: #f0f0f0;
}

.blog-detail-section .product-btn {
    display: block;
    margin: 32px auto 48px;
}

.blog-detail-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.blog-detail-thumb {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto 16px;
}

.blog-detail-meta {
    font-size: 14px;
    color: #777;
    text-align: center;
    margin-bottom: 24px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    /*width: 100%;
    height: 276px;*/
	width:386px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.blog-snippet {
    font-size: 14px;
    color: #444;
}


.no-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    text-align: center;
    color: #666;
}

.no-result img {
    width: 240px;
    height: auto;
    margin-bottom: 24px;
}

.no-result p {
    font-size: 18px;
    font-weight: 500;
}