.menu-container {
	display: flex;
	gap: 20px;
}
.left-menu-con{
    display: inline-block;
    width: 260px;
    position: relative;
}
.product-page{
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 300px);
    padding-left: 60px;
}
.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-button {
	display: inline-block;         /* a 태그가 block처럼 보이도록 */
	background-color: #3498db;
	color: white;
	padding: 10px 20px;
	font-size: 16px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;         /* 밑줄 제거 */
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: white;
	min-width: 160px;
	box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
	z-index: 1;
	border-radius: 6px;
	overflow: hidden;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
	display: block;
}
.loadBox {
  flex: 1;
}
/* 좌측 필터 */
.filter-sidebar {
  width: 260px;
  border-right: 0px solid #ddd;
}
.filter-title{
    padding: 15px 10px;
    border-top: 2px solid #000;
    border-bottom: 1px solid #ddd;
    position: relative;
}
.filter-title img{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 25px;
}
.filter-group details {
  padding: 20px 10px;
}
.filter-group details + details{
  border-top: 1px solid #ddd;
}
.filter-group label{
  font-weight: 400;
  vertical-align: middle;
  display: block;
  cursor: pointer;
}
.filter-group label input {
    vertical-align: middle;
    margin: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    margin-right: 10px;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-group label input:checked {
    background-color: #000; 
    border-color: #000; 
    position: relative;
}

.filter-group label input:checked::after {
    content: '✔'; 
    color: white;
    font-size: 11px;
    position: absolute;
    left: 5px;
    top: 0;
}

.filter-group summary {
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.filter-group summary:after{
    content: "";
    position: absolute;
    top: 1px;
    right: 0;
    width: 10px;
    height: 10px;
    border-color: #000;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    -webkit-transform: rotate(222deg);
    -moz-transform: rotate(222deg);
    -ms-transform: rotate(222deg);
    -o-transform: rotate(222deg);
    transform: rotate(222deg);
}
.filter-group details label + label{
    margin-top: 10px;
}
.filter-group details[open] summary:after {
   content: "";
    position: absolute;
    top: 7px;
    -webkit-transform: rotate(43deg);
    -moz-transform: rotate(43deg);
    -ms-transform: rotate(43deg);
    -o-transform: rotate(43deg);
    transform: rotate(43deg);
}
.filter-group details[open] summary {
    margin-bottom: 15px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.product-item {
  width: 33.333%;
  box-sizing: border-box;
  padding: 10px;
}

.product-box .product-image{
    border: 1px solid #eee;
    padding-bottom: 99.6%;
    position: relative;
    overflow: hidden;
}
.product-image img {
    display: block;
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-box .product-image .product-class-txt{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: #000;
    padding: 10px;
    text-align: center;
    color: #fff;
}


.product-name {
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.4;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-sub {
  color: #888;
  font-size: 13px;
  margin: 10px 0;
}

.product-price {
  font-weight: bold;
  font-size: 16px;
  margin: 10px 0;
}

.color-options {
	display: flex;
	flex-wrap: wrap; /* ← 중요! */
	gap: 5px;
	margin-top: 10px;
}

.color-options img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	border: 1px solid #ccc;
	padding: 5px;
	box-sizing: border-box;
	cursor: pointer;
	background-color: #fff;
}

.color-options img.active {
	border: 2px solid #00bcd4;
}

/* 반응형: 화면 작아지면 2~1개씩 줄어들게 */
@media screen and (max-width: 992px) {
  .product-item {width: 50%;}
  .left-menu-con{ display: block; width: 100%;}
  .product-page{display: block; width: 100%; padding-left: 0;}
  .filter-sidebar {width: 100%;}
  .filter-group{ overflow: auto; height: 160px; margin-bottom: 20px;}
  .filter-group::-webkit-scrollbar { width: 6px;}
  .filter-group::-webkit-scrollbar-thumb { background-color: #2f3542; border-radius: 10px; }
  .filter-group::-webkit-scrollbar-track {background-color: #D7D7D7;border-radius: 10px;}
}

@media screen and (max-width: 600px) {
  .product-item {
	width: 100%;
  }
}