/*페이지 / 중앙 정렬*/
#contents { max-width:1916px; min-width:1376px; width:100%; padding:0 88px; }
#contents .sub_content { padding:0; }


.easy-cart-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    padding: 40px 0 80px;
    max-width: 1520px;
    gap: 20px;
}

.easy-cart-center {
    width: 100%;
    margin: 0 auto;
}

.easy-cart-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
}

/*검색 / 태그 영역*/

.easy-cart-search {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.easy-cart-search input {
    width: 420px;
    height: 42px;
    border-radius: 22px;
    border: 1px solid #ddd;
    padding: 0 18px;
}

.easy-cart-search button {
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.easy-cart-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.easy-cart-tags a {
    padding: 6px 14px;
    border-radius: 16px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
}

.easy-cart-tags button:hover,
.easy-cart-tags button.active {
    background: #4a6b2f;
    color: #fff;
    border-color: #4a6b2f;
}

/*초기화 / 검색 버튼*/

.easy-cart-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.easy-cart-btns button {
    min-width: 90px;
    height: 36px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.btn-reset {
    background: #fff;
    border: 1px solid #ccc;
}

.btn-submit {
    background: #5856D6;
    border: none;
    color: #fff;
}

/*상품 리스트 / 테이블*/

.easy-cart-list {
    width: 100%;
}

.easy-cart-list h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 30px;
}

.two-container {
    margin-bottom: 50px;
}

.two-tit {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #666;
    font-size: 15px;
    margin-top: 10px;
}

.easy-cart-list table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.easy-cart-list thead th {
    background: #f5f5f5;
    font-size: 13px;
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.easy-cart-list tbody td {
    padding: 14px 10px;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    text-align: center;
}

.product-name small {
    color: #888;
}

/*옵션 / 수량 컨트롤*/

.wm-option {
    margin-bottom: 8px;
}

.wm-inline-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option_price {
    width: 110px;
    font-size: 13px;
    color: #333;
}

.wm-goods-qty {
    display: flex;
    align-items: center;
}

.wm-goods-qty button {
    width: 26px;
    height: 26px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.wm-goods-qty input {
    width: 36px;
    height: 26px;
    text-align: center;
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
    font-size: 13px;
}

/*오른쪽 주문서*/

.easy-cart-summary {
    position: sticky;
    right: -250px;
    top: 160px;
    width: 250px;
    background: #f6f7f3;
    border-radius: 16px;
    padding: 22px;
}

.easy-cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    float: left;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
    border-top: 1px solid #e2e3ea;
    padding-top: 10px;
}

.summary-btns {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.summary-btns button {
    flex: 1;
    height: 40px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.btn-cart {
    border: 1px solid #ccc;
    background: #fff;
}

.btn-buy {
    border: none;
    background: #5856D6;
    color: #fff;
}



.item_list_wrap{
    overflow-y:auto;
    width:100%;
    max-height: 240px;
    padding-bottom: 10px;
}

.item_list_wrap .option_display_area{
    width: 100%;
}

/* 전체 테이블 구조 */
.item_list_wrap .option_item_box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 윗줄 - 상품명과 삭제버튼 */
.item_list_wrap .option_top {
    display: flex;
    justify-content: space-between;
    align-items:  flex-start;
    gap: 10px;
	margin-top:10px;
}

.item_list_wrap .product_name {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    text-align: left;
}

.item_list_wrap .delete_goods {
    flex-shrink: 0; /* ✅ 줄어들지 않게 고정 */
    border: none;
    cursor: pointer;
    margin-top: 3px;
}

.item_list_wrap .delete_goods img {
    width: 18px;
    height: 18px;
}

/* 아랫줄 - 수량과 가격 */
.item_list_wrap .option_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    gap: 10px;
}

.item_list_wrap .quantity_box input[type="text"] {
    width: 36px;
    text-align: center;
    padding: 2px;
    font-size: 14px;
    border: 1px solid #ccc;
}

.item_list_wrap .quantity_box button {
    background: #f8f8f8;
    border: 1px solid #ccc;
    padding: 0 6px;
    font-size: 13px;
    cursor: pointer;
}

.easy-cart-tags a.tag {
    display:inline-block;
    padding:6px 12px;
    margin:4px;
    border:1px solid #ccc;
    border-radius:20px;
    cursor:pointer;
    transition:all 0.2s ease;
}

.easy-cart-tags a.tag.selected {
    background:#5856D6;
    color:#fff;
    border-color:#5856D6;
}

.category-nav {
    margin-top: 40px;
    margin-bottom: 30px;
    color: #888;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: right;
}

.category-list li {
    position: relative;
    padding: 0 10px;
}

.category-list li a {
    text-decoration: none;
    color: #888;
    font-size: 16px;
}

.category-list li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
}

.youtube_close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}
.youtube_modal {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    z-index: 2;
    animation: fadeIn .2s ease-out;
}

.youtube_inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
}

.youtube_inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-reset {
    float: right;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
}