/* ── 메인 배너 슬라이더 ── */
.main-banner-wrapper {
  padding:0;
	position: relative;
	width: 100%;
	height: 440px;
	overflow: hidden;
}

.swiper {
	width: 100%;
	height: 100%;
}

.main-swiper .swiper-slide {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #f5f5f7;
	overflow: hidden;
	width: 1280px !important; /* 메인 배너 전용 고정 크기 */
}

.slide-content {
	position: relative;
	width: 100%;
	max-width: 1280px;
	height: 100%;
	display: flex;
	align-items: center;
	z-index: 2;
}

.slide-text {
	width: 50%;
	padding-left: 40px;
}

.slide-text h2 {
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 15px;
	line-height: 1.2;
}

.slide-text p {
	font-size: 18px;
	color: #666;
	margin-bottom: 30px;
}

.slide-image {
	width: 50%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.slide-image img {
	max-height: 80%;
	object-fit: contain;
}

.swiper-button-next, .swiper-button-prev {
	color: #333 !important;
	width: 44px !important;
	height: 44px !important;
	background: rgba(255,255,255,0.3);
	border-radius: 50%;
	transition: all 0.3s;
}

.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 20px !important;
	font-weight: 700;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
	background: rgba(255,255,255,0.8);
}

.swiper-pagination-bullet {
	width: 10px !important;
	height: 10px !important;
	background: #333 !important;
	opacity: 0.2 !important;
}

.swiper-pagination-bullet-active {
	opacity: 1 !important;
	width: 30px !important;
	border-radius: 5px !important;
}

/* ── 카테고리 한눈에 보기 (굿디몰 스타일) ── */
.section-category {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.section-category .inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-wrapper {
    display: flex;
    align-items: center;
}

/* 왼쪽 타이틀 영역 */
.category-left {
    flex: 0 0 280px;
    padding-right: 40px;
    border-right: 1px dotted #ccc;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-left .title-area h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    margin-bottom: 20px;
}

.category-left .title-area p {
    font-size: 16px;
    color: #888;
    line-height: 1.5;
}

.category-nav {
    display: flex;
    gap: 10px;
}

.cat-prev, .cat-next {
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s;
}

.cat-prev { background-color: #e5e5e5; color: #fff; }
.cat-next { background-color: #b0b0b0; color: #fff; }

.cat-prev:hover, .cat-next:hover {
    background-color: #333;
}

/* 오른쪽 슬라이더 영역 */
.category-right {
    flex: 1;
    padding-left: 40px;
    overflow: hidden;
}

.category-swiper {
    padding: 20px 0;
}

.cat-card {
    text-align: center;
}

.cat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'NanumSquareNeo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s;
}

.cat-card:hover .cat-circle {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.cat-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.cat-info p {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
    word-break: keep-all;
}

@media (max-width: 1024px) {
    .category-wrapper {
        flex-direction: column;
    }
    .category-left {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px dotted #ccc;
        padding-bottom: 30px;
        margin-bottom: 40px;
    }
    .category-right {
        padding-left: 0;
    }
}


/* ── 인기상품 슬라이더 ── */
.section-popular {
    padding: 80px 0 100px;
    background: #fff;
}

.popular-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.popular-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.popular-title {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.popular-sub {
    font-size: 14px;
    color: #999;
}

.popular-more {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #555;
    transition: color 0.2s;
    white-space: nowrap;
}

.popular-more:hover {
    color: #111;
    border-color: #111;
}

/* 탭 */
.popular-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pop-tab {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.pop-tab:hover {
    border-color: #333;
    color: #333;
}

.pop-tab.active {
    background: #111;
    border-color: #111;
    color: #fff;
    font-weight: 700;
}

/* 슬라이더 래퍼 */
.popular-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.popular-swiper {
    flex: 1;
    overflow: hidden;
    height: auto !important;
}

.popular-swiper .swiper-slide {
    height: auto;
}

/* 좌우 네비게이션 버튼 */
.pop-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    position: relative;
}

.pop-nav:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.pop-prev { margin-right: 14px; }
.pop-next { margin-left: 14px; }

.pop-nav.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* 상품 카드 */
.pop-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pop-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 비율 */
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5;
    margin-bottom: 14px;
}

.pop-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pop-card:hover .pop-img-wrap img {
    transform: scale(1.05);
}

/* 뱃지 */
.pop-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 1;
}

.pop-badge.best { background: #ff3333; color: #fff; }
.pop-badge.new  { background: #0066cc; color: #fff; }
.pop-badge.sale { background: #ff8800; color: #fff; }

/* 상품 정보 */
.pop-info {
    padding: 0 2px;
}

.pop-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pop-price-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.pop-discount {
    font-size: 16px;
    font-weight: 800;
    color: #ff3333;
}

.pop-price {
    font-size: 16px;
    font-weight: 800;
    color: #111;
}

.pop-origin {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .popular-title { font-size: 22px; }
    .pop-prev, .pop-next { width: 36px; height: 36px; font-size: 13px; }
    .pop-prev { margin-right: 8px; }
    .pop-next { margin-left: 8px; }
}


/* ── 이달만 특공특가 ── */
.section-special {
    background: #fff;
    padding: 70px 0 80px;
}

.special-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 섹션 헤더 */
.special-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.special-title {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.special-sub {
    font-size: 14px;
    color: #999;
}

.special-more {
    font-size: 14px;
    color: #5c6bc0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
    padding-bottom: 2px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.special-more:hover { opacity: 0.7; }

/* 슬라이더 래퍼 */
.special-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.special-swiper {
    flex: 1;
    overflow: hidden;
    height: auto !important;
}

.special-swiper .swiper-slide {
    height: auto;
}

/* 오른쪽 화살표 버튼 */
.sp-next-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-left: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.sp-next-btn:hover {
    background: #5c6bc0;
    border-color: #5c6bc0;
    color: #fff;
}

.sp-next-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* 상품 카드 */
.sp-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.sp-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* 카드 상단 타이머 바 */
.sp-card-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #5c6bc0;
    font-size: 13px;
    font-weight: 600;
}

.sp-card-timer i { font-size: 14px; }

.sp-timer-label { color: #5c6bc0; }

.sp-timer-val {
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* 카드 본문 (이미지 + 정보 가로 배치) */
.sp-card-body {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.sp-img-wrap {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 10px;
    background: #f5f5f5;
    overflow: hidden;
}

.sp-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sp-card:hover .sp-img-wrap img {
    transform: scale(1.05);
}

.sp-info {
    flex: 1;
    min-width: 0;
}

.sp-name {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-desc {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-origin {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.sp-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.sp-rate {
    font-size: 18px;
    font-weight: 900;
    color: #5c6bc0;
}

.sp-price {
    font-size: 18px;
    font-weight: 900;
    color: #111;
}

.sp-review {
    display: inline-block;
    font-size: 12px;
    color: #888;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 3px 10px;
}

@media (max-width: 768px) {
    .special-title { font-size: 22px; }
    .sp-img-wrap { width: 100px; height: 100px; }
    .sp-name { font-size: 13px; }
    .sp-price, .sp-rate { font-size: 15px; }
}
