/* 마이숍 선택·상품 추가 공용 팝업 (myshop_pick.js) */

.myshop-pick-btn {
    gap: 0.375rem;
}

.myshop-pick-btn__icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.popup-container.myshop-pick-popup {
    max-width: 480px;
}

.myshop-pick {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.myshop-pick-product .myshop-add-product-preview {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.myshop-pick-guide {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
}

.myshop-pick-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 42vh;
    overflow-y: auto;
}

.myshop-pick-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.8125rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.myshop-pick-item:hover:not(.is-disabled) {
    border-color: #00a8b5;
    background: #f0fdfa;
}

.myshop-pick-item:active:not(.is-disabled) {
    background: #ccfbf1;
    border-color: #008d99;
}

.myshop-pick-item.is-disabled {
    cursor: not-allowed;
    opacity: 0.65;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.myshop-pick-item__avatar {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    overflow: hidden;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.myshop-pick-item__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.myshop-pick-item__avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
}

.myshop-pick-item__avatar-fallback svg {
    width: 1.25rem;
    height: 1.25rem;
}

.myshop-pick-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.myshop-pick-item__title {
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.myshop-pick-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.myshop-pick-item__count {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

.myshop-pick-item__count svg {
    width: 0.875rem;
    height: 0.875rem;
}

.myshop-pick-item__handle {
    color: #94a3b8;
}

.myshop-pick-item__full {
    font-size: 0.6875rem;
    color: #ef4444;
    font-weight: 600;
}

.myshop-pick-item__chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #64748b;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.myshop-pick-item:hover:not(.is-disabled) .myshop-pick-item__chevron {
    background: #cffafe;
    color: #008d99;
}

.myshop-pick-item__chevron svg {
    width: 1rem;
    height: 1rem;
}

.myshop-pick-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border: 1px dashed #d1d5db;
    border-radius: 0.75rem;
    background: #f9fafb;
    text-align: center;
}

.myshop-pick-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: #e0f2fe;
    color: #0284c7;
}

.myshop-pick-empty__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.myshop-pick-empty__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f2937;
}

.myshop-pick-empty__desc {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #6b7280;
}
