/* ------------------------------
    PICKUP CARD (PRODUCT PAGE)
--------------------------------*/
.ysp-card {
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    margin-top: 12px;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    max-width: 240px;
}

.ysp-card-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 6px;
}

.ysp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #28a745; /* green dot */
    display: inline-block;
    margin-right: 8px;
}

.ysp-open {
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding-left: 18px;
}

.ysp-selected-store {
    margin-top: 6px;
    font-weight: 500;
}

/* ------------------------------
    PICKUP PANEL (POPUP)
--------------------------------*/
.ysp-overlay {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: none;
    z-index: 999;
}

.ysp-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: right 0.3s ease;
    font-family: inherit;
    display: flex;
    flex-direction: column;
}

.ysp-panel.active {
    right: 0;
}

.ysp-panel-inner {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    margin-top: 70px;
}

.ysp-panel-header {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ysp-close {
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #333;
}

.ysp-store-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ysp-store {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    background: #fff;
    transition: background 0.2s;
}

.ysp-store-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.ysp-store-phone a {
    color: #0073aa;
    text-decoration: none;
}

.ysp-store-phone a:hover {
    text-decoration: underline;
}

.ysp-store-address,
.ysp-store-hours {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.ysp-select {
    padding: 6px 10px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 6px;
    width: 100%;
    transition: background 0.2s;
}

.ysp-select:hover {
    background: #218838;
}

.ysp-out {
    padding: 6px 10px;
    background: #f0f0f0;
    color: #888;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    margin-top: 6px;
}

/* Responsive for mobile */
@media(max-width: 768px){
    .ysp-panel {
        width: 100%;
        right: -100%;
    }
    .ysp-panel.active {
        right: 0;
    }
}