/* =======================================
   서브페이지 공통
======================================== */

.sub-page {
    border-top: 1px solid #eee;
    padding-bottom: 52px;

}



/* ========================================
   상점별 상단 공통
======================================== */




/* ========================================
   shop-head__top
======================================== */

/* 최상단 */

.shop-page .shop-head__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--fs-13);
    padding: 16px 0;

}


/* breadcrumb */


.shop-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #767676;
}
.shop-page .breadcrumb > a {
    display: flex;
}
.breadcrumb__arrow {
    display: flex;
}


.shop-page .breadcrumb__current {
    color: #111;

}


/* 관심 + 이용자 가이드 */

.shop-page .shop-util {
    display: flex;
    align-items: center;
    gap: 12px;
}


.shop-page .shop-util__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 12px;
    font-size: var(--fs-13);
    color: #111;
    cursor: pointer;
}


.shop-page .shop-util__link+.shop-util__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    background: #ddd;
    transform: translateY(-50%);
}


.shop-page .heart-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}


.shop-page .heart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}


.shop-page .heart-icon .heart_off {
    /* display: block; */
}

.shop-page .heart-icon .heart_on {
    /* display: none; */
}


.shop-page .heart-toggle:checked+.heart-icon .heart_off {
    /* display: none; */
}

.shop-page .heart-toggle:checked+.heart-icon .heart_on {
    /* display: block; */
}





/* ========================================
   shop-head__cate
======================================== */

.shop-head__cate {
    position: relative;
}



/* 검색 */

.shop-page .shop-search {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    width: auto;
    height: 36px;
    background: #fff;

}

.shop-page .shop-search__again {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	font-size: 13px;
	color: #333;
	white-space: nowrap;
    margin-right: 8px;
}

.shop-page .cate-in-search {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 8px 16px;
	background: #f7f7f7;
	box-sizing: border-box;
}

.shop-page .cate-in-search__label {
	flex-shrink: 0;
	font-size: 13px;
	color: #888;
}

.shop-page .cate-in-search__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.shop-page .cate-in-search__chip {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 4px;
	/* border: 1px solid #e5e5e5; */
	/* background: #fff; */
	color: #333;
	font-size: 13px;
	text-decoration: none;
}

.shop-page .cate-in-search__x {
	margin-left: 4px;
	color: #999;
}


.shop-page .shop-search__select {
    position: relative;
    width: 200px;
    height: 100%;
    flex-shrink: 0;
}


.shop-page .shop-search__select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: var(--fs-13);
    color: #555;
    cursor: pointer;
}


.shop-page .shop-search__select-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.shop-page .shop-search__select-arrow {
    position: relative;
    display: block;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}


.shop-page .shop-search__select.is-open .shop-search__select-arrow {
    margin-top: 4px;
    transform: rotate(225deg);
}


.shop-page .shop-search__select-list {
	position: absolute;
	top: 36px;
	left: 0;
	z-index: 100;
	display: none;
	width: 100%;
	max-height: 300px;
	margin: 0;
	padding: 6px 0;
	overflow-y: auto;
	border: 1px solid #ddd;
	border-top: 0;
	background: #fff;
	box-sizing: border-box;
}



.shop-page .shop-search__select.is-open .shop-search__select-list {
    display: block;
}



.shop-page .shop-search__select-list button {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 0;
    background: #fff;
    font-family: inherit;
    font-size: var(--fs-13);
    font-weight: 400;
    color: #767676;
    text-align: left;
    cursor: pointer;
}


.shop-page .shop-search__select-list button:hover {
    color: #111;
    background: #f9f9f9;
}


.shop-page .shop-search__input {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 36px;
    border: 1px solid #ddd;
    border-left: 0;
    box-sizing: border-box;
}


.shop-page .shop-search__input-field {
    width: 100%;
    height: 36px;
    padding: 0 60px 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: var(--fs-13);
    font-weight: 400;
    color: #111;
    box-sizing: border-box;
}


.shop-page .shop-search__input-field::placeholder {
    color: #999;
}


.shop-page .shop-search__button {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    background: #777;
    cursor: pointer;

}

.shop-page .shop-search__button img {
    display: block;
}



/* 카테고리 */

.shop-page .shop-category {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    width: 100%;

    padding: 12px 0;
    border: 1px solid #eee;
    border-top: 1px solid #111;
    box-sizing: border-box;
    margin-top: 16px;
}


.shop-page .shop-category__column {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.shop-page .shop-category__column+.shop-category__column {
    border-left: 1px solid #eee;
}


.shop-page .shop-category__item {
    display: block;
    font-size: var(--fs-13);
    height: 30px;
    line-height: 30px;
    padding-left: 20px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    font-size: var(--fs-14);
}


.shop-page .shop-category__item:hover {
    color: var(--color-primary);
}