/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   	font-family: "Noto Sans", sans-serif;
}

body {
    background-color: #fff;
    color: #333;
}

body.modal-open {
  overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


/* Header */
.header {
    height: 60px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0047FF;
    margin-right: 60px;
}

.nav a {
    margin-right: 30px;
    font-size: 18px;
    font-weight: 500;
    color: #C7C7C7;
}

.nav a.active {
    color: #269073;
    font-weight: bold;
}

/* Banner Bar */
.banner-bar {
    background-color: #2D323F;
    color: #fff;
    height: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* 페이드 효과를 위한 오버레이 레이어 */
.banner-bar::before,
.banner-bar::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.banner-bar::before {
    left: 0;
    background: linear-gradient(to right, #2D323F, transparent);
}

.banner-bar::after {
    right: 0;
    background: linear-gradient(to left, #2D323F, transparent);
}

.banner-track {
    display: flex;
    width: max-content; /* 트랙 너비를 내용에 맞춤 */
    animation: scroll-loop 30s linear infinite; /* CSS 애니메이션 직접 적용 */
}

.banner-content {
    display: flex;
    flex-shrink: 0;
}

.banner-content span {
    padding: 0 40px;
    font-size: 12px;
    font-weight: 300;
    opacity: 0.8;
    line-height: 36px;
    white-space: nowrap;
}

/* 무한 루프 애니메이션: 첫 번째 묶음이 끝나는 지점(-50%)에서 리셋 */
@keyframes scroll-loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Main Layout */
.main-container {
    max-width: 1400px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    background-color: #F4F6F9;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.promo-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    z-index: 1;
    position: relative;
}

.promo-img {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 120px;
    transform: rotate(-10deg);
}

.event-card {
    background-color: #000040;
    color: #fff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

.event-tag {
    font-size: 10px;
    color: #4A90E2;
    font-weight: bold;
}

.event-title {
    font-size: 14px;
    font-weight: 500;
}

.event-badge {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    line-height: 1;
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-item {
    font-weight: normal;
    color: #666;
    font-size: 13px;
}

.view-all {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    text-decoration: underline;
}

.filter-section {
    margin-top: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-label {
    font-size: 12px;
    color: #999;
}

.toggle-switch {
    width: 34px;
    height: 18px;
    background-color: #55599D;
    border-radius: 10px;
    position: relative;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 2px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
}

/* ON 상태 */
.toggle-switch.on {
    background-color: #37383D47;
}

.toggle-switch.on::after {
    right: auto;
    left: 2px;
}


/*2*/

.toggle-switch2 {
    width: 34px;
    height: 18px;
    background-color: #269073;
    border-radius: 10px;
    position: relative;
}

.toggle-switch2::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 2px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
}

/* ON 상태 */
.toggle-switch2.on {
    background-color: #37383D47;
}

.toggle-switch2.on::after {
    right: auto;
    left: 2px;
}



.brand-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    height: 48px;
    padding-left:15px;
}

.brand-list li.active {
    background: #f5fbf8;
}

.brand-icon {
  height: 1em;           /* 텍스트 높이에 맞춤 */
  vertical-align: middle; /* 텍스트와 수직 정렬 */
}

.brand-list .count {
	font-size:14px;
    color: #55599D;
    font-weight: bold;
    padding-right:15px;
}


.brand-list2 li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    height: 48px;
    padding-left:15px;
}

.brand-list2 li.active {
    background: #f5fbf8;
}



.brand-list2 .count {
	font-size:14px;
    color: #269073;
    font-weight: bold;
    padding-right:15px;
}



/* Main Content */
.content {
    flex: 1;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background-color: #FAFAFA;
    height: 50px;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    background: #FAFAFA;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    background-clip: content-box;
    color: #C7C7C7;
}
.brand-name{
	cursor: pointer;
}

.brand-name2{
	cursor: pointer;
}

.filter-btn.active {
    font-weight: bold;
    color: black;
}

.filter-btn.disabled {
    color: #C7C7C7;
    cursor: pointer;
    background-color: white;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.total-count {
    font-size: 16px;
    font-weight: bold;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-select {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.view-icons {
    display: flex;
    gap: 10px;
    color: #999;
    font-size: 18px;
}

/* Car Grid */
.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.car-card {
    /*border: 1px solid #f0f0f0;*/
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    width: 348px;
}

.car-img-container {
    position: relative;
    /*background-color: #f9f9f9;*/
    height: 260px; /*240px;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
	border-radius: 12px;
}

.heart-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
    cursor: pointer;
}

.interior-thumb {
    position: absolute;
    overflow: hidden;
    top:5px;
    left:5px;
}

.interior-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-info {
    padding: 10px;
}

.car-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
}

.car-specs {
    font-size: 13px;
    color: #888;
    margin-bottom: 2px;
}

.car-price {
    font-size: 18px;
    font-weight: bold;
    color: #269073;
    margin-bottom: 4px;
}

.original-price {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    gap: 8px;
}

.tag {
    font-size: 11px;
    background-color: #f5f5f5;
    padding: 4px 8px;
    border-radius: 2px;
    color: #666;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sticky-menu {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.menu-item .icon {
    font-size: 20px;
}

.menu-item .label {
    font-size: 11px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.recent-car-img {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #eee;
}
/* 버튼 */
.nav-btn {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}


/*리뷰 css*/

/* 섹션 */
.review-section {
    max-width: 1400px;
    margin: 0 auto;
}

.review-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
}

/* 전체 구조 */
.review-wrapper {
    display: flex;
    gap: 20px;
}

/* 섹션 */
.review-section {
    max-width: 1400px;
    margin: 0 auto;
}

.review-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
}

/* 전체 구조 */
.review-wrapper {
    display: flex;
    gap: 20px;
}

/* 기본 */
.review-container {
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1;

    scrollbar-width: none; /* Firefox */
}

/* 크롬, 사파리 */
.review-container::-webkit-scrollbar {
    display: none;
}
/* 트랙 */
.review-track {
    display: flex;
    gap: 20px;
    cursor: grab;
}

/* 카드 */
.review-card {
    flex: 0 0 240px;
    height: 90px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    width: 260px;
}

/* 이미지 */
.review-image {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 12px;
    background-color: #eee;
}

/* 텍스트 */
.review-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.review-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-info {
    font-size: 12px;
    color: #999;
}

.review-info span {
    margin: 0 2px;
}


.review-info .star_empty {
    color: #ccc;
}

.review-info .star_filled{
	color: #FFC107;
}

   


/* 더보기 */
.more-button {
    width: 120px;
    height: 90px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    cursor: pointer;
    color: #aaaaaa;
    text-decoration: none;
}

.more-button span::after {
    content: '〉';
    margin-left: 4px;
}

/* 드래그 중 */
.review-track.dragging {
    cursor: grabbing;
}



.loading-overlay {
	  position: fixed;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  background-color: rgba(0, 0, 0, 0.6); /* 어둡게 처리 */
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  z-index: 9999;
	  display: none; /* 초기에는 숨김 */
}
.spinner {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  animation: fadeIn 0.3s ease-in-out;
}

.filter-btn:hover {
    color: black;
}


/* 드롭다운 박스 스타일 */
.dropdown-menu {
    position: absolute;
    top: 200px;
    width: 240px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
    text-align: left;
}

.dropdown-menu.show {
    display: block;
}

/* 메뉴 아이템 스타일 */
.dropdown-item {
    padding: 14px 20px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    list-style: none;
}

/* 선택된 아이템 강조 */
.dropdown-item.active {
    font-weight: bold;
    color: #000;
}

.dropdown-item:hover {
    background-color: #f8f8f8;
    color: #000;
}


/*필터*/

.filter-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: none;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
}

.filter-modal-content {
  width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}

.filter-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-modal-header h2 {
  font-size: 18px;
}

.filter-modal-close {
  cursor: pointer;
  font-size: 20px;
}

.filter-modal-section {
  margin-top: 20px;
}

.filter-modal-title {
  font-weight: bold;
  margin-bottom: 10px;
}

/* 슬라이더 */
.filter-modal-range-box {
  position: relative;
}

.filter-modal-range-values {
  text-align: right;
  color: #2f8f74;
  margin-bottom: 5px;
}

.filter-modal-range {
  width: 100%;
  appearance: none;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  outline: none;
}

.filter-modal-range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #2f8f74;
  border-radius: 50%;
  cursor: pointer;
}

/* 버튼 */
.filter-modal-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-modal-btn {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: #888;
  font-size: 14px;
}

.filter-modal-btn.active {
  background: #e6f4ef;
  color: #2f8f74;
  border-color: #cde7de;
}

/* 하단 버튼 */
.filter-modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.filter-modal-reset {
  flex: 1;
  padding: 12px;
  border: 1px solid #2f8f74;
  background: #fff;
  color: #2f8f74;
  border-radius: 10px;
  cursor: pointer;
}

.filter-modal-apply {
  flex: 1;
  padding: 12px;
  background: #2f8f74;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

/*css*/
.car-info-car-item{
    display:flex;
    width:350px;
    background:#fff;
}

.car-info-car-info{
    flex:1;
    padding-left: 2px;/*14px;*/
    align-items: center;
    display: flex;
}

.car-info-title{
    /*margin-bottom:8px;*/
}

.car-info-brand{
    font-weight:bold;
    margin-right:5px;
    font-size: 18px;
}

.car-info-year{
    color:#777;
    font-size:14px;
}

.car-info-buttons{
    display:flex;
    gap:4px;
}

.car-info-buttons button{
    font-size:11px;
	border:none;
    background:#f5f5f5;
    color:#666;
    height:24px;
    padding:0 8px;      /* 좌우 여백 */
    flex:none;          /* 또는 생략 가능 */
    width:auto;         /* 기본값이라 생략 가능 */
}

.car-info-price{
    width:120px;
    display:flex;
    justify-content:right;
    align-items:center;
    font-size:20px;
    font-weight:bold;
    color:#55599D;
}

.car-info-price span{
    font-size:21px;
    margin-right:2px;
}

/*2026-09-21*/
/* =========================================
   내게 맞는 차량 추천 Banner
========================================= */

.car-recommend-banner {
	max-width: 1400px;
	min-height: 150px;
	padding: 28px 34px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;

	background:
		linear-gradient(
			110deg,
			#effbf6 0%,
			#f7fcfa 55%,
			#edf9f5 100%
		);

	border: 2px solid #15956f;
	border-radius: 14px;

	box-sizing: border-box;
}


/* -------------------------
   왼쪽 설명 영역
------------------------- */

.car-recommend-left {
	display: flex;
	align-items: center;
	flex: 1 1 420px;
	min-width: 0;
}

.car-recommend-visual {
	width: 125px;
	min-width: 125px;
	height: 90px;

	display: flex;
	align-items: center;
	justify-content: center;

	position: relative;
	margin-right: 25px;
}

.car-recommend-visual::before {
	content: "";
	position: absolute;

	width: 110px;
	height: 50px;

	left: 5px;
	bottom: 6px;

	background: #bcebd7;
	border-radius: 60px 60px 12px 12px;

	opacity: 0.75;
}

.car-icon {
	position: relative;
	z-index: 2;

	font-size: 64px;
	line-height: 1;
}


.car-recommend-copy h2 {
	margin: 0 0 13px 0;

	font-size: 27px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -1.2px;

	color: #222;
}

.car-recommend-copy h2 strong {
	color: #15956f;
	font-weight: 700;
}

.car-recommend-copy p {
	margin: 0;

	font-size: 15px;
	line-height: 1.65;
	letter-spacing: -0.3px;

	color: #666;
}


/* -------------------------
   용도 선택
------------------------- */

.car-recommend-purpose {
	width: 400px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.purpose-chip {
	height: 44px;

	padding: 0 13px;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;

	background: #fff;

	border: 1px solid #e2e7e5;
	border-radius: 24px;

	font-size: 14px;
	font-weight: 600;
	color: #333;

	cursor: pointer;

	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);

	transition: all 0.15s ease;
}

.purpose-chip:hover {
	border-color: #15956f;
	color: #15956f;
	background: #f8fffc;

	transform: translateY(-1px);
}

.purpose-icon {
	font-size: 16px;
}


/* 마지막 2개 가운데 정렬 느낌 */
.car-recommend-purpose .purpose-chip:nth-child(4) {
	grid-column: 1 / 2;
}

.car-recommend-purpose .purpose-chip:nth-child(5) {
	grid-column: 2 / 3;
}


/* -------------------------
   오른쪽 추천 버튼
------------------------- */

.car-recommend-action {
	width: 220px;
	min-width: 220px;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.recommend-btn {
	width: 100%;
	height: 56px;

	border: 0;
	border-radius: 10px;

	background: #15956f;
	color: #fff;

	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.3px;

	cursor: pointer;

	box-shadow:
		0 5px 14px rgba(21, 149, 111, 0.20);

	transition: all 0.18s ease;
}

.recommend-btn:hover {
	background: #107d5d;
	transform: translateY(-1px);
	box-shadow:
		0 7px 18px rgba(21, 149, 111, 0.26);
}

.recommend-arrow {
	display: inline-block;
	margin-left: 8px;

	font-size: 21px;
	font-weight: 400;

	vertical-align: -1px;
}

.recommend-guide {
	margin-top: 10px;

	font-size: 12px;
	color: #777;

	transform: rotate(-2deg);
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 1100px) {

	.car-recommend-banner {
		flex-wrap: wrap;
	}

	.car-recommend-left {
		flex: 1 1 55%;
	}

	.car-recommend-purpose {
		flex: 1 1 35%;
	}

	.car-recommend-action {
		width: 100%;
		flex-direction: row;
		gap: 15px;
	}

	.recommend-btn {
		max-width: 300px;
	}

	.recommend-guide {
		margin-top: 0;
	}
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {

	.car-recommend-banner {
		padding: 22px 18px;

		flex-direction: column;
		align-items: stretch;

		gap: 20px;

		border-width: 1px;
		border-radius: 12px;
	}

	.car-recommend-left {
		width: 100%;
	}

	.car-recommend-visual {
		width: 75px;
		min-width: 75px;
		height: 70px;

		margin-right: 15px;
	}

	.car-recommend-visual::before {
		width: 70px;
		height: 36px;
	}

	.car-icon {
		font-size: 46px;
	}

	.car-recommend-copy h2 {
		font-size: 21px;
		margin-bottom: 7px;
	}

	.car-recommend-copy p {
		font-size: 13px;
		line-height: 1.5;
	}

	.car-recommend-purpose {
		width: 100%;

		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.car-recommend-purpose .purpose-chip:nth-child(4),
	.car-recommend-purpose .purpose-chip:nth-child(5) {
		grid-column: auto;
	}

	.purpose-chip {
		height: 42px;
		font-size: 13px;
	}

	.car-recommend-action {
		width: 100%;
		min-width: 0;

		display: block;
	}

	.recommend-btn {
		width: 100%;
		max-width: none;
		height: 52px;
	}

	.recommend-guide {
		margin-top: 8px;
		text-align: center;

		font-size: 11px;
	}
}

/* =========================
   ESS LIST
========================= */
.parts-page{display:flex;gap:24px;max-width:1680px;margin:0 auto;padding:18px 24px 60px;box-sizing:border-box;background:#fff;}
.parts-sidebar{width:240px;flex-shrink:0;}
.parts-sidebar-box{border:1px solid #eaecf3;border-radius:14px;padding:18px 18px 12px;background:#fff;}
.parts-sidebar-title{font-size:26px;font-weight:800;color:#222b45;margin-bottom:16px;display:flex;align-items:center;gap:8px;}
.parts-sidebar-box .parts-sidebar-title{font-size:18px;font-weight:700;margin-bottom:12px;}
.parts-brand-item{display:flex;align-items:center;justify-content:space-between;padding:10px 4px;color:#2a3042;text-decoration:none;font-size:15px;border-bottom:1px solid #f3f4f8;}
.parts-brand-item:last-child{border-bottom:none;}
.parts-brand-item strong{font-size:14px;color:#55599D;font-weight:700;}
.parts-brand-item:hover{color:#55599D;}

.parts-content{flex:1;min-width:0;}
.parts-category-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 16px;}
.parts-tab{height:44px;padding:0 22px;border:1px solid #e7eaf3;border-radius:12px;background:#fff;color:#626b84;font-size:15px;font-weight:600;cursor:pointer;}
.parts-tab.active{background:#55599D;color:#fff;border-color:#55599D;}

.parts-filter-wrap{border:1px solid #e9ebf3;border-radius:16px;padding:14px;background:#fff;box-shadow:0 8px 20px rgba(27,39,94,.04);}
.parts-search-row{margin-bottom:12px;}
.parts-search-box{position:relative;}
.parts-search-box i{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#9098b2;font-size:15px;}
.parts-search-box input{width:100%;height:46px;border:1px solid #e5e8f0;border-radius:10px;padding:0 16px 0 44px;font-size:14px;box-sizing:border-box;outline:none;}
.parts-search-box input:focus{border-color:#55599D;}
.parts-filter-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 130px 130px;gap:12px;}
.parts-filter-row select,.parts-filter-row button{height:46px;border-radius:10px;font-size:14px;box-sizing:border-box;}
.parts-filter-row select{border:1px solid #e5e8f0;background:#fff;padding:0 14px;color:#4a5268;outline:none;}
.parts-btn-search{border:none;background:#55599D;color:#fff;font-weight:700;cursor:pointer;}
.parts-btn-reset{border:1px solid #cfd5e5;background:#fff;color:#55599D;font-weight:700;cursor:pointer;}
.parts-btn-reset i{margin-right:6px;}

.parts-sort-row{display:flex;align-items:center;justify-content:space-between;margin:18px 0 16px;}
.parts-sort-left{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.parts-sort-label{font-size:14px;color:#70788f;}
.parts-sort-left a{font-size:14px;color:#6a7289;text-decoration:none;padding-bottom:6px;border-bottom:2px solid transparent;}
.parts-sort-left a.active{color:#55599D;border-color:#55599D;font-weight:700;}
.parts-sort-right{display:flex;align-items:center;gap:10px;}
.parts-sort-right span{font-size:14px;color:#6a7289;}
.parts-view-btn{width:38px;height:38px;border:1px solid #dde2ef;border-radius:10px;background:#fff;color:#727b91;cursor:pointer;}
.parts-view-btn.active{background:#55599D;border-color:#55599D;color:#fff;}

.parts-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;}
.parts-card{border:1px solid #e8ebf3;border-radius:16px;background:#fff;overflow:hidden;transition:.2s box-shadow,.2s transform;}
.parts-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(27,39,94,.08);}
.parts-card-img{position:relative;background:#f5f6fa;}
.parts-card-img img{display:block;width:100%;aspect-ratio:1.18/1;object-fit:cover;}
.parts-grade{position:absolute;left:12px;bottom:12px;height:28px;line-height:28px;padding:0 12px;border-radius:999px;background:#5c61b8;color:#fff;font-size:13px;font-weight:700;}
.parts-grade.grade-a{background:#6b70d8;}
.parts-grade.grade-c{background:#7d84a8;}
.parts-card-body{padding:12px 14px 16px;}
.parts-partno-row{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.parts-partno{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:8px;background:#f2f4f8;color:#666e84;font-size:13px;}
.parts-like-btn{border:none;background:none;padding:0;color:#8a92ac;font-size:22px;cursor:pointer;}
.parts-name{margin-top:10px;font-size:16px;font-weight:700;color:#20283d;line-height:1.35;min-height:44px;}
.parts-meta{margin-top:4px;font-size:13px;color:#7e869d;line-height:1.45;min-height:38px;}
.parts-price{margin-top:10px;font-size:18px;font-weight:800;color:#4f58d1;}

@media (max-width:1600px){
    .parts-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:1280px){
    .parts-page{padding:18px 16px 50px;}
    .parts-sidebar{display:none;}
    .parts-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    .parts-filter-row{grid-template-columns:1fr 1fr 1fr 1fr;}
}
@media (max-width:900px){
    .parts-category-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;}
    .parts-filter-row{grid-template-columns:1fr 1fr;}
    .parts-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .parts-sort-row{flex-direction:column;align-items:flex-start;gap:12px;}
}
@media (max-width:600px){
    .parts-page{padding:14px 12px 40px;}
    .parts-filter-row{grid-template-columns:1fr;}
    .parts-grid{grid-template-columns:1fr;}
}





