.elementor-2568 .elementor-element.elementor-element-4844155c{--display:flex;}.pp-tooltip.pp-tooltip-{{ID}} .pp-tooltip-content{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}/* Start custom CSS for shortcode, class: .elementor-element-d99af18 *//* ==============================================
 WISHMY - TI Wishlist Shortcode Style
 Design based on cshop product grid
==============================================
*/

/* ----- 변수로 포인트 컬러 지정 (수정 용이) ----- */
.wishmy {
    --mint: #81CCC9;
    --green: #05813F;
    --pink: #E85D75;
    --text-dark: #2c2c2c;
    --border-light: #eaeaea;
    font-family: 'Poppins', 'Noto Sans KR', sans-serif; /* 전체 폰트 통일 */
}

/* ----- 테이블 기본 레이아웃 ----- */
.wishmy table.tinvwl-table-view {
    width: 100%;
    border-collapse: collapse; /* 칸 사이 경계선 합치기 */
    margin-top: 2em;
}

/* ----- 테이블 헤더(thead) 디자인 ----- */
.wishmy table.tinvwl-table-view thead th {
    text-align: left;
    padding: 15px 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase; /* 대문자로 변경 */
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-light);
}

/* ----- 테이블 내용(tbody) 디자인 ----- */
.wishmy table.tinvwl-table-view tbody td {
    padding: 20px 10px;
    vertical-align: middle; /* 내용물 수직 중앙 정렬 */
    border-bottom: 1px solid var(--border-light);
}

/* ----- 각 항목별 상세 디자인 ----- */

/* 1. 상품 제거(X) 버튼 */
.wishmy .product-remove button {
    background: transparent;
    border: none;
    color: #cccccc;
    font-size: 24px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.wishmy .product-remove button:hover {
    background: #fdeaea;
    color: #d9534f;
    transform: rotate(90deg);
}

/* 2. 상품 이미지 */
.wishmy .product-thumbnail img {
    width: 80px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

/* 3. 상품명 */
.wishmy .product-name a {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.wishmy .product-name a:hover {
    color: var(--green);
}

/* 4. 가격 */
.wishmy .product-price .amount {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1em;
}

/* 5. 재고 상태 */
.wishmy .product-stock .stock {
    font-weight: bold;
    color: var(--green);
}

/* 6. 장바구니 담기 버튼 */
.wishmy .product-add-to-cart a.button {
    background-color: var(--mint);
    color: var(--text-dark);
    font-weight: bold;
    border-radius: 8px;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap; /* 버튼 글자 줄바꿈 방지 */
}
.wishmy .product-add-to-cart a.button:hover {
    background-color: var(--green);
    color: #ffffff;
}


/* ==============================================
   모바일 반응형 디자인 (768px 이하)
==============================================
*/
@media (max-width: 768px) {
    /* 기존 테이블 헤더 숨기기 */
    .wishmy table.tinvwl-table-view thead {
        display: none;
    }

    /* 테이블, thead, tbody, tr, td를 블록 형태로 변경 */
    .wishmy table.tinvwl-table-view,
    .wishmy table.tinvwl-table-view tbody,
    .wishmy table.tinvwl-table-view tr,
    .wishmy table.tinvwl-table-view td {
        display: block;
        width: 100%;
    }

    .wishmy table.tinvwl-table-view tr {
        padding: 20px 0;
        border-bottom: 2px solid var(--border-light);
    }
    
    .wishmy table.tinvwl-table-view td {
        padding: 8px 0;
        border-bottom: none;
        display: flex; /* 라벨과 내용 정렬을 위해 flex 사용 */
        justify-content: space-between;
        align-items: center;
        text-align: right; /* 내용물은 오른쪽 정렬 */
    }

    /* 가상요소(::before)를 사용해 숨겨진 헤더를 라벨로 추가 */
    .wishmy table.tinvwl-table-view td::before {
        content: attr(data-title); /* 플러그인이 제공하는 data-title 속성 사용 */
        font-weight: 600;
        text-align: left; /* 라벨은 왼쪽 정렬 */
        margin-right: 15px;
        color: var(--text-dark);
    }

    /* 각 항목별 모바일 디자인 조정 */
    .wishmy .product-thumbnail {
        justify-content: center; /* 이미지는 중앙에 배치 */
        margin-bottom: 15px;
    }
    .wishmy .product-thumbnail::before {
        display: none; /* 이미지 라벨은 불필요하므로 숨김 */
    }

    .wishmy .product-remove {
        position: absolute;
        top: 0;
        right: 0;
    }
    .wishmy table.tinvwl-table-view tr {
        position: relative; /* 제거 버튼의 기준점 */
    }
     .wishmy .product-remove::before {
        display: none; /* 제거 버튼 라벨 숨김 */
    }

    .wishmy .product-name {
        font-size: 1.2em;
        justify-content: center;
    }
    .wishmy .product-name::before {
         display: none; /* 상품명 라벨 숨김 */
    }

    .wishmy .product-add-to-cart {
        justify-content: center;
        margin-top: 15px;
    }
    .wishmy .product-add-to-cart::before {
        display: none; /* 장바구니 버튼 라벨 숨김 */
    }
}/* End custom CSS */